From 76b2c646f2ceb5440974aa1858c7a054578693f9 Mon Sep 17 00:00:00 2001 From: Andres Schumann Date: Wed, 18 Nov 2026 23:25:27 +0100 Subject: [PATCH] gui update --- .../src/uds/static/admin/3rdpartylicenses.txt | 2 +- server/src/uds/static/admin/chunk-37LATD7Z.js | 15 ++ server/src/uds/static/admin/chunk-SMYT26DJ.js | 26 ++++ server/src/uds/static/admin/main.js | 142 ++++++++---------- server/src/uds/static/admin/styles.css | 2 +- server/src/uds/static/modern/main.js | 36 +++-- server/src/uds/static/modern/polyfills.js | 4 +- server/src/uds/static/modern/scripts.js | 2 +- server/src/uds/static/modern/styles.css | 2 +- .../uds/static/modern/translations-fakejs.js | 90 +++++------ server/src/uds/templates/uds/admin/index.html | 4 +- .../src/uds/templates/uds/modern/index.html | 4 +- 12 files changed, 188 insertions(+), 141 deletions(-) create mode 100644 server/src/uds/static/admin/chunk-37LATD7Z.js create mode 100644 server/src/uds/static/admin/chunk-SMYT26DJ.js diff --git a/server/src/uds/static/admin/3rdpartylicenses.txt b/server/src/uds/static/admin/3rdpartylicenses.txt index 03f6bcf1a..f241ae82a 100644 --- a/server/src/uds/static/admin/3rdpartylicenses.txt +++ b/server/src/uds/static/admin/3rdpartylicenses.txt @@ -653,7 +653,7 @@ License: "MIT" MIT License -Copyright (c) 2017 Xie, Ziyu +Copyright (c) 2025 Xie, Ziyu Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/server/src/uds/static/admin/chunk-37LATD7Z.js b/server/src/uds/static/admin/chunk-37LATD7Z.js new file mode 100644 index 000000000..fad95a4f7 --- /dev/null +++ b/server/src/uds/static/admin/chunk-37LATD7Z.js @@ -0,0 +1,15 @@ +var Yw=Object.create;var Da=Object.defineProperty,Ww=Object.defineProperties,qw=Object.getOwnPropertyDescriptor,Xw=Object.getOwnPropertyDescriptors,Zw=Object.getOwnPropertyNames,us=Object.getOwnPropertySymbols,jw=Object.getPrototypeOf,cf=Object.prototype.hasOwnProperty,Gv=Object.prototype.propertyIsEnumerable;var Hv=(e,t,r)=>t in e?Da(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,WR=(e,t)=>{for(var r in t||={})cf.call(t,r)&&Hv(e,r,t[r]);if(us)for(var r of us(t))Gv.call(t,r)&&Hv(e,r,t[r]);return e},qR=(e,t)=>Ww(e,Xw(t));var XR=(e,t)=>{var r={};for(var i in e)cf.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&us)for(var i of us(e))t.indexOf(i)<0&&Gv.call(e,i)&&(r[i]=e[i]);return r};var M=(e,t,r)=>()=>{if(r)throw r[0];try{return e&&(t=e(e=0)),t}catch(i){throw r=[i],i}};var Yv=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},Re=(e,t)=>{for(var r in t)Da(e,r,{get:t[r],enumerable:!0})},Wv=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Zw(t))!cf.call(e,n)&&n!==r&&Da(e,n,{get:()=>t[n],enumerable:!(i=qw(t,n))||i.enumerable});return e};var qv=(e,t,r)=>(r=e!=null?Yw(jw(e)):{},Wv(t||!e||!e.__esModule?Da(r,"default",{value:e,enumerable:!0}):r,e)),ZR=e=>Wv(Da({},"__esModule",{value:!0}),e);var jR=(e,t,r)=>new Promise((i,n)=>{var a=u=>{try{s(r.next(u))}catch(l){n(l)}},o=u=>{try{s(r.throw(u))}catch(l){n(l)}},s=u=>u.done?i(u.value):Promise.resolve(u.value).then(a,o);s((r=r.apply(e,t)).next())});function $w(e,t){var r=t.browser,i=e.match(/Firefox\/([\d.]+)/),n=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),a=e.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(e);i&&(r.firefox=!0,r.version=i[1]),n&&(r.ie=!0,r.version=n[1]),a&&(r.edge=!0,r.version=a[1],r.newEdge=+a[1].split(".")[0]>18),o&&(r.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,t.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11),t.domSupported=typeof document<"u";var s=document.documentElement.style;t.transform3dSupported=(r.ie&&"transition"in s||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||r.ie&&+r.version>=9}var Kw,Qw,Hr,tt,re=M(()=>{"use strict";Kw=(function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e})(),Qw=(function(){function e(){this.browser=new Kw,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return e})(),Hr=new Qw;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(Hr.wxa=!0,Hr.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?Hr.worker=!0:!Hr.hasGlobalWindow||"Deno"in window?(Hr.node=!0,Hr.svgSupported=!0):$w(navigator.userAgent,Hr);tt=Hr});function ib(e){var t={};if(typeof JSON>"u")return t;for(var r=0;r{"use strict";ls=12,Jw="sans-serif",Xe=ls+"px "+Jw,tb=20,eb=100,rb="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";nb=ib(rb),ie={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:(function(){var e,t;return function(r,i){if(!e){var n=ie.createCanvas();e=n&&n.getContext("2d")}if(e)return t!==i&&(t=e.font=i||Xe),e.measureText(r);r=r||"",i=i||Xe;var a=/((?:\d+)?\.?\d*)px/.exec(i),o=a&&+a[1]||ls,s=0;if(i.indexOf("mono")>=0)s=o*r.length;else for(var u=0;u$v,RADIAN_TO_DEGREE:()=>wi,assert:()=>Lt,bind:()=>wt,clone:()=>$,concatArray:()=>gf,createCanvas:()=>fb,createHashMap:()=>V,createObject:()=>wr,curry:()=>nr,defaults:()=>rt,disableUserSelect:()=>Oa,each:()=>S,eqNaN:()=>xi,extend:()=>A,filter:()=>pt,find:()=>cb,guid:()=>Ca,hasOwn:()=>xe,indexOf:()=>et,inherits:()=>Ea,isArray:()=>N,isArrayLike:()=>Tt,isBuiltInObject:()=>pf,isDom:()=>cs,isFunction:()=>H,isGradientObject:()=>Sr,isImagePatternObject:()=>mf,isNumber:()=>ot,isObject:()=>z,isPrimitive:()=>Dn,isRegExp:()=>pb,isString:()=>U,isStringSafe:()=>En,isTypedArray:()=>yt,keys:()=>J,logError:()=>yi,map:()=>F,merge:()=>at,mergeAll:()=>lb,mixin:()=>Gt,noop:()=>Ut,normalizeCssArray:()=>Ra,reduce:()=>Yt,retrieve:()=>vb,retrieve2:()=>W,retrieve3:()=>Si,setAsPrimitive:()=>Gr,slice:()=>La,trim:()=>Wt});function Ca(){return ub++}function yi(){for(var e=[],t=0;t{"use strict";Ze();Zv=Yt(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(e,t){return e["[object "+t+"]"]=!0,e},{}),jv=Yt(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(e,t){return e["[object "+t+"Array]"]=!0,e},{}),Cn=Object.prototype.toString,hs=Array.prototype,ab=hs.forEach,ob=hs.filter,vf=hs.slice,sb=hs.map,Xv=function(){}.constructor,fs=Xv?Xv.prototype:null,df="__proto__",ub=2311;fb=ie.createCanvas;wt=fs&&H(fs.bind)?fs.call.bind(fs.bind):hb;Kv="__ec_primitive__";db=(function(){function e(){this.data={}}return e.prototype.delete=function(t){var r=this.has(t);return r&&delete this.data[t],r},e.prototype.has=function(t){return this.data.hasOwnProperty(t)},e.prototype.get=function(t){return this.data[t]},e.prototype.set=function(t,r){return this.data[t]=r,this},e.prototype.keys=function(){return J(this.data)},e.prototype.forEach=function(t){var r=this.data;for(var i in r)r.hasOwnProperty(i)&&t(r[i],i)},e})(),Qv=typeof Map=="function";$v=(function(){function e(t){var r=N(t);this.data=mb();var i=this;t instanceof e?t.each(n):t&&S(t,n);function n(a,o){r?i.set(a,o):i.set(o,a)}}return e.prototype.hasKey=function(t){return this.data.has(t)},e.prototype.get=function(t){return this.data.get(t)},e.prototype.set=function(t,r){return this.data.set(t,r),r},e.prototype.each=function(t,r){this.data.forEach(function(i,n){t.call(r,i,n)})},e.prototype.keys=function(){var t=this.data.keys();return Qv?Array.from(t):t},e.prototype.removeKey=function(t){this.data.delete(t)},e})();wi=180/Math.PI});var ar={};Re(ar,{add:()=>ps,applyTransform:()=>Se,clone:()=>_f,copy:()=>gb,create:()=>br,dist:()=>Ln,distSquare:()=>Yr,distance:()=>Pa,distanceSquare:()=>Jv,div:()=>bb,dot:()=>Tb,len:()=>xf,lenSquare:()=>Sf,length:()=>xb,lengthSquare:()=>Sb,lerp:()=>Ia,max:()=>Ae,min:()=>Oe,mul:()=>wb,negate:()=>Mb,normalize:()=>wf,scale:()=>Aa,scaleAndAdd:()=>yb,set:()=>_b,sub:()=>yf});function br(e,t){return e==null&&(e=0),t==null&&(t=0),[e,t]}function gb(e,t){return e[0]=t[0],e[1]=t[1],e}function _f(e){return[e[0],e[1]]}function _b(e,t,r){return e[0]=t,e[1]=r,e}function ps(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e}function yb(e,t,r,i){return e[0]=t[0]+r[0]*i,e[1]=t[1]+r[1]*i,e}function yf(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e}function xf(e){return Math.sqrt(Sf(e))}function Sf(e){return e[0]*e[0]+e[1]*e[1]}function wb(e,t,r){return e[0]=t[0]*r[0],e[1]=t[1]*r[1],e}function bb(e,t,r){return e[0]=t[0]/r[0],e[1]=t[1]/r[1],e}function Tb(e,t){return e[0]*t[0]+e[1]*t[1]}function Aa(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e}function wf(e,t){var r=xf(t);return r===0?(e[0]=0,e[1]=0):(e[0]=t[0]/r,e[1]=t[1]/r),e}function Pa(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}function Jv(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}function Mb(e,t){return e[0]=-t[0],e[1]=-t[1],e}function Ia(e,t,r,i){return e[0]=t[0]+i*(r[0]-t[0]),e[1]=t[1]+i*(r[1]-t[1]),e}function Se(e,t,r){var i=t[0],n=t[1];return e[0]=r[0]*i+r[2]*n+r[4],e[1]=r[1]*i+r[3]*n+r[5],e}function Oe(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e}function Ae(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e}var xb,Sb,Ln,Yr,we=M(()=>{"use strict";xb=xf;Sb=Sf;Ln=Pa;Yr=Jv});var Rn={};Re(Rn,{clone:()=>Db,copy:()=>vs,create:()=>Tr,identity:()=>bi,invert:()=>Dr,mul:()=>Mr,rotate:()=>bf,scale:()=>Tf,translate:()=>ds});function Tr(){return[1,0,0,1,0,0]}function bi(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function vs(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function Mr(e,t,r){var i=t[0]*r[0]+t[2]*r[1],n=t[1]*r[0]+t[3]*r[1],a=t[0]*r[2]+t[2]*r[3],o=t[1]*r[2]+t[3]*r[3],s=t[0]*r[4]+t[2]*r[5]+t[4],u=t[1]*r[4]+t[3]*r[5]+t[5];return e[0]=i,e[1]=n,e[2]=a,e[3]=o,e[4]=s,e[5]=u,e}function ds(e,t,r){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+r[0],e[5]=t[5]+r[1],e}function bf(e,t,r,i){i===void 0&&(i=[0,0]);var n=t[0],a=t[2],o=t[4],s=t[1],u=t[3],l=t[5],f=Math.sin(r),c=Math.cos(r);return e[0]=n*c+s*f,e[1]=-n*f+s*c,e[2]=a*c+u*f,e[3]=-a*f+c*u,e[4]=c*(o-i[0])+f*(l-i[1])+i[0],e[5]=c*(l-i[1])-f*(o-i[0])+i[1],e}function Tf(e,t,r){var i=r[0],n=r[1];return e[0]=t[0]*i,e[1]=t[1]*n,e[2]=t[2]*i,e[3]=t[3]*n,e[4]=t[4]*i,e[5]=t[5]*n,e}function Dr(e,t){var r=t[0],i=t[2],n=t[4],a=t[1],o=t[3],s=t[5],u=r*o-a*i;return u?(u=1/u,e[0]=o*u,e[1]=-a*u,e[2]=-i*u,e[3]=r*u,e[4]=(i*s-o*n)*u,e[5]=(a*n-r*s)*u,e):null}function Db(e){var t=Tr();return vs(t,e),t}var Ti=M(()=>{"use strict"});var td,Cb,Eb,Cr,Na=M(()=>{"use strict";td=(function(){function e(t){this.value=t}return e})(),Cb=(function(){function e(){this._len=0}return e.prototype.insert=function(t){var r=new td(t);return this.insertEntry(r),r},e.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},e.prototype.remove=function(t){var r=t.prev,i=t.next;r?r.next=i:this.head=i,i?i.prev=r:this.tail=r,t.next=t.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e})(),Eb=(function(){function e(t){this._list=new Cb,this._maxSize=10,this._map={},this._maxSize=t}return e.prototype.put=function(t,r){var i=this._list,n=this._map,a=null;if(n[t]==null){var o=i.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var u=i.head;i.remove(u),delete n[u.key],a=u.value,this._lastRemovedEntry=u}s?s.value=r:s=new td(r),s.key=t,i.insertEntry(s),n[t]=s}return a},e.prototype.get=function(t){var r=this._map[t],i=this._list;if(r!=null)return r!==i.tail&&(i.remove(r),i.insertEntry(r)),r.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e})(),Cr=Eb});var Rf={};Re(Rf,{fastLerp:()=>nd,fastMapToColor:()=>Ab,lerp:()=>ad,lift:()=>Lf,liftColor:()=>gs,lum:()=>Di,mapToColor:()=>Pb,modifyAlpha:()=>Nb,modifyHSL:()=>Ib,parse:()=>qt,random:()=>kb,stringify:()=>qr,toHex:()=>Ob});function je(e){return e=Math.round(e),e<0?0:e>255?255:e}function Lb(e){return e=Math.round(e),e<0?0:e>360?360:e}function ka(e){return e<0?0:e>1?1:e}function Mf(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?je(parseFloat(t)/100*255):je(parseInt(t,10))}function Mi(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?ka(parseFloat(t)/100):ka(parseFloat(t))}function Df(e,t,r){return r<0?r+=1:r>1&&(r-=1),r*6<1?e+(t-e)*r*6:r*2<1?t:r*3<2?e+(t-e)*(2/3-r)*6:e}function Wr(e,t,r){return e+(t-e)*r}function Pe(e,t,r,i,n){return e[0]=t,e[1]=r,e[2]=i,e[3]=n,e}function Cf(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function On(e,t){ms&&Cf(ms,t),ms=id.put(e,ms||t.slice())}function qt(e,t){if(e){t=t||[];var r=id.get(e);if(r)return Cf(t,r);e=e+"";var i=e.replace(/ /g,"").toLowerCase();if(i in ed)return Cf(t,ed[i]),On(e,t),t;var n=i.length;if(i.charAt(0)==="#"){if(n===4||n===5){var a=parseInt(i.slice(1,4),16);if(!(a>=0&&a<=4095)){Pe(t,0,0,0,1);return}return Pe(t,(a&3840)>>4|(a&3840)>>8,a&240|(a&240)>>4,a&15|(a&15)<<4,n===5?parseInt(i.slice(4),16)/15:1),On(e,t),t}else if(n===7||n===9){var a=parseInt(i.slice(1,7),16);if(!(a>=0&&a<=16777215)){Pe(t,0,0,0,1);return}return Pe(t,(a&16711680)>>16,(a&65280)>>8,a&255,n===9?parseInt(i.slice(7),16)/255:1),On(e,t),t}return}var o=i.indexOf("("),s=i.indexOf(")");if(o!==-1&&s+1===n){var u=i.substr(0,o),l=i.substr(o+1,s-(o+1)).split(","),f=1;switch(u){case"rgba":if(l.length!==4)return l.length===3?Pe(t,+l[0],+l[1],+l[2],1):Pe(t,0,0,0,1);f=Mi(l.pop());case"rgb":if(l.length>=3)return Pe(t,Mf(l[0]),Mf(l[1]),Mf(l[2]),l.length===3?f:Mi(l[3])),On(e,t),t;Pe(t,0,0,0,1);return;case"hsla":if(l.length!==4){Pe(t,0,0,0,1);return}return l[3]=Mi(l[3]),Ef(l,t),On(e,t),t;case"hsl":if(l.length!==3){Pe(t,0,0,0,1);return}return Ef(l,t),On(e,t),t;default:return}}Pe(t,0,0,0,1)}}function Ef(e,t){var r=(parseFloat(e[0])%360+360)%360/360,i=Mi(e[1]),n=Mi(e[2]),a=n<=.5?n*(i+1):n+i-n*i,o=n*2-a;return t=t||[],Pe(t,je(Df(o,a,r+1/3)*255),je(Df(o,a,r)*255),je(Df(o,a,r-1/3)*255),1),e.length===4&&(t[3]=e[3]),t}function Rb(e){if(e){var t=e[0]/255,r=e[1]/255,i=e[2]/255,n=Math.min(t,r,i),a=Math.max(t,r,i),o=a-n,s=(a+n)/2,u,l;if(o===0)u=0,l=0;else{s<.5?l=o/(a+n):l=o/(2-a-n);var f=((a-t)/6+o/2)/o,c=((a-r)/6+o/2)/o,p=((a-i)/6+o/2)/o;t===a?u=p-c:r===a?u=1/3+f-p:i===a&&(u=2/3+c-f),u<0&&(u+=1),u>1&&(u-=1)}var h=[u*360,l,s];return e[3]!=null&&h.push(e[3]),h}}function Lf(e,t){var r=qt(e);if(r){for(var i=0;i<3;i++)t<0?r[i]=r[i]*(1-t)|0:r[i]=(255-r[i])*t+r[i]|0,r[i]>255?r[i]=255:r[i]<0&&(r[i]=0);return qr(r,r.length===4?"rgba":"rgb")}}function Ob(e){var t=qt(e);if(t)return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)}function nd(e,t,r){if(!(!(t&&t.length)||!(e>=0&&e<=1))){r=r||[];var i=e*(t.length-1),n=Math.floor(i),a=Math.ceil(i),o=t[n],s=t[a],u=i-n;return r[0]=je(Wr(o[0],s[0],u)),r[1]=je(Wr(o[1],s[1],u)),r[2]=je(Wr(o[2],s[2],u)),r[3]=ka(Wr(o[3],s[3],u)),r}}function ad(e,t,r){if(!(!(t&&t.length)||!(e>=0&&e<=1))){var i=e*(t.length-1),n=Math.floor(i),a=Math.ceil(i),o=qt(t[n]),s=qt(t[a]),u=i-n,l=qr([je(Wr(o[0],s[0],u)),je(Wr(o[1],s[1],u)),je(Wr(o[2],s[2],u)),ka(Wr(o[3],s[3],u))],"rgba");return r?{color:l,leftIndex:n,rightIndex:a,value:i}:l}}function Ib(e,t,r,i){var n=qt(e);if(e)return n=Rb(n),t!=null&&(n[0]=Lb(t)),r!=null&&(n[1]=Mi(r)),i!=null&&(n[2]=Mi(i)),qr(Ef(n),"rgba")}function Nb(e,t){var r=qt(e);if(r&&t!=null)return r[3]=ka(t),qr(r,"rgba")}function qr(e,t){if(!(!e||!e.length)){var r=e[0]+","+e[1]+","+e[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(r+=","+e[3]),t+"("+r+")"}}function Di(e,t){var r=qt(e);return r?(.299*r[0]+.587*r[1]+.114*r[2])*r[3]/255+(1-r[3])*t:0}function kb(){return qr([Math.round(Math.random()*255),Math.round(Math.random()*255),Math.round(Math.random()*255)],"rgb")}function gs(e){if(U(e)){var t=rd.get(e);return t||(t=Lf(e,-.1),rd.put(e,t)),t}else if(Sr(e)){var r=A({},e);return r.colorStops=F(e.colorStops,function(i){return{offset:i.offset,color:Lf(i.color,-.1)}}),r}return e}var ed,id,ms,Ab,Pb,rd,Xr=M(()=>{"use strict";Na();P();ed={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};id=new Cr(20),ms=null;Ab=nd;Pb=ad;rd=new Cr(100)});var Dd=Yv((iO,xs)=>{"use strict";var od,sd,ud,ld,fd,cd,hd,pd,vd,_s,Of,dd,md,gd,An,_d,yd,xd,Sd,wd,bd,Td,Md,ys;(function(e){var t=typeof global=="object"?global:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(i){e(r(t,r(i)))}):typeof xs=="object"&&typeof xs.exports=="object"?e(r(t,r(xs.exports))):e(r(t));function r(i,n){return i!==t&&(typeof Object.create=="function"?Object.defineProperty(i,"__esModule",{value:!0}):i.__esModule=!0),function(a,o){return i[a]=n?n(a,o):o}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])};od=function(i,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(i,n);function a(){this.constructor=i}i.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)},sd=Object.assign||function(i){for(var n,a=1,o=arguments.length;a=0;f--)(l=i[f])&&(u=(s<3?l(u):s>3?l(n,a,u):l(n,a))||u);return s>3&&u&&Object.defineProperty(n,a,u),u},fd=function(i,n){return function(a,o){n(a,o,i)}},cd=function(i,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(i,n)},hd=function(i,n,a,o){function s(u){return u instanceof a?u:new a(function(l){l(u)})}return new(a||(a=Promise))(function(u,l){function f(h){try{p(o.next(h))}catch(v){l(v)}}function c(h){try{p(o.throw(h))}catch(v){l(v)}}function p(h){h.done?u(h.value):s(h.value).then(f,c)}p((o=o.apply(i,n||[])).next())})},pd=function(i,n){var a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},o,s,u,l;return l={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function f(p){return function(h){return c([p,h])}}function c(p){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,s&&(u=p[0]&2?s.return:p[0]?s.throw||((u=s.return)&&u.call(s),0):s.next)&&!(u=u.call(s,p[1])).done)return u;switch(s=0,u&&(p=[p[0]&2,u.value]),p[0]){case 0:case 1:u=p;break;case 4:return a.label++,{value:p[1],done:!1};case 5:a.label++,s=p[1],p=[0];continue;case 7:p=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(p[0]===6||p[0]===2)){a=0;continue}if(p[0]===3&&(!u||p[1]>u[0]&&p[1]=i.length&&(i=void 0),{value:i&&i[o++],done:!i}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},Of=function(i,n){var a=typeof Symbol=="function"&&i[Symbol.iterator];if(!a)return i;var o=a.call(i),s,u=[],l;try{for(;(n===void 0||n-- >0)&&!(s=o.next()).done;)u.push(s.value)}catch(f){l={error:f}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(l)throw l.error}}return u},dd=function(){for(var i=[],n=0;n1||f(m,d)})})}function f(m,d){try{c(o[m](d))}catch(g){v(u[0][3],g)}}function c(m){m.value instanceof An?Promise.resolve(m.value.v).then(p,h):v(u[0][2],m)}function p(m){f("next",m)}function h(m){f("throw",m)}function v(m,d){m(d),u.shift(),u.length&&f(u[0][0],u[0][1])}},yd=function(i){var n,a;return n={},o("next"),o("throw",function(s){throw s}),o("return"),n[Symbol.iterator]=function(){return this},n;function o(s,u){n[s]=i[s]?function(l){return(a=!a)?{value:An(i[s](l)),done:s==="return"}:u?u(l):l}:u}},xd=function(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=i[Symbol.asyncIterator],a;return n?n.call(i):(i=typeof _s=="function"?_s(i):i[Symbol.iterator](),a={},o("next"),o("throw"),o("return"),a[Symbol.asyncIterator]=function(){return this},a);function o(u){a[u]=i[u]&&function(l){return new Promise(function(f,c){l=i[u](l),s(f,c,l.done,l.value)})}}function s(u,l,f,c){Promise.resolve(c).then(function(p){u({value:p,done:f})},l)}},Sd=function(i,n){return Object.defineProperty?Object.defineProperty(i,"raw",{value:n}):i.raw=n,i};var r=Object.create?function(i,n){Object.defineProperty(i,"default",{enumerable:!0,value:n})}:function(i,n){i.default=n};wd=function(i){if(i&&i.__esModule)return i;var n={};if(i!=null)for(var a in i)a!=="default"&&Object.prototype.hasOwnProperty.call(i,a)&&ys(n,i,a);return r(n,i),n},bd=function(i){return i&&i.__esModule?i:{default:i}},Td=function(i,n,a,o){if(a==="a"&&!o)throw new TypeError("Private accessor was defined without a getter");if(typeof n=="function"?i!==n||!o:!n.has(i))throw new TypeError("Cannot read private member from an object whose class did not declare it");return a==="m"?o:a==="a"?o.call(i):o?o.value:n.get(i)},Md=function(i,n,a,o,s){if(o==="m")throw new TypeError("Private method is not writable");if(o==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof n=="function"?i!==n||!s:!n.has(i))throw new TypeError("Cannot write private member to an object whose class did not declare it");return o==="a"?s.call(i,a):s?s.value=a:n.set(i,a),a},e("__extends",od),e("__assign",sd),e("__rest",ud),e("__decorate",ld),e("__param",fd),e("__metadata",cd),e("__awaiter",hd),e("__generator",pd),e("__exportStar",vd),e("__createBinding",ys),e("__values",_s),e("__read",Of),e("__spread",dd),e("__spreadArrays",md),e("__spreadArray",gd),e("__await",An),e("__asyncGenerator",_d),e("__asyncDelegator",yd),e("__asyncValues",xd),e("__makeTemplateObject",Sd),e("__importStar",wd),e("__importDefault",bd),e("__classPrivateFieldGet",Td),e("__classPrivateFieldSet",Md)})});var Cd,G,nO,aO,oO,sO,uO,lO,fO,cO,hO,pO,vO,dO,mO,gO,_O,yO,xO,SO,wO,bO,TO,MO,DO,dt=M(()=>{"use strict";Cd=qv(Dd(),1),{__extends:G,__assign:nO,__rest:aO,__decorate:oO,__param:sO,__metadata:uO,__awaiter:lO,__generator:fO,__exportStar:cO,__createBinding:hO,__values:pO,__read:vO,__spread:dO,__spreadArrays:mO,__spreadArray:gO,__await:_O,__asyncGenerator:yO,__asyncDelegator:xO,__asyncValues:SO,__makeTemplateObject:wO,__importStar:bO,__importDefault:TO,__classPrivateFieldGet:MO,__classPrivateFieldSet:DO}=Cd.default});var Pn,Fb,Ed,Ld=M(()=>{"use strict";Pn=(function(){function e(t,r){this.target=t,this.topTarget=r&&r.topTarget}return e})(),Fb=(function(){function e(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return e.prototype._dragStart=function(t){for(var r=t.target;r&&!r.draggable;)r=r.parent||r.__hostTarget;r&&(this._draggingTarget=r,r.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new Pn(r,t),"dragstart",t.event))},e.prototype._drag=function(t){var r=this._draggingTarget;if(r){var i=t.offsetX,n=t.offsetY,a=i-this._x,o=n-this._y;this._x=i,this._y=n,r.drift(a,o,t),this.handler.dispatchToElement(new Pn(r,t),"drag",t.event);var s=this.handler.findHover(i,n,r).target,u=this._dropTarget;this._dropTarget=s,r!==s&&(u&&s!==u&&this.handler.dispatchToElement(new Pn(u,t),"dragleave",t.event),s&&s!==u&&this.handler.dispatchToElement(new Pn(s,t),"dragenter",t.event))}},e.prototype._dragEnd=function(t){var r=this._draggingTarget;r&&(r.dragging=!1),this.handler.dispatchToElement(new Pn(r,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new Pn(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},e})(),Ed=Fb});var zb,Bt,Zr=M(()=>{"use strict";zb=(function(){function e(t){t&&(this._$eventProcessor=t)}return e.prototype.on=function(t,r,i,n){this._$handlers||(this._$handlers={});var a=this._$handlers;if(typeof r=="function"&&(n=i,i=r,r=null),!i||!t)return this;var o=this._$eventProcessor;r!=null&&o&&o.normalizeQuery&&(r=o.normalizeQuery(r)),a[t]||(a[t]=[]);for(var s=0;s{"use strict";Ub=Math.log(2)});function PO(e,t,r,i,n){return Ss(If,t,i,n,!0)&&Ss(e,r,If[0],If[1])}function Ss(e,t,r,i,n){if(t.getBoundingClientRect&&tt.domSupported&&!Nf(t)){var a=t[Od]||(t[Od]={}),o=Bb(t,a),s=Vb(o,a,n);if(s)return s(e,r,i),!0}return!1}function Bb(e,t){var r=t.markers;if(r)return r;r=t.markers=[];for(var i=["left","right"],n=["top","bottom"],a=0;a<4;a++){var o=document.createElement("div"),s=o.style,u=a%2,l=(a>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[u]+":0",n[l]+":0",i[1-u]+":auto",n[1-l]+":auto",""].join("!important;"),e.appendChild(o),r.push(o)}return r}function Vb(e,t,r){for(var i=r?"invTrans":"trans",n=t[i],a=t.srcCoords,o=[],s=[],u=!0,l=0;l<4;l++){var f=e[l].getBoundingClientRect(),c=2*l,p=f.left,h=f.top;o.push(p,h),u=u&&a&&p===a[c]&&h===a[c+1],s.push(e[l].offsetLeft,e[l].offsetTop)}return u&&n?n:(t.srcCoords=o,t[i]=r?Pf(s,o):Pf(o,s))}function Nf(e){return e.nodeName.toUpperCase()==="CANVAS"}function It(e){return e==null?"":(e+"").replace(Hb,function(t,r){return Gb[r]})}var Od,If,Hb,Gb,kf=M(()=>{"use strict";re();Rd();Od="___zrEVENTSAVED",If=[];Hb=/([&<>"'])/g,Gb={"&":"&","<":"<",">":">",'"':""","'":"'"}});function ws(e,t,r,i){return r=r||{},i?Ad(e,t,r):Wb&&t.layerX!=null&&t.layerX!==t.offsetX?(r.zrX=t.layerX,r.zrY=t.layerY):t.offsetX!=null?(r.zrX=t.offsetX,r.zrY=t.offsetY):Ad(e,t,r),r}function Ad(e,t,r){if(tt.domSupported&&e.getBoundingClientRect){var i=t.clientX,n=t.clientY;if(Nf(e)){var a=e.getBoundingClientRect();r.zrX=i-a.left,r.zrY=n-a.top;return}else if(Ss(Ff,e,i,n)){r.zrX=Ff[0],r.zrY=Ff[1];return}}r.zrX=r.zrY=0}function bs(e){return e||window.event}function Ie(e,t,r){if(t=bs(t),t.zrX!=null)return t;var i=t.type,n=i&&i.indexOf("touch")>=0;if(n){var o=i!=="touchend"?t.targetTouches[0]:t.changedTouches[0];o&&ws(e,o,t,r)}else{ws(e,t,t,r);var a=qb(t);t.zrDelta=a?a/120:-(t.detail||0)/3}var s=t.button;return t.which==null&&s!==void 0&&Yb.test(t.type)&&(t.which=s&1?1:s&2?3:s&4?2:0),t}function qb(e){var t=e.wheelDelta;if(t)return t;var r=e.deltaX,i=e.deltaY;if(r==null||i==null)return t;var n=Math.abs(i!==0?i:r),a=i>0?-1:i<0?1:r>0?-1:1;return 3*n*a}function Pd(e,t,r,i){e.addEventListener(t,r,i)}function Id(e,t,r,i){e.removeEventListener(t,r,i)}function FO(e){return e.which===2||e.which===3}var Yb,Ff,Wb,Nd,Ts=M(()=>{"use strict";re();kf();Yb=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ff=[],Wb=tt.browser.firefox&&+tt.browser.version.split(".")[0]<39;Nd=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0}});function Fd(e){var t=e[1][0]-e[0][0],r=e[1][1]-e[0][1];return Math.sqrt(t*t+r*r)}function Xb(e){return[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]}var zd,zf,Ud=M(()=>{"use strict";Ts();zd=(function(){function e(){this._track=[]}return e.prototype.recognize=function(t,r,i){return this._doTrack(t,r,i),this._recognize(t)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(t,r,i){var n=t.touches;if(n){for(var a={points:[],touches:[],target:r,event:t},o=0,s=n.length;o1&&i&&i.length>1){var a=Fd(i)/Fd(n);!isFinite(a)&&(a=1),t.pinchScale=a;var o=Xb(i);return t.pinchX=o[0],t.pinchY=o[1],{type:"pinch",target:e[0].target,event:t}}}}}});var Zb,q,Ms=M(()=>{"use strict";Zb=(function(){function e(t,r){this.x=t||0,this.y=r||0}return e.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(t,r){return this.x=t,this.y=r,this},e.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},e.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},e.prototype.scale=function(t){this.x*=t,this.y*=t},e.prototype.scaleAndAdd=function(t,r){this.x+=t.x*r,this.y+=t.y*r},e.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},e.prototype.dot=function(t){return this.x*t.x+this.y*t.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},e.prototype.distance=function(t){var r=this.x-t.x,i=this.y-t.y;return Math.sqrt(r*r+i*i)},e.prototype.distanceSquare=function(t){var r=this.x-t.x,i=this.y-t.y;return r*r+i*i},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(t){if(t){var r=this.x,i=this.y;return this.x=t[0]*r+t[2]*i+t[4],this.y=t[1]*r+t[3]*i+t[5],this}},e.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},e.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},e.set=function(t,r,i){t.x=r,t.y=i},e.copy=function(t,r){t.x=r.x,t.y=r.y},e.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},e.lenSquare=function(t){return t.x*t.x+t.y*t.y},e.dot=function(t,r){return t.x*r.x+t.y*r.y},e.add=function(t,r,i){t.x=r.x+i.x,t.y=r.y+i.y},e.sub=function(t,r,i){t.x=r.x-i.x,t.y=r.y-i.y},e.scale=function(t,r,i){t.x=r.x*i,t.y=r.y*i},e.scaleAndAdd=function(t,r,i,n){t.x=r.x+i.x*n,t.y=r.y+i.y*n},e.lerp=function(t,r,i,n){var a=1-n;t.x=a*r.x+n*i.x,t.y=a*r.y+n*i.y},e})(),q=Zb});var Ds,Cs,Ci,Ei,Li,Ri,Fa,za,jb,Y,Xt=M(()=>{"use strict";Ti();Ms();Ds=Math.min,Cs=Math.max,Ci=new q,Ei=new q,Li=new q,Ri=new q,Fa=new q,za=new q,jb=(function(){function e(t,r,i,n){i<0&&(t=t+i,i=-i),n<0&&(r=r+n,n=-n),this.x=t,this.y=r,this.width=i,this.height=n}return e.prototype.union=function(t){var r=Ds(t.x,this.x),i=Ds(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Cs(t.x+t.width,this.x+this.width)-r:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=Cs(t.y+t.height,this.y+this.height)-i:this.height=t.height,this.x=r,this.y=i},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(t){var r=this,i=t.width/r.width,n=t.height/r.height,a=Tr();return ds(a,a,[-r.x,-r.y]),Tf(a,a,[i,n]),ds(a,a,[t.x,t.y]),a},e.prototype.intersect=function(t,r){if(!t)return!1;t instanceof e||(t=e.create(t));var i=this,n=i.x,a=i.x+i.width,o=i.y,s=i.y+i.height,u=t.x,l=t.x+t.width,f=t.y,c=t.y+t.height,p=!(av&&(v=y,mv&&(v=x,g<_?q.set(za,0,-g):q.set(za,0,_)):y=i.x&&t<=i.x+i.width&&r>=i.y&&r<=i.y+i.height},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){e.copy(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return this.width===0||this.height===0},e.create=function(t){return new e(t.x,t.y,t.width,t.height)},e.copy=function(t,r){t.x=r.x,t.y=r.y,t.width=r.width,t.height=r.height},e.applyTransform=function(t,r,i){if(!i){t!==r&&e.copy(t,r);return}if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var n=i[0],a=i[3],o=i[4],s=i[5];t.x=r.x*n+o,t.y=r.y*a+s,t.width=r.width*n,t.height=r.height*a,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}Ci.x=Li.x=r.x,Ci.y=Ri.y=r.y,Ei.x=Ri.x=r.x+r.width,Ei.y=Li.y=r.y+r.height,Ci.transform(i),Ri.transform(i),Ei.transform(i),Li.transform(i),t.x=Ds(Ci.x,Ei.x,Li.x,Ri.x),t.y=Ds(Ci.y,Ei.y,Li.y,Ri.y);var u=Cs(Ci.x,Ei.x,Li.x,Ri.x),l=Cs(Ci.y,Ei.y,Li.y,Ri.y);t.width=u-t.x,t.height=l-t.y},e})(),Y=jb});function Kb(e,t,r){return{type:e,event:r,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:r.zrX,offsetY:r.zrY,gestureEvent:r.gestureEvent,pinchX:r.pinchX,pinchY:r.pinchY,pinchScale:r.pinchScale,wheelDelta:r.zrDelta,zrByTouch:r.zrByTouch,which:r.which,stop:Qb}}function Qb(){Nd(this.event)}function tT(e,t,r){if(e[e.rectHover?"rectContain":"contain"](t,r)){for(var i=e,n=void 0,a=!1;i;){if(i.ignoreClip&&(a=!0),!a){var o=i.getClipPath();if(o&&!o.contain(t,r))return!1}i.silent&&(n=!0);var s=i.__hostTarget;i=s||i.parent}return n?Vd:!0}return!1}function Bd(e,t,r,i,n){for(var a=e.length-1;a>=0;a--){var o=e[a],s=void 0;if(o!==n&&!o.ignore&&(s=tT(o,r,i))&&(!t.topTarget&&(t.topTarget=o),s!==Vd)){t.target=o;break}}}function Gd(e,t,r){var i=e.painter;return t<0||t>i.getWidth()||r<0||r>i.getHeight()}var Vd,$b,Ua,Jb,Uf,Hd,Yd,Wd=M(()=>{"use strict";dt();P();we();Ld();Zr();Ts();Ud();Xt();Vd="silent";$b=(function(e){G(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.handler=null,r}return t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t})(Bt),Ua=(function(){function e(t,r){this.x=t,this.y=r}return e})(),Jb=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Uf=new Y(0,0,0,0),Hd=(function(e){G(t,e);function t(r,i,n,a,o){var s=e.call(this)||this;return s._hovered=new Ua(0,0),s.storage=r,s.painter=i,s.painterRoot=a,s._pointerSize=o,n=n||new $b,s.proxy=null,s.setHandlerProxy(n),s._draggingMgr=new Ed(s),s}return t.prototype.setHandlerProxy=function(r){this.proxy&&this.proxy.dispose(),r&&(S(Jb,function(i){r.on&&r.on(i,this[i],this)},this),r.handler=this),this.proxy=r},t.prototype.mousemove=function(r){var i=r.zrX,n=r.zrY,a=Gd(this,i,n),o=this._hovered,s=o.target;s&&!s.__zr&&(o=this.findHover(o.x,o.y),s=o.target);var u=this._hovered=a?new Ua(i,n):this.findHover(i,n),l=u.target,f=this.proxy;f.setCursor&&f.setCursor(l?l.cursor:"default"),s&&l!==s&&this.dispatchToElement(o,"mouseout",r),this.dispatchToElement(u,"mousemove",r),l&&l!==s&&this.dispatchToElement(u,"mouseover",r)},t.prototype.mouseout=function(r){var i=r.zrEventControl;i!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",r),i!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:r})},t.prototype.resize=function(){this._hovered=new Ua(0,0)},t.prototype.dispatch=function(r,i){var n=this[r];n&&n.call(this,i)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(r){var i=this.proxy;i.setCursor&&i.setCursor(r)},t.prototype.dispatchToElement=function(r,i,n){r=r||{};var a=r.target;if(!(a&&a.silent)){for(var o="on"+i,s=Kb(i,r,n);a&&(a[o]&&(s.cancelBubble=!!a[o].call(a,s)),a.trigger(i,s),a=a.__hostTarget?a.__hostTarget:a.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(i,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(u){typeof u[o]=="function"&&u[o].call(u,s),u.trigger&&u.trigger(i,s)}))}},t.prototype.findHover=function(r,i,n){var a=this.storage.getDisplayList(),o=new Ua(r,i);if(Bd(a,o,r,i,n),this._pointerSize&&!o.target){for(var s=[],u=this._pointerSize,l=u/2,f=new Y(r-l,i-l,u,u),c=a.length-1;c>=0;c--){var p=a[c];p!==n&&!p.ignore&&!p.ignoreCoarsePointer&&(!p.parent||!p.parent.ignoreCoarsePointer)&&(Uf.copy(p.getBoundingRect()),p.transform&&Uf.applyTransform(p.transform),Uf.intersect(f)&&s.push(p))}if(s.length)for(var h=4,v=Math.PI/12,m=Math.PI*2,d=0;d4)return;this._downPoint=null}this.dispatchToElement(a,e,t)}});Yd=Hd});function eT(e){for(var t=0;e>=Zd;)t|=e&1,e>>=1;return e+t}function qd(e,t,r,i){var n=t+1;if(n===r)return 1;if(i(e[n++],e[t])<0){for(;n=0;)n++;return n-t}function rT(e,t,r){for(r--;t>>1,n(a,e[u])<0?s=u:o=u+1;var l=i-o;switch(l){case 3:e[o+3]=e[o+2];case 2:e[o+2]=e[o+1];case 1:e[o+1]=e[o];break;default:for(;l>0;)e[o+l]=e[o+l-1],l--}e[o]=a}}function Bf(e,t,r,i,n,a){var o=0,s=0,u=1;if(a(e,t[r+n])>0){for(s=i-n;u0;)o=u,u=(u<<1)+1,u<=0&&(u=s);u>s&&(u=s),o+=n,u+=n}else{for(s=n+1;us&&(u=s);var l=o;o=n-u,u=n-l}for(o++;o>>1);a(e,t[r+f])>0?o=f+1:u=f}return u}function Vf(e,t,r,i,n,a){var o=0,s=0,u=1;if(a(e,t[r+n])<0){for(s=n+1;us&&(u=s);var l=o;o=n-u,u=n-l}else{for(s=i-n;u=0;)o=u,u=(u<<1)+1,u<=0&&(u=s);u>s&&(u=s),o+=n,u+=n}for(o++;o>>1);a(e,t[r+f])<0?u=f:o=f+1}return u}function iT(e,t){var r=Ba,i,n,a=0,o=[];i=[],n=[];function s(h,v){i[a]=h,n[a]=v,a+=1}function u(){for(;a>1;){var h=a-2;if(h>=1&&n[h-1]<=n[h]+n[h+1]||h>=2&&n[h-2]<=n[h]+n[h-1])n[h-1]n[h+1])break;f(h)}}function l(){for(;a>1;){var h=a-2;h>0&&n[h-1]=Ba||T>=Ba);if(C)break;b<0&&(b=0),b+=2}if(r=b,r<1&&(r=1),v===1){for(g=0;g=0;g--)e[w+g]=e[b+g];e[x]=o[y];return}for(var T=r;;){var C=0,D=0,L=!1;do if(t(o[y],e[_])<0){if(e[x--]=e[_--],C++,D=0,--v===0){L=!0;break}}else if(e[x--]=o[y--],D++,C=0,--d===1){L=!0;break}while((C|D)=0;g--)e[w+g]=e[b+g];if(v===0){L=!0;break}}if(e[x--]=o[y--],--d===1){L=!0;break}if(D=d-Bf(e[_],o,0,d,d-1,t),D!==0){for(x-=D,y-=D,d-=D,w=x+1,b=y+1,g=0;g=Ba||D>=Ba);if(L)break;T<0&&(T=0),T+=2}if(r=T,r<1&&(r=1),d===1){for(x-=v,_-=v,w=x+1,b=_+1,g=v-1;g>=0;g--)e[w+g]=e[b+g];e[x]=o[y]}else{if(d===0)throw new Error;for(b=x-(d-1),g=0;gs&&(u=s),Xd(e,r,r+u,r+a,t),a=u}o.pushRun(r,a),o.mergeRuns(),n-=a,r+=a}while(n!==0);o.forceMergeRuns()}}var Zd,Ba,Hf=M(()=>{"use strict";Zd=32,Ba=7});var Ct,Ai,jr,Kr=M(()=>{"use strict";Ct=1,Ai=2,jr=4});function Gf(){jd||(jd=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function Kd(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var jd,nT,Qd,$d=M(()=>{"use strict";P();Hf();Kr();jd=!1;nT=(function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=Kd}return e.prototype.traverse=function(t,r){for(var i=0;i0&&(f.__clipPaths=[]),isNaN(f.z)&&(Gf(),f.z=0),isNaN(f.z2)&&(Gf(),f.z2=0),isNaN(f.zlevel)&&(Gf(),f.zlevel=0),this._displayList[this._displayListLen++]=f}var c=t.getDecalElement&&t.getDecalElement();c&&this._updateAndAddDisplayable(c,r,i);var p=t.getTextGuideLine();p&&this._updateAndAddDisplayable(p,r,i);var h=t.getTextContent();h&&this._updateAndAddDisplayable(h,r,i)}},e.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},e.prototype.delRoot=function(t){if(t instanceof Array){for(var r=0,i=t.length;r=0&&this._roots.splice(n,1)},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e})(),Qd=nT});var Jd,Va,Yf=M(()=>{"use strict";re();Jd=tt.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)};Va=Jd});var Es,Ls,Wf=M(()=>{"use strict";Es={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return .5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return e===0?0:Math.pow(1024,e-1)},exponentialOut:function(e){return e===1?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,r=.1,i=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=i/4):t=i*Math.asin(1/r)/(2*Math.PI),-(r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i)))},elasticOut:function(e){var t,r=.1,i=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=i/4):t=i*Math.asin(1/r)/(2*Math.PI),r*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/i)+1)},elasticInOut:function(e){var t,r=.1,i=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=i/4):t=i*Math.asin(1/r)/(2*Math.PI),(e*=2)<1?-.5*(r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i)):r*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-Es.bounceOut(1-e)},bounceOut:function(e){return e<.36363636363636365?7.5625*e*e:e<.7272727272727273?7.5625*(e-=.5454545454545454)*e+.75:e<.9090909090909091?7.5625*(e-=.8181818181818182)*e+.9375:7.5625*(e-=.9545454545454546)*e+.984375},bounceInOut:function(e){return e<.5?Es.bounceIn(e*2)*.5:Es.bounceOut(e*2-1)*.5+.5}},Ls=Es});function Qr(e){return e>-As&&eAs||e<-As}function Mt(e,t,r,i,n){var a=1-n;return a*a*(a*e+3*n*t)+n*n*(n*i+3*a*r)}function qf(e,t,r,i,n){var a=1-n;return 3*(((t-e)*a+2*(r-t)*n)*a+(i-r)*n*n)}function Ps(e,t,r,i,n,a){var o=i+3*(t-r)-e,s=3*(r-t*2+e),u=3*(t-e),l=e-n,f=s*s-3*o*u,c=s*u-9*o*l,p=u*u-3*s*l,h=0;if(Qr(f)&&Qr(c))if(Qr(s))a[0]=0;else{var v=-u/s;v>=0&&v<=1&&(a[h++]=v)}else{var m=c*c-4*f*p;if(Qr(m)){var d=c/f,v=-s/o+d,g=-d/2;v>=0&&v<=1&&(a[h++]=v),g>=0&&g<=1&&(a[h++]=g)}else if(m>0){var _=$r(m),y=f*s+1.5*o*(-c+_),x=f*s+1.5*o*(-c-_);y<0?y=-Rs(-y,Os):y=Rs(y,Os),x<0?x=-Rs(-x,Os):x=Rs(x,Os);var v=(-s-(y+x))/(3*o);v>=0&&v<=1&&(a[h++]=v)}else{var b=(2*f*s-3*o*c)/(2*$r(f*f*f)),w=Math.acos(b)/3,T=$r(f),C=Math.cos(w),v=(-s-2*T*C)/(3*o),g=(-s+T*(C+tm*Math.sin(w)))/(3*o),D=(-s+T*(C-tm*Math.sin(w)))/(3*o);v>=0&&v<=1&&(a[h++]=v),g>=0&&g<=1&&(a[h++]=g),D>=0&&D<=1&&(a[h++]=D)}}return h}function Is(e,t,r,i,n){var a=6*r-12*t+6*e,o=9*t+3*i-3*e-9*r,s=3*t-3*e,u=0;if(Qr(o)){if(rm(a)){var l=-s/a;l>=0&&l<=1&&(n[u++]=l)}}else{var f=a*a-4*o*s;if(Qr(f))n[0]=-a/(2*o);else if(f>0){var c=$r(f),l=(-a+c)/(2*o),p=(-a-c)/(2*o);l>=0&&l<=1&&(n[u++]=l),p>=0&&p<=1&&(n[u++]=p)}}return u}function Nn(e,t,r,i,n,a){var o=(t-e)*n+e,s=(r-t)*n+t,u=(i-r)*n+r,l=(s-o)*n+o,f=(u-s)*n+s,c=(f-l)*n+l;a[0]=e,a[1]=o,a[2]=l,a[3]=c,a[4]=c,a[5]=f,a[6]=u,a[7]=i}function Ns(e,t,r,i,n,a,o,s,u,l,f){var c,p=.005,h=1/0,v,m,d,g;or[0]=u,or[1]=l;for(var _=0;_<1;_+=.05)Ne[0]=Mt(e,r,n,o,_),Ne[1]=Mt(t,i,a,s,_),d=Yr(or,Ne),d=0&&d=0&&l<=1&&(n[u++]=l)}}else{var f=o*o-4*a*s;if(Qr(f)){var l=-o/(2*a);l>=0&&l<=1&&(n[u++]=l)}else if(f>0){var c=$r(f),l=(-o+c)/(2*a),p=(-o-c)/(2*a);l>=0&&l<=1&&(n[u++]=l),p>=0&&p<=1&&(n[u++]=p)}}return u}function ks(e,t,r){var i=e+r-2*t;return i===0?.5:(e-t)/i}function kn(e,t,r,i,n){var a=(t-e)*i+e,o=(r-t)*i+t,s=(o-a)*i+a;n[0]=e,n[1]=a,n[2]=s,n[3]=s,n[4]=o,n[5]=r}function Fs(e,t,r,i,n,a,o,s,u){var l,f=.005,c=1/0;or[0]=o,or[1]=s;for(var p=0;p<1;p+=.05){Ne[0]=Rt(e,r,n,p),Ne[1]=Rt(t,i,a,p);var h=Yr(or,Ne);h=0&&h{"use strict";we();Rs=Math.pow,$r=Math.sqrt,As=1e-8,em=1e-4,tm=$r(3),Os=1/3,or=br(),Ne=br(),In=br()});function zs(e){var t=e&&aT.exec(e);if(t){var r=t[1].split(","),i=+Wt(r[0]),n=+Wt(r[1]),a=+Wt(r[2]),o=+Wt(r[3]);if(isNaN(i+n+a+o))return;var s=[];return function(u){return u<=0?0:u>=1?1:Ps(0,i,a,1,u,s)&&Mt(0,n,o,1,s[0])}}}var aT,jf=M(()=>{"use strict";Er();P();aT=/cubic-bezier\(([0-9,\.e ]+)\)/});var oT,om,sm=M(()=>{"use strict";Wf();P();jf();oT=(function(){function e(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||Ut,this.ondestroy=t.ondestroy||Ut,this.onrestart=t.onrestart||Ut,t.easing&&this.setEasing(t.easing)}return e.prototype.step=function(t,r){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=r;return}var i=this._life,n=t-this._startTime-this._pausedTime,a=n/i;a<0&&(a=0),a=Math.min(a,1);var o=this.easingFunc,s=o?o(a):a;if(this.onframe(s),a===1)if(this.loop){var u=n%i;this._startTime=t-u,this._pausedTime=0,this.onrestart()}else return!0;return!1},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e.prototype.setEasing=function(t){this.easing=t,this.easingFunc=H(t)?t:Ls[t]||zs(t)},e})(),om=oT});function vA(e){var t;if(!e||e==="transparent")e="none";else if(typeof e=="string"&&e.indexOf("rgba")>-1){var r=qt(e);r&&(e="rgb("+r[0]+","+r[1]+","+r[2]+")",t=r[3])}return{color:e,opacity:t??1}}function dA(e){return e-um}function Us(e){return Bs(e*1e3)/1e3}function lm(e){return Bs(e*1e4)/1e4}function mA(e){return"matrix("+Us(e[0])+","+Us(e[1])+","+Us(e[2])+","+Us(e[3])+","+lm(e[4])+","+lm(e[5])+")"}function _A(e,t,r){return r==="top"?e+=t/2:r==="bottom"&&(e-=t/2),e}function yA(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY)}function xA(e){var t=e.style,r=e.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),r[0],r[1]].join(",")}function sT(e){return e&&!!e.image}function uT(e){return e&&!!e.svgElement}function SA(e){return sT(e)||uT(e)}function fm(e){return e.type==="linear"}function cm(e){return e.type==="radial"}function wA(e){return e&&(e.type==="linear"||e.type==="radial")}function bA(e){return"url(#"+e+")"}function TA(e){var t=e.getGlobalScale(),r=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(r)/Math.log(10)),1)}function MA(e){var t=e.x||0,r=e.y||0,i=(e.rotation||0)*wi,n=W(e.scaleX,1),a=W(e.scaleY,1),o=e.skewX||0,s=e.skewY||0,u=[];return(t||r)&&u.push("translate("+t+"px,"+r+"px)"),i&&u.push("rotate("+i+")"),(n!==1||a!==1)&&u.push("scale("+n+","+a+")"),(o||s)&&u.push("skew("+Bs(o*wi)+"deg, "+Bs(s*wi)+"deg)"),u.join(" ")}var Bs,um,gA,DA,hm=M(()=>{"use strict";P();Xr();re();Bs=Math.round;um=1e-4;gA={left:"start",right:"end",center:"middle",middle:"middle"};DA=(function(){return tt.hasGlobalWindow&&H(window.btoa)?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:typeof Buffer<"u"?function(e){return Buffer.from(e).toString("base64")}:function(e){return null}})()});function Lr(e,t,r){return(t-e)*r+e}function Kf(e,t,r,i){for(var n=t.length,a=0;ai?t:e,a=Math.min(r,i),o=n[a-1]||{color:[0,0,0,0],offset:0},s=a;so;if(s)i.length=o;else for(var u=a;u{"use strict";sm();Xr();P();Wf();jf();hm();Qf=Array.prototype.slice;Hs=0,Ws=1,mm=2,Ga=3,$f=4,Jf=5,vm=6;Ha=[0,0,0,0],pT=(function(){function e(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return e.prototype.isFinished=function(){return this._finished},e.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},e.prototype.needsAnimate=function(){return this.keyframes.length>=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(t,r,i){this._needsSort=!0;var n=this.keyframes,a=n.length,o=!1,s=vm,u=r;if(Tt(r)){var l=hT(r);s=l,(l===1&&!ot(r[0])||l===2&&!ot(r[0][0]))&&(o=!0)}else if(ot(r)&&!xi(r))s=Hs;else if(U(r))if(!isNaN(+r))s=Hs;else{var f=qt(r);f&&(u=f,s=Ga)}else if(Sr(r)){var c=A({},u);c.colorStops=F(r.colorStops,function(h){return{offset:h.offset,color:qt(h.color)}}),fm(r)?s=$f:cm(r)&&(s=Jf),u=c}a===0?this.valType=s:(s!==this.valType||s===vm)&&(o=!0),this.discrete=this.discrete||o;var p={time:t,value:u,rawValue:r,percent:0};return i&&(p.easing=i,p.easingFunc=H(i)?i:Ls[i]||zs(i)),n.push(p),p},e.prototype.prepare=function(t,r){var i=this.keyframes;this._needsSort&&i.sort(function(m,d){return m.time-d.time});for(var n=this.valType,a=i.length,o=i[a-1],s=this.discrete,u=Gs(n),l=dm(n),f=0;f=0&&!(o[f].percent<=r);f--);f=p(f,s-2)}else{for(f=c;fr);f++);f=p(f-1,s-2)}v=o[f+1],h=o[f]}if(h&&v){this._lastFr=f,this._lastFrP=r;var d=v.percent-h.percent,g=d===0?1:p((r-h.percent)/d,1);v.easingFunc&&(g=v.easingFunc(g));var _=i?this._additiveValue:l?Ha:t[u];if((Gs(a)||l)&&!_&&(_=this._additiveValue=[]),this.discrete)t[u]=g<1?h.rawValue:v.rawValue;else if(Gs(a))a===Ws?Kf(_,h[n],v[n],g):lT(_,h[n],v[n],g);else if(dm(a)){var y=h[n],x=v[n],b=a===$f;t[u]={type:b?"linear":"radial",x:Lr(y.x,x.x,g),y:Lr(y.y,x.y,g),colorStops:F(y.colorStops,function(T,C){var D=x.colorStops[C];return{offset:Lr(T.offset,D.offset,g),color:Ys(Kf([],T.color,D.color,g))}}),global:x.global},b?(t[u].x2=Lr(y.x2,x.x2,g),t[u].y2=Lr(y.y2,x.y2,g)):t[u].r=Lr(y.r,x.r,g)}else if(l)Kf(_,h[n],v[n],g),i||(t[u]=Ys(_));else{var w=Lr(h[n],v[n],g);i?this._additiveValue=w:t[u]=w}i&&this._addToTarget(t)}}},e.prototype._addToTarget=function(t){var r=this.valType,i=this.propName,n=this._additiveValue;r===Hs?t[i]=t[i]+n:r===Ga?(qt(t[i],Ha),Vs(Ha,Ha,n,1),t[i]=Ys(Ha)):r===Ws?Vs(t[i],t[i],n,1):r===mm&&pm(t[i],t[i],n,1)},e})(),vT=(function(){function e(t,r,i,n){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=r,r&&n){yi("Can' use additive animation on looped animation.");return}this._additiveAnimators=n,this._allowDiscrete=i}return e.prototype.getMaxTime=function(){return this._maxTime},e.prototype.getDelay=function(){return this._delay},e.prototype.getLoop=function(){return this._loop},e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(t){this._target=t},e.prototype.when=function(t,r,i){return this.whenWithKeys(t,r,J(r),i)},e.prototype.whenWithKeys=function(t,r,i,n){for(var a=this._tracks,o=0;o0&&u.addKeyframe(0,Ya(l),n),this._trackKeys.push(s)}u.addKeyframe(t,Ya(r[s]),n)}return this._maxTime=Math.max(this._maxTime,t),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var r=t.length,i=0;i0)){this._started=1;for(var r=this,i=[],n=this._maxTime||0,a=0;a1){var s=o.pop();a.addKeyframe(s.time,t[n]),a.prepare(this._maxTime,a.getAdditiveTrack())}}}},e})(),Wa=vT});function Pi(){return new Date().getTime()}var dT,gm,_m=M(()=>{"use strict";dt();Zr();Yf();tc();dT=(function(e){G(t,e);function t(r){var i=e.call(this)||this;return i._running=!1,i._time=0,i._pausedTime=0,i._pauseStart=0,i._paused=!1,r=r||{},i.stage=r.stage||{},i}return t.prototype.addClip=function(r){r.animation&&this.removeClip(r),this._head?(this._tail.next=r,r.prev=this._tail,r.next=null,this._tail=r):this._head=this._tail=r,r.animation=this},t.prototype.addAnimator=function(r){r.animation=this;var i=r.getClip();i&&this.addClip(i)},t.prototype.removeClip=function(r){if(r.animation){var i=r.prev,n=r.next;i?i.next=n:this._head=n,n?n.prev=i:this._tail=i,r.next=r.prev=r.animation=null}},t.prototype.removeAnimator=function(r){var i=r.getClip();i&&this.removeClip(i),r.animation=null},t.prototype.update=function(r){for(var i=Pi()-this._pausedTime,n=i-this._time,a=this._head;a;){var o=a.next,s=a.step(i,n);s&&(a.ondestroy(),this.removeClip(a)),a=o}this._time=i,r||(this.trigger("frame",n),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var r=this;this._running=!0;function i(){r._running&&(Va(i),!r._paused&&r.update())}Va(i)},t.prototype.start=function(){this._running||(this._time=Pi(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=Pi(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=Pi()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var r=this._head;r;){var i=r.next;r.prev=r.next=r.animation=null,r=i}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(r,i){i=i||{},this.start();var n=new Wa(r,i.loop);return this.addAnimator(n),n},t})(Bt),gm=dT});function ac(e){var t=e.pointerType;return t==="pen"||t==="touch"}function gT(e){e.touching=!0,e.touchTimer!=null&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout(function(){e.touching=!1,e.touchTimer=null},700)}function ic(e){e&&(e.zrByTouch=!0)}function _T(e,t){return Ie(e.dom,new yT(e,t),!0)}function wm(e,t){for(var r=t,i=!1;r&&r.nodeType!==9&&!(i=r.domBelongToZr||r!==t&&r===e.painterRoot);)r=r.parentNode;return i}function xT(e,t){var r=t.domHandlers;tt.pointerEventsSupported?S(rc.pointer,function(i){qs(t,i,function(n){r[i].call(e,n)})}):(tt.touchEventsSupported&&S(rc.touch,function(i){qs(t,i,function(n){r[i].call(e,n),gT(t)})}),S(rc.mouse,function(i){qs(t,i,function(n){n=bs(n),t.touching||r[i].call(e,n)})}))}function ST(e,t){tt.pointerEventsSupported?S(ym.pointer,r):tt.touchEventsSupported||S(ym.mouse,r);function r(i){function n(a){a=bs(a),wm(e,a.target)||(a=_T(e,a),t.domHandlers[i].call(e,a))}qs(t,i,n,{capture:!0})}}function qs(e,t,r,i){e.mounted[t]=r,e.listenerOpts[t]=i,Pd(e.domTarget,t,r,i)}function nc(e){var t=e.mounted;for(var r in t)t.hasOwnProperty(r)&&Id(e.domTarget,r,t[r],e.listenerOpts[r]);e.mounted={}}var mT,ec,rc,ym,xm,yT,Ke,oc,Sm,wT,bm,Tm=M(()=>{"use strict";dt();Ts();P();Zr();re();mT=300,ec=tt.domSupported,rc=(function(){var e=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},i=F(e,function(n){var a=n.replace("mouse","pointer");return r.hasOwnProperty(a)?a:n});return{mouse:e,touch:t,pointer:i}})(),ym={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},xm=!1;yT=(function(){function e(t,r){this.stopPropagation=Ut,this.stopImmediatePropagation=Ut,this.preventDefault=Ut,this.type=r.type,this.target=this.currentTarget=t.dom,this.pointerType=r.pointerType,this.clientX=r.clientX,this.clientY=r.clientY}return e})(),Ke={mousedown:function(e){e=Ie(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=Ie(this.dom,e);var t=this.__mayPointerCapture;t&&(e.zrX!==t[0]||e.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",e)},mouseup:function(e){e=Ie(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=Ie(this.dom,e);var t=e.toElement||e.relatedTarget;wm(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){xm=!0,e=Ie(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){xm||(e=Ie(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=Ie(this.dom,e),ic(e),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),Ke.mousemove.call(this,e),Ke.mousedown.call(this,e)},touchmove:function(e){e=Ie(this.dom,e),ic(e),this.handler.processGesture(e,"change"),Ke.mousemove.call(this,e)},touchend:function(e){e=Ie(this.dom,e),ic(e),this.handler.processGesture(e,"end"),Ke.mouseup.call(this,e),+new Date-+this.__lastTouchMoment{"use strict";re();Mm=1;tt.hasGlobalWindow&&(Mm=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));Ii=Mm,qa=.4,Xa="#333",Za="#ccc",Dm="#eee"});function ki(e){return e>Em||e<-Em}function TT(e,t){for(var r=0;r{"use strict";Ti();we();Cm=bi,Em=5e-5;Fi=[],Fn=[],sc=Tr(),uc=Math.abs,bT=(function(){function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return ki(this.rotation)||ki(this.x)||ki(this.y)||ki(this.scaleX-1)||ki(this.scaleY-1)||ki(this.skewX)||ki(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,r=this.needLocalTransform(),i=this.transform;if(!(r||t)){i&&(Cm(i),this.invTransform=null);return}i=i||Tr(),r?this.getLocalTransform(i):Cm(i),t&&(r?Mr(i,t,i):vs(i,t)),this.transform=i,this._resolveGlobalScaleRatio(i)},e.prototype._resolveGlobalScaleRatio=function(t){var r=this.globalScaleRatio;if(r!=null&&r!==1){this.getGlobalScale(Fi);var i=Fi[0]<0?-1:1,n=Fi[1]<0?-1:1,a=((Fi[0]-i)*r+i)/Fi[0]||0,o=((Fi[1]-n)*r+n)/Fi[1]||0;t[0]*=a,t[1]*=a,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||Tr(),Dr(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,r=[];t;)r.push(t),t=t.parent;for(;t=r.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var r=t[0]*t[0]+t[1]*t[1],i=t[2]*t[2]+t[3]*t[3],n=Math.atan2(t[1],t[0]),a=Math.PI/2+n-Math.atan2(t[3],t[2]);i=Math.sqrt(i)*Math.cos(a),r=Math.sqrt(r),this.skewX=a,this.skewY=0,this.rotation=-n,this.x=+t[4],this.y=+t[5],this.scaleX=r,this.scaleY=i,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,r=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||Tr(),Mr(Fn,t.invTransform,r),r=Fn);var i=this.originX,n=this.originY;(i||n)&&(sc[4]=i,sc[5]=n,Mr(Fn,r,sc),Fn[4]-=i,Fn[5]-=n,r=Fn),this.setLocalTransform(r)}},e.prototype.getGlobalScale=function(t){var r=this.transform;return t=t||[],r?(t[0]=Math.sqrt(r[0]*r[0]+r[1]*r[1]),t[1]=Math.sqrt(r[2]*r[2]+r[3]*r[3]),r[0]<0&&(t[0]=-t[0]),r[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},e.prototype.transformCoordToLocal=function(t,r){var i=[t,r],n=this.invTransform;return n&&Se(i,i,n),i},e.prototype.transformCoordToGlobal=function(t,r){var i=[t,r],n=this.transform;return n&&Se(i,i,n),i},e.prototype.getLineScale=function(){var t=this.transform;return t&&uc(t[0]-1)>1e-10&&uc(t[3]-1)>1e-10?Math.sqrt(uc(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){TT(this,t)},e.getLocalTransform=function(t,r){r=r||[];var i=t.originX||0,n=t.originY||0,a=t.scaleX,o=t.scaleY,s=t.anchorX,u=t.anchorY,l=t.rotation||0,f=t.x,c=t.y,p=t.skewX?Math.tan(t.skewX):0,h=t.skewY?Math.tan(-t.skewY):0;if(i||n||s||u){var v=i+s,m=n+u;r[4]=-v*a-p*m*o,r[5]=-m*o-h*v*a}else r[4]=r[5]=0;return r[0]=a,r[3]=o,r[1]=h*a,r[2]=p*o,l&&bf(r,r,l),r[4]+=i+f,r[5]+=n+c,r},e.initDefaultProps=(function(){var t=e.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0})(),e})(),zi=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];Ui=bT});function le(e,t){t=t||Xe;var r=Lm[t];r||(r=Lm[t]=new Cr(500));var i=r.get(e);return i==null&&(i=ie.measureText(e,t).width,r.put(e,i)),i}function Rm(e,t,r,i){var n=le(e,t),a=Zs(t),o=zn(0,n,r),s=Bi(0,a,i),u=new Y(o,s,n,a);return u}function Xs(e,t,r,i){var n=((e||"")+"").split(` +`),a=n.length;if(a===1)return Rm(n[0],t,r,i);for(var o=new Y(0,0,0,0),s=0;s=0?parseFloat(e)/100*t:parseFloat(e):e}function js(e,t,r){var i=t.position||"inside",n=t.distance!=null?t.distance:5,a=r.height,o=r.width,s=a/2,u=r.x,l=r.y,f="left",c="top";if(i instanceof Array)u+=sr(i[0],r.width),l+=sr(i[1],r.height),f=null,c=null;else switch(i){case"left":u-=n,l+=s,f="right",c="middle";break;case"right":u+=n+o,l+=s,c="middle";break;case"top":u+=o/2,l-=n,f="center",c="bottom";break;case"bottom":u+=o/2,l+=a+n,f="center";break;case"inside":u+=o/2,l+=s,f="center",c="middle";break;case"insideLeft":u+=n,l+=s,c="middle";break;case"insideRight":u+=o-n,l+=s,f="right",c="middle";break;case"insideTop":u+=o/2,l+=n,f="center";break;case"insideBottom":u+=o/2,l+=a-n,f="center",c="bottom";break;case"insideTopLeft":u+=n,l+=n;break;case"insideTopRight":u+=o-n,l+=n,f="right";break;case"insideBottomLeft":u+=n,l+=a-n,c="bottom";break;case"insideBottomRight":u+=o-n,l+=a-n,f="right",c="bottom";break}return e=e||{},e.x=u,e.y=l,e.align=f,e.verticalAlign=c,e}var Lm,Jr=M(()=>{"use strict";Xt();Na();Ze();Lm={}});function cc(e,t,r,i,n){r=r||{};var a=[];Om(e,"",e,t,r,i,a,n);var o=a.length,s=!1,u=r.done,l=r.aborted,f=function(){s=!0,o--,o<=0&&(s?u&&u():l&&l())},c=function(){o--,o<=0&&(s?u&&u():l&&l())};o||u&&u(),a.length>0&&r.during&&a[0].during(function(v,m){r.during(m)});for(var p=0;p0||n.force&&!o.length){var C=void 0,D=void 0,L=void 0;if(s){D={},p&&(C={});for(var x=0;x{"use strict";ja();tc();Xt();Zr();Jr();P();Ni();Xr();Kr();lc="__zr_normal__",fc=zi.concat(["ignore"]),DT=Yt(zi,function(e,t){return e[t]=!0,e},{ignore:!1}),Un={},CT=new Y(0,0,0,0),pc=(function(){function e(t){this.id=Ca(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,r,i){switch(this.draggable){case"horizontal":r=0;break;case"vertical":t=0;break}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=t,n[5]+=r,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(t){var r=this._textContent;if(r&&(!r.ignore||t)){this.textConfig||(this.textConfig={});var i=this.textConfig,n=i.local,a=r.innerTransformable,o=void 0,s=void 0,u=!1;a.parent=n?this:null;var l=!1;if(a.copyTransform(r),i.position!=null){var f=CT;i.layoutRect?f.copy(i.layoutRect):f.copy(this.getBoundingRect()),n||f.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Un,i,f):js(Un,i,f),a.x=Un.x,a.y=Un.y,o=Un.align,s=Un.verticalAlign;var c=i.origin;if(c&&i.rotation!=null){var p=void 0,h=void 0;c==="center"?(p=f.width*.5,h=f.height*.5):(p=sr(c[0],f.width),h=sr(c[1],f.height)),l=!0,a.originX=-a.x+p+(n?0:f.x),a.originY=-a.y+h+(n?0:f.y)}}i.rotation!=null&&(a.rotation=i.rotation);var v=i.offset;v&&(a.x+=v[0],a.y+=v[1],l||(a.originX=-v[0],a.originY=-v[1]));var m=i.inside==null?typeof i.position=="string"&&i.position.indexOf("inside")>=0:i.inside,d=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),g=void 0,_=void 0,y=void 0;m&&this.canBeInsideText()?(g=i.insideFill,_=i.insideStroke,(g==null||g==="auto")&&(g=this.getInsideTextFill()),(_==null||_==="auto")&&(_=this.getInsideTextStroke(g),y=!0)):(g=i.outsideFill,_=i.outsideStroke,(g==null||g==="auto")&&(g=this.getOutsideFill()),(_==null||_==="auto")&&(_=this.getOutsideStroke(g),y=!0)),g=g||"#000",(g!==d.fill||_!==d.stroke||y!==d.autoStroke||o!==d.align||s!==d.verticalAlign)&&(u=!0,d.fill=g,d.stroke=_,d.autoStroke=y,d.align=o,d.verticalAlign=s,r.setDefaultTextStyle(d)),r.__dirty|=Ct,u&&r.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(t){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Za:Xa},e.prototype.getOutsideStroke=function(t){var r=this.__zr&&this.__zr.getBackgroundColor(),i=typeof r=="string"&&qt(r);i||(i=[255,255,255,1]);for(var n=i[3],a=this.__zr.isDarkMode(),o=0;o<3;o++)i[o]=i[o]*n+(a?0:255)*(1-n);return i[3]=1,qr(i,"rgba")},e.prototype.traverse=function(t,r){},e.prototype.attrKV=function(t,r){t==="textConfig"?this.setTextConfig(r):t==="textContent"?this.setTextContent(r):t==="clipPath"?this.setClipPath(r):t==="extra"?(this.extra=this.extra||{},A(this.extra,r)):this[t]=r},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(t,r){if(typeof t=="string")this.attrKV(t,r);else if(z(t))for(var i=t,n=J(i),a=0;a0},e.prototype.getState=function(t){return this.states[t]},e.prototype.ensureState=function(t){var r=this.states;return r[t]||(r[t]={}),r[t]},e.prototype.clearStates=function(t){this.useState(lc,!1,t)},e.prototype.useState=function(t,r,i,n){var a=t===lc,o=this.hasState();if(!(!o&&a)){var s=this.currentStates,u=this.stateTransition;if(!(et(s,t)>=0&&(r||s.length===1))){var l;if(this.stateProxy&&!a&&(l=this.stateProxy(t)),l||(l=this.states&&this.states[t]),!l&&!a){yi("State "+t+" not exists.");return}a||this.saveCurrentToNormalState(l);var f=!!(l&&l.hoverLayer||n);f&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,l,this._normalState,r,!i&&!this.__inHover&&u&&u.duration>0,u);var c=this._textContent,p=this._textGuide;return c&&c.useState(t,r,i,f),p&&p.useState(t,r,i,f),a?(this.currentStates=[],this._normalState={}):r?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Ct),l}}},e.prototype.useStates=function(t,r,i){if(!t.length)this.clearStates();else{var n=[],a=this.currentStates,o=t.length,s=o===a.length;if(s){for(var u=0;u0,v);var m=this._textContent,d=this._textGuide;m&&m.useStates(t,r,p),d&&d.useStates(t,r,p),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!p&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Ct)}},e.prototype.isSilent=function(){for(var t=this.silent,r=this.parent;!t&&r;){if(r.silent){t=!0;break}r=r.parent}return t},e.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var i=this.currentStates.slice();i.splice(r,1),this.useStates(i)}},e.prototype.replaceState=function(t,r,i){var n=this.currentStates.slice(),a=et(n,t),o=et(n,r)>=0;a>=0?o?n.splice(a,1):n[a]=r:i&&!o&&n.push(r),this.useStates(n)},e.prototype.toggleState=function(t,r){r?this.useState(t,!0):this.removeState(t)},e.prototype._mergeStates=function(t){for(var r={},i,n=0;n=0&&a.splice(o,1)}),this.animators.push(t),i&&i.animation.addAnimator(t),i&&i.wakeUp()},e.prototype.updateDuringAnimation=function(t){this.markRedraw()},e.prototype.stopAnimation=function(t,r){for(var i=this.animators,n=i.length,a=[],o=0;o{"use strict";dt();P();vc();Xt();Am=(function(e){G(t,e);function t(r){var i=e.call(this)||this;return i.isGroup=!0,i._children=[],i.attr(r),i}return t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(r){return this._children[r]},t.prototype.childOfName=function(r){for(var i=this._children,n=0;n=0&&(n.splice(a,0,r),this._doAdd(r))}return this},t.prototype.replace=function(r,i){var n=et(this._children,r);return n>=0&&this.replaceAt(i,n),this},t.prototype.replaceAt=function(r,i){var n=this._children,a=n[i];if(r&&r!==this&&r.parent!==this&&r!==a){n[i]=r,a.parent=null;var o=this.__zr;o&&a.removeSelfFromZr(o),this._doAdd(r)}return this},t.prototype._doAdd=function(r){r.parent&&r.parent.remove(r),r.parent=this;var i=this.__zr;i&&i!==r.__zr&&r.addSelfToZr(i),i&&i.refresh()},t.prototype.remove=function(r){var i=this.__zr,n=this._children,a=et(n,r);return a<0?this:(n.splice(a,1),r.parent=null,i&&r.removeSelfFromZr(i),i&&i.refresh(),this)},t.prototype.removeAll=function(){for(var r=this._children,i=this.__zr,n=0;nNT,disposeAll:()=>kT,getElementSSRData:()=>zT,getInstance:()=>FT,init:()=>$s,registerPainter:()=>mc,registerSSRDataGetter:()=>gc,version:()=>UT});function AT(e){delete Vi[e]}function PT(e){if(!e)return!1;if(typeof e=="string")return Di(e,1){"use strict";re();P();Wd();$d();_m();Tm();Xr();Ni();Ka();Qs={},Vi={};IT=(function(){function e(t,r,i){var n=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,i=i||{},this.dom=r,this.id=t;var a=new Qd,o=i.renderer||"canvas";Qs[o]||(o=J(Qs)[0]),i.useDirtyRect=i.useDirtyRect==null?!1:i.useDirtyRect;var s=new Qs[o](r,a,i,t),u=i.ssr||s.ssrOnly;this.storage=a,this.painter=s;var l=!tt.node&&!tt.worker&&!u?new bm(s.getViewportRoot(),s.root):null,f=i.useCoarsePointer,c=f==null||f==="auto"?tt.touchEventsSupported:!!f,p=44,h;c&&(h=W(i.pointerSize,p)),this.handler=new Yd(a,s,l,s.root,h),this.animation=new gm({stage:{update:u?null:function(){return n._flush(!0)}}}),u||this.animation.start()}return e.prototype.add=function(t){this._disposed||!t||(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},e.prototype.remove=function(t){this._disposed||!t||(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(t,r){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,r),this.refresh())},e.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=PT(t))},e.prototype.getBackgroundColor=function(){return this._backgroundColor},e.prototype.setDarkMode=function(t){this._darkMode=t},e.prototype.isDarkMode=function(){return this._darkMode},e.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},e.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},e.prototype.flush=function(){this._disposed||this._flush(!1)},e.prototype._flush=function(t){var r,i=Pi();this._needsRefresh&&(r=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(r=!0,this.refreshHoverImmediately());var n=Pi();r?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:n-i})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},e.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},e.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},e.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},e.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},e.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},e.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},e.prototype.findHover=function(t,r){if(!this._disposed)return this.handler.findHover(t,r)},e.prototype.on=function(t,r,i){return this._disposed||this.handler.on(t,r,i),this},e.prototype.off=function(t,r){this._disposed||this.handler.off(t,r)},e.prototype.trigger=function(t,r){this._disposed||this.handler.trigger(t,r)},e.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),r=0;r{"use strict";var Pm,Im,Nm,km,Fm,zm,Um,Bm,Vm,tu,yc,Hm,Gm,Ym,Bn,Wm,qm,Xm,Zm,jm,Km,Qm,$m,eu;(function(e){var t=typeof global=="object"?global:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(i){e(r(t,r(i)))}):typeof ru=="object"&&typeof ru.exports=="object"?e(r(t,r(ru.exports))):e(r(t));function r(i,n){return i!==t&&(typeof Object.create=="function"?Object.defineProperty(i,"__esModule",{value:!0}):i.__esModule=!0),function(a,o){return i[a]=n?n(a,o):o}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])};Pm=function(i,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(i,n);function a(){this.constructor=i}i.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)},Im=Object.assign||function(i){for(var n,a=1,o=arguments.length;a=0;f--)(l=i[f])&&(u=(s<3?l(u):s>3?l(n,a,u):l(n,a))||u);return s>3&&u&&Object.defineProperty(n,a,u),u},Fm=function(i,n){return function(a,o){n(a,o,i)}},zm=function(i,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(i,n)},Um=function(i,n,a,o){function s(u){return u instanceof a?u:new a(function(l){l(u)})}return new(a||(a=Promise))(function(u,l){function f(h){try{p(o.next(h))}catch(v){l(v)}}function c(h){try{p(o.throw(h))}catch(v){l(v)}}function p(h){h.done?u(h.value):s(h.value).then(f,c)}p((o=o.apply(i,n||[])).next())})},Bm=function(i,n){var a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},o,s,u,l;return l={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function f(p){return function(h){return c([p,h])}}function c(p){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,s&&(u=p[0]&2?s.return:p[0]?s.throw||((u=s.return)&&u.call(s),0):s.next)&&!(u=u.call(s,p[1])).done)return u;switch(s=0,u&&(p=[p[0]&2,u.value]),p[0]){case 0:case 1:u=p;break;case 4:return a.label++,{value:p[1],done:!1};case 5:a.label++,s=p[1],p=[0];continue;case 7:p=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(p[0]===6||p[0]===2)){a=0;continue}if(p[0]===3&&(!u||p[1]>u[0]&&p[1]=i.length&&(i=void 0),{value:i&&i[o++],done:!i}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},yc=function(i,n){var a=typeof Symbol=="function"&&i[Symbol.iterator];if(!a)return i;var o=a.call(i),s,u=[],l;try{for(;(n===void 0||n-- >0)&&!(s=o.next()).done;)u.push(s.value)}catch(f){l={error:f}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(l)throw l.error}}return u},Hm=function(){for(var i=[],n=0;n1||f(m,d)})})}function f(m,d){try{c(o[m](d))}catch(g){v(u[0][3],g)}}function c(m){m.value instanceof Bn?Promise.resolve(m.value.v).then(p,h):v(u[0][2],m)}function p(m){f("next",m)}function h(m){f("throw",m)}function v(m,d){m(d),u.shift(),u.length&&f(u[0][0],u[0][1])}},qm=function(i){var n,a;return n={},o("next"),o("throw",function(s){throw s}),o("return"),n[Symbol.iterator]=function(){return this},n;function o(s,u){n[s]=i[s]?function(l){return(a=!a)?{value:Bn(i[s](l)),done:s==="return"}:u?u(l):l}:u}},Xm=function(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=i[Symbol.asyncIterator],a;return n?n.call(i):(i=typeof tu=="function"?tu(i):i[Symbol.iterator](),a={},o("next"),o("throw"),o("return"),a[Symbol.asyncIterator]=function(){return this},a);function o(u){a[u]=i[u]&&function(l){return new Promise(function(f,c){l=i[u](l),s(f,c,l.done,l.value)})}}function s(u,l,f,c){Promise.resolve(c).then(function(p){u({value:p,done:f})},l)}},Zm=function(i,n){return Object.defineProperty?Object.defineProperty(i,"raw",{value:n}):i.raw=n,i};var r=Object.create?function(i,n){Object.defineProperty(i,"default",{enumerable:!0,value:n})}:function(i,n){i.default=n};jm=function(i){if(i&&i.__esModule)return i;var n={};if(i!=null)for(var a in i)a!=="default"&&Object.prototype.hasOwnProperty.call(i,a)&&eu(n,i,a);return r(n,i),n},Km=function(i){return i&&i.__esModule?i:{default:i}},Qm=function(i,n,a,o){if(a==="a"&&!o)throw new TypeError("Private accessor was defined without a getter");if(typeof n=="function"?i!==n||!o:!n.has(i))throw new TypeError("Cannot read private member from an object whose class did not declare it");return a==="m"?o:a==="a"?o.call(i):o?o.value:n.get(i)},$m=function(i,n,a,o,s){if(o==="m")throw new TypeError("Private method is not writable");if(o==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof n=="function"?i!==n||!s:!n.has(i))throw new TypeError("Cannot write private member to an object whose class did not declare it");return o==="a"?s.call(i,a):s?s.value=a:n.set(i,a),a},e("__extends",Pm),e("__assign",Im),e("__rest",Nm),e("__decorate",km),e("__param",Fm),e("__metadata",zm),e("__awaiter",Um),e("__generator",Bm),e("__exportStar",Vm),e("__createBinding",eu),e("__values",tu),e("__read",yc),e("__spread",Hm),e("__spreadArrays",Gm),e("__spreadArray",Ym),e("__await",Bn),e("__asyncGenerator",Wm),e("__asyncDelegator",qm),e("__asyncValues",Xm),e("__makeTemplateObject",Zm),e("__importStar",jm),e("__importDefault",Km),e("__classPrivateFieldGet",Qm),e("__classPrivateFieldSet",$m)})});var tg,mt,yP,xP,SP,wP,bP,TP,MP,DP,CP,EP,LP,RP,OP,AP,PP,IP,NP,kP,FP,zP,UP,BP,VP,Fe=M(()=>{"use strict";tg=qv(Jm(),1),{__extends:mt,__assign:yP,__rest:xP,__decorate:SP,__param:wP,__metadata:bP,__awaiter:TP,__generator:MP,__exportStar:DP,__createBinding:CP,__values:EP,__read:LP,__spread:RP,__spreadArrays:OP,__spreadArray:AP,__await:PP,__asyncGenerator:IP,__asyncDelegator:NP,__asyncValues:kP,__makeTemplateObject:FP,__importStar:zP,__importDefault:UP,__classPrivateFieldGet:BP,__classPrivateFieldSet:VP}=tg.default});function fe(e){var t={main:"",sub:""};if(e){var r=e.split(BT);t.main=r[0]||"",t.sub=r[1]||""}return t}function VT(e){Lt(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function rg(e){return!!(e&&e[eg])}function Vn(e,t){e.$constructor=e,e.extend=function(r){var i=this,n;return HT(i)?n=(function(a){mt(o,a);function o(){return a.apply(this,arguments)||this}return o})(i):(n=function(){(r.$constructor||i).apply(this,arguments)},Ea(n,this)),A(n.prototype,r),n[eg]=!0,n.extend=this.extend,n.superCall=YT,n.superApply=WT,n.superClass=i,n}}function HT(e){return H(e)&&/^class\s/.test(Function.prototype.toString.call(e))}function iu(e,t){e.extend=t.extend}function ig(e){var t=["__\0is_clz",GT++].join("_");e.prototype[t]=!0,e.isInstance=function(r){return!!(r&&r[t])}}function YT(e,t){for(var r=[],i=2;i{"use strict";Fe();P();BT=".",Hi="___EC__COMPONENT__CONTAINER___",eg="___EC__EXTENDED_CLASS___";GT=Math.round(Math.random()*10)});function lr(e,t){for(var r=0;r=0||a&&et(a,u)<0)){var l=i.getShallow(u,t);l!=null&&(o[e[s][0]]=l)}}return o}}var Qa=M(()=>{"use strict";P()});var qT,XT,ng,ag=M(()=>{"use strict";Qa();qT=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],XT=lr(qT),ng=(function(){function e(){}return e.prototype.getAreaStyle=function(t,r){return XT(this,t,r)},e})()});function sg(e){if(typeof e=="string"){var t=Sc.get(e);return t&&t.image}else return e}function wc(e,t,r,i,n){if(e)if(typeof e=="string"){if(t&&t.__zrImageSrc===e||!r)return t;var a=Sc.get(e),o={hostEl:r,cb:i,cbPayload:n};return a?(t=a.image,!Hn(t)&&a.pending.push(o)):(t=ie.loadImage(e,og,og),t.__zrImageSrc=e,Sc.put(e,t.__cachedImgObj={image:t,pending:[o]})),t}else return e;else return t}function og(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t{"use strict";Na();Ze();Sc=new Cr(50)});function Dc(e,t,r,i,n){var a={};return lg(a,e,t,r,i,n),a.text}function lg(e,t,r,i,n,a){if(!r){e.text="",e.isTruncated=!1;return}var o=(t+"").split(` +`);a=fg(r,i,n,a);for(var s=!1,u={},l=0,f=o.length;l=o;u++)s-=o;var l=le(r,t);return l>s&&(r="",l=0),s=e-l,n.ellipsis=r,n.ellipsisWidth=l,n.contentWidth=s,n.containerWidth=e,n}function cg(e,t,r){var i=r.containerWidth,n=r.font,a=r.contentWidth;if(!i){e.textLine="",e.isTruncated=!1;return}var o=le(t,n);if(o<=i){e.textLine=t,e.isTruncated=!1;return}for(var s=0;;s++){if(o<=a||s>=r.maxIterations){t+=r.ellipsis;break}var u=s===0?jT(t,a,r.ascCharWidth,r.cnCharWidth):o>0?Math.floor(t.length*a/o):0;t=t.substr(0,u),o=le(t,n)}t===""&&(t=r.placeholder),e.textLine=t,e.isTruncated=!0}function jT(e,t,r,i){for(var n=0,a=0,o=e.length;av&&l){var m=Math.floor(v/s);f=f||p.length>m,p=p.slice(0,m)}if(e&&a&&c!=null)for(var d=fg(c,n,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),g={},_=0;_s&&Mc(r,e.substring(s,l),t,o),Mc(r,u[2],t,o,u[1]),s=Tc.lastIndex}sn){var O=r.lines.length;w>0?(y.tokens=y.tokens.slice(0,w),g(y,b,x),r.lines=r.lines.slice(0,_+1)):r.lines=r.lines.slice(0,_),r.isTruncated=r.isTruncated||r.lines.length0&&v+i.accumWidth>i.width&&(f=t.split(` +`),l=!0),i.accumWidth=v}else{var m=vg(t,u,i.width,i.breakAll,i.accumWidth);i.accumWidth=m.accumWidth+h,c=m.linesWidths,f=m.lines}}else f=t.split(` +`);for(var d=0;d=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}function tM(e){return $T(e)?!!JT[e]:!0}function vg(e,t,r,i,n){for(var a=[],o=[],s="",u="",l=0,f=0,c=0;cr:n+f+h>r){f?(s||u)&&(v?(s||(s=u,u="",l=0,f=l),a.push(s),o.push(f-l),u+=p,l+=h,s="",f=l):(u&&(s+=u,u="",l=0),a.push(s),o.push(f),s=p,f=h)):v?(a.push(u),o.push(l),u=p,l=h):(a.push(p),o.push(h));continue}f+=h,v?(u+=p,l+=h):(u&&(s+=u,u="",l=0),s+=p)}return!a.length&&!s&&(s=e,u="",l=0),u&&(s+=u),s&&(a.push(s),o.push(f)),a.length===1&&(f+=n),{accumWidth:f,lines:a,linesWidths:o}}var Tc,KT,ug,QT,JT,Cc=M(()=>{"use strict";bc();P();Jr();Tc=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;KT=(function(){function e(){}return e})(),ug=(function(){function e(t){this.tokens=[],t&&(this.tokens=t)}return e})(),QT=(function(){function e(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1}return e})();JT=Yt(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{})});function iM(e,t,r){return Ec.copy(e.getBoundingRect()),e.transform&&Ec.applyTransform(e.transform),Lc.width=t,Lc.height=r,!Ec.intersect(Lc)}var Rc,fr,Gi,dg,eM,rM,Ec,Lc,cr,Yi=M(()=>{"use strict";dt();vc();Xt();P();Kr();Rc="__zr_style_"+Math.round(Math.random()*10),fr={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Gi={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};fr[Rc]=!0;dg=["z","z2","invisible"],eM=["invisible"],rM=(function(e){G(t,e);function t(r){return e.call(this,r)||this}return t.prototype._init=function(r){for(var i=J(r),n=0;n1e-4){s[0]=e-r,s[1]=t-i,u[0]=e+r,u[1]=t+i;return}if(nu[0]=Ac(n)*r+e,nu[1]=Oc(n)*i+t,au[0]=Ac(a)*r+e,au[1]=Oc(a)*i+t,l(s,nu,au),f(u,nu,au),n=n%Wi,n<0&&(n=n+Wi),a=a%Wi,a<0&&(a=a+Wi),n>a&&!o?a+=Wi:nn&&(ou[0]=Ac(h)*r+e,ou[1]=Oc(h)*i+t,l(s,ou,s),f(u,ou,u))}var ce,he,Oc,Ac,Wi,nu,au,ou,mg,gg,Sg=M(()=>{"use strict";we();Er();ce=Math.min,he=Math.max,Oc=Math.sin,Ac=Math.cos,Wi=Math.PI*2,nu=br(),au=br(),ou=br();mg=[],gg=[]});function Fc(e){var t=Math.round(e/zc*1e8)/1e8;return t%2*zc}function nM(e,t){var r=Fc(e[0]);r<0&&(r+=ri);var i=r-e[0],n=e[1];n+=i,!t&&n-r>=ri?n=r+ri:t&&r-n>=ri?n=r-ri:!t&&r>n?n=r+(ri-Fc(r-n)):t&&r{"use strict";we();Xt();Ni();Sg();Er();ft={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},qi=[],Xi=[],hr=[],ei=[],pr=[],vr=[],Ic=Math.min,Nc=Math.max,Zi=Math.cos,ji=Math.sin,Rr=Math.abs,zc=Math.PI,ri=zc*2,kc=typeof Float32Array<"u",$a=[];aM=(function(){function e(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return e.prototype.increaseVersion=function(){this._version++},e.prototype.getVersion=function(){return this._version},e.prototype.setScale=function(t,r,i){i=i||0,i>0&&(this._ux=Rr(i/Ii/t)||0,this._uy=Rr(i/Ii/r)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,r){return this._drawPendingPt(),this.addData(ft.M,t,r),this._ctx&&this._ctx.moveTo(t,r),this._x0=t,this._y0=r,this._xi=t,this._yi=r,this},e.prototype.lineTo=function(t,r){var i=Rr(t-this._xi),n=Rr(r-this._yi),a=i>this._ux||n>this._uy;if(this.addData(ft.L,t,r),this._ctx&&a&&this._ctx.lineTo(t,r),a)this._xi=t,this._yi=r,this._pendingPtDist=0;else{var o=i*i+n*n;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=r,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(t,r,i,n,a,o){return this._drawPendingPt(),this.addData(ft.C,t,r,i,n,a,o),this._ctx&&this._ctx.bezierCurveTo(t,r,i,n,a,o),this._xi=a,this._yi=o,this},e.prototype.quadraticCurveTo=function(t,r,i,n){return this._drawPendingPt(),this.addData(ft.Q,t,r,i,n),this._ctx&&this._ctx.quadraticCurveTo(t,r,i,n),this._xi=i,this._yi=n,this},e.prototype.arc=function(t,r,i,n,a,o){this._drawPendingPt(),$a[0]=n,$a[1]=a,nM($a,o),n=$a[0],a=$a[1];var s=a-n;return this.addData(ft.A,t,r,i,i,n,s,0,o?0:1),this._ctx&&this._ctx.arc(t,r,i,n,a,o),this._xi=Zi(a)*i+t,this._yi=ji(a)*i+r,this},e.prototype.arcTo=function(t,r,i,n,a){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,r,i,n,a),this},e.prototype.rect=function(t,r,i,n){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,r,i,n),this.addData(ft.R,t,r,i,n),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(ft.Z);var t=this._ctx,r=this._x0,i=this._y0;return t&&t.closePath(),this._xi=r,this._yi=i,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){var r=t.length;!(this.data&&this.data.length===r)&&kc&&(this.data=new Float32Array(r));for(var i=0;if.length&&(this._expandData(),f=this.data);for(var c=0;c0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],r=0;r11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){hr[0]=hr[1]=pr[0]=pr[1]=Number.MAX_VALUE,ei[0]=ei[1]=vr[0]=vr[1]=-Number.MAX_VALUE;var t=this.data,r=0,i=0,n=0,a=0,o;for(o=0;oi||Rr(y)>n||p===r-1)&&(m=Math.sqrt(_*_+y*y),a=d,o=g);break}case ft.C:{var x=t[p++],b=t[p++],d=t[p++],g=t[p++],w=t[p++],T=t[p++];m=im(a,o,x,b,d,g,w,T,10),a=w,o=T;break}case ft.Q:{var x=t[p++],b=t[p++],d=t[p++],g=t[p++];m=am(a,o,x,b,d,g,10),a=d,o=g;break}case ft.A:var C=t[p++],D=t[p++],L=t[p++],E=t[p++],R=t[p++],O=t[p++],I=O+R;p+=1,v&&(s=Zi(R)*L+C,u=ji(R)*E+D),m=Nc(L,E)*Ic(ri,Math.abs(O)),a=Zi(I)*L+C,o=ji(I)*E+D;break;case ft.R:{s=a=t[p++],u=o=t[p++];var B=t[p++],k=t[p++];m=B*2+k*2;break}case ft.Z:{var _=s-a,y=u-o;m=Math.sqrt(_*_+y*y),a=s,o=u;break}}m>=0&&(l[c++]=m,f+=m)}return this._pathLen=f,f},e.prototype.rebuildPath=function(t,r){var i=this.data,n=this._ux,a=this._uy,o=this._len,s,u,l,f,c,p,h=r<1,v,m,d=0,g=0,_,y=0,x,b;if(!(h&&(this._pathSegLen||this._calculateLength(),v=this._pathSegLen,m=this._pathLen,_=r*m,!_)))t:for(var w=0;w0&&(t.lineTo(x,b),y=0),T){case ft.M:s=l=i[w++],u=f=i[w++],t.moveTo(l,f);break;case ft.L:{c=i[w++],p=i[w++];var D=Rr(c-l),L=Rr(p-f);if(D>n||L>a){if(h){var E=v[g++];if(d+E>_){var R=(_-d)/E;t.lineTo(l*(1-R)+c*R,f*(1-R)+p*R);break t}d+=E}t.lineTo(c,p),l=c,f=p,y=0}else{var O=D*D+L*L;O>y&&(x=c,b=p,y=O)}break}case ft.C:{var I=i[w++],B=i[w++],k=i[w++],K=i[w++],X=i[w++],j=i[w++];if(h){var E=v[g++];if(d+E>_){var R=(_-d)/E;Nn(l,I,k,X,R,qi),Nn(f,B,K,j,R,Xi),t.bezierCurveTo(qi[1],Xi[1],qi[2],Xi[2],qi[3],Xi[3]);break t}d+=E}t.bezierCurveTo(I,B,k,K,X,j),l=X,f=j;break}case ft.Q:{var I=i[w++],B=i[w++],k=i[w++],K=i[w++];if(h){var E=v[g++];if(d+E>_){var R=(_-d)/E;kn(l,I,k,R,qi),kn(f,B,K,R,Xi),t.quadraticCurveTo(qi[1],Xi[1],qi[2],Xi[2]);break t}d+=E}t.quadraticCurveTo(I,B,k,K),l=k,f=K;break}case ft.A:var it=i[w++],vt=i[w++],ht=i[w++],Ht=i[w++],Le=i[w++],Vr=i[w++],mi=i[w++],gi=!i[w++],Mn=ht>Ht?ht:Ht,ye=Rr(ht-Ht)>.001,zt=Le+Vr,Q=!1;if(h){var E=v[g++];d+E>_&&(zt=Le+Vr*(_-d)/E,Q=!0),d+=E}if(ye&&t.ellipse?t.ellipse(it,vt,ht,Ht,mi,Le,zt,gi):t.arc(it,vt,Mn,Le,zt,gi),Q)break t;C&&(s=Zi(Le)*ht+it,u=ji(Le)*Ht+vt),l=Zi(zt)*ht+it,f=ji(zt)*Ht+vt;break;case ft.R:s=l=i[w],u=f=i[w+1],c=i[w++],p=i[w++];var nt=i[w++],_i=i[w++];if(h){var E=v[g++];if(d+E>_){var ee=_-d;t.moveTo(c,p),t.lineTo(c+Ic(ee,nt),p),ee-=nt,ee>0&&t.lineTo(c+nt,p+Ic(ee,_i)),ee-=_i,ee>0&&t.lineTo(c+Nc(nt-ee,0),p+_i),ee-=nt,ee>0&&t.lineTo(c,p+Nc(_i-ee,0));break t}d+=E}t.rect(c,p,nt,_i);break;case ft.Z:if(h){var E=v[g++];if(d+E>_){var R=(_-d)/E;t.lineTo(l*(1-R)+s*R,f*(1-R)+u*R);break t}d+=E}t.closePath(),l=s,f=u}}},e.prototype.clone=function(){var t=new e,r=this.data;return t.data=r.slice?r.slice():Array.prototype.slice.call(r),t._len=this._len,t},e.CMD=ft,e.initDefaultProps=(function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0})(),e})(),be=aM});function Qi(e,t,r,i,n,a,o){if(n===0)return!1;var s=n,u=0,l=e;if(o>t+s&&o>i+s||oe+s&&a>r+s||a{"use strict"});function bg(e,t,r,i,n,a,o,s,u,l,f){if(u===0)return!1;var c=u;if(f>t+c&&f>i+c&&f>a+c&&f>s+c||fe+c&&l>r+c&&l>n+c&&l>o+c||l{"use strict";Er()});function Mg(e,t,r,i,n,a,o,s,u){if(o===0)return!1;var l=o;if(u>t+l&&u>i+l&&u>a+l||ue+l&&s>r+l&&s>n+l||s{"use strict";Er()});function ze(e){return e%=Cg,e<0&&(e+=Cg),e}var Cg,su=M(()=>{"use strict";Cg=Math.PI*2});function Eg(e,t,r,i,n,a,o,s,u){if(o===0)return!1;var l=o;s-=e,u-=t;var f=Math.sqrt(s*s+u*u);if(f-l>r||f+ln&&(n+=Ja);var p=Math.atan2(u,s);return p<0&&(p+=Ja),p>=i&&p<=n||p+Ja>=i&&p+Ja<=n}var Ja,Lg=M(()=>{"use strict";su();Ja=Math.PI*2});function Ue(e,t,r,i,n,a){if(a>t&&a>i||an?s:0}var Uc=M(()=>{"use strict"});function cM(e,t){return Math.abs(e-t)t&&l>i&&l>a&&l>s||l1&&hM(),h=Mt(t,i,a,s,Be[0]),p>1&&(v=Mt(t,i,a,s,Be[1]))),p===2?dt&&s>i&&s>a||s=0&&l<=1){for(var f=0,c=Rt(t,i,a,l),p=0;pr||s<-r)return 0;var u=Math.sqrt(r*r-s*s);ne[0]=-u,ne[1]=u;var l=Math.abs(i-n);if(l<1e-4)return 0;if(l>=$i-1e-4){i=0,n=$i;var f=a?1:-1;return o>=ne[0]+e&&o<=ne[1]+e?f:0}if(i>n){var c=i;i=n,n=c}i<0&&(i+=$i,n+=$i);for(var p=0,h=0;h<2;h++){var v=ne[h];if(v+e>o){var m=Math.atan2(s,v),f=a?1:-1;m<0&&(m=$i+m),(m>=i&&m<=n||m+$i>=i&&m+$i<=n)&&(m>Math.PI/2&&m1&&(r||(s+=Ue(u,l,f,c,i,n))),d&&(u=a[v],l=a[v+1],f=u,c=l),m){case ii.M:f=a[v++],c=a[v++],u=f,l=c;break;case ii.L:if(r){if(Qi(u,l,a[v],a[v+1],t,i,n))return!0}else s+=Ue(u,l,a[v],a[v+1],i,n)||0;u=a[v++],l=a[v++];break;case ii.C:if(r){if(bg(u,l,a[v++],a[v++],a[v++],a[v++],a[v],a[v+1],t,i,n))return!0}else s+=pM(u,l,a[v++],a[v++],a[v++],a[v++],a[v],a[v+1],i,n)||0;u=a[v++],l=a[v++];break;case ii.Q:if(r){if(Mg(u,l,a[v++],a[v++],a[v],a[v+1],t,i,n))return!0}else s+=vM(u,l,a[v++],a[v++],a[v],a[v+1],i,n)||0;u=a[v++],l=a[v++];break;case ii.A:var g=a[v++],_=a[v++],y=a[v++],x=a[v++],b=a[v++],w=a[v++];v+=1;var T=!!(1-a[v++]);p=Math.cos(b)*y+g,h=Math.sin(b)*x+_,d?(f=p,c=h):s+=Ue(u,l,p,h,i,n);var C=(i-g)*x/y+g;if(r){if(Eg(g,_,x,b,b+w,T,t,C,n))return!0}else s+=dM(g,_,x,b,b+w,T,C,n);u=Math.cos(b+w)*y+g,l=Math.sin(b+w)*x+_;break;case ii.R:f=u=a[v++],c=l=a[v++];var D=a[v++],L=a[v++];if(p=f+D,h=c+L,r){if(Qi(f,c,p,c,t,i,n)||Qi(p,c,p,h,t,i,n)||Qi(p,h,f,h,t,i,n)||Qi(f,h,f,c,t,i,n))return!0}else s+=Ue(p,c,p,h,i,n),s+=Ue(f,h,f,c,i,n);break;case ii.Z:if(r){if(Qi(u,l,f,c,t,i,n))return!0}else s+=Ue(u,l,f,c,i,n);u=f,l=c;break}}return!r&&!cM(l,c)&&(s+=Ue(u,l,f,c,i,n)||0),s!==0}function Og(e,t,r){return Rg(e,0,!1,t,r)}function Ag(e,t,r,i){return Rg(e,t,!0,r,i)}var ii,$i,fM,ne,Be,Pg=M(()=>{"use strict";Ki();wg();Tg();Dg();Lg();Er();Uc();ii=be.CMD,$i=Math.PI*2,fM=1e-4;ne=[-1,-1,-1],Be=[-1,-1]});var Vc,gM,Bc,_M,Z,Vt=M(()=>{"use strict";dt();Yi();Ki();Pg();P();Xr();Ni();Kr();ja();Vc=rt({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},fr),gM={style:rt({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Gi.style)},Bc=zi.concat(["invisible","culling","z","z2","zlevel","parent"]),_M=(function(e){G(t,e);function t(r){return e.call(this,r)||this}return t.prototype.update=function(){var r=this;e.prototype.update.call(this);var i=this.style;if(i.decal){var n=this._decalEl=this._decalEl||new t;n.buildPath===t.prototype.buildPath&&(n.buildPath=function(u){r.buildPath(u,r.shape)}),n.silent=!0;var a=n.style;for(var o in i)a[o]!==i[o]&&(a[o]=i[o]);a.fill=i.fill?i.decal:null,a.decal=null,a.shadowColor=null,i.strokeFirst&&(a.stroke=null);for(var s=0;s.5?Xa:i>.2?Dm:Za}else if(r)return Za}return Xa},t.prototype.getInsideTextStroke=function(r){var i=this.style.fill;if(U(i)){var n=this.__zr,a=!!(n&&n.isDarkMode()),o=Di(r,0)0))},t.prototype.hasFill=function(){var r=this.style,i=r.fill;return i!=null&&i!=="none"},t.prototype.getBoundingRect=function(){var r=this._rect,i=this.style,n=!r;if(n){var a=!1;this.path||(a=!0,this.createPathProxy());var o=this.path;(a||this.__dirty&jr)&&(o.beginPath(),this.buildPath(o,this.shape,!1),this.pathUpdated()),r=o.getBoundingRect()}if(this._rect=r,this.hasStroke()&&this.path&&this.path.len()>0){var s=this._rectStroke||(this._rectStroke=r.clone());if(this.__dirty||n){s.copy(r);var u=i.strokeNoScale?this.getLineScale():1,l=i.lineWidth;if(!this.hasFill()){var f=this.strokeContainThreshold;l=Math.max(l,f??4)}u>1e-10&&(s.width+=l/u,s.height+=l/u,s.x-=l/u/2,s.y-=l/u/2)}return s}return r},t.prototype.contain=function(r,i){var n=this.transformCoordToLocal(r,i),a=this.getBoundingRect(),o=this.style;if(r=n[0],i=n[1],a.contain(r,i)){var s=this.path;if(this.hasStroke()){var u=o.lineWidth,l=o.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(this.hasFill()||(u=Math.max(u,this.strokeContainThreshold)),Ag(s,u/l,r,i)))return!0}if(this.hasFill())return Og(s,r,i)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=jr,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(r){return this.animate("shape",r)},t.prototype.updateDuringAnimation=function(r){r==="style"?this.dirtyStyle():r==="shape"?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(r,i){r==="shape"?this.setShape(i):e.prototype.attrKV.call(this,r,i)},t.prototype.setShape=function(r,i){var n=this.shape;return n||(n=this.shape={}),typeof r=="string"?n[r]=i:A(n,r),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&jr)},t.prototype.createStyle=function(r){return wr(Vc,r)},t.prototype._innerSaveToNormal=function(r){e.prototype._innerSaveToNormal.call(this,r);var i=this._normalState;r.shape&&!i.shape&&(i.shape=A({},this.shape))},t.prototype._applyStateObj=function(r,i,n,a,o,s){e.prototype._applyStateObj.call(this,r,i,n,a,o,s);var u=!(i&&a),l;if(i&&i.shape?o?a?l=i.shape:(l=A({},n.shape),A(l,i.shape)):(l=A({},a?this.shape:n.shape),A(l,i.shape)):u&&(l=n.shape),l)if(o){this.shape=A({},this.shape);for(var f={},c=J(l),p=0;p{"use strict";dt();Yi();Jr();Vt();P();Ze();yM=rt({strokeFirst:!0,font:Xe,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},Vc),Ig=(function(e){G(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.hasStroke=function(){var r=this.style,i=r.stroke;return i!=null&&i!=="none"&&r.lineWidth>0},t.prototype.hasFill=function(){var r=this.style,i=r.fill;return i!=null&&i!=="none"},t.prototype.createStyle=function(r){return wr(yM,r)},t.prototype.setBoundingRect=function(r){this._rect=r},t.prototype.getBoundingRect=function(){var r=this.style;if(!this._rect){var i=r.text;i!=null?i+="":i="";var n=Xs(i,r.font,r.textAlign,r.textBaseline);if(n.x+=r.x||0,n.y+=r.y||0,this.hasStroke()){var a=r.lineWidth;n.x-=a/2,n.y-=a/2,n.width+=a,n.height+=a}this._rect=n}return this._rect},t.initDefaultProps=(function(){var r=t.prototype;r.dirtyRectTolerance=10})(),t})(cr);Ig.prototype.type="tspan";to=Ig});function wM(e){return!!(e&&typeof e!="string"&&e.width&&e.height)}var xM,SM,Ng,Ve,uu=M(()=>{"use strict";dt();Yi();Xt();P();xM=rt({x:0,y:0},fr),SM={style:rt({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Gi.style)};Ng=(function(e){G(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.createStyle=function(r){return wr(xM,r)},t.prototype._getSize=function(r){var i=this.style,n=i[r];if(n!=null)return n;var a=wM(i.image)?i.image:this.__image;if(!a)return 0;var o=r==="width"?"height":"width",s=i[o];return s==null?a[r]:a[r]/a[o]*s},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return SM},t.prototype.getBoundingRect=function(){var r=this.style;return this._rect||(this._rect=new Y(r.x||0,r.y||0,this.getWidth(),this.getHeight())),this._rect},t})(cr);Ng.prototype.type="image";Ve=Ng});function kg(e,t){var r=t.x,i=t.y,n=t.width,a=t.height,o=t.r,s,u,l,f;n<0&&(r=r+n,n=-n),a<0&&(i=i+a,a=-a),typeof o=="number"?s=u=l=f=o:o instanceof Array?o.length===1?s=u=l=f=o[0]:o.length===2?(s=l=o[0],u=f=o[1]):o.length===3?(s=o[0],u=f=o[1],l=o[2]):(s=o[0],u=o[1],l=o[2],f=o[3]):s=u=l=f=0;var c;s+u>n&&(c=s+u,s*=n/c,u*=n/c),l+f>n&&(c=l+f,l*=n/c,f*=n/c),u+l>a&&(c=u+l,u*=a/c,l*=a/c),s+f>a&&(c=s+f,s*=a/c,f*=a/c),e.moveTo(r+s,i),e.lineTo(r+n-u,i),u!==0&&e.arc(r+n-u,i+u,u,-Math.PI/2,0),e.lineTo(r+n,i+a-l),l!==0&&e.arc(r+n-l,i+a-l,l,0,Math.PI/2),e.lineTo(r+f,i+a),f!==0&&e.arc(r+f,i+a-f,f,Math.PI/2,Math.PI),e.lineTo(r,i+s),s!==0&&e.arc(r+s,i+s,s,Math.PI,Math.PI*1.5)}var Fg=M(()=>{"use strict"});function lu(e,t,r){if(t){var i=t.x1,n=t.x2,a=t.y1,o=t.y2;e.x1=i,e.x2=n,e.y1=a,e.y2=o;var s=r&&r.lineWidth;return s&&(Gn(i*2)===Gn(n*2)&&(e.x1=e.x2=ni(i,s,!0)),Gn(a*2)===Gn(o*2)&&(e.y1=e.y2=ni(a,s,!0))),e}}function fu(e,t,r){if(t){var i=t.x,n=t.y,a=t.width,o=t.height;e.x=i,e.y=n,e.width=a,e.height=o;var s=r&&r.lineWidth;return s&&(e.x=ni(i,s,!0),e.y=ni(n,s,!0),e.width=Math.max(ni(i+a,s,!1)-e.x,a===0?0:1),e.height=Math.max(ni(n+o,s,!1)-e.y,o===0?0:1)),e}}function ni(e,t,r){if(!t)return e;var i=Gn(e*2);return(i+Gn(t))%2===0?i/2:(i+(r?1:-1))/2}var Gn,cu=M(()=>{"use strict";Gn=Math.round});var MM,DM,zg,Zt,Gc=M(()=>{"use strict";dt();Vt();Fg();cu();MM=(function(){function e(){this.x=0,this.y=0,this.width=0,this.height=0}return e})(),DM={},zg=(function(e){G(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new MM},t.prototype.buildPath=function(r,i){var n,a,o,s;if(this.subPixelOptimize){var u=fu(DM,i,this.style);n=u.x,a=u.y,o=u.width,s=u.height,u.r=i.r,i=u}else n=i.x,a=i.y,o=i.width,s=i.height;i.r?kg(r,i):r.rect(n,a,o,s)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t})(Z);zg.prototype.type="rect";Zt=zg});function RM(e){return typeof e=="string"&&(e.indexOf("px")!==-1||e.indexOf("rem")!==-1||e.indexOf("em")!==-1)?e:isNaN(+e)?ls+"px":e+"px"}function Hg(e,t){for(var r=0;r{"use strict";dt();Cc();Hc();P();Jr();uu();Gc();Xt();Yi();Ze();Ug={fill:"#000"},Bg=2,CM={style:rt({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Gi.style)},Zg=(function(e){G(t,e);function t(r){var i=e.call(this)||this;return i.type="text",i._children=[],i._defaultStyle=Ug,i.attr(r),i}return t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var r=0;r0,R=r.width!=null&&(r.overflow==="truncate"||r.overflow==="break"||r.overflow==="breakAll"),O=o.calculatedLineHeight,I=0;I=0&&(I=w[O],I.align==="right");)this._placeToken(I,r,C,g,R,"right",y),D-=I.width,R-=I.width,O--;for(E+=(a-(E-d)-(_-R)-D)/2;L<=O;)I=w[L],this._placeToken(I,r,C,g,E+I.width/2,"center",y),E+=I.width,L++;g+=C}},t.prototype._placeToken=function(r,i,n,a,o,s,u){var l=i.rich[r.styleName]||{};l.text=r.text;var f=r.verticalAlign,c=a+n/2;f==="top"?c=a+r.height/2:f==="bottom"&&(c=a+n-r.height/2);var p=!r.isLineHolder&&Yc(l);p&&this._renderBackground(l,i,s==="right"?o-r.width:s==="center"?o-r.width/2:o,c-r.height/2,r.width,r.height);var h=!!l.backgroundColor,v=r.textPadding;v&&(o=qg(o,s,v),c-=r.height/2-v[0]-r.innerHeight/2);var m=this._getOrCreateChild(to),d=m.createStyle();m.useStyle(d);var g=this._defaultStyle,_=!1,y=0,x=Wg("fill"in l?l.fill:"fill"in i?i.fill:(_=!0,g.fill)),b=Yg("stroke"in l?l.stroke:"stroke"in i?i.stroke:!h&&!u&&(!g.autoStroke||_)?(y=Bg,g.stroke):null),w=l.textShadowBlur>0||i.textShadowBlur>0;d.text=r.text,d.x=o,d.y=c,w&&(d.shadowBlur=l.textShadowBlur||i.textShadowBlur||0,d.shadowColor=l.textShadowColor||i.textShadowColor||"transparent",d.shadowOffsetX=l.textShadowOffsetX||i.textShadowOffsetX||0,d.shadowOffsetY=l.textShadowOffsetY||i.textShadowOffsetY||0),d.textAlign=s,d.textBaseline="middle",d.font=r.font||Xe,d.opacity=Si(l.opacity,i.opacity,1),Hg(d,l),b&&(d.lineWidth=Si(l.lineWidth,i.lineWidth,y),d.lineDash=W(l.lineDash,i.lineDash),d.lineDashOffset=i.lineDashOffset||0,d.stroke=b),x&&(d.fill=x);var T=r.contentWidth,C=r.contentHeight;m.setBoundingRect(new Y(zn(d.x,T,d.textAlign),Bi(d.y,C,d.textBaseline),T,C))},t.prototype._renderBackground=function(r,i,n,a,o,s){var u=r.backgroundColor,l=r.borderWidth,f=r.borderColor,c=u&&u.image,p=u&&!c,h=r.borderRadius,v=this,m,d;if(p||r.lineHeight||l&&f){m=this._getOrCreateChild(Zt),m.useStyle(m.createStyle()),m.style.fill=null;var g=m.shape;g.x=n,g.y=a,g.width=o,g.height=s,g.r=h,m.dirtyShape()}if(p){var _=m.style;_.fill=u||null,_.fillOpacity=W(r.fillOpacity,1)}else if(c){d=this._getOrCreateChild(Ve),d.onload=function(){v.dirtyStyle()};var y=d.style;y.image=u.image,y.x=n,y.y=a,y.width=o,y.height=s}if(l&&f){var _=m.style;_.lineWidth=l,_.stroke=f,_.strokeOpacity=W(r.strokeOpacity,1),_.lineDash=r.borderDash,_.lineDashOffset=r.borderDashOffset||0,m.strokeContainThreshold=0,m.hasFill()&&m.hasStroke()&&(_.strokeFirst=!0,_.lineWidth*=2)}var x=(m||d).style;x.shadowBlur=r.shadowBlur||0,x.shadowColor=r.shadowColor||"transparent",x.shadowOffsetX=r.shadowOffsetX||0,x.shadowOffsetY=r.shadowOffsetY||0,x.opacity=Si(r.opacity,i.opacity,1)},t.makeFont=function(r){var i="";return OM(r)&&(i=[r.fontStyle,r.fontWeight,RM(r.fontSize),r.fontFamily||"sans-serif"].join(" ")),i&&Wt(i)||r.textFont||r.font},t})(cr),EM={left:!0,right:1,center:1},LM={top:1,bottom:1,middle:1},Vg=["fontStyle","fontWeight","fontSize","fontFamily"];Te=Zg});function PM(e){return e.replace(/^\s+|\s+$/g,"")}function eo(e,t,r,i){var n=t[0],a=t[1],o=r[0],s=r[1],u=a-n,l=s-o;if(u===0)return l===0?o:(o+s)/2;if(i)if(u>0){if(e<=n)return o;if(e>=a)return s}else{if(e>=n)return o;if(e<=a)return s}else{if(e===n)return o;if(e===a)return s}return(e-n)/u*l+o}function xt(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return U(e)?PM(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):e==null?NaN:+e}function Et(e,t,r){return t==null&&(t=10),t=Math.min(Math.max(0,t),Kg),e=(+e).toFixed(t),r?e:+e}function Qg(e){return e.sort(function(t,r){return t-r}),e}function ae(e){if(e=+e,isNaN(e))return 0;if(e>1e-14){for(var t=1,r=0;r<15;r++,t*=10)if(Math.round(e*t)/t===e)return r}return Wc(e)}function Wc(e){var t=e.toString().toLowerCase(),r=t.indexOf("e"),i=r>0?+t.slice(r+1):0,n=r>0?r:t.length,a=t.indexOf("."),o=a<0?0:n-1-a;return Math.max(0,o-i)}function pu(e,t){var r=Math.log,i=Math.LN10,n=Math.floor(r(e[1]-e[0])/i),a=Math.round(r(Math.abs(t[1]-t[0]))/i),o=Math.min(Math.max(-n+a,0),20);return isFinite(o)?o:20}function $g(e,t,r){if(!e[t])return 0;var i=IM(e,r);return i[t]||0}function IM(e,t){var r=Yt(e,function(h,v){return h+(isNaN(v)?0:v)},0);if(r===0)return[];for(var i=Math.pow(10,t),n=F(e,function(h){return(isNaN(h)?0:h)/r*i*100}),a=i*100,o=F(n,function(h){return Math.floor(h)}),s=Yt(o,function(h,v){return h+v},0),u=F(n,function(h,v){return h-o[v]});sl&&(l=u[c],f=c);++o[f],u[f]=0,++s}return F(o,function(h){return h/i})}function Jg(e,t){var r=Math.max(ae(e),ae(t)),i=e+t;return r>Kg?i:Et(i,r)}function e_(e){var t=Math.PI*2;return(e%t+t)%t}function r_(e){return e>-jg&&e=10&&t++,t}function Wn(e,t){var r=Yn(e),i=Math.pow(10,r),n=e/i,a;return t?n<1.5?a=1:n<2.5?a=2:n<4?a=3:n<7?a=5:a=10:n<1?a=1:n<2?a=2:n<3?a=3:n<5?a=5:a=10,e=a*i,r>=-20?+e.toFixed(r<0?-r:0):e}function i_(e,t){var r=(e.length-1)*t+1,i=Math.floor(r),n=+e[i-1],a=r-i;return a?n+a*(e[i]-n):n}function n_(e){e.sort(function(u,l){return s(u,l,0)?-1:1});for(var t=-1/0,r=1,i=0;i{"use strict";P();jg=1e-4,Kg=20;t_=9007199254740991;NM=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/});function zM(e,t,r){if(FM){if(r){if(o_[t])return;o_[t]=!0}console[e](kM+t)}}function JI(e,t){zM("warn",e,t)}function jt(e){throw new Error(e)}var kM,o_,FM,Xc=M(()=>{"use strict";kM="[ECharts] ",o_={},FM=typeof console<"u"&&console.warn&&console.log});function s_(e,t,r){return(t-e)*r+e}function gt(e){return e instanceof Array?e:e==null?[]:[e]}function Zc(e,t,r){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var i=0,n=r.length;i{"use strict";P();re();Ot();u_="series\0",l_="\0_ec_\0";jc=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];qM=du();Ar={useDefault:!0,enableAll:!1,enableNone:!1},oN={useDefault:!1,enableAll:!0,enableNone:!0}});var St,m_,tn=M(()=>{"use strict";lt();St=st(),m_=function(e,t,r,i){if(i){var n=St(i);n.dataIndex=r,n.dataType=t,n.seriesIndex=e,n.ssrType="chart",i.type==="group"&&i.traverse(function(a){var o=St(a);o.seriesIndex=e,o.dataIndex=r,o.dataType=t,o.ssrType="chart"})}}});function Zn(e){return e!=null&&e!=="none"}function xu(e,t,r){e.onHoverStateChange&&(e.hoverState||0)!==r&&e.onHoverStateChange(t),e.hoverState=r}function T_(e){xu(e,"emphasis",oo)}function M_(e){e.hoverState===oo&&xu(e,"normal",eh)}function rh(e){xu(e,"blur",ao)}function D_(e){e.hoverState===ao&&xu(e,"normal",eh)}function jM(e){e.selected=!0}function KM(e){e.selected=!1}function y_(e,t,r){t(e,r)}function Pr(e,t,r){y_(e,t,r),e.isGroup&&e.traverse(function(i){y_(i,t,r)})}function mN(e,t){switch(t){case"emphasis":e.hoverState=oo;break;case"normal":e.hoverState=eh;break;case"blur":e.hoverState=ao;break;case"select":e.selected=!0}}function QM(e,t,r,i){for(var n=e.style,a={},o=0;o=0,a=!1;if(e instanceof Z){var o=b_(e),s=n&&o.selectFill||o.normalFill,u=n&&o.selectStroke||o.normalStroke;if(Zn(s)||Zn(u)){i=i||{};var l=i.style||{};l.fill==="inherit"?(a=!0,i=A({},i),l=A({},l),l.fill=s):!Zn(l.fill)&&Zn(s)?(a=!0,i=A({},i),l=A({},l),l.fill=gs(s)):!Zn(l.stroke)&&Zn(u)&&(a||(i=A({},i),l=A({},l)),l.stroke=gs(u)),i.style=l}}if(i&&i.z2==null){a||(i=A({},i));var f=e.z2EmphasisLift;i.z2=e.z2+(f??XM)}return i}function JM(e,t,r){if(r&&r.z2==null){r=A({},r);var i=e.z2SelectLift;r.z2=e.z2+(i??ZM)}return r}function tD(e,t,r){var i=et(e.currentStates,t)>=0,n=e.style.opacity,a=i?null:QM(e,["opacity"],t,{opacity:1});r=r||{};var o=r.style||{};return o.opacity==null&&(r=A({},r),o=A({opacity:i?n:a.opacity*.1},o),r.style=o),r}function $c(e,t){var r=this.states[e];if(this.style){if(e==="emphasis")return $M(this,e,t,r);if(e==="blur")return tD(this,e,r);if(e==="select")return JM(this,e,r)}return r}function eD(e){e.stateProxy=$c;var t=e.getTextContent(),r=e.getTextGuideLine();t&&(t.stateProxy=$c),r&&(r.stateProxy=$c)}function x_(e,t){!E_(e,t)&&!e.__highByOuter&&Pr(e,T_)}function S_(e,t){!E_(e,t)&&!e.__highByOuter&&Pr(e,M_)}function lo(e,t){e.__highByOuter|=1<<(t||0),Pr(e,T_)}function fo(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&Pr(e,M_)}function C_(e){Pr(e,rh)}function ih(e){Pr(e,D_)}function nh(e){Pr(e,jM)}function ah(e){Pr(e,KM)}function E_(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function oh(e){var t=e.getModel(),r=[],i=[];t.eachComponent(function(n,a){var o=th(a),s=n==="series",u=s?e.getViewOfSeriesModel(a):e.getViewOfComponentModel(a);!s&&i.push(u),o.isBlured&&(u.group.traverse(function(l){D_(l)}),s&&r.push(a)),o.isBlured=!1}),S(i,function(n){n&&n.toggleBlurSeries&&n.toggleBlurSeries(r,!1,t)})}function Jc(e,t,r,i){var n=i.getModel();r=r||"coordinateSystem";function a(l,f){for(var c=0;c0){var u={dataIndex:s,seriesIndex:r.seriesIndex};o!=null&&(u.dataType=o),t.push(u)}})}),t}function uh(e,t,r){I_(e,!0),Pr(e,eD),iD(e,t,r)}function rD(e){I_(e,!1)}function gN(e,t,r,i){i?rD(e):uh(e,t,r)}function iD(e,t,r){var i=St(e);t!=null?(i.focus=t,i.blurScope=r):i.focus&&(i.focus=null)}function _N(e,t,r,i){r=r||"itemStyle";for(var n=0;n{"use strict";P();tn();Xr();lt();Vt();g_=1,__={},b_=st(),th=st(),eh=0,ao=1,oo=2,Ge=["emphasis","blur","select"],jn=["normal","emphasis","blur","select"],XM=10,ZM=9,ai="highlight",so="downplay",Kn="select",uo="unselect",Qn="toggleSelect";w_=["emphasis","blur","select"],nD={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"}});function bu(e,t){if(t){var r=e.data,i=e.len(),n,a,o,s,u,l,f=Jn.M,c=Jn.C,p=Jn.L,h=Jn.R,v=Jn.A,m=Jn.Q;for(o=0,s=0;o{"use strict";Ki();we();Jn=be.CMD,aD=[[],[],[]],F_=Math.sqrt,oD=Math.atan2});function U_(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function ch(e,t){return(e[0]*t[0]+e[1]*t[1])/(U_(e)*U_(t))}function B_(e,t){return(e[0]*t[1]1&&(o*=fh(v),s*=fh(v));var m=(n===a?-1:1)*fh((o*o*(s*s)-o*o*(h*h)-s*s*(p*p))/(o*o*(h*h)+s*s*(p*p)))||0,d=m*o*h/s,g=m*-s*p/o,_=(e+r)/2+Mu(c)*d-Tu(c)*g,y=(t+i)/2+Tu(c)*d+Mu(c)*g,x=B_([1,0],[(p-d)/o,(h-g)/s]),b=[(p-d)/o,(h-g)/s],w=[(-1*p-d)/o,(-1*h-g)/s],T=B_(b,w);if(ch(b,w)<=-1&&(T=ho),ch(b,w)>=1&&(T=0),T<0){var C=Math.round(T/ho*1e6)/1e6;T=ho*2+C%2*ho}f.addData(l,_,y,o,s,x,T,c,a)}function lD(e){var t=new be;if(!e)return t;var r=0,i=0,n=r,a=i,o,s=be.CMD,u=e.match(sD);if(!u)return t;for(var l=0;l{"use strict";dt();Vt();Ki();z_();P();fh=Math.sqrt,Tu=Math.sin,Mu=Math.cos,ho=Math.PI;sD=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,uD=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;H_=(function(e){G(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.applyTransform=function(r){},t})(Z)});var cD,j_,en,K_=M(()=>{"use strict";dt();Vt();cD=(function(){function e(){this.cx=0,this.cy=0,this.r=0}return e})(),j_=(function(e){G(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new cD},t.prototype.buildPath=function(r,i){r.moveTo(i.cx+i.r,i.cy),r.arc(i.cx,i.cy,i.r,0,Math.PI*2)},t})(Z);j_.prototype.type="circle";en=j_});var hD,Q_,po,$_=M(()=>{"use strict";dt();Vt();hD=(function(){function e(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return e})(),Q_=(function(e){G(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new hD},t.prototype.buildPath=function(r,i){var n=.5522848,a=i.cx,o=i.cy,s=i.rx,u=i.ry,l=s*n,f=u*n;r.moveTo(a-s,o),r.bezierCurveTo(a-s,o-f,a-l,o-u,a,o-u),r.bezierCurveTo(a+l,o-u,a+s,o-f,a+s,o),r.bezierCurveTo(a+s,o+f,a+l,o+u,a,o+u),r.bezierCurveTo(a-l,o+u,a-s,o+f,a-s,o),r.closePath()},t})(Z);Q_.prototype.type="ellipse";po=Q_});function vD(e,t,r,i,n,a,o,s){var u=r-e,l=i-t,f=o-n,c=s-a,p=c*u-f*l;if(!(p*pI*I+B*B&&(C=L,D=E),{cx:C,cy:D,x0:-f,y0:-c,x1:C*(n/b-1),y1:D*(n/b-1)}}function dD(e){var t;if(N(e)){var r=e.length;if(!r)return e;r===1?t=[e[0],e[0],0,0]:r===2?t=[e[0],e[0],e[1],e[1]]:r===3?t=e.concat(e[2]):t=e}else t=[e,e,e,e];return t}function ey(e,t){var r,i=vo(t.r,0),n=vo(t.r0||0,0),a=i>0,o=n>0;if(!(!a&&!o)){if(a||(i=n,n=0),n>i){var s=i;i=n,n=s}var u=t.startAngle,l=t.endAngle;if(!(isNaN(u)||isNaN(l))){var f=t.cx,c=t.cy,p=!!t.clockwise,h=J_(l-u),v=h>hh&&h%hh;if(v>Qe&&(h=v),!(i>Qe))e.moveTo(f,c);else if(h>hh-Qe)e.moveTo(f+i*ta(u),c+i*rn(u)),e.arc(f,c,i,u,l,!p),n>Qe&&(e.moveTo(f+n*ta(l),c+n*rn(l)),e.arc(f,c,n,l,u,p));else{var m=void 0,d=void 0,g=void 0,_=void 0,y=void 0,x=void 0,b=void 0,w=void 0,T=void 0,C=void 0,D=void 0,L=void 0,E=void 0,R=void 0,O=void 0,I=void 0,B=i*ta(u),k=i*rn(u),K=n*ta(l),X=n*rn(l),j=h>Qe;if(j){var it=t.cornerRadius;it&&(r=dD(it),m=r[0],d=r[1],g=r[2],_=r[3]);var vt=J_(i-n)/2;if(y=dr(vt,g),x=dr(vt,_),b=dr(vt,m),w=dr(vt,d),D=T=vo(y,x),L=C=vo(b,w),(T>Qe||C>Qe)&&(E=i*ta(l),R=i*rn(l),O=n*ta(u),I=n*rn(u),hQe){var ye=dr(g,D),zt=dr(_,D),Q=Du(O,I,B,k,i,ye,p),nt=Du(E,R,K,X,i,zt,p);e.moveTo(f+Q.cx+Q.x0,c+Q.cy+Q.y0),D0&&e.arc(f+Q.cx,c+Q.cy,ye,Kt(Q.y0,Q.x0),Kt(Q.y1,Q.x1),!p),e.arc(f,c,i,Kt(Q.cy+Q.y1,Q.cx+Q.x1),Kt(nt.cy+nt.y1,nt.cx+nt.x1),!p),zt>0&&e.arc(f+nt.cx,c+nt.cy,zt,Kt(nt.y1,nt.x1),Kt(nt.y0,nt.x0),!p))}else e.moveTo(f+B,c+k),e.arc(f,c,i,u,l,!p);if(!(n>Qe)||!j)e.lineTo(f+K,c+X);else if(L>Qe){var ye=dr(m,L),zt=dr(d,L),Q=Du(K,X,E,R,n,-zt,p),nt=Du(B,k,O,I,n,-ye,p);e.lineTo(f+Q.cx+Q.x0,c+Q.cy+Q.y0),L0&&e.arc(f+Q.cx,c+Q.cy,zt,Kt(Q.y0,Q.x0),Kt(Q.y1,Q.x1),!p),e.arc(f,c,n,Kt(Q.cy+Q.y1,Q.cx+Q.x1),Kt(nt.cy+nt.y1,nt.cx+nt.x1),p),ye>0&&e.arc(f+nt.cx,c+nt.cy,ye,Kt(nt.y1,nt.x1),Kt(nt.y0,nt.x0),!p))}else e.lineTo(f+K,c+X),e.arc(f,c,n,l,u,p)}e.closePath()}}}var ty,hh,rn,ta,pD,Kt,J_,mo,vo,dr,Qe,ry=M(()=>{"use strict";P();ty=Math.PI,hh=ty*2,rn=Math.sin,ta=Math.cos,pD=Math.acos,Kt=Math.atan2,J_=Math.abs,mo=Math.sqrt,vo=Math.max,dr=Math.min,Qe=1e-4});var gD,iy,go,ny=M(()=>{"use strict";dt();Vt();ry();gD=(function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return e})(),iy=(function(e){G(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new gD},t.prototype.buildPath=function(r,i){ey(r,i)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t})(Z);iy.prototype.type="sector";go=iy});var _D,ay,_o,oy=M(()=>{"use strict";dt();Vt();_D=(function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e})(),ay=(function(e){G(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new _D},t.prototype.buildPath=function(r,i){var n=i.cx,a=i.cy,o=Math.PI*2;r.moveTo(n+i.r,a),r.arc(n,a,i.r,0,o,!1),r.moveTo(n+i.r0,a),r.arc(n,a,i.r0,0,o,!0)},t})(Z);ay.prototype.type="ring";_o=ay});function ph(e,t,r,i){var n=[],a=[],o=[],s=[],u,l,f,c;if(i){f=[1/0,1/0],c=[-1/0,-1/0];for(var p=0,h=e.length;p{"use strict";we()});function Cu(e,t,r){var i=t.smooth,n=t.points;if(n&&n.length>=2){if(i){var a=ph(n,i,r,t.smoothConstraint);e.moveTo(n[0][0],n[0][1]);for(var o=n.length,s=0;s<(r?o:o-1);s++){var u=a[s*2],l=a[s*2+1],f=n[(s+1)%o];e.bezierCurveTo(u[0],u[1],l[0],l[1],f[0],f[1])}}else{e.moveTo(n[0][0],n[0][1]);for(var s=1,c=n.length;s{"use strict";sy()});var yD,ly,yo,fy=M(()=>{"use strict";dt();Vt();vh();yD=(function(){function e(){this.points=null,this.smooth=0,this.smoothConstraint=null}return e})(),ly=(function(e){G(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new yD},t.prototype.buildPath=function(r,i){Cu(r,i,!0)},t})(Z);ly.prototype.type="polygon";yo=ly});var xD,cy,nn,hy=M(()=>{"use strict";dt();Vt();vh();xD=(function(){function e(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return e})(),cy=(function(e){G(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new xD},t.prototype.buildPath=function(r,i){Cu(r,i,!1)},t})(Z);cy.prototype.type="polyline";nn=cy});var SD,wD,py,an,vy=M(()=>{"use strict";dt();Vt();cu();SD={},wD=(function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return e})(),py=(function(e){G(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new wD},t.prototype.buildPath=function(r,i){var n,a,o,s;if(this.subPixelOptimize){var u=lu(SD,i,this.style);n=u.x1,a=u.y1,o=u.x2,s=u.y2}else n=i.x1,a=i.y1,o=i.x2,s=i.y2;var l=i.percent;l!==0&&(r.moveTo(n,a),l<1&&(o=n*(1-l)+o*l,s=a*(1-l)+s*l),r.lineTo(o,s))},t.prototype.pointAt=function(r){var i=this.shape;return[i.x1*(1-r)+i.x2*r,i.y1*(1-r)+i.y2*r]},t})(Z);py.prototype.type="line";an=py});function dy(e,t,r){var i=e.cpx2,n=e.cpy2;return i!=null||n!=null?[(r?qf:Mt)(e.x1,e.cpx1,e.cpx2,e.x2,t),(r?qf:Mt)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(r?Xf:Rt)(e.x1,e.cpx1,e.x2,t),(r?Xf:Rt)(e.y1,e.cpy1,e.y2,t)]}var ve,bD,my,xo,gy=M(()=>{"use strict";dt();Vt();we();Er();ve=[],bD=(function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return e})();my=(function(e){G(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new bD},t.prototype.buildPath=function(r,i){var n=i.x1,a=i.y1,o=i.x2,s=i.y2,u=i.cpx1,l=i.cpy1,f=i.cpx2,c=i.cpy2,p=i.percent;p!==0&&(r.moveTo(n,a),f==null||c==null?(p<1&&(kn(n,u,o,p,ve),u=ve[1],o=ve[2],kn(a,l,s,p,ve),l=ve[1],s=ve[2]),r.quadraticCurveTo(u,l,o,s)):(p<1&&(Nn(n,u,f,o,p,ve),u=ve[1],f=ve[2],o=ve[3],Nn(a,l,c,s,p,ve),l=ve[1],c=ve[2],s=ve[3]),r.bezierCurveTo(u,l,f,c,o,s)))},t.prototype.pointAt=function(r){return dy(this.shape,r,!1)},t.prototype.tangentAt=function(r){var i=dy(this.shape,r,!0);return wf(i,i)},t})(Z);my.prototype.type="bezier-curve";xo=my});var TD,_y,on,yy=M(()=>{"use strict";dt();Vt();TD=(function(){function e(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return e})(),_y=(function(e){G(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new TD},t.prototype.buildPath=function(r,i){var n=i.cx,a=i.cy,o=Math.max(i.r,0),s=i.startAngle,u=i.endAngle,l=i.clockwise,f=Math.cos(s),c=Math.sin(s);r.moveTo(f*o+n,c*o+a),r.arc(n,a,o,s,u,!l)},t})(Z);_y.prototype.type="arc";on=_y});var MD,Eu,xy=M(()=>{"use strict";dt();Vt();MD=(function(e){G(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="compound",r}return t.prototype._updatePathDirty=function(){for(var r=this.shape.paths,i=this.shapeChanged(),n=0;n{"use strict";DD=(function(){function e(t){this.colorStops=t||[]}return e.prototype.addColorStop=function(t,r){this.colorStops.push({offset:t,color:r})},e})(),Lu=DD});var CD,Ru,Sy=M(()=>{"use strict";dt();dh();CD=(function(e){G(t,e);function t(r,i,n,a,o,s){var u=e.call(this,o)||this;return u.x=r??0,u.y=i??0,u.x2=n??1,u.y2=a??0,u.type="linear",u.global=s||!1,u}return t})(Lu),Ru=CD});var ED,Ou,wy=M(()=>{"use strict";dt();dh();ED=(function(e){G(t,e);function t(r,i,n,a,o){var s=e.call(this,a)||this;return s.x=r??.5,s.y=i??.5,s.r=n??.5,s.type="radial",s.global=o||!1,s}return t})(Lu),Ou=ED});var sn,un,Au,Pu,LD,ea,by=M(()=>{"use strict";Ms();sn=[0,0],un=[0,0],Au=new q,Pu=new q,LD=(function(){function e(t,r){this._corners=[],this._axes=[],this._origin=[0,0];for(var i=0;i<4;i++)this._corners[i]=new q;for(var i=0;i<2;i++)this._axes[i]=new q;t&&this.fromBoundingRect(t,r)}return e.prototype.fromBoundingRect=function(t,r){var i=this._corners,n=this._axes,a=t.x,o=t.y,s=a+t.width,u=o+t.height;if(i[0].set(a,o),i[1].set(s,o),i[2].set(s,u),i[3].set(a,u),r)for(var l=0;l<4;l++)i[l].transform(r);q.sub(n[0],i[1],i[0]),q.sub(n[1],i[3],i[0]),n[0].normalize(),n[1].normalize();for(var l=0;l<2;l++)this._origin[l]=n[l].dot(i[0])},e.prototype.intersect=function(t,r){var i=!0,n=!r;return Au.set(1/0,1/0),Pu.set(0,0),!this._intersectCheckOneSide(this,t,Au,Pu,n,1)&&(i=!1,n)||!this._intersectCheckOneSide(t,this,Au,Pu,n,-1)&&(i=!1,n)||n||q.copy(r,i?Au:Pu),i},e.prototype._intersectCheckOneSide=function(t,r,i,n,a,o){for(var s=!0,u=0;u<2;u++){var l=this._axes[u];if(this._getProjMinMaxOnAxis(u,t._corners,sn),this._getProjMinMaxOnAxis(u,r._corners,un),sn[1]un[1]){if(s=!1,a)return s;var f=Math.abs(un[0]-sn[1]),c=Math.abs(sn[0]-un[1]);Math.min(f,c)>n.len()&&(f{"use strict";dt();Yi();Xt();RD=[],OD=(function(e){G(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.notClear=!0,r.incremental=!0,r._displayables=[],r._temporaryDisplayables=[],r._cursor=0,r}return t.prototype.traverse=function(r,i){r.call(i,this)},t.prototype.useStyle=function(){this.style={}},t.prototype.getCursor=function(){return this._cursor},t.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},t.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},t.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},t.prototype.addDisplayable=function(r,i){i?this._temporaryDisplayables.push(r):this._displayables.push(r),this.markRedraw()},t.prototype.addDisplayables=function(r,i){i=i||!1;for(var n=0;n0){var c=f.duration,p=f.delay,h=f.easing,v={duration:c,delay:p||0,easing:h,done:a,force:!!a||!!o,setToFinal:!l,scope:e,during:o};s?t.animateFrom(r,v):t.animateTo(r,v)}else t.stopAnimation(),!s&&t.attr(r),o&&o(1),a&&a()}function mr(e,t,r,i,n,a){mh("update",e,t,r,i,n,a)}function Ir(e,t,r,i,n,a){mh("enter",e,t,r,i,n,a)}function Nr(e){if(!e.__zr)return!0;for(var t=0;t{"use strict";P();lt();Dy=st()});var zu={};Re(zu,{Arc:()=>on,BezierCurve:()=>xo,BoundingRect:()=>Y,Circle:()=>en,CompoundPath:()=>Eu,Ellipse:()=>po,Group:()=>ke,Image:()=>Ve,IncrementalDisplayable:()=>Iu,Line:()=>an,LinearGradient:()=>Ru,OrientedBoundingRect:()=>ea,Path:()=>Z,Point:()=>q,Polygon:()=>yo,Polyline:()=>nn,RadialGradient:()=>Ou,Rect:()=>Zt,Ring:()=>_o,Sector:()=>go,Text:()=>Te,applyTransform:()=>Ay,clipPointsByRect:()=>Mh,clipRectByRect:()=>Dh,createIcon:()=>Ch,extendPath:()=>Sh,extendShape:()=>xh,getShapeClass:()=>wh,getTransform:()=>Th,groupTransition:()=>UD,initProps:()=>Ir,isElementRemoved:()=>Nr,lineLineIntersect:()=>Py,linePolygonIntersect:()=>BD,makeImage:()=>So,makePath:()=>ra,mergePath:()=>bh,registerShape:()=>Me,removeElement:()=>gh,removeElementWithFadeOut:()=>Cy,resizePath:()=>Fu,setTooltipConfig:()=>HD,subPixelOptimize:()=>kD,subPixelOptimizeLine:()=>ID,subPixelOptimizeRect:()=>ND,transformDirection:()=>FD,traverseElements:()=>Eh,updateProps:()=>mr});function xh(e){return Z.extend(e)}function Sh(e,t){return PD(e,t)}function Me(e,t){yh[e]=t}function wh(e){if(yh.hasOwnProperty(e))return yh[e]}function ra(e,t,r,i){var n=W_(e,t);return r&&(i==="center"&&(r=Oy(r,n.getBoundingRect())),Fu(n,r)),n}function So(e,t,r){var i=new Ve({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(n){if(r==="center"){var a={width:n.width,height:n.height};i.setStyle(Oy(t,a))}}});return i}function Oy(e,t){var r=t.width/t.height,i=e.height*r,n;i<=e.width?n=e.height:(i=e.width,n=i/r);var a=e.x+e.width/2,o=e.y+e.height/2;return{x:a-i/2,y:o-n/2,width:i,height:n}}function Fu(e,t){if(e.applyTransform){var r=e.getBoundingRect(),i=r.calculateTransform(t);e.applyTransform(i)}}function ID(e,t){return lu(e,e,{lineWidth:t}),e}function ND(e){return fu(e.shape,e.shape,e.style),e}function Th(e,t){for(var r=bi([]);e&&e!==t;)Mr(r,e.getLocalTransform(),r),e=e.parent;return r}function Ay(e,t,r){return t&&!Tt(t)&&(t=Ui.getLocalTransform(t)),r&&(t=Dr([],t)),Se([],e,t)}function FD(e,t,r){var i=t[4]===0||t[5]===0||t[0]===0?1:Math.abs(2*t[4]/t[0]),n=t[4]===0||t[5]===0||t[2]===0?1:Math.abs(2*t[4]/t[2]),a=[e==="left"?-i:e==="right"?i:0,e==="top"?-n:e==="bottom"?n:0];return a=Ay(a,t,r),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function Ly(e){return!e.isGroup}function zD(e){return e.shape!=null}function UD(e,t,r){if(!e||!t)return;function i(o){var s={};return o.traverse(function(u){Ly(u)&&u.anid&&(s[u.anid]=u)}),s}function n(o){var s={x:o.x,y:o.y,rotation:o.rotation};return zD(o)&&(s.shape=A({},o.shape)),s}var a=i(e);t.traverse(function(o){if(Ly(o)&&o.anid){var s=a[o.anid];if(s){var u=n(o);o.attr(n(s)),mr(o,u,r,St(o).dataIndex)}}})}function Mh(e,t){return F(e,function(r){var i=r[0];i=Nu(i,t.x),i=ku(i,t.x+t.width);var n=r[1];return n=Nu(n,t.y),n=ku(n,t.y+t.height),[i,n]})}function Dh(e,t){var r=Nu(e.x,t.x),i=ku(e.x+e.width,t.x+t.width),n=Nu(e.y,t.y),a=ku(e.y+e.height,t.y+t.height);if(i>=r&&a>=n)return{x:r,y:n,width:i-r,height:a-n}}function Ch(e,t,r){var i=A({rectHover:!0},t),n=i.style={strokeNoScale:!0};if(r=r||{x:-1,y:-1,width:2,height:2},e)return e.indexOf("image://")===0?(n.image=e.slice(8),rt(n,r),new Ve(i)):ra(e.replace("path://",""),i,r,"center")}function BD(e,t,r,i,n){for(var a=0,o=n[n.length-1];a1)return!1;var d=_h(h,v,f,c)/p;return!(d<0||d>1)}function _h(e,t,r,i){return e*i-r*t}function VD(e){return e<=1e-6&&e>=-1e-6}function HD(e){var t=e.itemTooltipOption,r=e.componentModel,i=e.itemName,n=U(t)?{formatter:t}:t,a=r.mainType,o=r.componentIndex,s={componentType:a,name:i,$vars:["name"]};s[a+"Index"]=o;var u=e.formatterParamsExtra;u&&S(J(u),function(f){xe(s,f)||(s[f]=u[f],s.$vars.push(f))});var l=St(e.el);l.componentMainType=a,l.componentIndex=o,l.tooltipConfig={name:i,option:rt({content:i,encodeHTMLContent:!0,formatterParams:s},n)}}function Ry(e,t){var r;e.isGroup&&(r=t(e)),r||e.traverse(t)}function Eh(e,t){if(e)if(N(e))for(var r=0;r{"use strict";Z_();Ti();we();Vt();ja();uu();Ka();hu();K_();$_();ny();oy();fy();hy();Gc();vy();gy();yy();xy();Sy();wy();Xt();by();Ms();Ty();cu();P();tn();Ey();Nu=Math.max,ku=Math.min,yh={};PD=q_;bh=X_;kD=ni;Me("circle",en);Me("ellipse",po);Me("sector",go);Me("ring",_o);Me("polygon",yo);Me("polyline",nn);Me("rect",Zt);Me("line",an);Me("bezierCurve",xo);Me("arc",on)});function Uy(e,t){for(var r=0;r{"use strict";hu();P();$n();lt();$e();Bu={};Ny=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],ky=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],Fy=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];wo=st()});var WD,Rh,Oh,qD,Hy,Gy=M(()=>{"use strict";Vu();hu();WD=["textStyle","color"],Rh=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],Oh=new Te,qD=(function(){function e(){}return e.prototype.getTextColor=function(t){var r=this.ecModel;return this.getShallow("color")||(!t&&r?r.get(WD):null)},e.prototype.getFont=function(){return By({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},e.prototype.getTextRect=function(t){for(var r={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},i=0;i{"use strict";Qa();Ah=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],XD=lr(Ah),Yy=(function(){function e(){}return e.prototype.getLineStyle=function(t){return XD(this,t)},e})()});var Ih,ZD,Wy,Nh=M(()=>{"use strict";Qa();Ih=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],ZD=lr(Ih),Wy=(function(){function e(){}return e.prototype.getItemStyle=function(t,r){return ZD(this,t,r)},e})()});var ln,At,kr=M(()=>{"use strict";re();ur();ag();Gy();Ph();Nh();P();ln=(function(){function e(t,r,i){this.parentModel=r,this.ecModel=i,this.option=t}return e.prototype.init=function(t,r,i){for(var n=[],a=3;a{"use strict";qy={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}});var Zy,jy=M(()=>{"use strict";Zy={time:{month:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"],monthAbbr:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],dayOfWeek:["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],dayOfWeekAbbr:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},legend:{selector:{all:"\u5168\u9009",inverse:"\u53CD\u9009"}},toolbox:{brush:{title:{rect:"\u77E9\u5F62\u9009\u62E9",polygon:"\u5708\u9009",lineX:"\u6A2A\u5411\u9009\u62E9",lineY:"\u7EB5\u5411\u9009\u62E9",keep:"\u4FDD\u6301\u9009\u62E9",clear:"\u6E05\u9664\u9009\u62E9"}},dataView:{title:"\u6570\u636E\u89C6\u56FE",lang:["\u6570\u636E\u89C6\u56FE","\u5173\u95ED","\u5237\u65B0"]},dataZoom:{title:{zoom:"\u533A\u57DF\u7F29\u653E",back:"\u533A\u57DF\u7F29\u653E\u8FD8\u539F"}},magicType:{title:{line:"\u5207\u6362\u4E3A\u6298\u7EBF\u56FE",bar:"\u5207\u6362\u4E3A\u67F1\u72B6\u56FE",stack:"\u5207\u6362\u4E3A\u5806\u53E0",tiled:"\u5207\u6362\u4E3A\u5E73\u94FA"}},restore:{title:"\u8FD8\u539F"},saveAsImage:{title:"\u4FDD\u5B58\u4E3A\u56FE\u7247",lang:["\u53F3\u952E\u53E6\u5B58\u4E3A\u56FE\u7247"]}},series:{typeNames:{pie:"\u997C\u56FE",bar:"\u67F1\u72B6\u56FE",line:"\u6298\u7EBF\u56FE",scatter:"\u6563\u70B9\u56FE",effectScatter:"\u6D9F\u6F2A\u6563\u70B9\u56FE",radar:"\u96F7\u8FBE\u56FE",tree:"\u6811\u56FE",treemap:"\u77E9\u5F62\u6811\u56FE",boxplot:"\u7BB1\u578B\u56FE",candlestick:"K\u7EBF\u56FE",k:"K\u7EBF\u56FE",heatmap:"\u70ED\u529B\u56FE",map:"\u5730\u56FE",parallel:"\u5E73\u884C\u5750\u6807\u56FE",lines:"\u7EBF\u56FE",graph:"\u5173\u7CFB\u56FE",sankey:"\u6851\u57FA\u56FE",funnel:"\u6F0F\u6597\u56FE",gauge:"\u4EEA\u8868\u76D8\u56FE",pictorialBar:"\u8C61\u5F62\u67F1\u56FE",themeRiver:"\u4E3B\u9898\u6CB3\u6D41\u56FE",sunburst:"\u65ED\u65E5\u56FE",custom:"\u81EA\u5B9A\u4E49\u56FE\u8868",chart:"\u56FE\u8868"}},aria:{general:{withTitle:"\u8FD9\u662F\u4E00\u4E2A\u5173\u4E8E\u201C{title}\u201D\u7684\u56FE\u8868\u3002",withoutTitle:"\u8FD9\u662F\u4E00\u4E2A\u56FE\u8868\uFF0C"},series:{single:{prefix:"",withName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\uFF0C\u8868\u793A{seriesName}\u3002",withoutName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\u3002"},multiple:{prefix:"\u5B83\u7531{seriesCount}\u4E2A\u56FE\u8868\u7CFB\u5217\u7EC4\u6210\u3002",withName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A\u8868\u793A{seriesName}\u7684{seriesType}\uFF0C",withoutName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A{seriesType}\uFF0C",separator:{middle:"\uFF1B",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636E\u662F\u2014\u2014",partialData:"\u5176\u4E2D\uFF0C\u524D{displayCnt}\u9879\u662F\u2014\u2014",withName:"{name}\u7684\u6570\u636E\u662F{value}",withoutName:"{value}",separator:{middle:"\uFF0C",end:""}}}}});function zh(e,t){e=e.toUpperCase(),Fh[e]=new At(t),Hu[e]=t}function Ky(e){if(U(e)){var t=Hu[e.toUpperCase()]||{};return e===Gu||e===kh?$(t):at($(t),$(Hu[ia]),!1)}else return at($(e),$(Hu[ia]),!1)}function Qy(e){return Fh[e]}function $y(){return Fh[ia]}var Gu,kh,ia,Hu,Fh,Yu,Wu=M(()=>{"use strict";kr();re();Xy();jy();P();Gu="ZH",kh="EN",ia=kh,Hu={},Fh={},Yu=tt.domSupported?(function(){var e=(document.documentElement.lang||navigator.language||navigator.browserLanguage||ia).toUpperCase();return e.indexOf(Gu)>-1?Gu:ia})():ia;zh(kh,qy);zh(Gu,Zy)});function oi(e){return[e||"",jD++].join("_")}function Jy(e){var t={};e.registerSubTypeDefaulter=function(r,i){var n=fe(r);t[n.main]=i},e.determineSubType=function(r,i){var n=i.type;if(!n){var a=fe(r).main;e.hasSubTypes(r)&&t[a]&&(n=t[a](i))}return n}}function t0(e,t){e.topologicalTravel=function(a,o,s,u){if(!a.length)return;var l=r(o),f=l.graph,c=l.noEntryList,p={};for(S(a,function(_){p[_]=!0});c.length;){var h=c.pop(),v=f[h],m=!!p[h];m&&(s.call(u,h,v.originalDeps.slice()),delete p[h]),S(v.successor,m?g:d)}S(p,function(){var _="";throw new Error(_)});function d(_){f[_].entryCount--,f[_].entryCount===0&&c.push(_)}function g(_){p[_]=!0,d(_)}};function r(a){var o={},s=[];return S(a,function(u){var l=i(o,u),f=l.originalDeps=t(u),c=n(f,a);l.entryCount=c.length,l.entryCount===0&&s.push(u),S(c,function(p){et(l.predecessor,p)<0&&l.predecessor.push(p);var h=i(o,p);et(h.successor,p)<0&&h.successor.push(u)})}),{graph:o,noEntryList:s}}function i(a,o){return a[o]||(a[o]={predecessor:[],successor:[]}),a[o]}function n(a,o){var s=[];return S(a,function(u){et(o,u)>=0&&s.push(u)}),s}}function Ik(e,t){return at(at({},e,!0),t,!0)}var jD,bo=M(()=>{"use strict";P();ur();jD=Math.round(Math.random()*10)});function Qt(e,t){return e+="","0000".substr(0,t-e.length)+e}function cn(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function e0(e){return e===cn(e)}function r0(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function hn(e,t,r,i){var n=Nt(e),a=n[ju(r)](),o=n[fn(r)]()+1,s=Math.floor((o-1)/3)+1,u=n[Mo(r)](),l=n["get"+(r?"UTC":"")+"Day"](),f=n[na(r)](),c=(f-1)%12+1,p=n[Do(r)](),h=n[Co(r)](),v=n[Eo(r)](),m=f>=12?"pm":"am",d=m.toUpperCase(),g=i instanceof At?i:Qy(i||Yu)||$y(),_=g.getModel("time"),y=_.get("month"),x=_.get("monthAbbr"),b=_.get("dayOfWeek"),w=_.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,m+"").replace(/{A}/g,d+"").replace(/{yyyy}/g,a+"").replace(/{yy}/g,Qt(a%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,y[o-1]).replace(/{MMM}/g,x[o-1]).replace(/{MM}/g,Qt(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,Qt(u,2)).replace(/{d}/g,u+"").replace(/{eeee}/g,b[l]).replace(/{ee}/g,w[l]).replace(/{e}/g,l+"").replace(/{HH}/g,Qt(f,2)).replace(/{H}/g,f+"").replace(/{hh}/g,Qt(c+"",2)).replace(/{h}/g,c+"").replace(/{mm}/g,Qt(p,2)).replace(/{m}/g,p+"").replace(/{ss}/g,Qt(h,2)).replace(/{s}/g,h+"").replace(/{SSS}/g,Qt(v,3)).replace(/{S}/g,v+"")}function i0(e,t,r,i,n){var a=null;if(U(r))a=r;else if(H(r))a=r(e.value,t,{level:e.level});else{var o=A({},To);if(e.level>0)for(var s=0;s=0;--s)if(u[l]){a=u[l];break}a=a||o.none}if(N(a)){var c=e.level==null?0:e.level>=0?e.level:a.length+e.level;c=Math.min(c,a.length-1),a=a[c]}}return hn(new Date(e.value),a,n,i)}function n0(e,t){var r=Nt(e),i=r[fn(t)]()+1,n=r[Mo(t)](),a=r[na(t)](),o=r[Do(t)](),s=r[Co(t)](),u=r[Eo(t)](),l=u===0,f=l&&s===0,c=f&&o===0,p=c&&a===0,h=p&&n===1,v=h&&i===1;return v?"year":h?"month":p?"day":c?"hour":f?"minute":l?"second":"millisecond"}function Yh(e,t,r){var i=ot(e)?Nt(e):e;switch(t=t||n0(e,r),t){case"year":return i[ju(r)]();case"half-year":return i[fn(r)]()>=6?1:0;case"quarter":return Math.floor((i[fn(r)]()+1)/4);case"month":return i[fn(r)]();case"day":return i[Mo(r)]();case"half-day":return i[na(r)]()/24;case"hour":return i[na(r)]();case"minute":return i[Do(r)]();case"second":return i[Co(r)]();case"millisecond":return i[Eo(r)]()}}function ju(e){return e?"getUTCFullYear":"getFullYear"}function fn(e){return e?"getUTCMonth":"getMonth"}function Mo(e){return e?"getUTCDate":"getDate"}function na(e){return e?"getUTCHours":"getHours"}function Do(e){return e?"getUTCMinutes":"getMinutes"}function Co(e){return e?"getUTCSeconds":"getSeconds"}function Eo(e){return e?"getUTCMilliseconds":"getMilliseconds"}function a0(e){return e?"setUTCFullYear":"setFullYear"}function Wh(e){return e?"setUTCMonth":"setMonth"}function qh(e){return e?"setUTCDate":"setDate"}function Xh(e){return e?"setUTCHours":"setHours"}function Zh(e){return e?"setUTCMinutes":"setMinutes"}function jh(e){return e?"setUTCSeconds":"setSeconds"}function Kh(e){return e?"setUTCMilliseconds":"setMilliseconds"}var Xu,Zu,aa,De,Vh,To,qu,Hh,Bh,Gh,Ku=M(()=>{"use strict";P();Ot();Wu();kr();Xu=1e3,Zu=Xu*60,aa=Zu*60,De=aa*24,Vh=De*365,To={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},qu="{yyyy}-{MM}-{dd}",Hh={year:"{yyyy}",month:"{yyyy}-{MM}",day:qu,hour:qu+" "+To.hour,minute:qu+" "+To.minute,second:qu+" "+To.second,millisecond:To.none},Bh=["year","month","day","hour","minute","second","millisecond"],Gh=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"]});function Qh(e,t,r,i,n,a,o,s){var u=new Te({style:{text:e,font:t,align:r,verticalAlign:i,padding:n,rich:a,overflow:o?"truncate":null,lineHeight:s}});return u.getBoundingRect()}var o0=M(()=>{"use strict";$e()});function Lo(e){if(!ro(e))return U(e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function u0(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,function(r,i){return i.toUpperCase()}),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}function Qu(e,t,r){var i="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function n(f){return f&&Wt(f)?f:"-"}function a(f){return!!(f!=null&&!isNaN(f)&&isFinite(f))}var o=t==="time",s=e instanceof Date;if(o||s){var u=o?Nt(e):e;if(isNaN(+u)){if(s)return"-"}else return hn(u,i,r)}if(t==="ordinal")return En(e)?n(e):ot(e)&&a(e)?e+"":"-";var l=He(e);return a(l)?Lo(l):En(e)?n(e):typeof e=="boolean"?e+"":"-"}function $u(e,t,r){N(t)||(t=[t]);var i=t.length;if(!i)return"";for(var n=t[0].$vars||[],a=0;a':'';var o=r.markerId||"markerX";return{renderMode:a,content:"{"+o+"|} ",style:n==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}}function l0(e,t,r){(e==="week"||e==="month"||e==="quarter"||e==="half-year"||e==="year")&&(e=`MM-dd +yyyy`);var i=Nt(t),n=r?"getUTC":"get",a=i[n+"FullYear"](),o=i[n+"Month"]()+1,s=i[n+"Date"](),u=i[n+"Hours"](),l=i[n+"Minutes"](),f=i[n+"Seconds"](),c=i[n+"Milliseconds"]();return e=e.replace("MM",Qt(o,2)).replace("M",o).replace("yyyy",a).replace("yy",Qt(a%100+"",2)).replace("dd",Qt(s,2)).replace("d",s).replace("hh",Qt(u,2)).replace("h",u).replace("mm",Qt(l,2)).replace("m",l).replace("ss",Qt(f,2)).replace("s",f).replace("SSS",Qt(c,3)),e}function f0(e){return e&&e.charAt(0).toUpperCase()+e.substr(1)}function c0(e,t){return t=t||"transparent",U(e)?e:z(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function Yk(e,t){if(t==="_blank"||t==="blank"){var r=window.open();r.opener=null,r.location.href=e}else window.open(e,t)}var Ro,s0,$h,oa=M(()=>{"use strict";P();kf();Ot();Ku();Cc();o0();Ro=Ra;s0=["a","b","c","d","e","f","g"],$h=function(e,t){return"{"+e+(t??"")+"}"}});function Jh(e,t,r,i,n){var a=0,o=0;i==null&&(i=1/0),n==null&&(n=1/0);var s=0;t.eachChild(function(u,l){var f=u.getBoundingRect(),c=t.childAt(l+1),p=c&&c.getBoundingRect(),h,v;if(e==="horizontal"){var m=f.width+(p?-p.x+f.x:0);h=a+m,h>i||u.newline?(a=0,h=m,o+=s+r,s=f.height):s=Math.max(s,f.height)}else{var d=f.height+(p?-p.y+f.y:0);v=o+d,v>n||u.newline?(a+=s+r,o=0,v=d,s=f.width):s=Math.max(s,f.width)}u.newline||(u.x=a,u.y=o,u.markRedraw(),e==="horizontal"?a=h+r:o=v+r)})}function $k(e,t,r){var i=t.width,n=t.height,a=xt(e.left,i),o=xt(e.top,n),s=xt(e.right,i),u=xt(e.bottom,n);return(isNaN(a)||isNaN(parseFloat(e.left)))&&(a=0),(isNaN(s)||isNaN(parseFloat(e.right)))&&(s=i),(isNaN(o)||isNaN(parseFloat(e.top)))&&(o=0),(isNaN(u)||isNaN(parseFloat(e.bottom)))&&(u=n),r=Ro(r||0),{width:Math.max(s-a-r[1]-r[3],0),height:Math.max(u-o-r[0]-r[2],0)}}function tp(e,t,r){r=Ro(r||0);var i=t.width,n=t.height,a=xt(e.left,i),o=xt(e.top,n),s=xt(e.right,i),u=xt(e.bottom,n),l=xt(e.width,i),f=xt(e.height,n),c=r[2]+r[0],p=r[1]+r[3],h=e.aspect;switch(isNaN(l)&&(l=i-s-p-a),isNaN(f)&&(f=n-u-c-o),h!=null&&(isNaN(l)&&isNaN(f)&&(h>i/n?l=i*.8:f=n*.8),isNaN(l)&&(l=h*f),isNaN(f)&&(f=l/h)),isNaN(a)&&(a=i-s-l-p),isNaN(o)&&(o=n-u-f-c),e.left||e.right){case"center":a=i/2-l/2-r[3];break;case"right":a=i-l-p;break}switch(e.top||e.bottom){case"middle":case"center":o=n/2-f/2-r[0];break;case"bottom":o=n-f-c;break}a=a||0,o=o||0,isNaN(l)&&(l=i-p-a-(s||0)),isNaN(f)&&(f=n-c-o-(u||0));var v=new Y(a+r[3],o+r[0],l,f);return v.margin=r,v}function Jk(e,t,r,i,n,a){var o=!n||!n.hv||n.hv[0],s=!n||!n.hv||n.hv[1],u=n&&n.boundingMode||"all";if(a=a||e,a.x=e.x,a.y=e.y,!o&&!s)return!1;var l;if(u==="raw")l=e.type==="group"?new Y(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(l=e.getBoundingRect(),e.needLocalTransform()){var f=e.getLocalTransform();l=l.clone(),l.applyTransform(f)}var c=tp(rt({width:l.width,height:l.height},t),r,i),p=o?c.x-l.x:0,h=s?c.y-l.y:0;return u==="raw"?(a.x=p,a.y=h):(a.x+=p,a.y+=h),a===e&&e.markRedraw(),!0}function tF(e,t){return e[pn[t][0]]!=null||e[pn[t][1]]!=null&&e[pn[t][2]]!=null}function sa(e){var t=e.layoutMode||e.constructor.layoutMode;return z(t)?t:t?{type:t}:null}function ua(e,t,r){var i=r&&r.ignoreSize;!N(i)&&(i=[i,i]);var n=o(pn[0],0),a=o(pn[1],1);l(pn[0],e,n),l(pn[1],e,a);function o(f,c){var p={},h=0,v={},m=0,d=2;if(tl(f,function(y){v[y]=e[y]}),tl(f,function(y){s(t,y)&&(p[y]=v[y]=t[y]),u(p,y)&&h++,u(v,y)&&m++}),i[c])return u(t,f[1])?v[f[2]]=null:u(t,f[2])&&(v[f[1]]=null),v;if(m===d||!h)return v;if(h>=d)return p;for(var g=0;g{"use strict";P();Xt();Ot();oa();tl=S,KD=["left","right","top","bottom","width","height"],pn=[["width","left","right"],["height","top","bottom"]];jk=Jh,Kk=nr(Jh,"vertical"),Qk=nr(Jh,"horizontal")});function tC(e){var t=[];return S(la.getClassesByMainType(e),function(r){t=t.concat(r.dependencies||r.prototype.dependencies||[])}),t=F(t,function(r){return fe(r).main}),e!=="dataset"&&et(t,"dataset")<=0&&t.unshift("dataset"),t}var JD,la,_t,fa=M(()=>{"use strict";Fe();P();kr();bo();ur();lt();rl();JD=st(),la=(function(e){mt(t,e);function t(r,i,n){var a=e.call(this,r,i,n)||this;return a.uid=oi("ec_cpt_model"),a}return t.prototype.init=function(r,i,n){this.mergeDefaultAndTheme(r,n)},t.prototype.mergeDefaultAndTheme=function(r,i){var n=sa(this),a=n?el(r):{},o=i.getTheme();at(r,o.get(this.mainType)),at(r,this.getDefaultOption()),n&&ua(r,a,n)},t.prototype.mergeOption=function(r,i){at(this.option,r,!0);var n=sa(this);n&&ua(this.option,r,n)},t.prototype.optionUpdated=function(r,i){},t.prototype.getDefaultOption=function(){var r=this.constructor;if(!rg(r))return r.defaultOption;var i=JD(this);if(!i.defaultOption){for(var n=[],a=r;a;){var o=a.prototype.defaultOption;o&&n.push(o),a=a.superClass}for(var s={},u=n.length-1;u>=0;u--)s=at(s,n[u],!0);i.defaultOption=s}return i.defaultOption},t.prototype.getReferringComponents=function(r,i){var n=r+"Index",a=r+"Id";return Xn(this.ecModel,r,{index:this.get(n,!0),id:this.get(a,!0)},i)},t.prototype.getBoxLayoutParams=function(){var r=this;return{left:r.get("left"),top:r.get("top"),right:r.get("right"),bottom:r.get("bottom"),width:r.get("width"),height:r.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(r){this.option.zlevel=r},t.protoInitialize=(function(){var r=t.prototype;r.type="component",r.id="",r.name="",r.mainType="",r.subType="",r.componentIndex=0})(),t})(At);iu(la,At);ti(la);Jy(la);t0(la,tC);_t=la});function sF(e,t,r,i){var n=gt(e.get(["aria","decal","decals"]));return v0(e,eC,n,null,t,r,i)}function rC(e,t){for(var r=e.length,i=0;it)return e[i];return e[r-1]}function v0(e,t,r,i,n,a,o){a=a||e;var s=t(a),u=s.paletteIdx||0,l=s.paletteNameMap=s.paletteNameMap||{};if(l.hasOwnProperty(n))return l[n];var f=o==null||!i?r:rC(i,o);if(f=f||r,!(!f||!f.length)){var c=f[u];return n&&(l[n]=c),s.paletteIdx=(u+1)%f.length,c}}function iC(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}var p0,eC,Oo,ep=M(()=>{"use strict";lt();p0=st(),eC=st(),Oo=(function(){function e(){}return e.prototype.getColorFromPalette=function(t,r,i){var n=gt(this.get("color",!0)),a=this.get("colorLayer",!0);return v0(this,p0,n,a,t,r,i)},e.prototype.clearColorPalette=function(){iC(this,p0)},e})()});var il,kt,Ft,oe,Ce,Ee,rp,de,Fr,Je=M(()=>{"use strict";P();il=V(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),kt="original",Ft="arrayRows",oe="objectRows",Ce="keyedColumns",Ee="typedArray",rp="unknown",de="column",Fr="row"});function m0(e){d0(e).datasetMap=V()}function g0(e,t,r){var i={},n=nl(t);if(!n||!e)return i;var a=[],o=[],s=t.ecModel,u=d0(s).datasetMap,l=n.uid+"_"+r.seriesLayoutBy,f,c;e=e.slice(),S(e,function(m,d){var g=z(m)?m:e[d]={name:m};g.type==="ordinal"&&f==null&&(f=d,c=v(g)),i[g.name]=[]});var p=u.get(l)||u.set(l,{categoryWayDim:c,valueWayDim:0});S(e,function(m,d){var g=m.name,_=v(m);if(f==null){var y=p.valueWayDim;h(i[g],y,_),h(o,y,_),p.valueWayDim+=_}else if(f===d)h(i[g],0,_),h(a,0,_);else{var y=p.categoryWayDim;h(i[g],y,_),h(o,y,_),p.categoryWayDim+=_}});function h(m,d,g){for(var _=0;_{"use strict";lt();P();Je();Pt={Must:1,Might:2,Not:3},d0=st()});function ha(e){return e instanceof ol}function Ao(e,t,r){r=r||ip(e);var i=t.seriesLayoutBy,n=nC(e,r,i,t.sourceHeader,t.dimensions),a=new ol({data:e,sourceFormat:r,seriesLayoutBy:i,dimensionsDefine:n.dimensionsDefine,startIndex:n.startIndex,dimensionsDetectedCount:n.dimensionsDetectedCount,metaRawOption:$(t)});return a}function pa(e){return new ol({data:e,sourceFormat:yt(e)?Ee:kt})}function w0(e){return new ol({data:e.data,sourceFormat:e.sourceFormat,seriesLayoutBy:e.seriesLayoutBy,dimensionsDefine:$(e.dimensionsDefine),startIndex:e.startIndex,dimensionsDetectedCount:e.dimensionsDetectedCount})}function ip(e){var t=rp;if(yt(e))t=Ee;else if(N(e)){e.length===0&&(t=Ft);for(var r=0,i=e.length;r{"use strict";P();Je();lt();ca();ol=(function(){function e(t){this.data=t.data||(t.sourceFormat===Ce?{}:[]),this.sourceFormat=t.sourceFormat||rp,this.seriesLayoutBy=t.seriesLayoutBy||de,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var r=this.dimensionsDefine=t.dimensionsDefine;if(r)for(var i=0;i{"use strict";P();lt();zr();Je();ul=(function(){function e(t,r){var i=ha(t)?t:pa(t);this._source=i;var n=this._data=i.data;i.sourceFormat===Ee&&(this._offset=0,this._dimSize=r,this._data=n),T0(this,n,i)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(t,r){},e.prototype.appendData=function(t){},e.prototype.clean=function(){},e.protoInitialize=(function(){var t=e.prototype;t.pure=!1,t.persistent=!0})(),e.internalField=(function(){var t;T0=function(o,s,u){var l=u.sourceFormat,f=u.seriesLayoutBy,c=u.startIndex,p=u.dimensionsDefine,h=b0[up(l,f)];if(A(o,h),l===Ee)o.getItem=r,o.count=n,o.fillStorage=i;else{var v=ap(l,f);o.getItem=wt(v,null,s,c,p);var m=op(l,f);o.count=wt(m,null,s,c,p)}};var r=function(o,s){o=o-this._offset,s=s||[];for(var u=this._data,l=this._dimSize,f=l*o,c=0;cm&&(m=y)}h[0]=v,h[1]=m}},n=function(){return this._data?this._data.length/this._dimSize:0};b0=(t={},t[Ft+"_"+de]={pure:!0,appendData:a},t[Ft+"_"+Fr]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[oe]={pure:!0,appendData:a},t[Ce]={pure:!0,appendData:function(o){var s=this._data;S(o,function(u,l){for(var f=s[l]||(s[l]=[]),c=0;c<(u||[]).length;c++)f.push(u[c])})}},t[kt]={appendData:a},t[Ee]={persistent:!1,pure:!0,appendData:function(o){this._data=o},clean:function(){this._offset+=this.count(),this._data=null}},t);function a(o){for(var s=0;s{"use strict";P();da();oa();lC=/\{@(.+?)\}/g,C0=(function(){function e(){}return e.prototype.getDataParams=function(t,r){var i=this.getData(r),n=this.getRawValue(t,r),a=i.getRawIndex(t),o=i.getName(t),s=i.getRawDataItem(t),u=i.getItemVisual(t,"style"),l=u&&u[i.getItemVisual(t,"drawType")||"fill"],f=u&&u.stroke,c=this.mainType,p=c==="series",h=i.userOutput&&i.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:p?this.subType:null,seriesIndex:this.seriesIndex,seriesId:p?this.id:null,seriesName:p?this.name:null,name:o,dataIndex:a,data:s,dataType:r,value:n,color:l,borderColor:f,dimensionNames:h?h.fullDimensions:null,encode:h?h.encode:null,$vars:["seriesName","name","value"]}},e.prototype.getFormattedLabel=function(t,r,i,n,a,o){r=r||"normal";var s=this.getData(i),u=this.getDataParams(t,i);if(o&&(u.value=o.interpolatedValue),n!=null&&N(u.value)&&(u.value=u.value[n]),!a){var l=s.getItemModel(t);a=l.get(r==="normal"?["label","formatter"]:[r,"label","formatter"])}if(H(a))return u.status=r,u.dimensionIndex=n,a(u);if(U(a)){var f=$u(a,u);return f.replace(lC,function(c,p){var h=p.length,v=p;v.charAt(0)==="["&&v.charAt(h-1)==="]"&&(v=+v.slice(1,h-1));var m=va(s,t,v);if(o&&N(o.interpolatedValue)){var d=s.getDimensionIndex(v);d>=0&&(m=o.interpolatedValue[d])}return m!=null?m+"":""})}},e.prototype.getRawValue=function(t,r){return va(this.getData(r),t)},e.prototype.formatTooltip=function(t,r,i){},e})()});function si(e){return new fC(e)}var fC,L0,ll=M(()=>{"use strict";P();fC=(function(){function e(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return e.prototype.perform=function(t){var r=this._upstream,i=t&&t.skip;if(this._dirty&&r){var n=this.context;n.data=n.outputData=r.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var a;this._plan&&!i&&(a=this._plan(this.context));var o=f(this._modBy),s=this._modDataCount||0,u=f(t&&t.modBy),l=t&&t.modDataCount||0;(o!==u||s!==l)&&(a="reset");function f(_){return!(_>=1)&&(_=1),_}var c;(this._dirty||a==="reset")&&(this._dirty=!1,c=this._doReset(i)),this._modBy=u,this._modDataCount=l;var p=t&&t.step;if(r?this._dueEnd=r._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var h=this._dueIndex,v=Math.min(p!=null?this._dueIndex+p:1/0,this._dueEnd);if(!i&&(c||h1&&i>0?s:o}};return a;function o(){return t=e?null:u{"use strict";Ot();P();Xc();cC=V({number:function(e){return parseFloat(e)},time:function(e){return+Nt(e)},trim:function(e){return U(e)?Wt(e):e}});R0={lt:function(e,t){return et},gte:function(e,t){return e>=t}},hC=(function(){function e(t,r){if(!ot(r)){var i="";jt(i)}this._opFn=R0[t],this._rvalFloat=He(r)}return e.prototype.evaluate=function(t){return ot(t)?this._opFn(t,this._rvalFloat):this._opFn(He(t),this._rvalFloat)},e})(),O0=(function(){function e(t,r){var i=t==="desc";this._resultLT=i?1:-1,r==null&&(r=i?"min":"max"),this._incomparable=r==="min"?-1/0:1/0}return e.prototype.evaluate=function(t,r){var i=ot(t)?t:He(t),n=ot(r)?r:He(r),a=isNaN(i),o=isNaN(n);if(a&&(i=this._incomparable),o&&(n=this._incomparable),a&&o){var s=U(t),u=U(r);s&&(i=u?t:0),u&&(n=s?r:0)}return in?-this._resultLT:0},e})(),pC=(function(){function e(t,r){this._rval=r,this._isEQ=t,this._rvalTypeof=typeof r,this._rvalFloat=He(r)}return e.prototype.evaluate=function(t){var r=t===this._rval;if(!r){var i=typeof t;i!==this._rvalTypeof&&(i==="number"||this._rvalTypeof==="number")&&(r=He(t)===this._rvalFloat)}return this._isEQ?r:!r},e})()});function dC(e,t){var r=new vC,i=e.data,n=r.sourceFormat=e.sourceFormat,a=e.startIndex,o="";e.seriesLayoutBy!==de&&jt(o);var s=[],u={},l=e.dimensionsDefine;if(l)S(l,function(m,d){var g=m.name,_={index:d,name:g,displayName:m.displayName};if(s.push(_),g!=null){var y="";xe(u,g)&&jt(y),u[g]=_}});else for(var f=0;f{"use strict";Je();lt();P();da();fl();Xc();zr();vC=(function(){function e(){}return e.prototype.getRawData=function(){throw new Error("not supported")},e.prototype.getRawDataItem=function(t){throw new Error("not supported")},e.prototype.cloneRawData=function(){},e.prototype.getDimensionInfo=function(t){},e.prototype.cloneAllDimensionInfo=function(){},e.prototype.count=function(){},e.prototype.retrieveValue=function(t,r){},e.prototype.retrieveValueFromItem=function(t,r){},e.prototype.convertValue=function(t,r){return ma(t,r)},e})();A0=V()});function ga(e){return e>65535?SC:wC}function _a(){return[1/0,-1/0]}function bC(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function k0(e,t,r,i,n){var a=F0[r||"float"];if(n){var o=e[t],s=o&&o.length;if(s!==i){for(var u=new a(i),l=0;l{"use strict";P();fl();zr();cl="undefined",SC=typeof Uint32Array===cl?Array:Uint32Array,wC=typeof Uint16Array===cl?Array:Uint16Array,hp=typeof Int32Array===cl?Array:Int32Array,N0=typeof Float64Array===cl?Array:Float64Array,F0={float:N0,int:hp,ordinal:Array,number:Array,time:N0};TC=(function(){function e(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=V()}return e.prototype.initData=function(t,r,i){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var n=t.getSource(),a=this.defaultDimValueGetter=cp[n.sourceFormat];this._dimValueGetter=i||a,this._rawExtent=[];var o=sl(n);this._dimensions=F(r,function(s){return{type:s.type,property:s.property}}),this._initDataFromProvider(0,t.count())},e.prototype.getProvider=function(){return this._provider},e.prototype.getSource=function(){return this._provider.getSource()},e.prototype.ensureCalculationDimension=function(t,r){var i=this._calcDimNameToIdx,n=this._dimensions,a=i.get(t);if(a!=null){if(n[a].type===r)return a}else a=n.length;return n[a]={type:r},i.set(t,a),this._chunks[a]=new F0[r||"float"](this._rawCount),this._rawExtent[a]=_a(),a},e.prototype.collectOrdinalMeta=function(t,r){var i=this._chunks[t],n=this._dimensions[t],a=this._rawExtent,o=n.ordinalOffset||0,s=i.length;o===0&&(a[t]=_a());for(var u=a[t],l=o;ld[1]&&(d[1]=m)}return this._rawCount=this._count=u,{start:s,end:u}},e.prototype._initDataFromProvider=function(t,r,i){for(var n=this._provider,a=this._chunks,o=this._dimensions,s=o.length,u=this._rawExtent,l=F(o,function(_){return _.property}),f=0;fg[1]&&(g[1]=d)}}!n.persistent&&n.clean&&n.clean(),this._rawCount=this._count=r,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(t,r){if(!(r>=0&&r=0&&r=this._rawCount||t<0)return-1;if(!this._indices)return t;var r=this._indices,i=r[t];if(i!=null&&it)a=o-1;else return o}return-1},e.prototype.indicesOfNearest=function(t,r,i){var n=this._chunks,a=n[t],o=[];if(!a)return o;i==null&&(i=1/0);for(var s=1/0,u=-1,l=0,f=0,c=this.count();f=0&&u<0)&&(s=v,u=h,l=0),h===u&&(o[l++]=f))}return o.length=l,o},e.prototype.getIndices=function(){var t,r=this._indices;if(r){var i=r.constructor,n=this._count;if(i===Array){t=new i(n);for(var a=0;a=c&&_<=p||isNaN(_))&&(u[l++]=m),m++}v=!0}else if(a===2){for(var d=h[n[0]],y=h[n[1]],x=t[n[1]][0],b=t[n[1]][1],g=0;g=c&&_<=p||isNaN(_))&&(w>=x&&w<=b||isNaN(w))&&(u[l++]=m),m++}v=!0}}if(!v)if(a===1)for(var g=0;g=c&&_<=p||isNaN(_))&&(u[l++]=T)}else for(var g=0;gt[L][1])&&(C=!1)}C&&(u[l++]=r.getRawIndex(g))}return lg[1]&&(g[1]=d)}}}},e.prototype.lttbDownSample=function(t,r){var i=this.clone([t],!0),n=i._chunks,a=n[t],o=this.count(),s=0,u=Math.floor(1/r),l=this.getRawIndex(0),f,c,p,h=new(ga(this._rawCount))(Math.min((Math.ceil(o/u)+2)*2,o));h[s++]=l;for(var v=1;vf&&(f=c,p=x)}E>0&&Es&&(m=s-f);for(var d=0;dv&&(v=_,h=f+d)}var y=this.getRawIndex(c),x=this.getRawIndex(h);cf-v&&(u=f-v,s.length=u);for(var m=0;mc[1]&&(c[1]=g),p[h++]=_}return a._count=h,a._indices=p,a._updateGetRawIdx(),a},e.prototype.each=function(t,r){if(this._count)for(var i=t.length,n=this._chunks,a=0,o=this.count();au&&(u=c)}return o=[s,u],this._extent[t]=o,o},e.prototype.getRawDataItem=function(t){var r=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(r);for(var i=[],n=this._chunks,a=0;a=0?this._indices[t]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=(function(){function t(r,i,n,a){return ma(r[a],this._dimensions[a])}cp={arrayRows:t,objectRows:function(r,i,n,a){return ma(r[i],this._dimensions[a])},keyedColumns:t,original:function(r,i,n,a){var o=r&&(r.value==null?r:r.value);return ma(o instanceof Array?o[a]:o,this._dimensions[a])},typedArray:function(r,i,n,a){return r[a]}}})(),e})(),Po=TC});function pp(e){var t=e.option.transform;t&&Gr(e.option.transform)}function pl(e){return e.mainType==="series"}function z0(e){throw new Error(e)}var vl,vp=M(()=>{"use strict";P();zr();Je();ca();fp();hl();da();vl=(function(){function e(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return e.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},e.prototype._setLocalSource=function(t,r){this._sourceList=t,this._upstreamSignList=r,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var t=this._sourceHost,r=this._getUpstreamSourceManagers(),i=!!r.length,n,a;if(pl(t)){var o=t,s=void 0,u=void 0,l=void 0;if(i){var f=r[0];f.prepareSource(),l=f.getSource(),s=l.data,u=l.sourceFormat,a=[f._getVersionSign()]}else s=o.get("data",!0),u=yt(s)?Ee:kt,a=[];var c=this._getSourceMetaRawOption()||{},p=l&&l.metaRawOption||{},h=W(c.seriesLayoutBy,p.seriesLayoutBy)||null,v=W(c.sourceHeader,p.sourceHeader),m=W(c.dimensions,p.dimensions),d=h!==p.seriesLayoutBy||!!v!=!!p.sourceHeader||m;n=d?[Ao(s,{seriesLayoutBy:h,sourceHeader:v,dimensions:m},u)]:[]}else{var g=t;if(i){var _=this._applyTransform(r);n=_.sourceList,a=_.upstreamSignList}else{var y=g.get("source",!0);n=[Ao(y,this._getSourceMetaRawOption(),null)],a=[]}}this._setLocalSource(n,a)},e.prototype._applyTransform=function(t){var r=this._sourceHost,i=r.get("transform",!0),n=r.get("fromTransformResult",!0);if(n!=null){var a="";t.length!==1&&z0(a)}var o,s=[],u=[];return S(t,function(l){l.prepareSource();var f=l.getSource(n||0),c="";n!=null&&!f&&z0(c),s.push(f),u.push(l._getVersionSign())}),i?o=I0(i,s,{datasetIndex:r.componentIndex}):n!=null&&(o=[w0(s[0])]),{sourceList:o,upstreamSignList:u}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),r=0;r1||r>0&&!e.noHeader;return S(e.blocks,function(n){var a=H0(n);a>=t&&(t=a+ +(i&&(!a||dp(n)&&!n.noHeader)))}),t}return 0}function EC(e,t,r,i){var n=t.noHeader,a=RC(H0(t)),o=[],s=t.blocks||[];Lt(!s||N(s)),s=s||[];var u=e.orderMode;if(t.sortBlocks&&u){s=s.slice();var l={valueAsc:"asc",valueDesc:"desc"};if(xe(l,u)){var f=new O0(l[u],null);s.sort(function(m,d){return f.evaluate(m.sortParam,d.sortParam)})}else u==="seriesDesc"&&s.reverse()}S(s,function(m,d){var g=t.valueFormatter,_=V0(m)(g?A(A({},e),{valueFormatter:g}):e,m,d>0?a.html:0,i);_!=null&&o.push(_)});var c=e.renderMode==="richText"?o.join(a.richText):mp(i,o.join(""),n?r:a.html);if(n)return c;var p=Qu(t.header,"ordinal",e.useUTC),h=B0(i,e.renderMode).nameStyle,v=U0(i);return e.renderMode==="richText"?G0(e,p,h)+a.richText+c:mp(i,'
'+It(p)+"
"+c,r)}function LC(e,t,r,i){var n=e.renderMode,a=t.noName,o=t.noValue,s=!t.markerType,u=t.name,l=e.useUTC,f=t.valueFormatter||e.valueFormatter||function(x){return x=N(x)?x:[x],F(x,function(b,w){return Qu(b,N(h)?h[w]:h,l)})};if(!(a&&o)){var c=s?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",n),p=a?"":Qu(u,"ordinal",l),h=t.valueType,v=o?[]:f(t.value,t.dataIndex),m=!s||!a,d=!s&&a,g=B0(i,n),_=g.nameStyle,y=g.valueStyle;return n==="richText"?(s?"":c)+(a?"":G0(e,p,_))+(o?"":PC(e,v,m,d,y)):mp(i,(s?"":c)+(a?"":OC(p,!s,_))+(o?"":AC(v,m,d,y)),r)}}function gz(e,t,r,i,n,a){if(e){var o=V0(e),s={useUTC:n,renderMode:r,orderMode:i,markupStyleCreator:t,valueFormatter:e.valueFormatter};return o(s,e,0,a)}}function RC(e){return{html:DC[e],richText:CC[e]}}function mp(e,t,r){var i='
',n="margin: "+r+"px 0 0",a=U0(e);return'
'+t+i+"
"}function OC(e,t,r){var i=t?"margin-left:2px":"";return''+It(e)+""}function AC(e,t,r,i){var n=r?"10px":"20px",a=t?"float:right;margin-left:"+n:"";return e=N(e)?e:[e],''+F(e,function(o){return It(o)}).join("  ")+""}function G0(e,t,r){return e.markupStyleCreator.wrapRichTextStyle(t,r)}function PC(e,t,r,i,n){var a=[n],o=i?10:20;return r&&a.push({padding:[0,0,0,o],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(N(t)?t.join(" "):t,a)}function Y0(e,t){var r=e.getData().getItemVisual(t,"style"),i=r[e.visualDrawType];return c0(i)}function _z(e,t){var r=e.get("padding");return r??(t==="richText"?[8,10]:10)}var MC,DC,CC,yz,W0=M(()=>{"use strict";oa();P();fl();Ot();MC="line-height:1";DC=[0,10,20,30],CC=["",` +`,` + +`,` + + +`];yz=(function(){function e(){this.richTextStyles={},this._nextStyleNameId=du()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(t,r,i){var n=i==="richText"?this._generateStyleName():null,a=Ju({color:r,type:t,renderMode:i,markerId:n});return U(a)?a:(this.richTextStyles[n]=a.style,a.content)},e.prototype.wrapRichTextStyle=function(t,r){var i={};N(r)?S(r,function(a){return A(i,a)}):A(i,r);var n=this._generateStyleName();return this.richTextStyles[n]=i,"{"+n+"|"+t+"}"},e})()});function q0(e){var t=e.series,r=e.dataIndex,i=e.multipleSeries,n=t.getData(),a=n.mapDimensionsAll("defaultedTooltip"),o=a.length,s=t.getRawValue(r),u=N(s),l=Y0(t,r),f,c,p,h;if(o>1||u&&!o){var v=IC(s,t,r,a,l);f=v.inlineValues,c=v.inlineValueTypes,p=v.blocks,h=v.inlineValues[0]}else if(o){var m=n.getDimensionInfo(a[0]);h=f=va(n,r,a[0]),c=m.type}else h=f=u?s[0]:s;var d=gu(t),g=d&&t.name||"",_=n.getName(r),y=i?g:_;return dl("section",{header:g,noHeader:i||!d,sortParam:h,blocks:[dl("nameValue",{markerType:"item",markerColor:l,name:y,noName:!Wt(y),value:f,valueType:c,dataIndex:r})].concat(p||[])})}function IC(e,t,r,i,n){var a=t.getData(),o=Yt(e,function(c,p,h){var v=a.getDimensionInfo(h);return c=c||v&&v.tooltip!==!1&&v.displayName!=null},!1),s=[],u=[],l=[];i.length?S(i,function(c){f(va(a,r,c),c)}):S(e,f);function f(c,p){var h=a.getDimensionInfo(p);!h||h.otherDims.tooltip===!1||(o?l.push(dl("nameValue",{markerType:"subItem",markerColor:n,name:h.displayName,value:c,valueType:h.type})):(s.push(c),u.push(h.type)))}return{inlineValues:s,inlineValueTypes:u,blocks:l}}var X0=M(()=>{"use strict";P();W0();da();lt()});function ml(e,t){return e.getName(t)||e.getId(t)}function Z0(e){var t=e.name;gu(e)||(e.name=kC(e)||t)}function kC(e){var t=e.getRawData(),r=t.mapDimensionsAll("seriesName"),i=[];return S(r,function(n){var a=t.getDimensionInfo(n);a.displayName&&i.push(a.displayName)}),i.join(" ")}function FC(e){return e.model.getRawData().count()}function zC(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),UC}function UC(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function j0(e,t){S(gf(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(r){e.wrapMethod(r,nr(BC,t))})}function BC(e,t){var r=gp(e);return r&&r.setOutputEnd((t||this).count()),t}function gp(e){var t=(e.ecModel||{}).scheduler,r=t&&t.getPipeline(e.uid);if(r){var i=r.currentTask;if(i){var n=i.agentStubMap;n&&(i=n.get(e.uid))}return i}}var ui,NC,gl,Ur,_l=M(()=>{"use strict";Fe();P();re();lt();fa();ep();E0();rl();ll();ur();vp();X0();ui=st();NC="__universalTransitionEnabled",gl=(function(e){mt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r._selectedDataIndicesMap={},r}return t.prototype.init=function(r,i,n){this.seriesIndex=this.componentIndex,this.dataTask=si({count:FC,reset:zC}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(r,n);var a=ui(this).sourceManager=new vl(this);a.prepareSource();var o=this.getInitialData(r,n);j0(o,this),this.dataTask.context.data=o,ui(this).dataBeforeProcessed=o,Z0(this),this._initSelectedMapFromData(o)},t.prototype.mergeDefaultAndTheme=function(r,i){var n=sa(this),a=n?el(r):{},o=this.subType;_t.hasClass(o)&&(o+="Series"),at(r,i.getTheme().get(this.subType)),at(r,this.getDefaultOption()),Zc(r,"label",["show"]),this.fillDataTextStyle(r.data),n&&ua(r,a,n)},t.prototype.mergeOption=function(r,i){r=at(this.option,r,!0),this.fillDataTextStyle(r.data);var n=sa(this);n&&ua(this.option,r,n);var a=ui(this).sourceManager;a.dirty(),a.prepareSource();var o=this.getInitialData(r,i);j0(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,ui(this).dataBeforeProcessed=o,Z0(this),this._initSelectedMapFromData(o)},t.prototype.fillDataTextStyle=function(r){if(r&&!yt(r))for(var i=["show"],n=0;nthis.getShallow("animationThreshold")&&(i=!1),!!i},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(r,i,n){var a=this.ecModel,o=Oo.prototype.getColorFromPalette.call(this,r,i,n);return o||(o=a.getColorFromPalette(r,i,n)),o},t.prototype.coordDimToDataDim=function(r){return this.getRawData().mapDimensionsAll(r)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(r,i){this._innerSelect(this.getData(i),r)},t.prototype.unselect=function(r,i){var n=this.option.selectedMap;if(n){var a=this.option.selectedMode,o=this.getData(i);if(a==="series"||n==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var s=0;s=0&&n.push(o)}return n},t.prototype.isSelected=function(r,i){var n=this.option.selectedMap;if(!n)return!1;var a=this.getData(i);return(n==="all"||n[ml(a,r)])&&!a.getItemModel(r).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[NC])return!0;var r=this.option.universalTransition;return r?r===!0?!0:r&&r.enabled:!1},t.prototype._innerSelect=function(r,i){var n,a,o=this.option,s=o.selectedMode,u=i.length;if(!(!s||!u)){if(s==="series")o.selectedMap="all";else if(s==="multiple"){z(o.selectedMap)||(o.selectedMap={});for(var l=o.selectedMap,f=0;f0&&this._innerSelect(r,i)}},t.registerClass=function(r){return _t.registerClass(r)},t.protoInitialize=(function(){var r=t.prototype;r.type="series.__base__",r.seriesIndex=0,r.ignoreStyleOnData=!1,r.hasSymbolVisual=!1,r.defaultSymbol="circle",r.visualStyleAccessPath="itemStyle",r.visualDrawType="fill"})(),t})(_t);Gt(gl,C0);Gt(gl,Oo);iu(gl,_t);Ur=gl});var _p,gr,Io=M(()=>{"use strict";Ka();bo();ur();_p=(function(){function e(){this.group=new ke,this.uid=oi("viewComponent")}return e.prototype.init=function(t,r){},e.prototype.render=function(t,r,i,n){},e.prototype.dispose=function(t,r){},e.prototype.updateView=function(t,r,i,n){},e.prototype.updateLayout=function(t,r,i,n){},e.prototype.updateVisual=function(t,r,i,n){},e.prototype.toggleBlurSeries=function(t,r,i){},e.prototype.eachRendered=function(t){var r=this.group;r&&r.traverse(t)},e})();Vn(_p);ti(_p);gr=_p});function No(){var e=st();return function(t){var r=e(t),i=t.pipelineContext,n=!!r.large,a=!!r.progressiveRender,o=r.large=!!(i&&i.large),s=r.progressiveRender=!!(i&&i.progressiveRender);return(n!==o||a!==s)&&"reset"}}var yp=M(()=>{"use strict";lt()});function K0(e,t,r){e&&co(e)&&(t==="emphasis"?lo:fo)(e,r)}function Q0(e,t,r){var i=Ji(e,t),n=t&&t.highlightKey!=null?N_(t.highlightKey):null;i!=null?S(gt(i),function(a){K0(e.getItemGraphicEl(a),r,n)}):e.eachItemGraphicEl(function(a){K0(a,r,n)})}function HC(e){return VC(e.model)}function GC(e){var t=e.model,r=e.ecModel,i=e.api,n=e.payload,a=t.pipelineContext.progressiveRender,o=e.view,s=n&&$0(n).updateMethod,u=a?"incrementalPrepareRender":s&&o[s]?s:"render";return u!=="render"&&o[u](t,r,i,n),YC[u]}var $0,VC,xp,YC,_r,yl=M(()=>{"use strict";P();Ka();bo();ur();lt();$n();ll();yp();$e();$0=st(),VC=No(),xp=(function(){function e(){this.group=new ke,this.uid=oi("viewChart"),this.renderTask=si({plan:HC,reset:GC}),this.renderTask.context={view:this}}return e.prototype.init=function(t,r){},e.prototype.render=function(t,r,i,n){},e.prototype.highlight=function(t,r,i,n){var a=t.getData(n&&n.dataType);a&&Q0(a,n,"emphasis")},e.prototype.downplay=function(t,r,i,n){var a=t.getData(n&&n.dataType);a&&Q0(a,n,"normal")},e.prototype.remove=function(t,r){this.group.removeAll()},e.prototype.dispose=function(t,r){},e.prototype.updateView=function(t,r,i,n){this.render(t,r,i,n)},e.prototype.updateLayout=function(t,r,i,n){this.render(t,r,i,n)},e.prototype.updateVisual=function(t,r,i,n){this.render(t,r,i,n)},e.prototype.eachRendered=function(t){Eh(this.group,t)},e.markUpdateMethod=function(t,r){$0(t).updateMethod=r},e.protoInitialize=(function(){var t=e.prototype;t.type="chart"})(),e})();Vn(xp,["dispose"]);ti(xp);YC={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}},_r=xp});function Sl(e,t,r){var i,n=0,a=0,o=null,s,u,l,f;t=t||0;function c(){a=new Date().getTime(),o=null,e.apply(u,l||[])}var p=function(){for(var h=[],v=0;v=0?c():o=setTimeout(c,-s),n=i};return p.clear=function(){o&&(clearTimeout(o),o=null)},p.debounceNextCall=function(h){f=h},p}function Zz(e,t,r,i){var n=e[t];if(n){var a=n[xl]||n,o=n[tx],s=n[J0];if(s!==r||o!==i){if(r==null||!i)return e[t]=a;n=e[t]=Sl(a,r,i==="debounce"),n[xl]=a,n[tx]=i,n[J0]=r}return n}}function jz(e,t){var r=e[t];r&&r[xl]&&(r.clear&&r.clear(),e[t]=r[xl])}var xl,J0,tx,Sp=M(()=>{"use strict";xl="\0__throttleOriginMethod",J0="\0__throttleRate",tx="\0__throttleType"});function gn(e){return isFinite(e)}function WC(e,t,r){var i=t.x==null?0:t.x,n=t.x2==null?1:t.x2,a=t.y==null?0:t.y,o=t.y2==null?0:t.y2;t.global||(i=i*r.width+r.x,n=n*r.width+r.x,a=a*r.height+r.y,o=o*r.height+r.y),i=gn(i)?i:0,n=gn(n)?n:1,a=gn(a)?a:0,o=gn(o)?o:0;var s=e.createLinearGradient(i,a,n,o);return s}function qC(e,t,r){var i=r.width,n=r.height,a=Math.min(i,n),o=t.x==null?.5:t.x,s=t.y==null?.5:t.y,u=t.r==null?.5:t.r;t.global||(o=o*i+r.x,s=s*n+r.y,u=u*a),o=gn(o)?o:.5,s=gn(s)?s:.5,u=u>=0&&gn(u)?u:.5;var l=e.createRadialGradient(o,s,0,o,s,u);return l}function ko(e,t,r){for(var i=t.type==="radial"?qC(e,t,r):WC(e,t,r),n=t.colorStops,a=0;a{"use strict"});function XC(e,t){return!e||e==="solid"||!(t>0)?null:e==="dashed"?[4*t,2*t]:e==="dotted"?[t]:ot(e)?[e]:N(e)?e:null}function wp(e){var t=e.style,r=t.lineDash&&t.lineWidth>0&&XC(t.lineDash,t.lineWidth),i=t.lineDashOffset;if(r){var n=t.strokeNoScale&&e.getLineScale?e.getLineScale():1;n&&n!==1&&(r=F(r,function(a){return a/n}),i/=n)}return[r,i]}var rx=M(()=>{"use strict";P()});function Tl(e){var t=e.stroke;return!(t==null||t==="none"||!(e.lineWidth>0))}function ix(e){return typeof e=="string"&&e!=="none"}function Ml(e){var t=e.fill;return t!=null&&t!=="none"}function nx(e,t){if(t.fillOpacity!=null&&t.fillOpacity!==1){var r=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=r}else e.fill()}function ax(e,t){if(t.strokeOpacity!=null&&t.strokeOpacity!==1){var r=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=r}else e.stroke()}function Dl(e,t,r){var i=wc(t.image,t.__image,r);if(Hn(i)){var n=e.createPattern(i,t.repeat||"repeat");if(typeof DOMMatrix=="function"&&n&&n.setTransform){var a=new DOMMatrix;a.translateSelf(t.x||0,t.y||0),a.rotateSelf(0,0,(t.rotation||0)*wi),a.scaleSelf(t.scaleX||1,t.scaleY||1),n.setTransform(a)}return n}}function jC(e,t,r,i){var n,a=Tl(r),o=Ml(r),s=r.strokePercent,u=s<1,l=!t.path;(!t.silent||u)&&l&&t.createPathProxy();var f=t.path||ZC,c=t.__dirty;if(!i){var p=r.fill,h=r.stroke,v=o&&!!p.colorStops,m=a&&!!h.colorStops,d=o&&!!p.image,g=a&&!!h.image,_=void 0,y=void 0,x=void 0,b=void 0,w=void 0;(v||m)&&(w=t.getBoundingRect()),v&&(_=c?ko(e,p,w):t.__canvasFillGradient,t.__canvasFillGradient=_),m&&(y=c?ko(e,h,w):t.__canvasStrokeGradient,t.__canvasStrokeGradient=y),d&&(x=c||!t.__canvasFillPattern?Dl(e,p,t):t.__canvasFillPattern,t.__canvasFillPattern=x),g&&(b=c||!t.__canvasStrokePattern?Dl(e,h,t):t.__canvasStrokePattern,t.__canvasStrokePattern=x),v?e.fillStyle=_:d&&(x?e.fillStyle=x:o=!1),m?e.strokeStyle=y:g&&(b?e.strokeStyle=b:a=!1)}var T=t.getGlobalScale();f.setScale(T[0],T[1],t.segmentIgnoreThreshold);var C,D;e.setLineDash&&r.lineDash&&(n=wp(t),C=n[0],D=n[1]);var L=!0;(l||c&jr)&&(f.setDPR(e.dpr),u?f.setContext(null):(f.setContext(e),L=!1),f.reset(),t.buildPath(f,t.shape,i),f.toStatic(),t.pathUpdated()),L&&f.rebuildPath(e,u?s:1),C&&(e.setLineDash(C),e.lineDashOffset=D),i||(r.strokeFirst?(a&&ax(e,r),o&&nx(e,r)):(o&&nx(e,r),a&&ax(e,r))),C&&e.setLineDash([])}function KC(e,t,r){var i=t.__image=wc(r.image,t.__image,t,t.onload);if(!(!i||!Hn(i))){var n=r.x||0,a=r.y||0,o=t.getWidth(),s=t.getHeight(),u=i.width/i.height;if(o==null&&s!=null?o=s*u:s==null&&o!=null?s=o/u:o==null&&s==null&&(o=i.width,s=i.height),r.sWidth&&r.sHeight){var l=r.sx||0,f=r.sy||0;e.drawImage(i,l,f,r.sWidth,r.sHeight,n,a,o,s)}else if(r.sx&&r.sy){var l=r.sx,f=r.sy,c=o-l,p=s-f;e.drawImage(i,l,f,c,p,n,a,o,s)}else e.drawImage(i,n,a,o,s)}}function QC(e,t,r){var i,n=r.text;if(n!=null&&(n+=""),n){e.font=r.font||Xe,e.textAlign=r.textAlign,e.textBaseline=r.textBaseline;var a=void 0,o=void 0;e.setLineDash&&r.lineDash&&(i=wp(t),a=i[0],o=i[1]),a&&(e.setLineDash(a),e.lineDashOffset=o),r.strokeFirst?(Tl(r)&&e.strokeText(n,r.x,r.y),Ml(r)&&e.fillText(n,r.x,r.y)):(Ml(r)&&e.fillText(n,r.x,r.y),Tl(r)&&e.strokeText(n,r.x,r.y)),a&&e.setLineDash([])}}function px(e,t,r,i,n){var a=!1;if(!i&&(r=r||{},t===r))return!1;if(i||t.opacity!==r.opacity){me(e,n),a=!0;var o=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(o)?fr.opacity:o}(i||t.blend!==r.blend)&&(a||(me(e,n),a=!0),e.globalCompositeOperation=t.blend||fr.blend);for(var s=0;s{"use strict";Yi();Ki();bc();bl();Vt();uu();Hc();P();rx();Kr();Ze();ZC=new be(!0);ox=["shadowBlur","shadowOffsetX","shadowOffsetY"],sx=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];lx=1,fx=2,cx=3,hx=4});var dx,ya,mx,gx=M(()=>{"use strict";dx="";typeof navigator<"u"&&(dx=navigator.platform||"");ya="rgba(0, 0, 0, 0.2)",mx={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:ya,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:ya,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:ya,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:ya,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:ya,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:ya,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:dx.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1}});function vU(e,t){Lt(bp.get(e)==null&&t),bp.set(e,t)}function _x(e,t,r){var i=bp.get(t);if(!i)return r;var n=i(e);if(!n)return r;if(0)for(var a;a{"use strict";P();bp=V()});function nE(e,t){if(t){var r=t.seriesIndex,i=t.seriesId,n=t.seriesName;return r!=null&&e.componentIndex!==r||i!=null&&e.id!==i||n!=null&&e.name!==n}}function aE(e,t){var r=e.color&&!e.colorLayer;S(t,function(i,n){n==="colorLayer"&&r||_t.hasClass(n)||(typeof i=="object"?e[n]=e[n]?at(e[n],i,!1):$(i):e[n]==null&&(e[n]=i))})}function bx(e,t,r){if(N(t)){var i=V();return S(t,function(a){if(a!=null){var o=pe(a,null);o!=null&&i.set(a,!0)}}),pt(r,function(a){return a&&i.get(a[e])})}else{var n=pe(t,null);return pt(r,function(a){return a&&n!=null&&a[e]===n})}}function Tx(e,t){return t.hasOwnProperty("subType")?pt(e,function(r){return r&&r.subType===t.subType}):e}function Mx(e){var t=V();return e&&S(gt(e.replaceMerge),function(r){t.set(r,!0)}),{replaceMergeMainTypeMap:t}}var Cl,Vo,xx,Sx,iE,Dx,El,Tp=M(()=>{"use strict";Fe();P();lt();kr();fa();gx();ca();yx();ep();Sx="\0_ec_inner",iE=1,Dx=(function(e){mt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(r,i,n,a,o,s){a=a||{},this.option=null,this._theme=new At(a),this._locale=new At(o),this._optionManager=s},t.prototype.setOption=function(r,i,n){var a=Mx(i);this._optionManager.setOption(r,n,a),this._resetOption(null,a)},t.prototype.resetOption=function(r,i){return this._resetOption(r,Mx(i))},t.prototype._resetOption=function(r,i){var n=!1,a=this._optionManager;if(!r||r==="recreate"){var o=a.mountOption(r==="recreate");!this.option||r==="recreate"?xx(this,o):(this.restoreData(),this._mergeOption(o,i)),n=!0}if((r==="timeline"||r==="media")&&this.restoreData(),!r||r==="recreate"||r==="timeline"){var s=a.getTimelineOption(this);s&&(n=!0,this._mergeOption(s,i))}if(!r||r==="recreate"||r==="media"){var u=a.getMediaOption(this);u.length&&S(u,function(l){n=!0,this._mergeOption(l,i)},this)}return n},t.prototype.mergeOption=function(r){this._mergeOption(r,null)},t.prototype._mergeOption=function(r,i){var n=this.option,a=this._componentsMap,o=this._componentsCount,s=[],u=V(),l=i&&i.replaceMergeMainTypeMap;m0(this),S(r,function(c,p){c!=null&&(_t.hasClass(p)?p&&(s.push(p),u.set(p,!0)):n[p]=n[p]==null?$(c):at(n[p],c,!0))}),l&&l.each(function(c,p){_t.hasClass(p)&&!u.get(p)&&(s.push(p),u.set(p,!0))}),_t.topologicalTravel(s,_t.getAllClassMainTypes(),f,this);function f(c){var p=_x(this,c,gt(r[c])),h=a.get(c),v=h?l&&l.get(c)?"replaceMerge":"normalMerge":"replaceAll",m=c_(h,p,v);p_(m,c,_t),n[c]=null,a.set(c,null),o.set(c,0);var d=[],g=[],_=0,y,x;S(m,function(b,w){var T=b.existing,C=b.newOption;if(!C)T&&(T.mergeOption({},this),T.optionUpdated({},!1));else{var D=c==="series",L=_t.getClass(c,b.keyInfo.subType,!D);if(!L){if(0)var E,R;return}if(c==="tooltip"){if(y)return;y=!0}if(T&&T.constructor===L)T.name=b.keyInfo.name,T.mergeOption(C,this),T.optionUpdated(C,!1);else{var O=A({componentIndex:w},b.keyInfo);T=new L(C,this,this,O),A(T,O),b.brandNew&&(T.__requireNewView=!0),T.init(C,this,this),T.optionUpdated(null,!0)}}T?(d.push(T.option),g.push(T),_++):(d.push(void 0),g.push(void 0))},this),n[c]=d,a.set(c,g),o.set(c,_),c==="series"&&Cl(this)}this._seriesIndices||Cl(this)},t.prototype.getOption=function(){var r=$(this.option);return S(r,function(i,n){if(_t.hasClass(n)){for(var a=gt(i),o=a.length,s=!1,u=o-1;u>=0;u--)a[u]&&!qn(a[u])?s=!0:(a[u]=null,!s&&o--);a.length=o,r[n]=a}}),delete r[Sx],r},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(r){this._payload=r},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(r,i){var n=this._componentsMap.get(r);if(n){var a=n[i||0];if(a)return a;if(i==null){for(var o=0;o{"use strict";P();oE=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],sE=(function(){function e(t){S(oE,function(r){this[r]=wt(t[r],t)},this)}return e})(),Ll=sE});var Dp,uE,xa,Cp=M(()=>{"use strict";P();Dp={},uE=(function(){function e(){this._coordinateSystems=[]}return e.prototype.create=function(t,r){var i=[];S(Dp,function(n,a){var o=n.create(t,r);i=i.concat(o||[])}),this._coordinateSystems=i},e.prototype.update=function(t,r){S(this._coordinateSystems,function(i){i.update&&i.update(t,r)})},e.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},e.register=function(t,r){Dp[t]=r},e.get=function(t){return Dp[t]},e})(),xa=uE});function cE(e,t,r){var i=[],n,a,o=e.baseOption,s=e.timeline,u=e.options,l=e.media,f=!!e.media,c=!!(u||s||o&&o.timeline);o?(a=o,a.timeline||(a.timeline=s)):((c||f)&&(e.options=e.media=null),a=e),f&&N(l)&&S(l,function(h){h&&h.option&&(h.query?i.push(h):n||(n=h))}),p(a),S(u,function(h){return p(h)}),S(i,function(h){return p(h.option)});function p(h){S(t,function(v){v(h,r)})}return{baseOption:a,timelineOptions:u||[],mediaDefault:n,mediaList:i}}function hE(e,t,r){var i={width:t,height:r,aspectratio:t/r},n=!0;return S(e,function(a,o){var s=o.match(lE);if(!(!s||!s[1]||!s[2])){var u=s[1],l=s[2].toLowerCase();pE(i[l],a,u)||(n=!1)}}),n}function pE(e,t,r){return r==="min"?e>=t:r==="max"?e<=t:e===t}function vE(e,t){return e.join(",")===t.join(",")}var lE,fE,Cx,Ex=M(()=>{"use strict";lt();P();lE=/^(min|max)?(.+)$/,fE=(function(){function e(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return e.prototype.setOption=function(t,r,i){t&&(S(gt(t.series),function(o){o&&o.data&&yt(o.data)&&Gr(o.data)}),S(gt(t.dataset),function(o){o&&o.source&&yt(o.source)&&Gr(o.source)})),t=$(t);var n=this._optionBackup,a=cE(t,r,!n);this._newBaseOption=a.baseOption,n?(a.timelineOptions.length&&(n.timelineOptions=a.timelineOptions),a.mediaList.length&&(n.mediaList=a.mediaList),a.mediaDefault&&(n.mediaDefault=a.mediaDefault)):this._optionBackup=a},e.prototype.mountOption=function(t){var r=this._optionBackup;return this._timelineOptions=r.timelineOptions,this._mediaList=r.mediaList,this._mediaDefault=r.mediaDefault,this._currentMediaIndices=[],$(t?r.baseOption:this._newBaseOption)},e.prototype.getTimelineOption=function(t){var r,i=this._timelineOptions;if(i.length){var n=t.getComponent("timeline");n&&(r=$(i[n.getCurrentIndex()]))}return r},e.prototype.getMediaOption=function(t){var r=this._api.getWidth(),i=this._api.getHeight(),n=this._mediaList,a=this._mediaDefault,o=[],s=[];if(!n.length&&!a)return s;for(var u=0,l=n.length;u{"use strict";P();lt();tr=S,Go=z,Lx=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"]});function mE(e,t){for(var r=t.split(","),i=e,n=0;n{"use strict";P();Ox();lt();_E=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],yE=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],Rp=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]]});function Op(e){var t=V();e.eachSeries(function(r){var i=r.get("stack");if(i){var n=t.get(i)||t.set(i,[]),a=r.getData(),o={stackResultDimension:a.getCalculationInfo("stackResultDimension"),stackedOverDimension:a.getCalculationInfo("stackedOverDimension"),stackedDimension:a.getCalculationInfo("stackedDimension"),stackedByDimension:a.getCalculationInfo("stackedByDimension"),isStackedByIndex:a.getCalculationInfo("isStackedByIndex"),data:a,seriesModel:r};if(!o.stackedDimension||!(o.isStackedByIndex||o.stackedByDimension))return;n.length&&a.setCalculationInfo("stackedOnSeries",n[n.length-1].seriesModel),n.push(o)}}),t.each(SE)}function SE(e){S(e,function(t,r){var i=[],n=[NaN,NaN],a=[t.stackResultDimension,t.stackedOverDimension],o=t.data,s=t.isStackedByIndex,u=t.seriesModel.get("stackStrategy")||"samesign";o.modify(a,function(l,f,c){var p=o.get(t.stackedDimension,c);if(isNaN(p))return n;var h,v;s?v=o.getRawIndex(c):h=o.get(t.stackedByDimension,c);for(var m=NaN,d=r-1;d>=0;d--){var g=e[d];if(s||(v=g.data.rawIndexOf(g.stackedByDimension,h)),v>=0){var _=g.data.getByRawIndex(g.stackResultDimension,v);if(u==="all"||u==="positive"&&_>0||u==="negative"&&_<0||u==="samesign"&&p>=0&&_>0||u==="samesign"&&p<=0&&_<0){p=Jg(p,_),m=_;break}}}return i[0]=p,i[1]=m,i})})}var Fx=M(()=>{"use strict";P();Ot()});function Bx(e,t){var r=e.visualStyleMapper||Ux[t];return r||(console.warn("Unknown style type '"+t+"'."),Ux.itemStyle)}function Vx(e,t){var r=e.visualDrawType||wE[t];return r||(console.warn("Unknown style type '"+t+"'."),"fill")}var zx,Ux,wE,Hx,Wo,Gx,Yx,Wx=M(()=>{"use strict";P();Qa();Nh();Ph();kr();lt();zx=st(),Ux={itemStyle:lr(Ih,!0),lineStyle:lr(Ah,!0)},wE={lineStyle:"stroke",itemStyle:"fill"};Hx={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var r=e.getData(),i=e.visualStyleAccessPath||"itemStyle",n=e.getModel(i),a=Bx(e,i),o=a(n),s=n.getShallow("decal");s&&(r.setVisual("decal",s),s.dirty=!0);var u=Vx(e,i),l=o[u],f=H(l)?l:null,c=o.fill==="auto"||o.stroke==="auto";if(!o[u]||f||c){var p=e.getColorFromPalette(e.name,null,t.getSeriesCount());o[u]||(o[u]=p,r.setVisual("colorFromPalette",!0)),o.fill=o.fill==="auto"||H(o.fill)?p:o.fill,o.stroke=o.stroke==="auto"||H(o.stroke)?p:o.stroke}if(r.setVisual("style",o),r.setVisual("drawType",u),!t.isSeriesFiltered(e)&&f)return r.setVisual("colorFromPalette",!1),{dataEach:function(h,v){var m=e.getDataParams(v),d=A({},o);d[u]=f(m),h.setItemVisual(v,"style",d)}}}},Wo=new At,Gx={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!(e.ignoreStyleOnData||t.isSeriesFiltered(e))){var r=e.getData(),i=e.visualStyleAccessPath||"itemStyle",n=Bx(e,i),a=r.getVisual("drawType");return{dataEach:r.hasItemOption?function(o,s){var u=o.getRawDataItem(s);if(u&&u[i]){Wo.option=u[i];var l=n(Wo),f=o.ensureUniqueItemVisual(s,"style");A(f,l),Wo.option.decal&&(o.setItemVisual(s,"decal",Wo.option.decal),Wo.option.decal.dirty=!0),a in l&&o.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},Yx={performRawSeries:!0,overallReset:function(e){var t=V();e.eachSeries(function(r){var i=r.getColorBy();if(!r.isColorBySeries()){var n=r.type+"-"+i,a=t.get(n);a||(a={},t.set(n,a)),zx(r).scope=a}}),e.eachSeries(function(r){if(!(r.isColorBySeries()||e.isSeriesFiltered(r))){var i=r.getRawData(),n={},a=r.getData(),o=zx(r).scope,s=r.visualStyleAccessPath||"itemStyle",u=Vx(r,s);a.each(function(l){var f=a.getRawIndex(l);n[f]=l}),i.each(function(l){var f=n[l],c=a.getItemVisual(f,"colorFromPalette");if(c){var p=a.ensureUniqueItemVisual(f,"style"),h=i.getName(l)||l+"",v=i.count();p[u]=r.getColorFromPalette(h,o,v)}})}})}}});function Ap(e,t){t=t||{},rt(t,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var r=new ke,i=new Zt({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});r.add(i);var n=new Te({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),a=new Zt({style:{fill:"none"},textContent:n,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});r.add(a);var o;return t.showSpinner&&(o=new on({shape:{startAngle:-Ol/2,endAngle:-Ol/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),o.animateShape(!0).when(1e3,{endAngle:Ol*3/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:Ol*3/2}).delay(300).start("circularInOut"),r.add(o)),r.resize=function(){var s=n.getBoundingRect().width,u=t.showSpinner?t.spinnerRadius:0,l=(e.getWidth()-u*2-(t.showSpinner&&s?10:0)-s)/2-(t.showSpinner&&s?0:5+s/2)+(t.showSpinner?0:s/2)+(s?0:u),f=e.getHeight()/2;t.showSpinner&&o.setShape({cx:l,cy:f}),a.setShape({x:l-u,y:f-u,width:u*2,height:u*2}),i.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},r.resize(),r}var Ol,qx=M(()=>{"use strict";P();$e();Ol=Math.PI});function TE(e){e.overallReset(e.ecModel,e.api,e.payload)}function ME(e){return e.overallProgress&&DE}function DE(){this.agent.dirty(),this.getDownstream().dirty()}function CE(){this.agent&&this.agent.dirty()}function EE(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function LE(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=gt(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?F(t,function(r,i){return Xx(i)}):RE}function Xx(e){return function(t,r){var i=r.data,n=r.resetDefines[e];if(n&&n.dataEach)for(var a=t.start;a{"use strict";P();ll();bo();Tp();Mp();lt();bE=(function(){function e(t,r,i,n){this._stageTaskMap=V(),this.ecInstance=t,this.api=r,i=this._dataProcessorHandlers=i.slice(),n=this._visualHandlers=n.slice(),this._allHandlers=i.concat(n)}return e.prototype.restoreData=function(t,r){t.restoreData(r),this._stageTaskMap.each(function(i){var n=i.overallTask;n&&n.dirty()})},e.prototype.getPerformArgs=function(t,r){if(t.__pipeline){var i=this._pipelineMap.get(t.__pipeline.id),n=i.context,a=!r&&i.progressiveEnabled&&(!n||n.progressiveRender)&&t.__idxInPipeline>i.blockIndex,o=a?i.step:null,s=n&&n.modDataCount,u=s!=null?Math.ceil(s/o):null;return{step:o,modBy:u,modDataCount:s}}},e.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},e.prototype.updateStreamModes=function(t,r){var i=this._pipelineMap.get(t.uid),n=t.getData(),a=n.count(),o=i.progressiveEnabled&&r.incrementalPrepareRender&&a>=i.threshold,s=t.get("large")&&a>=t.get("largeThreshold"),u=t.get("progressiveChunkMode")==="mod"?a:null;t.pipelineContext=i.context={progressiveRender:o,modDataCount:u,large:s}},e.prototype.restorePipelines=function(t){var r=this,i=r._pipelineMap=V();t.eachSeries(function(n){var a=n.getProgressive(),o=n.uid;i.set(o,{id:o,head:null,tail:null,threshold:n.getProgressiveThreshold(),progressiveEnabled:a&&!(n.preventIncremental&&n.preventIncremental()),blockIndex:-1,step:Math.round(a||700),count:0}),r._pipe(n,n.dataTask)})},e.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,r=this.api.getModel(),i=this.api;S(this._allHandlers,function(n){var a=t.get(n.uid)||t.set(n.uid,{}),o="";Lt(!(n.reset&&n.overallReset),o),n.reset&&this._createSeriesStageTask(n,a,r,i),n.overallReset&&this._createOverallStageTask(n,a,r,i)},this)},e.prototype.prepareView=function(t,r,i,n){var a=t.renderTask,o=a.context;o.model=r,o.ecModel=i,o.api=n,a.__block=!t.incrementalPrepareRender,this._pipe(r,a)},e.prototype.performDataProcessorTasks=function(t,r){this._performStageTasks(this._dataProcessorHandlers,t,r,{block:!0})},e.prototype.performVisualTasks=function(t,r,i){this._performStageTasks(this._visualHandlers,t,r,i)},e.prototype._performStageTasks=function(t,r,i,n){n=n||{};var a=!1,o=this;S(t,function(u,l){if(!(n.visualType&&n.visualType!==u.visualType)){var f=o._stageTaskMap.get(u.uid),c=f.seriesTaskMap,p=f.overallTask;if(p){var h,v=p.agentStubMap;v.each(function(d){s(n,d)&&(d.dirty(),h=!0)}),h&&p.dirty(),o.updatePayload(p,i);var m=o.getPerformArgs(p,n.block);v.each(function(d){d.perform(m)}),p.perform(m)&&(a=!0)}else c&&c.each(function(d,g){s(n,d)&&d.dirty();var _=o.getPerformArgs(d,n.block);_.skip=!u.performRawSeries&&r.isSeriesFiltered(d.context.model),o.updatePayload(d,i),d.perform(_)&&(a=!0)})}});function s(u,l){return u.setDirty&&(!u.dirtyMap||u.dirtyMap.get(l.__pipeline.id))}this.unfinished=a||this.unfinished},e.prototype.performSeriesTasks=function(t){var r;t.eachSeries(function(i){r=i.dataTask.perform()||r}),this.unfinished=r||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each(function(t){var r=t.tail;do{if(r.__block){t.blockIndex=r.__idxInPipeline;break}r=r.getUpstream()}while(r)})},e.prototype.updatePayload=function(t,r){r!=="remain"&&(t.context.payload=r)},e.prototype._createSeriesStageTask=function(t,r,i,n){var a=this,o=r.seriesTaskMap,s=r.seriesTaskMap=V(),u=t.seriesType,l=t.getTargetSeries;t.createOnAllSeries?i.eachRawSeries(f):u?i.eachRawSeriesByType(u,f):l&&l(i,n).each(f);function f(c){var p=c.uid,h=s.set(p,o&&o.get(p)||si({plan:EE,reset:LE,count:OE}));h.context={model:c,ecModel:i,api:n,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:a},a._pipe(c,h)}},e.prototype._createOverallStageTask=function(t,r,i,n){var a=this,o=r.overallTask=r.overallTask||si({reset:TE});o.context={ecModel:i,api:n,overallReset:t.overallReset,scheduler:a};var s=o.agentStubMap,u=o.agentStubMap=V(),l=t.seriesType,f=t.getTargetSeries,c=!0,p=!1,h="";Lt(!t.createOnAllSeries,h),l?i.eachRawSeriesByType(l,v):f?f(i,n).each(v):(c=!1,S(i.getSeries(),v));function v(m){var d=m.uid,g=u.set(d,s&&s.get(d)||(p=!0,si({reset:ME,onDirty:CE})));g.context={model:m,overallProgress:c},g.agent=o,g.__block=c,a._pipe(m,g)}p&&o.dirty()},e.prototype._pipe=function(t,r){var i=t.uid,n=this._pipelineMap.get(i);!n.head&&(n.head=r),n.tail&&n.tail.pipe(r),n.tail=r,r.__idxInPipeline=n.count++,r.__pipeline=n},e.wrapStageHandler=function(t,r){return H(t)&&(t={overallReset:t,seriesType:AE(t)}),t.uid=oi("stageHandler"),r&&(t.visualType=r),t},e})();RE=Xx(0);qo={},Zx={};jx(qo,El);jx(Zx,Ll);qo.eachSeriesByType=qo.eachRawSeriesByType=function(e){Al=e};qo.eachComponent=function(e){e.mainType==="series"&&e.subType&&(Al=e.subType)};Pp=bE});var Qx,$x,Jx=M(()=>{"use strict";Qx=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],$x={color:Qx,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],Qx]}});var Jt,tS,Pl,eS,rS,iS,nS=M(()=>{"use strict";Jt="#B9B8CE",tS="#100C2A",Pl=function(){return{axisLine:{lineStyle:{color:Jt}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},eS=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],rS={darkMode:!0,color:eS,backgroundColor:tS,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:Jt},pageTextStyle:{color:Jt}},textStyle:{color:Jt},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:Jt}},dataZoom:{borderColor:"#71708A",textStyle:{color:Jt},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:Jt}},timeline:{lineStyle:{color:Jt},label:{color:Jt},controlStyle:{color:Jt,borderColor:Jt}},calendar:{itemStyle:{color:tS},dayLabel:{color:Jt},monthLabel:{color:Jt},yearLabel:{color:Jt}},timeAxis:Pl(),logAxis:Pl(),valueAxis:Pl(),categoryAxis:Pl(),line:{symbol:"circle"},graph:{color:eS},gauge:{title:{color:Jt},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:Jt},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};rS.categoryAxis.splitLine.show=!1;iS=rS});var aS,oS=M(()=>{"use strict";P();ur();aS=(function(){function e(){}return e.prototype.normalizeQuery=function(t){var r={},i={},n={};if(U(t)){var a=fe(t);r.mainType=a.main||null,r.subType=a.sub||null}else{var o=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};S(t,function(u,l){for(var f=!1,c=0;c0&&h===l.length-p.length){var v=l.slice(0,h);v!=="data"&&(r.mainType=v,r[p.toLowerCase()]=u,f=!0)}}s.hasOwnProperty(l)&&(i[l]=u,f=!0),f||(n[l]=u)})}return{cptQuery:r,dataQuery:i,otherQuery:n}},e.prototype.filter=function(t,r){var i=this.eventInfo;if(!i)return!0;var n=i.targetEl,a=i.packedEvent,o=i.model,s=i.view;if(!o||!s)return!0;var u=r.cptQuery,l=r.dataQuery;return f(u,o,"mainType")&&f(u,o,"subType")&&f(u,o,"index","componentIndex")&&f(u,o,"name")&&f(u,o,"id")&&f(l,a,"name")&&f(l,a,"dataIndex")&&f(l,a,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,r.otherQuery,n,a));function f(c,p,h,v){return c[h]==null||p[v||h]===c[h]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e})()});var Ip,sS,uS,lS,fS=M(()=>{"use strict";P();Ip=["symbol","symbolSize","symbolRotate","symbolOffset"],sS=Ip.concat(["symbolKeepAspect"]),uS={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var r=e.getData();if(e.legendIcon&&r.setVisual("legendIcon",e.legendIcon),!e.hasSymbolVisual)return;for(var i={},n={},a=!1,o=0;o{"use strict"});function cB(e,t){function r(i,n){var a=[];return i.eachComponent({mainType:"series",subType:e,query:n},function(o){a.push(o.seriesIndex)}),a}S([[e+"ToggleSelect","toggleSelect"],[e+"Select","select"],[e+"UnSelect","unselect"]],function(i){t(i[0],function(n,a,o){n=A({},n),o.dispatchAction(A(n,{type:i[1],seriesIndex:r(a,n)}))})})}function Sa(e,t,r,i,n){var a=e+t;r.isSilent(a)||i.eachComponent({mainType:"series",subType:"pie"},function(o){for(var s=o.seriesIndex,u=o.option.selectedMap,l=n.selected,f=0;f{"use strict";P();lt()});function Xo(e,t,r){for(var i;e&&!(t(e)&&(i=e,r));)e=e.__hostTarget||e.parent;return i}var mS=M(()=>{"use strict"});var PE,IE,NE,gS,_S=M(()=>{"use strict";PE=Math.round(Math.random()*9),IE=typeof Object.defineProperty=="function",NE=(function(){function e(){this._id="__ec_inner_"+PE++}return e.prototype.get=function(t){return this._guard(t)[this._id]},e.prototype.set=function(t,r){var i=this._guard(t);return IE?Object.defineProperty(i,this._id,{value:r,enumerable:!1,configurable:!0}):i[this._id]=r,this},e.prototype.delete=function(t){return this.has(t)?(delete this._guard(t)[this._id],!0):!1},e.prototype.has=function(t){return!!this._guard(t)[this._id]},e.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},e})(),gS=NE});function GE(e,t){if(this.type!=="image"){var r=this.style;this.__isEmptyBrush?(r.stroke=e,r.fill=t||"#fff",r.lineWidth=2):this.shape.symbolType==="line"?r.stroke=e:r.fill=e,this.markRedraw()}}function Il(e,t,r,i,n,a,o){var s=e.indexOf("empty")===0;s&&(e=e.substr(5,1).toLowerCase()+e.substr(6));var u;return e.indexOf("image://")===0?u=So(e.slice(8),new Y(t,r,i,n),o?"center":"cover"):e.indexOf("path://")===0?u=ra(e.slice(7),{},new Y(t,r,i,n),o?"center":"cover"):u=new HE({shape:{symbolType:e,x:t,y:r,width:i,height:n}}),u.__isEmptyBrush=s,u.setColor=GE,a&&u.setColor(a),u}function yB(e){return N(e)||(e=[+e,+e]),[e[0]||0,e[1]||0]}function xB(e,t){if(e!=null)return N(e)||(e=[e,e]),[xt(e[0],t[0])||0,xt(W(e[1],e[0]),t[1])||0]}var kE,FE,zE,UE,BE,VE,Np,HE,kp=M(()=>{"use strict";P();$e();Xt();Jr();Ot();kE=Z.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var r=t.cx,i=t.cy,n=t.width/2,a=t.height/2;e.moveTo(r,i-a),e.lineTo(r+n,i+a),e.lineTo(r-n,i+a),e.closePath()}}),FE=Z.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var r=t.cx,i=t.cy,n=t.width/2,a=t.height/2;e.moveTo(r,i-a),e.lineTo(r+n,i),e.lineTo(r,i+a),e.lineTo(r-n,i),e.closePath()}}),zE=Z.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var r=t.x,i=t.y,n=t.width/5*3,a=Math.max(n,t.height),o=n/2,s=o*o/(a-o),u=i-a+o+s,l=Math.asin(s/o),f=Math.cos(l)*o,c=Math.sin(l),p=Math.cos(l),h=o*.6,v=o*.7;e.moveTo(r-f,u+s),e.arc(r,u,o,Math.PI-l,Math.PI*2+l),e.bezierCurveTo(r+f-c*h,u+s+p*h,r,i-v,r,i),e.bezierCurveTo(r,i-v,r-f+c*h,u+s+p*h,r-f,u+s),e.closePath()}}),UE=Z.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var r=t.height,i=t.width,n=t.x,a=t.y,o=i/3*2;e.moveTo(n,a),e.lineTo(n+o,a+r),e.lineTo(n,a+r/4*3),e.lineTo(n-o,a+r),e.lineTo(n,a),e.closePath()}}),BE={line:an,rect:Zt,roundRect:Zt,square:Zt,circle:en,diamond:FE,pin:zE,arrow:UE,triangle:kE},VE={line:function(e,t,r,i,n){n.x1=e,n.y1=t+i/2,n.x2=e+r,n.y2=t+i/2},rect:function(e,t,r,i,n){n.x=e,n.y=t,n.width=r,n.height=i},roundRect:function(e,t,r,i,n){n.x=e,n.y=t,n.width=r,n.height=i,n.r=Math.min(r,i)/4},square:function(e,t,r,i,n){var a=Math.min(r,i);n.x=e,n.y=t,n.width=a,n.height=a},circle:function(e,t,r,i,n){n.cx=e+r/2,n.cy=t+i/2,n.r=Math.min(r,i)/2},diamond:function(e,t,r,i,n){n.cx=e+r/2,n.cy=t+i/2,n.width=r,n.height=i},pin:function(e,t,r,i,n){n.x=e+r/2,n.y=t+i/2,n.width=r,n.height=i},arrow:function(e,t,r,i,n){n.x=e+r/2,n.y=t+i/2,n.width=r,n.height=i},triangle:function(e,t,r,i,n){n.cx=e+r/2,n.cy=t+i/2,n.width=r,n.height=i}},Np={};S(BE,function(e,t){Np[t]=new e});HE=Z.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(e,t,r){var i=js(e,t,r),n=this.shape;return n&&n.symbolType==="pin"&&t.position==="inside"&&(i.y=r.y+r.height*.4),i},buildPath:function(e,t,r){var i=t.symbolType;if(i!=="none"){var n=Np[i];n||(i="rect",n=Np[i]),VE[i](t.x,t.y,t.width,t.height,n.shape),n.buildPath(e,n.shape,r)}}})});function zp(e,t){if(e==="none")return null;var r=t.getDevicePixelRatio(),i=t.getZr(),n=i.painter.type==="svg";e.dirty&&Fp.delete(e);var a=Fp.get(e);if(a)return a;var o=rt(e,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});o.backgroundColor==="none"&&(o.backgroundColor=null);var s={repeat:"repeat"};return u(s),s.rotation=o.rotation,s.scaleX=s.scaleY=n?1:1/r,Fp.set(e,s),e.dirty=!1,s;function u(l){for(var f=[r],c=!0,p=0;p{"use strict";_S();Na();P();Ot();kp();Bo();Ze();Fp=new gS,yS=new Cr(100),xS=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"]});function Up(e,t){e.eachRawSeries(function(r){if(!e.isSeriesFiltered(r)){var i=r.getData();i.hasItemVisual()&&i.each(function(o){var s=i.getItemVisual(o,"decal");if(s){var u=i.ensureUniqueItemVisual(o,"style");u.decal=zp(s,t)}});var n=i.getVisual("decal");if(n){var a=i.getVisual("style");a.decal=zp(n,t)}}})}var MS=M(()=>{"use strict";TS()});var qE,We,DS=M(()=>{"use strict";Zr();qE=new Bt,We=qE});function ES(e,t){CS[e]=t}function Bp(e){return CS[e]}var CS,Vp=M(()=>{"use strict";CS={}});function VS(e){return function(){for(var t=[],r=0;r=0)){kS.push(r);var a=Pp.wrapStageHandler(r,n);a.__prio=t,a.__raw=r,e.push(a)}}function nv(e,t){Qp[e]=t}function T5(e){hf({createCanvas:e})}function t1(e,t,r){var i=Bp("registerMap");i&&i(e,t,r)}function M5(e){var t=Bp("getMap");return t&&t(e)}var m5,g5,XE,ZE,jE,KE,QE,$E,FS,JE,$p,zS,tL,Vl,eL,rL,iL,US,BS,te,ge,Hp,LS,Gp,RS,nL,aL,YS,WS,wa,Yp,Nl,fi,Wp,qp,Xp,Zo,jo,OS,AS,Zp,PS,kl,IS,qS,qe,NS,Fl,Jp,oL,zl,Ko,jp,Kp,Ul,XS,Qp,_n,Bl,sL,uL,tv,x5,kS,e1,D5,av=M(()=>{"use strict";Fe();Js();P();re();Hf();Zr();Tp();Mp();Cp();Ex();kx();Fx();_l();Io();yl();$e();tn();$n();lt();Sp();Wx();qx();Kx();Jx();nS();ur();oS();fS();pS();dS();fp();Wu();mS();MS();DS();Ze();Vp();Wu();m5="5.6.0",g5={zrender:"5.6.1"},XE=1,ZE=800,jE=900,KE=1e3,QE=2e3,$E=5e3,FS=1e3,JE=1100,$p=2e3,zS=3e3,tL=4e3,Vl=4500,eL=4600,rL=5e3,iL=6e3,US=7e3,BS={PROCESSOR:{FILTER:KE,SERIES_FILTER:ZE,STATISTIC:$E},VISUAL:{LAYOUT:FS,PROGRESSIVE_LAYOUT:JE,GLOBAL:$p,CHART:zS,POST_CHART_LAYOUT:eL,COMPONENT:tL,BRUSH:rL,CHART_ITEM:Vl,ARIA:iL,DECAL:US}},te="__flagInMainProcess",ge="__pendingUpdate",Hp="__needsUpdateStatus",LS=/^[a-zA-Z0-9_]+$/,Gp="__connectUpdateStatus",RS=0,nL=1,aL=2;YS=(function(e){mt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t})(Bt),WS=YS.prototype;WS.on=HS("on");WS.off=HS("off");Fl=(function(e){mt(t,e);function t(r,i,n){var a=e.call(this,new aS)||this;a._chartsViews=[],a._chartsMap={},a._componentsViews=[],a._componentsMap={},a._pendingActions=[],n=n||{},U(i)&&(i=XS[i]),a._dom=r;var o="canvas",s="auto",u=!1;if(0)var l;n.ssr&&gc(function(h){var v=St(h),m=v.dataIndex;if(m!=null){var d=V();return d.set("series_index",v.seriesIndex),d.set("data_index",m),v.ssrType&&d.set("ssr_type",v.ssrType),d}});var f=a._zr=$s(r,{renderer:n.renderer||o,devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height,ssr:n.ssr,useDirtyRect:W(n.useDirtyRect,u),useCoarsePointer:W(n.useCoarsePointer,s),pointerSize:n.pointerSize});a._ssr=n.ssr,a._throttledZrFlush=Sl(wt(f.flush,f),17),i=$(i),i&&Rl(i,!0),a._theme=i,a._locale=Ky(n.locale||Yu),a._coordSysMgr=new xa;var c=a._api=IS(a);function p(h,v){return h.__prio-v.__prio}return Oi(Ul,p),Oi(jp,p),a._scheduler=new Pp(a,c,jp,Ul),a._messageCenter=new YS,a._initEvents(),a.resize=wt(a.resize,a),f.animation.on("frame",a._onframe,a),OS(f,a),AS(f,a),Gr(a),a}return t.prototype._onframe=function(){if(!this._disposed){NS(this);var r=this._scheduler;if(this[ge]){var i=this[ge].silent;this[te]=!0;try{wa(this),fi.update.call(this,null,this[ge].updateParams)}catch(u){throw this[te]=!1,this[ge]=null,u}this._zr.flush(),this[te]=!1,this[ge]=null,Zo.call(this,i),jo.call(this,i)}else if(r.unfinished){var n=XE,a=this._model,o=this._api;r.unfinished=!1;do{var s=+new Date;r.performSeriesTasks(a),r.performDataProcessorTasks(a),qp(this,a),r.performVisualTasks(a),kl(this,this._model,o,"remain",{}),n-=+new Date-s}while(n>0&&r.unfinished);r.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(r,i,n){if(!this[te]){if(this._disposed){this.id;return}var a,o,s;if(z(i)&&(n=i.lazyUpdate,a=i.silent,o=i.replaceMerge,s=i.transition,i=i.notMerge),this[te]=!0,!this._model||i){var u=new Cx(this._api),l=this._theme,f=this._model=new El;f.scheduler=this._scheduler,f.ssr=this._ssr,f.init(null,null,null,l,this._locale,u)}this._model.setOption(r,{replaceMerge:o},Kp);var c={seriesTransition:s,optionChanged:!0};if(n)this[ge]={silent:a,updateParams:c},this[te]=!1,this.getZr().wakeUp();else{try{wa(this),fi.update.call(this,null,c)}catch(p){throw this[ge]=null,this[te]=!1,p}this._ssr||this._zr.flush(),this[ge]=null,this[te]=!1,Zo.call(this,a),jo.call(this,a)}}},t.prototype.setTheme=function(){},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||tt.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(r){return this.renderToCanvas(r)},t.prototype.renderToCanvas=function(r){r=r||{};var i=this._zr.painter;return i.getRenderedCanvas({backgroundColor:r.backgroundColor||this._model.get("backgroundColor"),pixelRatio:r.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(r){r=r||{};var i=this._zr.painter;return i.renderToString({useViewBox:r.useViewBox})},t.prototype.getSvgDataURL=function(){if(tt.svgSupported){var r=this._zr,i=r.storage.getDisplayList();return S(i,function(n){n.stopAnimation(null,!0)}),r.painter.toDataURL()}},t.prototype.getDataURL=function(r){if(this._disposed){this.id;return}r=r||{};var i=r.excludeComponents,n=this._model,a=[],o=this;S(i,function(u){n.eachComponent({mainType:u},function(l){var f=o._componentsMap[l.__viewId];f.group.ignore||(a.push(f),f.group.ignore=!0)})});var s=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(r).toDataURL("image/"+(r&&r.type||"png"));return S(a,function(u){u.group.ignore=!1}),s},t.prototype.getConnectedDataURL=function(r){if(this._disposed){this.id;return}var i=r.type==="svg",n=this.group,a=Math.min,o=Math.max,s=1/0;if(Bl[n]){var u=s,l=s,f=-s,c=-s,p=[],h=r&&r.pixelRatio||this.getDevicePixelRatio();S(_n,function(y,x){if(y.group===n){var b=i?y.getZr().painter.getSvgDom().innerHTML:y.renderToCanvas($(r)),w=y.getDom().getBoundingClientRect();u=a(w.left,u),l=a(w.top,l),f=o(w.right,f),c=o(w.bottom,c),p.push({dom:b,left:w.left,top:w.top})}}),u*=h,l*=h,f*=h,c*=h;var v=f-u,m=c-l,d=ie.createCanvas(),g=$s(d,{renderer:i?"svg":"canvas"});if(g.resize({width:v,height:m}),i){var _="";return S(p,function(y){var x=y.left-u,b=y.top-l;_+=''+y.dom+""}),g.painter.getSvgRoot().innerHTML=_,r.connectedBackgroundColor&&g.painter.setBackgroundColor(r.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()}else return r.connectedBackgroundColor&&g.add(new Zt({shape:{x:0,y:0,width:v,height:m},style:{fill:r.connectedBackgroundColor}})),S(p,function(y){var x=new Ve({style:{x:y.left*h-u,y:y.top*h-l,image:y.dom}});g.add(x)}),g.refreshImmediately(),d.toDataURL("image/"+(r&&r.type||"png"))}else return this.getDataURL(r)},t.prototype.convertToPixel=function(r,i){return Wp(this,"convertToPixel",r,i)},t.prototype.convertFromPixel=function(r,i){return Wp(this,"convertFromPixel",r,i)},t.prototype.containPixel=function(r,i){if(this._disposed){this.id;return}var n=this._model,a,o=_u(n,r);return S(o,function(s,u){u.indexOf("Models")>=0&&S(s,function(l){var f=l.coordinateSystem;if(f&&f.containPoint)a=a||!!f.containPoint(i);else if(u==="seriesModels"){var c=this._chartsMap[l.__viewId];c&&c.containPoint&&(a=a||c.containPoint(i,l))}},this)},this),!!a},t.prototype.getVisual=function(r,i){var n=this._model,a=_u(n,r,{defaultMainType:"series"}),o=a.seriesModel,s=o.getData(),u=a.hasOwnProperty("dataIndexInside")?a.dataIndexInside:a.hasOwnProperty("dataIndex")?s.indexOfRawIndex(a.dataIndex):null;return u!=null?cS(s,u,i):hS(s,i)},t.prototype.getViewOfComponentModel=function(r){return this._componentsMap[r.__viewId]},t.prototype.getViewOfSeriesModel=function(r){return this._chartsMap[r.__viewId]},t.prototype._initEvents=function(){var r=this;S(oL,function(i){var n=function(a){var o=r.getModel(),s=a.target,u,l=i==="globalout";if(l?u={}:s&&Xo(s,function(v){var m=St(v);if(m&&m.dataIndex!=null){var d=m.dataModel||o.getSeriesByIndex(m.seriesIndex);return u=d&&d.getDataParams(m.dataIndex,m.dataType,s)||{},!0}else if(m.eventData)return u=A({},m.eventData),!0},!0),u){var f=u.componentType,c=u.componentIndex;(f==="markLine"||f==="markPoint"||f==="markArea")&&(f="series",c=u.seriesIndex);var p=f&&c!=null&&o.getComponent(f,c),h=p&&r[p.mainType==="series"?"_chartsMap":"_componentsMap"][p.__viewId];u.event=a,u.type=i,r._$eventProcessor.eventInfo={targetEl:s,packedEvent:u,model:p,view:h},r.trigger(i,u)}};n.zrEventfulCallAtLast=!0,r._zr.on(i,n,r)}),S(Ko,function(i,n){r._messageCenter.on(n,function(a){this.trigger(n,a)},r)}),S(["selectchanged"],function(i){r._messageCenter.on(i,function(n){this.trigger(i,n)},r)}),vS(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var r=this.getDom();r&&Qc(this.getDom(),tv,"");var i=this,n=i._api,a=i._model;S(i._componentsViews,function(o){o.dispose(a,n)}),S(i._chartsViews,function(o){o.dispose(a,n)}),i._zr.dispose(),i._dom=i._model=i._chartsMap=i._componentsMap=i._chartsViews=i._componentsViews=i._scheduler=i._api=i._zr=i._throttledZrFlush=i._theme=i._coordSysMgr=i._messageCenter=null,delete _n[i.id]},t.prototype.resize=function(r){if(!this[te]){if(this._disposed){this.id;return}this._zr.resize(r);var i=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!i){var n=i.resetOption("media"),a=r&&r.silent;this[ge]&&(a==null&&(a=this[ge].silent),n=!0,this[ge]=null),this[te]=!0;try{n&&wa(this),fi.update.call(this,{type:"resize",animation:A({duration:0},r&&r.animation)})}catch(o){throw this[te]=!1,o}this[te]=!1,Zo.call(this,a),jo.call(this,a)}}},t.prototype.showLoading=function(r,i){if(this._disposed){this.id;return}if(z(r)&&(i=r,r=""),r=r||"default",this.hideLoading(),!!Qp[r]){var n=Qp[r](this._api,i),a=this._zr;this._loadingFX=n,a.add(n)}},t.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(r){var i=A({},r);return i.type=Ko[r.type],i},t.prototype.dispatchAction=function(r,i){if(this._disposed){this.id;return}if(z(i)||(i={silent:!!i}),!!zl[r.type]&&this._model){if(this[te]){this._pendingActions.push(r);return}var n=i.silent;Xp.call(this,r,n);var a=i.flush;a?this._zr.flush():a!==!1&&tt.browser.weChat&&this._throttledZrFlush(),Zo.call(this,n),jo.call(this,n)}},t.prototype.updateLabelLayout=function(){We.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(r){if(this._disposed){this.id;return}var i=r.seriesIndex,n=this.getModel(),a=n.getSeriesByIndex(i);a.appendData(r),this._scheduler.unfinished=!0,this.getZr().wakeUp()},t.internalField=(function(){wa=function(c){var p=c._scheduler;p.restorePipelines(c._model),p.prepareStageTasks(),Yp(c,!0),Yp(c,!1),p.plan()},Yp=function(c,p){for(var h=c._model,v=c._scheduler,m=p?c._componentsViews:c._chartsViews,d=p?c._componentsMap:c._chartsMap,g=c._zr,_=c._api,y=0;yp.get("hoverLayerThreshold")&&!tt.node&&!tt.worker&&p.eachSeries(function(d){if(!d.preventUsingHoverLayer){var g=c._chartsMap[d.__viewId];g.__alive&&g.eachRendered(function(_){_.states.emphasis&&(_.states.emphasis.hoverLayer=!0)})}})}function o(c,p){var h=c.get("blendMode")||null;p.eachRendered(function(v){v.isGroup||(v.style.blend=h)})}function s(c,p){if(!c.preventAutoZ){var h=c.get("z")||0,v=c.get("zlevel")||0;p.eachRendered(function(m){return u(m,h,v,-1/0),!0})}}function u(c,p,h,v){var m=c.getTextContent(),d=c.getTextGuideLine(),g=c.isGroup;if(g)for(var _=c.childrenRef(),y=0;y<_.length;y++)v=Math.max(u(_[y],p,h,v),v);else c.z=p,c.zlevel=h,v=Math.max(c.z2,v);if(m&&(m.z=p,m.zlevel=h,isFinite(v)&&(m.z2=v+2)),d){var x=c.textGuideLineConfig;d.z=p,d.zlevel=h,isFinite(v)&&(d.z2=v+(x&&x.showAbove?1:-1))}return v}function l(c,p){p.eachRendered(function(h){if(!Nr(h)){var v=h.getTextContent(),m=h.getTextGuideLine();h.stateTransition&&(h.stateTransition=null),v&&v.stateTransition&&(v.stateTransition=null),m&&m.stateTransition&&(m.stateTransition=null),h.hasState()?(h.prevStates=h.currentStates,h.clearStates()):h.prevStates&&(h.prevStates=null)}})}function f(c,p){var h=c.getModel("stateAnimation"),v=c.isAnimationEnabled(),m=h.get("duration"),d=m>0?{duration:m,delay:h.get("delay"),easing:h.get("easing")}:null;p.eachRendered(function(g){if(g.states&&g.states.emphasis){if(Nr(g))return;if(g instanceof Z&&k_(g),g.__dirty){var _=g.prevStates;_&&g.useStates(_)}if(v){g.stateTransition=d;var y=g.getTextContent(),x=g.getTextGuideLine();y&&(y.stateTransition=d),x&&(x.stateTransition=d)}g.__dirty&&n(g)}})}IS=function(c){return new((function(p){mt(h,p);function h(){return p!==null&&p.apply(this,arguments)||this}return h.prototype.getCoordinateSystems=function(){return c._coordSysMgr.getCoordinateSystems()},h.prototype.getComponentByElement=function(v){for(;v;){var m=v.__ecComponentInfo;if(m!=null)return c._model.getComponent(m.mainType,m.index);v=v.parent}},h.prototype.enterEmphasis=function(v,m){lo(v,m),qe(c)},h.prototype.leaveEmphasis=function(v,m){fo(v,m),qe(c)},h.prototype.enterBlur=function(v){C_(v),qe(c)},h.prototype.leaveBlur=function(v){ih(v),qe(c)},h.prototype.enterSelect=function(v){nh(v),qe(c)},h.prototype.leaveSelect=function(v){ah(v),qe(c)},h.prototype.getModel=function(){return c.getModel()},h.prototype.getViewOfComponentModel=function(v){return c.getViewOfComponentModel(v)},h.prototype.getViewOfSeriesModel=function(v){return c.getViewOfSeriesModel(v)},h})(Ll))(c)},qS=function(c){function p(h,v){for(var m=0;m{"use strict";fL=(function(){function e(t,r,i,n,a,o){this._old=t,this._new=r,this._oldKeyGetter=i||r1,this._newKeyGetter=n||r1,this.context=a,this._diffModeMultiple=o==="multiple"}return e.prototype.add=function(t){return this._add=t,this},e.prototype.update=function(t){return this._update=t,this},e.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},e.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},e.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},e.prototype.remove=function(t){return this._remove=t,this},e.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},e.prototype._executeOneToOne=function(){var t=this._old,r=this._new,i={},n=new Array(t.length),a=new Array(r.length);this._initIndexMap(t,null,n,"_oldKeyGetter"),this._initIndexMap(r,i,a,"_newKeyGetter");for(var o=0;o1){var f=u.shift();u.length===1&&(i[s]=u[0]),this._update&&this._update(f,o)}else l===1?(i[s]=null,this._update&&this._update(u,o)):this._remove&&this._remove(o)}this._performRestAdd(a,i)},e.prototype._executeMultiple=function(){var t=this._old,r=this._new,i={},n={},a=[],o=[];this._initIndexMap(t,i,a,"_oldKeyGetter"),this._initIndexMap(r,n,o,"_newKeyGetter");for(var s=0;s1&&p===1)this._updateManyToOne&&this._updateManyToOne(f,l),n[u]=null;else if(c===1&&p>1)this._updateOneToMany&&this._updateOneToMany(f,l),n[u]=null;else if(c===1&&p===1)this._update&&this._update(f,l),n[u]=null;else if(c>1&&p>1)this._updateManyToMany&&this._updateManyToMany(f,l),n[u]=null;else if(c>1)for(var h=0;h1)for(var s=0;s{"use strict";P();Je();cL=(function(){function e(t,r){this._encode=t,this._schema=r}return e.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},e.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},e})()});var pL,ba,uv=M(()=>{"use strict";P();pL=(function(){function e(t){this.otherDims={},t!=null&&A(this,t)}return e})(),ba=pL});function Gl(e){return e instanceof lv}function fv(e){for(var t=V(),r=0;r<(e||[]).length;r++){var i=e[r],n=z(i)?i.name:i;n!=null&&t.get(n)==null&&t.set(n,r)}return t}function cv(e){var t=vL(e);return t.dimNameMap||(t.dimNameMap=fv(e.dimensionsDefine))}function hv(e){return e>30}var vL,dL,lv,Yl=M(()=>{"use strict";P();lt();zr();vL=st(),dL={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},lv=(function(){function e(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return e.prototype.isDimensionOmitted=function(){return this._dimOmitted},e.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=cv(this.source)))},e.prototype.getSourceDimensionIndex=function(t){return W(this._dimNameMap.get(t),-1)},e.prototype.getSourceDimension=function(t){var r=this.source.dimensionsDefine;if(r)return r[t]},e.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,r=sl(this.source),i=!hv(t),n="",a=[],o=0,s=0;o{"use strict";P();kr();n1();da();sv();uv();Je();lt();tn();zr();hl();Yl();$o=z,hi=F,mL=typeof Int32Array>"u"?Array:Int32Array,gL="e\0\0",s1=-1,_L=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],yL=["_approximateExtent"],xL=(function(){function e(t,r){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var i,n=!1;Gl(t)?(i=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(n=!0,i=t),i=i||["x","y"];for(var a={},o=[],s={},u=!1,l={},f=0;f=r)){var i=this._store,n=i.getProvider();this._updateOrdinalMeta();var a=this._nameList,o=this._idList,s=n.getSource().sourceFormat,u=s===kt;if(u&&!n.pure)for(var l=[],f=t;f0},e.prototype.ensureUniqueItemVisual=function(t,r){var i=this._itemVisuals,n=i[t];n||(n=i[t]={});var a=n[r];return a==null&&(a=this.getVisual(r),N(a)?a=a.slice():$o(a)&&(a=A({},a)),n[r]=a),a},e.prototype.setItemVisual=function(t,r,i){var n=this._itemVisuals[t]||{};this._itemVisuals[t]=n,$o(r)?A(n,r):n[r]=i},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(t,r){$o(t)?A(this._layout,t):this._layout[t]=r},e.prototype.getLayout=function(t){return this._layout[t]},e.prototype.getItemLayout=function(t){return this._itemLayouts[t]},e.prototype.setItemLayout=function(t,r,i){this._itemLayouts[t]=i?A(this._itemLayouts[t]||{},r):r},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(t,r){var i=this.hostModel&&this.hostModel.seriesIndex;m_(i,this.dataType,t,r),this._graphicEls[t]=r},e.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},e.prototype.eachItemGraphicEl=function(t,r){S(this._graphicEls,function(i,n){i&&t&&t.call(r,i,n)})},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:hi(this.dimensions,this._getDimInfo,this),this.hostModel)),pv(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(t,r){var i=this[t];H(i)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var n=i.apply(this,arguments);return r.apply(this,[n].concat(La(arguments)))})},e.internalField=(function(){u1=function(t){var r=t._invertedIndicesMap;S(r,function(i,n){var a=t._dimInfos[n],o=a.ordinalMeta,s=t._store;if(o){i=r[n]=new mL(o.categories.length);for(var u=0;u1&&(u+="__ec__"+f),n[r]=u}}})(),e})(),dv=xL});function l1(e,t){return ql(e,t).dimensions}function ql(e,t){ha(e)||(e=pa(e)),t=t||{};var r=t.coordDimensions||[],i=t.dimensionsDefine||e.dimensionsDefine||[],n=V(),a=[],o=wL(e,r,i,t.dimensionsCount),s=t.canOmitUnusedDimensions&&hv(o),u=i===e.dimensionsDefine,l=u?cv(e):fv(i),f=t.encodeDefine;!f&&t.encodeDefaulter&&(f=t.encodeDefaulter(e,o));for(var c=V(f),p=new hp(o),h=0;h0&&(i.name=n+(a-1)),a++,t.set(n,a)}}function wL(e,t,r,i){var n=Math.max(e.dimensionsDetectedCount||1,t.length,r.length,i||0);return S(t,function(a){var o;z(a)&&(o=a.dimsDef)&&(n=Math.max(n,o.length))}),n}function bL(e,t,r){if(r||t.hasKey(e)){for(var i=0;t.hasKey(e+i);)i++;e+=i}return t.set(e,!0),e}var gv=M(()=>{"use strict";Je();uv();P();zr();hl();lt();ca();Yl()});function f1(e){var t=e.get("coordinateSystem"),r=new TL(t),i=ML[t];if(i)return i(e,r,r.axisMap,r.categoryAxisMap),r}function Ta(e){return e.get("type")==="category"}var TL,ML,c1=M(()=>{"use strict";P();lt();TL=(function(){function e(t){this.coordSysDims=[],this.axisMap=V(),this.categoryAxisMap=V(),this.coordSysName=t}return e})();ML={cartesian2d:function(e,t,r,i){var n=e.getReferringComponents("xAxis",Ar).models[0],a=e.getReferringComponents("yAxis",Ar).models[0];t.coordSysDims=["x","y"],r.set("x",n),r.set("y",a),Ta(n)&&(i.set("x",n),t.firstCategoryDimIndex=0),Ta(a)&&(i.set("y",a),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,r,i){var n=e.getReferringComponents("singleAxis",Ar).models[0];t.coordSysDims=["single"],r.set("single",n),Ta(n)&&(i.set("single",n),t.firstCategoryDimIndex=0)},polar:function(e,t,r,i){var n=e.getReferringComponents("polar",Ar).models[0],a=n.findAxisModel("radiusAxis"),o=n.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],r.set("radius",a),r.set("angle",o),Ta(a)&&(i.set("radius",a),t.firstCategoryDimIndex=0),Ta(o)&&(i.set("angle",o),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},geo:function(e,t,r,i){t.coordSysDims=["lng","lat"]},parallel:function(e,t,r,i){var n=e.ecModel,a=n.getComponent("parallel",e.get("parallelIndex")),o=t.coordSysDims=a.dimensions.slice();S(a.parallelAxisIndex,function(s,u){var l=n.getComponent("parallelAxis",s),f=o[u];r.set(f,l),Ta(l)&&(i.set(f,l),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=u))})}}});function Xl(e,t,r){r=r||{};var i=r.byIndex,n=r.stackedCoordDimension,a,o,s;DL(t)?a=t:(o=t.schema,a=o.dimensions,s=t.store);var u=!!(e&&e.get("stack")),l,f,c,p;if(S(a,function(_,y){U(_)&&(a[y]=_={name:_}),u&&!_.isExtraCoord&&(!i&&!l&&_.ordinalMeta&&(l=_),!f&&_.type!=="ordinal"&&_.type!=="time"&&(!n||n===_.coordDim)&&(f=_))}),f&&!i&&!l&&(i=!0),f){c="__\0ecstackresult_"+e.id,p="__\0ecstackedover_"+e.id,l&&(l.createInvertedIndices=!0);var h=f.coordDim,v=f.type,m=0;S(a,function(_){_.coordDim===h&&m++});var d={name:c,coordDim:h,coordDimIndex:m,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},g={name:p,coordDim:p,coordDimIndex:m+1,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};o?(s&&(d.storeDimIndex=s.ensureCalculationDimension(p,v),g.storeDimIndex=s.ensureCalculationDimension(c,v)),o.appendCalculationDimension(d),o.appendCalculationDimension(g)):(a.push(d),a.push(g))}return{stackedDimension:f&&f.name,stackedByDimension:l&&l.name,isStackedByIndex:i,stackedOverDimension:p,stackResultDimension:c}}function DL(e){return!Gl(e.schema)}function rs(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function Zl(e,t){return rs(e,t)?e.getCalculationInfo("stackResultDimension"):t}var is=M(()=>{"use strict";P();Yl()});function CL(e,t){var r=e.get("coordinateSystem"),i=xa.get(r),n;return t&&t.coordSysDims&&(n=F(t.coordSysDims,function(a){var o={name:a},s=t.axisMap.get(a);if(s){var u=s.get("type");o.type=o1(u)}return o})),n||(n=i&&(i.getDimensionsInfo?i.getDimensionsInfo():i.dimensions.slice())||["x","y"]),n}function EL(e,t,r){var i,n;return r&&S(e,function(a,o){var s=a.coordDim,u=r.categoryAxisMap.get(s);u&&(i==null&&(i=o),a.ordinalMeta=u.getOrdinalMeta(),t&&(a.createInvertedIndices=!0)),a.otherDims.itemName!=null&&(n=!0)}),!n&&i!=null&&(e[i].otherDims.itemName=0),i}function LL(e,t,r){r=r||{};var i=t.getSourceManager(),n,a=!1;e?(a=!0,n=pa(e)):(n=i.getSource(),a=n.sourceFormat===kt);var o=f1(t),s=CL(t,o),u=r.useEncodeDefaulter,l=H(u)?u:u?nr(g0,s,t):null,f={coordDimensions:s,generateCoord:r.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:l,canOmitUnusedDimensions:!a},c=ql(n,f),p=EL(c.dimensions,r.createInvertedIndices,o),h=a?null:i.getSharedDataStore(c),v=Xl(t,{schema:c,store:h}),m=new dv(c,t);m.setCalculationInfo(v);var d=p!=null&&RL(n)?function(g,_,y,x){return x===p?y:this.defaultDimValueGetter(g,_,y,x)}:null;return m.hasItemOption=!1,m.initData(a?n:h,null,d),m}function RL(e){if(e.sourceFormat===kt){var t=OL(e.data||[]);return!N(Or(t))}}function OL(e){for(var t=0;t{"use strict";P();mv();gv();sv();lt();Cp();c1();zr();is();ca();Je();h1=LL});var v1,_e,Ma=M(()=>{"use strict";ur();v1=(function(){function e(t){this._setting=t||{},this._extent=[1/0,-1/0]}return e.prototype.getSetting=function(t){return this._setting[t]},e.prototype.unionExtent=function(t){var r=this._extent;t[0]r[1]&&(r[1]=t[1])},e.prototype.unionExtentFromData=function(t,r){this.unionExtent(t.getApproximateExtent(r))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(t,r){var i=this._extent;isNaN(t)||(i[0]=t),isNaN(r)||(i[1]=r)},e.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(t){this._isBlank=t},e})();ti(v1);_e=v1});function IL(e){return z(e)&&e.value!=null?e.value:e+""}var AL,PL,_v,d1=M(()=>{"use strict";P();AL=0,PL=(function(){function e(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++AL}return e.createByAxisModel=function(t){var r=t.option,i=r.data,n=i&&F(i,IL);return new e({categories:n,needCollect:!n,deduplication:r.dedplication!==!1})},e.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},e.prototype.parseAndCollect=function(t){var r,i=this._needCollect;if(!U(t)&&!i)return t;if(i&&!this._deduplication)return r=this.categories.length,this.categories[r]=t,r;var n=this._getOrCreateMap();return r=n.get(t),r==null&&(i?(r=this.categories.length,this.categories[r]=t,n.set(t,r)):r=NaN),r},e.prototype._getOrCreateMap=function(){return this._map||(this._map=V(this.categories))},e})();_v=PL});function EV(e){return e.type==="interval"||e.type==="log"}function g1(e,t,r,i){var n={},a=e[1]-e[0],o=n.interval=Wn(a/t,!0);r!=null&&oi&&(o=n.interval=i);var s=n.intervalPrecision=yv(o),u=n.niceTickExtent=[Et(Math.ceil(e[0]/o)*o,s),Et(Math.floor(e[1]/o)*o,s)];return NL(u,e),n}function LV(e){var t=Math.pow(10,Yn(e)),r=e/t;return r?r===2?r=3:r===3?r=5:r*=2:r=1,Et(r*t)}function yv(e){return ae(e)+2}function m1(e,t,r){e[t]=Math.max(Math.min(e[t],r[1]),r[0])}function NL(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),m1(e,0,t),m1(e,1,t),e[0]>e[1]&&(e[0]=e[1])}function pi(e,t){return e>=t[0]&&e<=t[1]}function vi(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function di(e,t){return e*(t[1]-t[0])+t[0]}var ns=M(()=>{"use strict";Ot()});var _1,xv,y1=M(()=>{"use strict";Fe();Ma();d1();ns();P();_1=(function(e){mt(t,e);function t(r){var i=e.call(this,r)||this;i.type="ordinal";var n=i.getSetting("ordinalMeta");return n||(n=new _v({})),N(n)&&(n=new _v({categories:F(n,function(a){return z(a)?a.value:a})})),i._ordinalMeta=n,i._extent=i.getSetting("extent")||[0,n.categories.length-1],i}return t.prototype.parse=function(r){return r==null?NaN:U(r)?this._ordinalMeta.getOrdinal(r):Math.round(r)},t.prototype.contain=function(r){return r=this.parse(r),pi(r,this._extent)&&this._ordinalMeta.categories[r]!=null},t.prototype.normalize=function(r){return r=this._getTickNumber(this.parse(r)),vi(r,this._extent)},t.prototype.scale=function(r){return r=Math.round(di(r,this._extent)),this.getRawOrdinalNumber(r)},t.prototype.getTicks=function(){for(var r=[],i=this._extent,n=i[0];n<=i[1];)r.push({value:n}),n++;return r},t.prototype.getMinorTicks=function(r){},t.prototype.setSortInfo=function(r){if(r==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var i=r.ordinalNumbers,n=this._ordinalNumbersByTick=[],a=this._ticksByOrdinalNumber=[],o=0,s=this._ordinalMeta.categories.length,u=Math.min(s,i.length);o=0&&r=0&&r=r},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t})(_e);_e.registerClass(_1);xv=_1});var xn,x1,Sn,Kl=M(()=>{"use strict";Fe();Ot();oa();Ma();ns();xn=Et,x1=(function(e){mt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="interval",r._interval=0,r._intervalPrecision=2,r}return t.prototype.parse=function(r){return r},t.prototype.contain=function(r){return pi(r,this._extent)},t.prototype.normalize=function(r){return vi(r,this._extent)},t.prototype.scale=function(r){return di(r,this._extent)},t.prototype.setExtent=function(r,i){var n=this._extent;isNaN(r)||(n[0]=parseFloat(r)),isNaN(i)||(n[1]=parseFloat(i))},t.prototype.unionExtent=function(r){var i=this._extent;r[0]i[1]&&(i[1]=r[1]),this.setExtent(i[0],i[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(r){this._interval=r,this._niceExtent=this._extent.slice(),this._intervalPrecision=yv(r)},t.prototype.getTicks=function(r){var i=this._interval,n=this._extent,a=this._niceExtent,o=this._intervalPrecision,s=[];if(!i)return s;var u=1e4;n[0]u)return[];var f=s.length?s[s.length-1].value:a[1];return n[1]>f&&(r?s.push({value:xn(f+i,o)}):s.push({value:n[1]})),s},t.prototype.getMinorTicks=function(r){for(var i=this.getTicks(!0),n=[],a=this.getExtent(),o=1;oa[0]&&h{"use strict";P();S1=typeof Float32Array<"u",kL=S1?Float32Array:Array});function wv(e){return e.get("stack")||Sv+e.seriesIndex}function bv(e){return e.dim+e.index}function WV(e){var t=[],r=e.axis,i="axis0";if(r.type==="category"){for(var n=r.getBandWidth(),a=0;a0&&(a=a===null?s:Math.min(a,s))}r[i]=a}}return r}function Mv(e){var t=FL(e),r=[];return S(e,function(i){var n=i.coordinateSystem,a=n.getBaseAxis(),o=a.getExtent(),s;if(a.type==="category")s=a.getBandWidth();else if(a.type==="value"||a.type==="time"){var u=a.dim+"_"+a.index,l=t[u],f=Math.abs(o[1]-o[0]),c=a.scale.getExtent(),p=Math.abs(c[1]-c[0]);s=l?f/p*l:f}else{var h=i.getData();s=Math.abs(o[1]-o[0])/h.count()}var v=xt(i.get("barWidth"),s),m=xt(i.get("barMaxWidth"),s),d=xt(i.get("barMinWidth")||(D1(i)?.5:1),s),g=i.get("barGap"),_=i.get("barCategoryGap");r.push({bandWidth:s,barWidth:v,barMaxWidth:m,barMinWidth:d,barGap:g,barCategoryGap:_,axisKey:bv(a),stackId:wv(i)})}),b1(r)}function b1(e){var t={};S(e,function(i,n){var a=i.axisKey,o=i.bandWidth,s=t[a]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},u=s.stacks;t[a]=s;var l=i.stackId;u[l]||s.autoWidthCount++,u[l]=u[l]||{width:0,maxWidth:0};var f=i.barWidth;f&&!u[l].width&&(u[l].width=f,f=Math.min(s.remainedWidth,f),s.remainedWidth-=f);var c=i.barMaxWidth;c&&(u[l].maxWidth=c);var p=i.barMinWidth;p&&(u[l].minWidth=p);var h=i.barGap;h!=null&&(s.gap=h);var v=i.barCategoryGap;v!=null&&(s.categoryGap=v)});var r={};return S(t,function(i,n){r[n]={};var a=i.stacks,o=i.bandWidth,s=i.categoryGap;if(s==null){var u=J(a).length;s=Math.max(35-u*4,15)+"%"}var l=xt(s,o),f=xt(i.gap,1),c=i.remainedWidth,p=i.autoWidthCount,h=(c-l)/(p+(p-1)*f);h=Math.max(h,0),S(a,function(g){var _=g.maxWidth,y=g.minWidth;if(g.width){var x=g.width;_&&(x=Math.min(x,_)),y&&(x=Math.max(x,y)),g.width=x,c-=x+f*x,p--}else{var x=h;_&&_x&&(x=y),x!==h&&(g.width=x,c-=x+f*x,p--)}}),h=(c-l)/(p+(p-1)*f),h=Math.max(h,0);var v=0,m;S(a,function(g,_){g.width||(g.width=h),m=g,v+=g.width*(1+f)}),m&&(v-=m.width*f);var d=-v/2;S(a,function(g,_){r[n][_]=r[n][_]||{bandWidth:o,offset:d,width:g.width},d+=g.width*(1+f)})}),r}function T1(e,t,r){if(e&&t){var i=e[bv(t)];return i!=null&&r!=null?i[wv(r)]:i}}function qV(e,t){var r=Tv(e,t),i=Mv(r);S(r,function(n){var a=n.getData(),o=n.coordinateSystem,s=o.getBaseAxis(),u=wv(n),l=i[bv(s)][u],f=l.offset,c=l.width;a.setLayout({bandWidth:l.bandWidth,offset:f,size:c})})}function XV(e){return{seriesType:e,plan:No(),reset:function(t){if(M1(t)){var r=t.getData(),i=t.coordinateSystem,n=i.getBaseAxis(),a=i.getOtherAxis(n),o=r.getDimensionIndex(r.mapDimension(a.dim)),s=r.getDimensionIndex(r.mapDimension(n.dim)),u=t.get("showBackground",!0),l=r.mapDimension(a.dim),f=r.getCalculationInfo("stackResultDimension"),c=rs(r,l)&&!!r.getCalculationInfo("stackedOnSeries"),p=a.isHorizontal(),h=zL(n,a),v=D1(t),m=t.get("barMinHeight")||0,d=f&&r.getDimensionIndex(f),g=r.getLayout("size"),_=r.getLayout("offset");return{progress:function(y,x){for(var b=y.count,w=v&&Ql(b*3),T=v&&u&&Ql(b*3),C=v&&Ql(b),D=i.master.getRect(),L=p?D.width:D.height,E,R=x.getStore(),O=0;(E=y.next())!=null;){var I=R.get(c?d:o,E),B=R.get(s,E),k=h,K=void 0;c&&(K=+I-R.get(o,E));var X=void 0,j=void 0,it=void 0,vt=void 0;if(p){var ht=i.dataToPoint([I,B]);if(c){var Ht=i.dataToPoint([K,B]);k=Ht[0]}X=k,j=ht[1]+_,it=ht[0]-k,vt=g,Math.abs(it)0?r:1:r))}var Sv,C1=M(()=>{"use strict";P();Ot();is();yp();w1();Sv="__ec_stack_"});function BL(e,t,r,i){var n=Nt(t),a=Nt(r),o=function(v){return Yh(n,v,i)===Yh(a,v,i)},s=function(){return o("year")},u=function(){return s()&&o("month")},l=function(){return u()&&o("day")},f=function(){return l()&&o("hour")},c=function(){return f()&&o("minute")},p=function(){return c()&&o("second")},h=function(){return p()&&o("millisecond")};switch(e){case"year":return s();case"month":return u();case"day":return l();case"hour":return f();case"minute":return c();case"second":return p();case"millisecond":return h()}}function VL(e,t){return e/=De,e>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function HL(e){var t=30*De;return e/=t,e>6?6:e>3?3:e>2?2:1}function GL(e){return e/=aa,e>12?12:e>6?6:e>3.5?4:e>2?2:1}function E1(e,t){return e/=t?Zu:Xu,e>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function YL(e){return Wn(e,!0)}function WL(e,t,r){var i=new Date(e);switch(cn(t)){case"year":case"month":i[Wh(r)](0);case"day":i[qh(r)](1);case"hour":i[Xh(r)](0);case"minute":i[Zh(r)](0);case"second":i[jh(r)](0),i[Kh(r)](0)}return i.getTime()}function qL(e,t,r,i){var n=1e4,a=Gh,o=0;function s(L,E,R,O,I,B,k){for(var K=new Date(E),X=E,j=K[O]();X1&&B===0&&R.unshift({value:R[0].value-X})}}for(var B=0;B=i[0]&&_<=i[1]&&c++)}var y=(i[1]-i[0])/t;if(c>y*1.5&&p>y/1.5||(l.push(d),c>y||e===a[h]))break}f=[]}}}for(var x=pt(F(l,function(L){return pt(L,function(E){return E.value>=i[0]&&E.value<=i[1]&&!E.notAdd})}),function(L){return L.length>0}),b=[],w=x.length-1,h=0;h{"use strict";Fe();Ot();Ku();ns();Kl();Ma();P();UL=function(e,t,r,i){for(;r>>1;e[n][1]n&&(this._approxInterval=n);var s=$l.length,u=Math.min(UL($l,this._approxInterval,0,s),s-1);this._interval=$l[u][1],this._minLevelUnit=$l[Math.max(u-1,0)][0]},t.prototype.parse=function(r){return ot(r)?r:+Nt(r)},t.prototype.contain=function(r){return pi(this.parse(r),this._extent)},t.prototype.normalize=function(r){return vi(this.parse(r),this._extent)},t.prototype.scale=function(r){return di(r,this._extent)},t.type="time",t})(Sn),$l=[["second",Xu],["minute",Zu],["hour",aa],["quarter-day",aa*6],["half-day",aa*12],["day",De*1.2],["half-week",De*3.5],["week",De*7],["month",De*31],["quarter",De*95],["half-year",Vh/2],["year",Vh]];_e.registerClass(L1);R1=L1});function tf(e,t){return XL(e,ae(t))}var A1,as,XL,ZL,jL,Jl,er,Dv,P1,I1,N1=M(()=>{"use strict";Fe();P();Ma();Ot();ns();Kl();A1=_e.prototype,as=Sn.prototype,XL=Et,ZL=Math.floor,jL=Math.ceil,Jl=Math.pow,er=Math.log,Dv=(function(e){mt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="log",r.base=10,r._originalScale=new Sn,r._interval=0,r}return t.prototype.getTicks=function(r){var i=this._originalScale,n=this._extent,a=i.getExtent(),o=as.getTicks.call(this,r);return F(o,function(s){var u=s.value,l=Et(Jl(this.base,u));return l=u===n[0]&&this._fixMin?tf(l,a[0]):l,l=u===n[1]&&this._fixMax?tf(l,a[1]):l,{value:l}},this)},t.prototype.setExtent=function(r,i){var n=er(this.base);r=er(Math.max(0,r))/n,i=er(Math.max(0,i))/n,as.setExtent.call(this,r,i)},t.prototype.getExtent=function(){var r=this.base,i=A1.getExtent.call(this);i[0]=Jl(r,i[0]),i[1]=Jl(r,i[1]);var n=this._originalScale,a=n.getExtent();return this._fixMin&&(i[0]=tf(i[0],a[0])),this._fixMax&&(i[1]=tf(i[1],a[1])),i},t.prototype.unionExtent=function(r){this._originalScale.unionExtent(r);var i=this.base;r[0]=er(r[0])/er(i),r[1]=er(r[1])/er(i),A1.unionExtent.call(this,r)},t.prototype.unionExtentFromData=function(r,i){this.unionExtent(r.getApproximateExtent(i))},t.prototype.calcNiceTicks=function(r){r=r||10;var i=this._extent,n=i[1]-i[0];if(!(n===1/0||n<=0)){var a=vu(n),o=r/n*a;for(o<=.5&&(a*=10);!isNaN(a)&&Math.abs(a)<1&&Math.abs(a)>0;)a*=10;var s=[Et(jL(i[0]/a)*a),Et(ZL(i[1]/a)*a)];this._interval=a,this._niceExtent=s}},t.prototype.calcNiceExtent=function(r){as.calcNiceExtent.call(this,r),this._fixMin=r.fixMin,this._fixMax=r.fixMax},t.prototype.parse=function(r){return r},t.prototype.contain=function(r){return r=er(r)/er(this.base),pi(r,this._extent)},t.prototype.normalize=function(r){return r=er(r)/er(this.base),vi(r,this._extent)},t.prototype.scale=function(r){return r=di(r,this._extent),Jl(this.base,r)},t.type="log",t})(_e),P1=Dv.prototype;P1.getMinorTicks=as.getMinorTicks;P1.getLabel=as.getLabel;_e.registerClass(Dv);I1=Dv});function k1(e,t,r){var i=e.rawExtentInfo;return i||(i=new KL(e,t,r),e.rawExtentInfo=i,i)}function ef(e,t){return t==null?null:xi(t)?NaN:e.parse(t)}var KL,QL,$L,F1=M(()=>{"use strict";P();Jr();KL=(function(){function e(t,r,i){this._prepareParams(t,r,i)}return e.prototype._prepareParams=function(t,r,i){i[1]0&&u>0&&!l&&(s=0),s<0&&u<0&&!f&&(u=0));var p=this._determinedMin,h=this._determinedMax;return p!=null&&(s=p,l=!0),h!=null&&(u=h,f=!0),{min:s,max:u,minFixed:l,maxFixed:f,isBlank:c}},e.prototype.modifyDataMinMax=function(t,r){this[$L[t]]=r},e.prototype.setDeterminedMinMax=function(t,r){var i=QL[t];this[i]=r},e.prototype.freeze=function(){this.frozen=!0},e})(),QL={min:"_determinedMin",max:"_determinedMax"},$L={min:"_dataMin",max:"_dataMax"}});function JL(e,t){var r=e.type,i=k1(e,t,e.getExtent()).calculate();e.setBlank(i.isBlank);var n=i.min,a=i.max,o=t.ecModel;if(o&&r==="time"){var s=Tv("bar",o),u=!1;if(S(s,function(c){u=u||c.getBaseAxis()===t.axis}),u){var l=Mv(s),f=tR(n,a,t,l);n=f.min,a=f.max}}return{extent:[n,a],fixMin:i.minFixed,fixMax:i.maxFixed}}function tR(e,t,r,i){var n=r.axis.getExtent(),a=Math.abs(n[1]-n[0]),o=T1(i,r.axis);if(o===void 0)return{min:e,max:t};var s=1/0;S(o,function(h){s=Math.min(h.offset,s)});var u=-1/0;S(o,function(h){u=Math.max(h.offset+h.width,u)}),s=Math.abs(s),u=Math.abs(u);var l=s+u,f=t-e,c=1-(s+u)/a,p=f/c-f;return t+=p*(u/l),e-=p*(s/l),{min:e,max:t}}function z1(e,t){var r=t,i=JL(e,r),n=i.extent,a=r.get("splitNumber");e instanceof I1&&(e.base=r.get("logBase"));var o=e.type,s=r.get("interval"),u=o==="interval"||o==="time";e.setExtent(n[0],n[1]),e.calcNiceExtent({splitNumber:a,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:u?r.get("minInterval"):null,maxInterval:u?r.get("maxInterval"):null}),s!=null&&e.setInterval&&e.setInterval(s)}function U1(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new xv({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new R1({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(_e.getClass(t)||Sn)}}function _H(e){var t=e.scale.getExtent(),r=t[0],i=t[1];return!(r>0&&i>0||r<0&&i<0)}function wn(e){var t=e.getLabelModel().get("formatter"),r=e.type==="category"?e.scale.getExtent()[0]:null;return e.scale.type==="time"?(function(i){return function(n,a){return e.scale.getFormattedLabel(n,a,i)}})(t):U(t)?(function(i){return function(n){var a=e.scale.getLabel(n),o=i.replace("{value}",a??"");return o}})(t):H(t)?(function(i){return function(n,a){return r!=null&&(a=n.value-r),i(eR(e,n),a,n.level!=null?{level:n.level}:null)}})(t):function(i){return e.scale.getLabel(i)}}function eR(e,t){return e.type==="category"?e.scale.getLabel(t):t.value}function yH(e){var t=e.model,r=e.scale;if(!(!t.get(["axisLabel","show"])||r.isBlank())){var i,n,a=r.getExtent();r instanceof xv?n=r.count():(i=r.getTicks(),n=i.length);var o=e.getLabelModel(),s=wn(e),u,l=1;n>40&&(l=Math.ceil(n/40));for(var f=0;fe[1]&&(e[1]=n[1])})}var Cv=M(()=>{"use strict";P();y1();Kl();Ma();C1();Xt();O1();N1();is();F1()});var V1,H1=M(()=>{"use strict";V1=(function(){function e(){}return e.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},e.prototype.getCoordSysModel=function(){},e})()});var G1={};Re(G1,{createDimensions:()=>l1,createList:()=>aR,createScale:()=>sR,createSymbol:()=>Il,createTextStyle:()=>lR,dataStack:()=>oR,enableHoverEmphasis:()=>uh,getECData:()=>St,getLayoutRect:()=>tp,mixinAxisModelCommonMethods:()=>uR});function aR(e){return h1(null,e)}function sR(e,t){var r=t;t instanceof At||(r=new At(t));var i=U1(r);return i.setExtent(e[0],e[1]),z1(i,r),i}function uR(e){Gt(e,V1)}function lR(e,t){return t=t||{},Uu(e,null,null,t.state!=="normal")}var oR,Y1=M(()=>{"use strict";P();p1();Cv();H1();kr();rl();is();tn();Vu();gv();kp();$n();oR={isDimensionStacked:rs,enableDataStack:Xl,getStackedDimension:Zl}});function nf(e){if(N(e)){S(e,function(t){nf(t)});return}et(W1,e)>=0||(W1.push(e),H(e)&&(e={install:e}),e.install(fR))}var W1,fR,Ev=M(()=>{"use strict";av();Io();yl();fa();_l();P();Vp();Js();W1=[],fR={registerPreprocessor:ev,registerProcessor:rv,registerPostInit:KS,registerPostUpdate:QS,registerUpdateLifecycle:Hl,registerAction:yn,registerCoordinateSystem:$S,registerLayout:JS,registerVisual:ci,registerTransform:e1,registerLoading:nv,registerMap:t1,registerImpl:ES,PRIORITY:BS,ComponentModel:_t,ComponentView:gr,SeriesModel:Ur,ChartView:_r,registerComponentModel:function(e){_t.registerClass(e)},registerComponentView:function(e){gr.registerClass(e)},registerSeriesModel:function(e){Ur.registerClass(e)},registerChartView:function(e){_r.registerClass(e)},registerSubTypeDefaulter:function(e,t){_t.registerSubTypeDefaulter(e,t)},registerPainter:function(e,t){mc(e,t)}}});function q1(e,t){return Math.abs(e-t){"use strict";Uc();cR=1e-8});function Rv(e,t){for(var r=0;r{"use strict";Fe();Xt();we();X1();Ti();P();pR=[];j1=(function(){function e(t){this.name=t}return e.prototype.setCenter=function(t){this._center=t},e.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this.calcCenter()),t},e})(),Ov=(function(){function e(t,r){this.type="polygon",this.exterior=t,this.interiors=r}return e})(),Av=(function(){function e(t){this.type="linestring",this.points=t}return e})(),K1=(function(e){mt(t,e);function t(r,i,n){var a=e.call(this,r)||this;return a.type="geoJSON",a.geometries=i,a._center=n&&[n[0],n[1]],a}return t.prototype.calcCenter=function(){for(var r=this.geometries,i,n=0,a=0;an&&(i=o,n=u)}if(i)return vR(i.exterior);var l=this.getBoundingRect();return[l.x+l.width/2,l.y+l.height/2]},t.prototype.getBoundingRect=function(r){var i=this._rect;if(i&&!r)return i;var n=[1/0,1/0],a=[-1/0,-1/0],o=this.geometries;return S(o,function(s){s.type==="polygon"?Z1(s.exterior,n,a,r):S(s.points,function(u){Z1(u,n,a,r)})}),isFinite(n[0])&&isFinite(n[1])&&isFinite(a[0])&&isFinite(a[1])||(n[0]=n[1]=a[0]=a[1]=0),i=new Y(n[0],n[1],a[0]-n[0],a[1]-n[1]),r||(this._rect=i),i},t.prototype.contain=function(r){var i=this.getBoundingRect(),n=this.geometries;if(!i.contain(r[0],r[1]))return!1;t:for(var a=0,o=n.length;a>1^-(s&1),u=u>>1^-(u&1),s+=n,u+=a,n=s,a=u,i.push([s/r,u/r])}return i}function Iv(e,t){return e=dR(e),F(pt(e.features,function(r){return r.geometry&&r.properties&&r.geometry.coordinates.length>0}),function(r){var i=r.properties,n=r.geometry,a=[];switch(n.type){case"Polygon":var o=n.coordinates;a.push(new Ov(o[0],o.slice(1)));break;case"MultiPolygon":S(n.coordinates,function(u){u[0]&&a.push(new Ov(u[0],u.slice(1)))});break;case"LineString":a.push(new Av([n.coordinates]));break;case"MultiLineString":a.push(new Av(n.coordinates))}var s=new K1(i[t||"name"],a,i.cp);return s.properties=i,s})}var Nv=M(()=>{"use strict";P();Q1()});var J1={};Re(J1,{MAX_SAFE_INTEGER:()=>t_,asc:()=>Qg,getPercentWithPrecision:()=>$g,getPixelPrecision:()=>pu,getPrecision:()=>ae,getPrecisionSafe:()=>Wc,isNumeric:()=>ro,isRadianAroundZero:()=>r_,linearMap:()=>eo,nice:()=>Wn,numericToNumber:()=>He,parseDate:()=>Nt,quantile:()=>i_,quantity:()=>vu,quantityExponent:()=>Yn,reformIntervals:()=>n_,remRadian:()=>e_,round:()=>Et});var tw=M(()=>{"use strict";Ot()});var ew={};Re(ew,{format:()=>hn,parse:()=>Nt});var rw=M(()=>{"use strict";Ot();Ku()});var iw={};Re(iw,{Arc:()=>on,BezierCurve:()=>xo,BoundingRect:()=>Y,Circle:()=>en,CompoundPath:()=>Eu,Ellipse:()=>po,Group:()=>ke,Image:()=>Ve,IncrementalDisplayable:()=>Iu,Line:()=>an,LinearGradient:()=>Ru,Polygon:()=>yo,Polyline:()=>nn,RadialGradient:()=>Ou,Rect:()=>Zt,Ring:()=>_o,Sector:()=>go,Text:()=>Te,clipPointsByRect:()=>Mh,clipRectByRect:()=>Dh,createIcon:()=>Ch,extendPath:()=>Sh,extendShape:()=>xh,getShapeClass:()=>wh,getTransform:()=>Th,initProps:()=>Ir,makeImage:()=>So,makePath:()=>ra,mergePath:()=>bh,registerShape:()=>Me,resizePath:()=>Fu,updateProps:()=>mr});var nw=M(()=>{"use strict";$e()});var aw={};Re(aw,{addCommas:()=>Lo,capitalFirst:()=>f0,encodeHTML:()=>It,formatTime:()=>l0,formatTpl:()=>$u,getTextRect:()=>Qh,getTooltipMarker:()=>Ju,normalizeCssArray:()=>Ro,toCamelCase:()=>u0,truncateText:()=>Dc});var ow=M(()=>{"use strict";oa()});var sw={};Re(sw,{bind:()=>wt,clone:()=>$,curry:()=>nr,defaults:()=>rt,each:()=>S,extend:()=>A,filter:()=>pt,indexOf:()=>et,inherits:()=>Ea,isArray:()=>N,isFunction:()=>H,isObject:()=>z,isString:()=>U,map:()=>F,merge:()=>at,reduce:()=>Yt});var uw=M(()=>{"use strict";P()});function lw(e,t){var r=F(t,function(i){return e.scale.parse(i)});return e.type==="time"&&r.length>0&&(r.sort(),r.unshift(r[0]),r.push(r[r.length-1])),r}function fw(e){var t=e.getLabelModel().get("customValues");if(t){var r=wn(e),i=e.scale.getExtent(),n=lw(e,t),a=pt(n,function(o){return o>=i[0]&&o<=i[1]});return{labels:F(a,function(o){var s={value:o};return{formattedLabel:r(s),rawLabel:e.scale.getLabel(s),tickValue:o}})}}return e.type==="category"?mR(e):_R(e)}function cw(e,t){var r=e.getTickModel().get("customValues");if(r){var i=e.scale.getExtent(),n=lw(e,r);return{ticks:pt(n,function(a){return a>=i[0]&&a<=i[1]})}}return e.type==="category"?gR(e,t):{ticks:F(e.scale.getTicks(),function(a){return a.value})}}function mR(e){var t=e.getLabelModel(),r=hw(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:r.labelCategoryInterval}:r}function hw(e,t){var r=pw(e,"labels"),i=rf(t),n=vw(r,i);if(n)return n;var a,o;return H(i)?a=_w(e,i):(o=i==="auto"?yR(e):i,a=gw(e,o)),dw(r,i,{labels:a,labelCategoryInterval:o})}function gR(e,t){var r=pw(e,"ticks"),i=rf(t),n=vw(r,i);if(n)return n;var a,o;if((!t.get("show")||e.scale.isBlank())&&(a=[]),H(i))a=_w(e,i,!0);else if(i==="auto"){var s=hw(e,e.getLabelModel());o=s.labelCategoryInterval,a=F(s.labels,function(u){return u.tickValue})}else o=i,a=gw(e,o,!0);return dw(r,i,{ticks:a,tickCategoryInterval:o})}function _R(e){var t=e.scale.getTicks(),r=wn(e);return{labels:F(t,function(i,n){return{level:i.level,formattedLabel:r(i,n),rawLabel:e.scale.getLabel(i),tickValue:i.value}})}}function pw(e,t){return os(e)[t]||(os(e)[t]=[])}function vw(e,t){for(var r=0;r40&&(s=Math.max(1,Math.floor(o/40)));for(var u=a[0],l=e.dataToCoord(u+1)-e.dataToCoord(u),f=Math.abs(l*Math.cos(i)),c=Math.abs(l*Math.sin(i)),p=0,h=0;u<=a[1];u+=s){var v=0,m=0,d=Xs(r({value:u}),t.font,"center","top");v=d.width*1.3,m=d.height*1.3,p=Math.max(p,v,7),h=Math.max(h,m,7)}var g=p/f,_=h/c;isNaN(g)&&(g=1/0),isNaN(_)&&(_=1/0);var y=Math.max(0,Math.floor(Math.min(g,_))),x=os(e.model),b=e.getExtent(),w=x.lastAutoInterval,T=x.lastTickCount;return w!=null&&T!=null&&Math.abs(w-y)<=1&&Math.abs(T-o)<=1&&w>y&&x.axisExtent0===b[0]&&x.axisExtent1===b[1]?y=w:(x.lastTickCount=o,x.lastAutoInterval=y,x.axisExtent0=b[0],x.axisExtent1=b[1]),y}function xR(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function gw(e,t,r){var i=wn(e),n=e.scale,a=n.getExtent(),o=e.getLabelModel(),s=[],u=Math.max((t||0)+1,1),l=a[0],f=n.count();l!==0&&u>1&&f/u>2&&(l=Math.round(Math.ceil(l/u)*u));var c=B1(e),p=o.get("showMinLabel")||c,h=o.get("showMaxLabel")||c;p&&l!==a[0]&&m(a[0]);for(var v=l;v<=a[1];v+=u)m(v);h&&v-u!==a[1]&&m(a[1]);function m(d){var g={value:d};s.push(r?d:{formattedLabel:i(g),rawLabel:n.getLabel(g),tickValue:d})}return s}function _w(e,t,r){var i=e.scale,n=wn(e),a=[];return S(i.getTicks(),function(o){var s=i.getLabel(o),u=o.value;t(o.value,s)&&a.push(r?u:{formattedLabel:n(o),rawLabel:s,tickValue:u})}),a}var os,yw=M(()=>{"use strict";P();Jr();lt();Cv();os=st()});function Sw(e,t){var r=e[1]-e[0],i=t,n=r/i/2;e[0]+=n,e[1]-=n}function wR(e,t,r,i){var n=t.length;if(!e.onBand||r||!n)return;var a=e.getExtent(),o,s;if(n===1)t[0].coord=a[0],o=t[1]={coord:a[1],tickValue:t[0].tickValue};else{var u=t[n-1].tickValue-t[0].tickValue,l=(t[n-1].coord-t[0].coord)/u;S(t,function(h){h.coord-=l/2});var f=e.scale.getExtent();s=1+f[1]-t[n-1].tickValue,o={coord:t[n-1].coord+l*s,tickValue:f[1]+1},t.push(o)}var c=a[0]>a[1];p(t[0].coord,a[0])&&(i?t[0].coord=a[0]:t.shift()),i&&p(a[0],t[0].coord)&&t.unshift({coord:a[0]}),p(a[1],o.coord)&&(i?o.coord=a[1]:t.pop()),i&&p(o.coord,a[1])&&t.push({coord:a[1]});function p(h,v){return h=Et(h),v=Et(v),c?h>v:h{"use strict";P();Ot();yw();xw=[0,1],SR=(function(){function e(t,r,i){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=r,this._extent=i||[0,0]}return e.prototype.contain=function(t){var r=this._extent,i=Math.min(r[0],r[1]),n=Math.max(r[0],r[1]);return t>=i&&t<=n},e.prototype.containData=function(t){return this.scale.contain(t)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(t){return pu(t||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(t,r){var i=this._extent;i[0]=t,i[1]=r},e.prototype.dataToCoord=function(t,r){var i=this._extent,n=this.scale;return t=n.normalize(t),this.onBand&&n.type==="ordinal"&&(i=i.slice(),Sw(i,n.count())),eo(t,xw,i,r)},e.prototype.coordToData=function(t,r){var i=this._extent,n=this.scale;this.onBand&&n.type==="ordinal"&&(i=i.slice(),Sw(i,n.count()));var a=eo(t,i,xw,r);return this.scale.scale(a)},e.prototype.pointToData=function(t,r){},e.prototype.getTicksCoords=function(t){t=t||{};var r=t.tickModel||this.getTickModel(),i=cw(this,r),n=i.ticks,a=F(n,function(s){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(s):s),tickValue:s}},this),o=r.get("alignWithLabel");return wR(this,a,o,t.clamp),a},e.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var t=this.model.getModel("minorTick"),r=t.get("splitNumber");r>0&&r<100||(r=5);var i=this.scale.getMinorTicks(r),n=F(i,function(a){return F(a,function(o){return{coord:this.dataToCoord(o),tickValue:o}},this)},this);return n},e.prototype.getViewLabels=function(){return fw(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var t=this._extent,r=this.scale.getExtent(),i=r[1]-r[0]+(this.onBand?1:0);i===0&&(i=1);var n=Math.abs(t[1]-t[0]);return Math.abs(n)/i},e.prototype.calculateCategoryInterval=function(){return mw(this)},e})();bR=SR});function pG(e){var t=_t.extend(e);return _t.registerClass(t),t}function vG(e){var t=gr.extend(e);return gr.registerClass(t),t}function dG(e){var t=Ur.extend(e);return Ur.registerClass(t),t}function mG(e){var t=_r.extend(e);return _r.registerClass(t),t}var bw=M(()=>{"use strict";fa();Io();_l();yl();mv();Js();Ti();we();P();Xr();Sp();Y1();Ev();Ze();Nv();Nv();tw();rw();nw();ow();uw();re();kr();ww();Bo()});function MR(e,t,r,i,n){var a=r.width,o=r.height;switch(e){case"top":i.set(r.x+a/2,r.y-t),n.set(0,-1);break;case"bottom":i.set(r.x+a/2,r.y+o+t),n.set(0,1);break;case"left":i.set(r.x-t,r.y+o/2),n.set(-1,0);break;case"right":i.set(r.x+a+t,r.y+o/2),n.set(1,0);break}}function DR(e,t,r,i,n,a,o,s,u){o-=e,s-=t;var l=Math.sqrt(o*o+s*s);o/=l,s/=l;var f=o*r+e,c=s*r+t;if(Math.abs(i-n)%ss<1e-4)return u[0]=f,u[1]=c,l-r;if(a){var p=i;i=ze(n),n=ze(p)}else i=ze(i),n=ze(n);i>n&&(n+=ss);var h=Math.atan2(s,o);if(h<0&&(h+=ss),h>=i&&h<=n||h+ss>=i&&h+ss<=n)return u[0]=f,u[1]=c,l-r;var v=r*Math.cos(i)+e,m=r*Math.sin(i)+t,d=r*Math.cos(n)+e,g=r*Math.sin(n)+t,_=(v-o)*(v-o)+(m-s)*(m-s),y=(d-o)*(d-o)+(g-s)*(g-s);return _0){t=t/180*Math.PI,ir.fromArray(e[0]),ct.fromArray(e[1]),bt.fromArray(e[2]),q.sub(xr,ir,ct),q.sub(yr,bt,ct);var r=xr.len(),i=yr.len();if(!(r<.001||i<.001)){xr.scale(1/r),yr.scale(1/i);var n=xr.dot(yr),a=Math.cos(t);if(a1&&q.copy(se,bt),se.toArray(e[1])}}}}function IG(e,t,r){if(r<=180&&r>0){r=r/180*Math.PI,ir.fromArray(e[0]),ct.fromArray(e[1]),bt.fromArray(e[2]),q.sub(xr,ct,ir),q.sub(yr,bt,ct);var i=xr.len(),n=yr.len();if(!(i<.001||n<.001)){xr.scale(1/i),yr.scale(1/n);var a=xr.dot(t),o=Math.cos(r);if(a=u)q.copy(se,bt);else{se.scaleAndAdd(yr,s/Math.tan(Math.PI/2-f));var c=bt.x!==ct.x?(se.x-ct.x)/(bt.x-ct.x):(se.y-ct.y)/(bt.y-ct.y);if(isNaN(c))return;c<0?q.copy(se,ct):c>1&&q.copy(se,bt)}se.toArray(e[1])}}}}function kv(e,t,r,i){var n=r==="normal",a=n?e:e.ensureState(r);a.ignore=t;var o=i.get("smooth");o&&o===!0&&(o=.3),a.shape=a.shape||{},o>0&&(a.shape.smooth=o);var s=i.getModel("lineStyle").getLineStyle();n?e.useStyle(s):a.style=s}function RR(e,t){var r=t.smooth,i=t.points;if(i)if(e.moveTo(i[0][0],i[0][1]),r>0&&i.length>=3){var n=Ln(i[0],i[1]),a=Ln(i[1],i[2]);if(!n||!a){e.lineTo(i[1][0],i[1][1]),e.lineTo(i[2][0],i[2][1]);return}var o=Math.min(n,a)*r,s=Ia([],i[1],i[0],o/n),u=Ia([],i[1],i[2],o/a),l=Ia([],s,u,.5);e.bezierCurveTo(s[0],s[1],s[0],s[1],l[0],l[1]),e.bezierCurveTo(u[0],u[1],u[0],u[1],i[2][0],i[2][1])}else for(var f=1;f{"use strict";$e();Ki();su();Er();P();Ti();we();$n();ss=Math.PI*2,bn=be.CMD,TR=["top","right","bottom","left"];rr=[];ir=new q,ct=new q,bt=new q,xr=new q,yr=new q;of=[],se=new q});function Ew(e){for(var t=[],r=0;r0&&a&&w(-c/o,0,o);var d=e[0],g=e[o-1],_,y;x(),_<0&&T(-_,.8),y<0&&T(y,.8),x(),b(_,y,1),b(y,_,-1),x(),_<0&&C(-_),y<0&&C(y);function x(){_=d.rect[t]-i,y=n-g.rect[t]-g.rect[r]}function b(D,L,E){if(D<0){var R=Math.min(L,-D);if(R>0){w(R*E,0,o);var O=R+D;O<0&&T(-O*E,1)}else T(-D*E,1)}}function w(D,L,E){D!==0&&(l=!0);for(var R=L;R0)for(var O=0;O0;O--){var K=E[O-1]*k;w(-K,O,o)}}}function C(D){var L=D<0?-1:1;D=Math.abs(D);for(var E=Math.ceil(D/(o-1)),R=0;R0?w(E,0,R+1):w(-E,o-R-1,o),D-=E,D<=0)return}return l}function Rw(e,t,r,i){return Lw(e,"x","width",t,r,i)}function Ow(e,t,r,i){return Lw(e,"y","height",t,r,i)}function Aw(e){var t=[];e.sort(function(m,d){return d.priority-m.priority});var r=new Y(0,0,0,0);function i(m){if(!m.ignore){var d=m.ensureState("emphasis");d.ignore==null&&(d.ignore=!1)}m.ignore=!0}for(var n=0;n{"use strict";$e()});function OR(e){if(e){for(var t=[],r=0;r{"use strict";$e();tn();Ot();ja();Cw();lt();P();Pw();Vu();su();Iw=["align","verticalAlign","width","height","fontSize"],ue=new Ui,zv=st(),PR=st();uf=["x","y","rotation"],IR=(function(){function e(){this._labelList=[],this._chartViewList=[]}return e.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},e.prototype._addLabel=function(t,r,i,n,a){var o=n.style,s=n.__hostTarget,u=s.textConfig||{},l=n.getComputedTransform(),f=n.getBoundingRect().plain();Y.applyTransform(f,f,l),l?ue.setLocalTransform(l):(ue.x=ue.y=ue.rotation=ue.originX=ue.originY=0,ue.scaleX=ue.scaleY=1),ue.rotation=ze(ue.rotation);var c=n.__hostTarget,p;if(c){p=c.getBoundingRect().plain();var h=c.getComputedTransform();Y.applyTransform(p,p,h)}var v=p&&c.getTextGuideLine();this._labelList.push({label:n,labelLine:v,seriesModel:i,dataIndex:t,dataType:r,layoutOption:a,computedLayoutOption:null,rect:f,hostRect:p,priority:p?p.width*p.height:0,defaultAttr:{ignore:n.ignore,labelGuideIgnore:v&&v.ignore,x:ue.x,y:ue.y,scaleX:ue.scaleX,scaleY:ue.scaleY,rotation:ue.rotation,style:{x:o.x,y:o.y,align:o.align,verticalAlign:o.verticalAlign,width:o.width,height:o.height,fontSize:o.fontSize},cursor:n.cursor,attachedPos:u.position,attachedRot:u.rotation}})},e.prototype.addLabelsOfSeries=function(t){var r=this;this._chartViewList.push(t);var i=t.__model,n=i.get("labelLayout");(H(n)||J(n).length)&&t.group.traverse(function(a){if(a.ignore)return!0;var o=a.getTextContent(),s=St(a);o&&!o.disableLabelLayout&&r._addLabel(s.dataIndex,s.dataType,i,o,n)})},e.prototype.updateLayoutConfig=function(t){var r=t.getWidth(),i=t.getHeight();function n(y,x){return function(){Fv(y,x)}}for(var a=0;a=0&&i.attr(a.oldLayoutSelect),et(p,"emphasis")>=0&&i.attr(a.oldLayoutEmphasis)),mr(i,l,r,u)}else if(i.attr(l),!wo(i).valueAnimation){var c=W(i.style.opacity,1);i.style.opacity=0,Ir(i,{style:{opacity:c}},r,u)}if(a.oldLayout=l,i.states.select){var h=a.oldLayoutSelect={};sf(h,l,uf),sf(h,i.states.select,uf)}if(i.states.emphasis){var v=a.oldLayoutEmphasis={};sf(v,l,uf),sf(v,i.states.emphasis,uf)}Vy(i,u,f,r,r)}if(n&&!n.ignore&&!n.invisible){var a=PR(n),o=a.oldLayout,m={points:n.shape.points};o?(n.attr({shape:o}),mr(n,{shape:m},r)):(n.setShape(m),n.style.strokePercent=0,Ir(n,{style:{strokePercent:1}},r)),a.oldLayout=m}},e})(),Nw=IR});function Fw(e){e.registerUpdateLifecycle("series:beforeupdate",function(t,r,i){var n=Uv(r).labelManager;n||(n=Uv(r).labelManager=new Nw),n.clearLabels()}),e.registerUpdateLifecycle("series:layoutlabels",function(t,r,i){var n=Uv(r).labelManager;i.updatedSeries.forEach(function(a){n.addLabelsOfSeries(r.getViewOfSeriesModel(a))}),n.updateLayoutConfig(r),n.layout(r),n.processLabelsOverall()})}var Uv,zw=M(()=>{"use strict";lt();kw();Uv=st()});var NR=M(()=>{"use strict";av();bw();Ev();zw();nf(Fw)});function Uw(e,t,r){var i=ie.createCanvas(),n=t.getWidth(),a=t.getHeight(),o=i.style;return o&&(o.position="absolute",o.left="0",o.top="0",o.width=n+"px",o.height=a+"px",i.setAttribute("data-zr-dom-id",e)),i.width=n*r,i.height=a*r,i}var kR,lf,Bw=M(()=>{"use strict";dt();P();Ni();Zr();bl();Bo();Xt();Kr();Ze();kR=(function(e){G(t,e);function t(r,i,n){var a=e.call(this)||this;a.motionBlur=!1,a.lastFrameAlpha=.7,a.dpr=1,a.virtual=!1,a.config={},a.incremental=!1,a.zlevel=0,a.maxRepaintRectCount=5,a.__dirty=!0,a.__firstTimePaint=!0,a.__used=!1,a.__drawIndex=0,a.__startIndex=0,a.__endIndex=0,a.__prevStartIndex=null,a.__prevEndIndex=null;var o;n=n||Ii,typeof r=="string"?o=Uw(r,i,n):z(r)&&(o=r,r=o.id),a.id=r,a.dom=o;var s=o.style;return s&&(Oa(o),o.onselectstart=function(){return!1},s.padding="0",s.margin="0",s.borderWidth="0"),a.painter=i,a.dpr=n,a}return t.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},t.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},t.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},t.prototype.setUnpainted=function(){this.__firstTimePaint=!0},t.prototype.createBackBuffer=function(){var r=this.dpr;this.domBack=Uw("back-"+this.id,this.painter,r),this.ctxBack=this.domBack.getContext("2d"),r!==1&&this.ctxBack.scale(r,r)},t.prototype.createRepaintRects=function(r,i,n,a){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var o=[],s=this.maxRepaintRectCount,u=!1,l=new Y(0,0,0,0);function f(_){if(!(!_.isFinite()||_.isZero()))if(o.length===0){var y=new Y(0,0,0,0);y.copy(_),o.push(y)}else{for(var x=!1,b=1/0,w=0,T=0;T=s)}}for(var c=this.__startIndex;c{"use strict";Ni();P();Bw();Yf();re();Bo();Kr();bl();Vw=1e5,Tn=314159,ff=.01,FR=.001;BR=(function(){function e(t,r,i,n){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var a=!t.nodeName||t.nodeName.toUpperCase()==="CANVAS";this._opts=i=A({},i||{}),this.dpr=i.devicePixelRatio||Ii,this._singleCanvas=a,this.root=t;var o=t.style;o&&(Oa(t),t.innerHTML=""),this.storage=r;var s=this._zlevelList;this._prevDisplayList=[];var u=this._layers;if(a){var f=t,c=f.width,p=f.height;i.width!=null&&(c=i.width),i.height!=null&&(p=i.height),this.dpr=i.devicePixelRatio||1,f.width=c*this.dpr,f.height=p*this.dpr,this._width=c,this._height=p;var h=new lf(f,this,this.dpr);h.__builtin__=!0,h.initContext(),u[Tn]=h,h.zlevel=Tn,s.push(Tn),this._domRoot=t}else{this._width=Fo(t,0,i),this._height=Fo(t,1,i);var l=this._domRoot=UR(this._width,this._height);t.appendChild(l)}}return e.prototype.getType=function(){return"canvas"},e.prototype.isSingleCanvas=function(){return this._singleCanvas},e.prototype.getViewportRoot=function(){return this._domRoot},e.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},e.prototype.refresh=function(t){var r=this.storage.getDisplayList(!0),i=this._prevDisplayList,n=this._zlevelList;this._redrawId=Math.random(),this._paintList(r,i,t,this._redrawId);for(var a=0;a15)break}}I.prevElClipPaths&&g.restore()};if(_)if(_.length===0)C=d.__endIndex;else for(var L=h.dpr,E=0;E<_.length;++E){var R=_[E];g.save(),g.beginPath(),g.rect(R.x*L,R.y*L,R.width*L,R.height*L),g.clip(),D(R),g.restore()}else g.save(),D(),g.restore();d.__drawIndex=C,d.__drawIndex0&&t>n[0]){for(u=0;ut);u++);s=i[n[u]]}if(n.splice(u+1,0,t),i[t]=r,!r.virtual)if(s){var l=s.dom;l.nextSibling?o.insertBefore(r.dom,l.nextSibling):o.appendChild(r.dom)}else o.firstChild?o.insertBefore(r.dom,o.firstChild):o.appendChild(r.dom);r.painter||(r.painter=this)}},e.prototype.eachLayer=function(t,r){for(var i=this._zlevelList,n=0;n0?ff:0),this._needsManuallyCompositing),f.__builtin__||yi("ZLevel "+l+" has been used by unkown layer "+f.id),f!==a&&(f.__used=!0,f.__startIndex!==u&&(f.__dirty=!0),f.__startIndex=u,f.incremental?f.__drawIndex=-1:f.__drawIndex=u,r(u),a=f),n.__dirty&Ct&&!n.__inHover&&(f.__dirty=!0,f.incremental&&f.__drawIndex<0&&(f.__drawIndex=u))}r(u),this.eachBuiltinLayer(function(c,p){!c.__used&&c.getElementCount()>0&&(c.__dirty=!0,c.__startIndex=c.__endIndex=c.__drawIndex=0),c.__dirty&&c.__drawIndex<0&&(c.__drawIndex=c.__startIndex)})},e.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},e.prototype._clearLayer=function(t){t.clear()},e.prototype.setBackgroundColor=function(t){this._backgroundColor=t,S(this._layers,function(r){r.setUnpainted()})},e.prototype.configLayer=function(t,r){if(r){var i=this._layerConfig;i[t]?at(i[t],r,!0):i[t]=r;for(var n=0;n{"use strict";Gw()});function E3(e){e.registerComponentModel(HR),e.registerComponentView(GR)}var HR,GR,YR=M(()=>{"use strict";Fe();fa();Io();Je();vp();HR=(function(e){mt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="dataset",r}return t.prototype.init=function(r,i,n){e.prototype.init.call(this,r,i,n),this._sourceManager=new vl(this),pp(this)},t.prototype.mergeOption=function(r,i){e.prototype.mergeOption.call(this,r,i),pp(this)},t.prototype.optionUpdated=function(){this._sourceManager.dirty()},t.prototype.getSourceManager=function(){return this._sourceManager},t.type="dataset",t.defaultOption={seriesLayoutBy:de},t})(_t),GR=(function(e){mt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="dataset",r}return t.type="dataset",t})(gr)});export{WR as a,qR as b,XR as c,M as d,Yv as e,Re as f,qv as g,ZR as h,jR as i,mt as j,Fe as k,tt as l,re as m,Jw as n,Xe as o,ie as p,hf as q,Ze as r,$ as s,at as t,lb as u,A as v,rt as w,et as x,Gt as y,Tt as z,S as A,F as B,Yt as C,pt as D,cb as E,J as F,wt as G,nr as H,N as I,H as J,U as K,ot as L,z as M,cs as N,pb as O,xi as P,vb as Q,W as R,Si as S,Ra as T,Lt as U,Wt as V,V as W,gf as X,xe as Y,Ut as Z,ut as _,P as $,br as aa,gb as ba,_f as ca,_b as da,yb as ea,yf as fa,xf as ga,Aa as ha,wf as ia,Ln as ja,Yr as ka,Ia as la,Se as ma,Oe as na,Ae as oa,ar as pa,we as qa,Bt as ra,Zr as sa,PO as ta,It as ua,kf as va,Ie as wa,Pd as xa,Nd as ya,FO as za,Ts as Aa,Tr as Ba,bi as Ca,vs as Da,Mr as Ea,ds as Fa,bf as Ga,Tf as Ha,Dr as Ia,Db as Ja,Rn as Ka,Ti as La,q as Ma,Ms as Na,Y as Oa,Xt as Pa,Mt as Qa,Ps as Ra,Nn as Sa,Rt as Ta,Xf as Ua,kn as Va,Er as Wa,zs as Xa,jf as Ya,qt as Za,Lf as _a,nd as $a,ad as ab,Ib as bb,Nb as cb,qr as db,gs as eb,Rf as fb,Xr as gb,vA as hb,dA as ib,lm as jb,mA as kb,gA as lb,_A as mb,yA as nb,xA as ob,sT as pb,SA as qb,fm as rb,cm as sb,wA as tb,bA as ub,TA as vb,MA as wb,DA as xb,hm as yb,Ya as zb,tc as Ab,zi as Bb,TT as Cb,Ui as Db,ja as Eb,Xs as Fb,Zs as Gb,sr as Hb,js as Ib,Jr as Jb,ke as Kb,Ka as Lb,zT as Mb,_c as Nb,Js as Ob,eo as Pb,xt as Qb,Et as Rb,Qg as Sb,ae as Tb,pu as Ub,IM as Vb,t_ as Wb,e_ as Xb,r_ as Yb,Nt as Zb,i_ as _b,n_ as $b,He as ac,ro as bc,Ot as cc,JI as dc,jt as ec,Xc as fc,gt as gc,Zc as hc,Or as ic,c_ as jc,pe as kc,gu as lc,nN as mc,aN as nc,Ji as oc,st as pc,_u as qc,Kc as rc,Ar as sc,oN as tc,Xn as uc,sN as vc,uN as wc,d_ as xc,lt as yc,lr as zc,Qa as Ac,wc as Bc,bc as Cc,cr as Dc,Yi as Ec,nI as Fc,Sg as Gc,nM as Hc,be as Ic,Ki as Jc,Qi as Kc,wg as Lc,Mg as Mc,Dg as Nc,ze as Oc,su as Pc,Vc as Qc,Z as Rc,Vt as Sc,to as Tc,Hc as Uc,Ve as Vc,uu as Wc,Zt as Xc,Gc as Yc,RM as Zc,OM as _c,Te as $c,hu as ad,St as bd,m_ as cd,tn as dd,ao as ed,Ge as fd,jn as gd,XM as hd,mN as id,eD as jd,lo as kd,fo as ld,C_ as md,ih as nd,uh as od,gN as pd,iD as qd,_N as rd,I_ as sd,co as td,yN as ud,$n as vd,W_ as wd,LN as xd,Z_ as yd,en as zd,K_ as Ad,po as Bd,$_ as Cd,go as Dd,ny as Ed,_o as Fd,yo as Gd,fy as Hd,nn as Id,hy as Jd,an as Kd,vy as Ld,xo as Md,Eu as Nd,xy as Od,Ru as Pd,Sy as Qd,Ou as Rd,wy as Sd,AD as Td,mr as Ud,Ir as Vd,gh as Wd,Cy as Xd,C2 as Yd,E2 as Zd,Ey as _d,wh as $d,ra as ae,bh as be,ID as ce,kD as de,Th as ee,Ay as fe,FD as ge,UD as he,Mh as ie,Ch as je,BD as ke,HD as le,Eh as me,zu as ne,$e as oe,ok as pe,sk as qe,Uu as re,Iy as se,By as te,wo as ue,uk as ve,Vy as we,Vu as xe,At as ye,kr as ze,oi as Ae,Ik as Be,bo as Ce,zh as De,Qy as Ee,Wu as Fe,hn as Ge,Ku as He,u0 as Ie,Ro as Je,$u as Ke,Gk as Le,c0 as Me,Yk as Ne,oa as Oe,KD as Pe,jk as Qe,$k as Re,tp as Se,Jk as Te,tF as Ue,sa as Ve,ua as We,el as Xe,QD as Ye,rl as Ze,_t as _e,fa as $e,Ft as af,oe as bf,Je as cf,g0 as df,vF as ef,ca as ff,vU as gf,yx as hf,sF as if,ep as jf,xa as kf,Cp as lf,va as mf,da as nf,C0 as of,OF as pf,E0 as qf,ma as rf,UF as sf,O0 as tf,BF as uf,fl as vf,dl as wf,gz as xf,Y0 as yf,_z as zf,yz as Af,W0 as Bf,q0 as Cf,X0 as Df,NC as Ef,Ur as Ff,_l as Gf,gr as Hf,Io as If,No as Jf,yp as Kf,_r as Lf,yl as Mf,Sl as Nf,Zz as Of,jz as Pf,Sp as Qf,cS as Rf,hS as Sf,sB as Tf,pS as Uf,cB as Vf,dS as Wf,Xo as Xf,mS as Yf,Np as Zf,Il as _f,yB as $f,xB as ag,kp as bg,Fo as cg,bl as dg,wp as eg,rx as fg,Uo as gg,zp as hg,TS as ig,m5 as jg,g5 as kg,BS as lg,_5 as mg,y5 as ng,lL as og,x5 as pg,S5 as qg,ZS as rg,w5 as sg,jS as tg,ev as ug,rv as vg,KS as wg,QS as xg,Hl as yg,yn as zg,$S as Ag,b5 as Bg,JS as Cg,ci as Dg,nv as Eg,T5 as Fg,t1 as Gg,M5 as Hg,e1 as Ig,D5 as Jg,av as Kg,i1 as Lg,n1 as Mg,o1 as Ng,sv as Og,dv as Pg,mv as Qg,ql as Rg,gv as Sg,rs as Tg,Zl as Ug,is as Vg,h1 as Wg,p1 as Xg,_v as Yg,d1 as Zg,EV as _g,LV as $g,ns as ah,xv as bh,y1 as ch,Sn as dh,Kl as eh,Ql as fh,w1 as gh,WV as hh,qV as ih,XV as jh,C1 as kh,R1 as lh,O1 as mh,k1 as nh,F1 as oh,JL as ph,z1 as qh,U1 as rh,_H as sh,eR as th,yH as uh,B1 as vh,iR as wh,xH as xh,Cv as yh,V1 as zh,H1 as Ah,G1 as Bh,nf as Ch,Ev as Dh,Lv as Eh,X1 as Fh,K1 as Gh,WH as Hh,Q1 as Ih,Iv as Jh,Nv as Kh,J1 as Lh,ew as Mh,iw as Nh,aw as Oh,sw as Ph,bR as Qh,ww as Rh,pG as Sh,vG as Th,dG as Uh,mG as Vh,LR as Wh,IG as Xh,Mw as Yh,Dw as Zh,Cw as _h,Ew as $h,Ow as ai,Aw as bi,Pw as ci,Fw as di,zw as ei,NR as fi,S3 as gi,VR as hi,E3 as ii,YR as ji}; diff --git a/server/src/uds/static/admin/chunk-SMYT26DJ.js b/server/src/uds/static/admin/chunk-SMYT26DJ.js new file mode 100644 index 000000000..419ba2e5d --- /dev/null +++ b/server/src/uds/static/admin/chunk-SMYT26DJ.js @@ -0,0 +1,26 @@ +import{$ as z,$a as ns,$b as ju,$c as ut,$d as Ss,$e as de,$f as wr,$g as Gs,$h as Cg,A as w,Aa as Gi,Ab as lT,Ac as Sm,Ad as vT,Ae as Ts,Af as Es,Ag as cV,Ah as on,B as O,Ba as He,Bb as Wi,Bc as bm,Bd as zm,Be as De,Bf as $e,Bg as hV,Bh as _V,C as $n,Ca as Ed,Cb as tm,Cc as pT,Cd as dT,Ce as Or,Cf as ag,Cg as vV,Ch as nt,D as Ot,Da as Rd,Db as si,Dc as Je,Dd as ge,De as Kk,Df as TT,Dg as dV,Dh as Ze,E as yd,Ea as Bi,Eb as ps,Ec as Yi,Ed as mT,Ee as op,Ef as Rs,Eg as mV,Eh as Qi,F as Gt,Fa as Fe,Fb as Zi,Fc as fi,Fd as gs,Fe as bT,Ff as _t,Fg as gV,Fh as zT,G as F,Ga as nr,Gb as em,Gc as qu,Gd as ie,Ge as Gm,Gf as ue,Gg as yV,Gh as Sg,H as J,Ha as rs,Hb as li,Hc as vs,Hd as Em,He as _T,Hf as Dt,Hg as xV,Hh as bg,I as G,Ia as as,Ib as Zu,Ic as Xi,Id as le,Ie as Cs,If as ye,Ig as SV,Ih as _g,J as at,Ja as kd,Jb as ma,Jc as Ko,Jd as gT,Je as Aa,Jf as Ma,Jg as bV,Jh as wg,K,Ka as ta,Kb as Y,Kc as Ju,Kd as oe,Ke as Bm,Kf as ks,Kg as Os,Kh as ET,L as Rt,La as Pr,Lb as Yu,Lc as fT,Ld as yT,Le as Hm,Lf as xt,Lg as Ve,Lh as wV,M as Tt,Ma as Le,Mb as rm,Mc as _m,Md as ys,Me as ia,Mf as pe,Mg as gi,Mh as AV,N as Go,Na as nT,Nb as Xk,Nc as cT,Nd as xs,Ne as di,Nf as ig,Ng as tn,Nh as TV,O as xd,Oa as Vt,Ob as uT,Oc as jo,Od as xT,Oe as br,Of as ur,Og as lg,Oh as CV,P as Sd,Pa as sr,Pb as wt,Pc as hT,Pd as Sa,Pe as Fm,Pf as oa,Pg as te,Ph as DV,Q as Wt,Qa as Fu,Qb as Z,Qc as $u,Qd as Rm,Qe as _r,Qf as mi,Qg as Ur,Qh as Ae,R as kt,Ra as Wu,Rb as Pe,Rc as Mt,Rd as km,Re as Wm,Rf as pp,Rg as za,Rh as xi,S as qe,Sa as Hi,Sb as me,Sc as Rr,Sd as ST,Se as Lt,Sf as Ia,Sg as Us,Sh as MV,T as bd,Ta as is,Tb as am,Tc as ds,Td as ra,Te as Ta,Tf as fp,Tg as Gr,Th as IV,U as rr,Ua as Vd,Ub as im,Uc as wm,Ud as pt,Ue as Zm,Uf as Qo,Ug as ug,Uh as LV,V as Qn,Va as Nd,Vb as om,Vc as se,Vd as It,Ve as Ym,Vf as Vs,Vg as en,Vh as PV,W as et,Wa as Ho,Wb as Xu,Wc as ga,Wd as aa,We as Ca,Wf as og,Wg as we,Wh as Ag,X as ri,Xa as Od,Xb as Ku,Xc as ct,Xd as vi,Xe as Da,Xf as $i,Xg as na,Xh as Tg,Y as j,Ya as sT,Yb as ui,Yc as Qu,Yd as ve,Ye as Xm,Yf as cp,Yg as pg,Yh as Zs,Z as Te,Za as os,Zb as nm,Zc as Am,Zd as Vm,Ze as Kt,Zf as ng,Zg as MT,Zh as Ys,_ as W,_a as Ud,_b as fs,_c as Tm,_d as Ee,_e as At,_f as zt,_g as rn,_h as gp,aa as _d,ab as Gd,ac as sm,ad as tp,ae as Nm,af as Ds,ag as Qe,ah as vp,ai as Dg,ba as Se,bb as ii,bc as lm,bd as Q,be as Re,bf as Km,bg as Me,bh as fg,bi as Mg,ca as ar,cb as oi,cc as bt,cd as ep,ce as ba,cf as jm,cg as hp,ch as IT,ci as Ig,da as wd,db as Fi,dc as um,dd as Jt,de as bs,df as qm,dg as CT,dh as yi,di as yp,ea as Bo,eb as Bd,ec as Yt,ed as Cm,ee as Nr,ef as qi,eg as sg,eh as dp,ei as RT,fa as Qr,fb as Hd,fc as pi,fd as ya,fe as ke,ff as Ms,fg as DT,fh as Ar,fi as kT,ga as Gu,gb as ni,gc as ne,gd as Dm,ge as ji,gf as Jm,gg as jk,gh as Bs,gi as xp,ha as Ad,hb as da,hc as Er,hd as xa,he as _a,hf as wT,hg as La,hh as cg,hi as VT,ia as Lr,ib as zr,ic as pm,id as ci,ie as Om,if as Jo,ig as Ns,ih as Hs,ii as Sp,j as M,ja as ai,jb as Fd,jc as fm,jd as kr,je as wa,jf as $m,jg as qk,jh as Fs,ji as NT,k as N,ka as Td,kb as Wd,kc as ze,kd as yr,ke as qo,kf as Is,kg as Jk,kh as mp,l as he,la as Cd,lb as Zd,lc as cm,ld as xr,le as Sr,lf as Qm,lg as $k,lh as hg,m as Oi,ma as ir,mb as Yd,mc as hm,md as Mm,me as lr,mf as np,mg as Qk,mh as LT,n as dd,na as Dd,nb as Xd,nc as vm,nd as Im,ne as it,nf as AT,ng as tV,nh as vg,o as md,oa as Md,ob as Kd,oc as Yo,od as ea,oe as tt,of as $o,og as eV,oh as PT,p as Uu,pa as gr,pb as jd,pc as mt,pd as gt,pe as Ut,pf as sp,pg as rV,ph as dg,q as Yk,qa as Be,qb as Fo,qc as cs,qd as rp,qe as Pt,qf as lp,qg as aV,qh as Br,r as gd,ra as ts,rb as qd,rc as dm,rd as Zt,re as Ct,rf as Ji,rg as iV,rh as Ea,s as ot,sa as Id,sb as Jd,sc as qt,sd as hi,se as ip,sf as Ls,sg as oV,sh as mg,t as dt,ta as Ld,tb as ss,tc as mm,td as ap,te as _s,tf as tg,tg as nV,th as Ws,u as Ui,ua as es,ub as Wo,uc as gm,ud as Lm,ue as ws,uf as eg,ug as sV,uh as gg,v as B,va as Pd,vb as ls,vc as ym,vd as Ft,ve as As,vf as Ps,vg as lV,vh as yg,w as $,wa as zd,wb as us,wc as Xo,wd as Pm,we as Um,wf as jt,wg as uV,wh as an,x as yt,xa as Bu,xb as $d,xc as xm,xd as Ki,xe as Bt,xf as up,xg as pV,xh as xg,y as ae,ya as or,yb as Zo,yc as lt,yd as ms,ye as Nt,yf as rg,yg as fV,yh as sa,z as Jn,za as Hu,zb as Qd,zc as hs,zd as Vr,ze as We,zf as zs,zg as Pa,zh as Hr}from"./chunk-37LATD7Z.js";Ze();kT();Zo();Rr();ga();ma();wm();Zo();var bp=Math.sin,_p=Math.cos,Lg=Math.PI,Si=Math.PI*2,OT=180/Lg,UT=(function(){function a(){}return a.prototype.reset=function(e){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,e||4)},a.prototype.moveTo=function(e,t){this._add("M",e,t)},a.prototype.lineTo=function(e,t){this._add("L",e,t)},a.prototype.bezierCurveTo=function(e,t,r,i,o,n){this._add("C",e,t,r,i,o,n)},a.prototype.quadraticCurveTo=function(e,t,r,i){this._add("Q",e,t,r,i)},a.prototype.arc=function(e,t,r,i,o,n){this.ellipse(e,t,r,r,0,i,o,n)},a.prototype.ellipse=function(e,t,r,i,o,n,s,l){var u=s-n,p=!l,f=Math.abs(u),c=zr(f-Si)||(p?u>=Si:-u>=Si),h=u>0?u%Si:u%Si+Si,v=!1;c?v=!0:zr(f)?v=!1:v=h>=Lg==!!p;var d=e+r*_p(n),m=t+i*bp(n);this._start&&this._add("M",d,m);var g=Math.round(o*OT);if(c){var y=1/this._p,x=(p?1:-1)*(Si-y);this._add("A",r,i,g,1,+p,e+r*_p(n+x),t+i*bp(n+x)),y>.01&&this._add("A",r,i,g,0,+p,d,m)}else{var S=e+r*_p(s),b=t+i*bp(s);this._add("A",r,i,g,+v,+p,S,b)}},a.prototype.rect=function(e,t,r,i){this._add("M",e,t),this._add("l",r,0),this._add("l",0,i),this._add("l",-r,0),this._add("Z")},a.prototype.closePath=function(){this._d.length>0&&this._add("Z")},a.prototype._add=function(e,t,r,i,o,n,s,l,u){for(var p=[],f=this._p,c=1;c"}function ZT(a){return""}function sn(a,e){e=e||{};var t=e.newline?` +`:"";function r(i){var o=i.children,n=i.tag,s=i.attrs,l=i.text;return WT(n,s)+(n!=="style"?es(l):l||"")+(o?""+t+O(o,function(u){return r(u)}).join(t)+t:"")+ZT(n)}return r(a)}function Rg(a,e,t){t=t||{};var r=t.newline?` +`:"",i=" {"+r,o=r+"}",n=O(Gt(a),function(l){return l+i+O(Gt(a[l]),function(u){return u+":"+a[l][u]+";"}).join(r)+o}).join(r),s=O(Gt(e),function(l){return"@keyframes "+l+i+O(Gt(e[l]),function(u){return u+i+O(Gt(e[l][u]),function(p){var f=e[l][u][p];return p==="d"&&(f='path("'+f+'")'),p+":"+f+";"}).join(r)+o}).join(r)+o}).join(r);return!n&&!s?"":[""].join(r)}function ln(a){return{zrId:a,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function Dp(a,e,t,r){return fe("svg","root",{width:a,height:e,xmlns:Pg,"xmlns:xlink":Tp,version:"1.1",baseProfile:"full",viewBox:r?"0 0 "+a+" "+e:!1},t)}z();pT();ps();Ko();Zo();z();xT();sT();var YT=0;function js(){return YT++}var kg={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},bi="transform-origin";function XT(a,e,t){var r=B({},a.shape);B(r,e),a.buildPath(t,r);var i=new Xs;return i.reset(ls(a)),t.rebuildPath(i,1),i.generateStr(),i.getStr()}function KT(a,e){var t=e.originX,r=e.originY;(t||r)&&(a[bi]=t+"px "+r+"px")}var jT={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function Ng(a,e){var t=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[t]=a,t}function qT(a,e,t){var r=a.shape.paths,i={},o,n;if(w(r,function(l){var u=ln(t.zrId);u.animation=!0,un(l,{},u,!0);var p=u.cssAnims,f=u.cssNodes,c=Gt(p),h=c.length;if(h){n=c[h-1];var v=p[n];for(var d in v){var m=v[d];i[d]=i[d]||{d:""},i[d].d+=m.d||""}for(var g in f){var y=f[g].animation;y.indexOf(n)>=0&&(o=y)}}}),!!o){e.d=!1;var s=Ng(i,t);return o.replace(n,s)}}function Vg(a){return K(a)?kg[a]?"cubic-bezier("+kg[a]+")":Od(a)?a:"":""}function un(a,e,t,r){var i=a.animators,o=i.length,n=[];if(a instanceof xs){var s=qT(a,e,t);if(s)n.push(s);else if(!o)return}else if(!o)return;for(var l={},u=0;u0}).length){var Ie=Ng(A,t);return Ie+" "+y[0]+" both"}}for(var m in l){var s=d(l[m]);s&&n.push(s)}if(n.length){var g=t.zrId+"-cls-"+js();t.cssNodes["."+g]={animation:n.join(",")},e.class=g}}tp();gd();ni();function Ug(a,e,t){if(!a.ignore)if(a.isSilent()){var r={"pointer-events":"none"};Og(r,e,t,!0)}else{var i=a.states.emphasis&&a.states.emphasis.style?a.states.emphasis.style:{},o=i.fill;if(!o){var n=a.style&&a.style.fill,s=a.states.select&&a.states.select.style&&a.states.select.style.fill,l=a.currentStates.indexOf("select")>=0&&s||n;l&&(o=Bd(l))}var u=i.lineWidth;if(u){var p=!i.strokeNoScale&&a.transform?a.transform[0]:1;u=u/p}var r={cursor:"pointer"};o&&(r.fill=o),i.stroke&&(r.stroke=i.stroke),u&&(r["stroke-width"]=u),Og(r,e,t,!0)}}function Og(a,e,t,r){var i=JSON.stringify(a),o=t.cssStyleCache[i];o||(o=t.zrId+"-cls-"+js(),t.cssStyleCache[i]=o,t.cssNodes["."+o+(r?":hover":"")]=a),e.class=e.class?e.class+" "+o:o}uT();var pn=Math.round;function Fg(a){return a&&K(a.src)}function Wg(a){return a&&at(a.toDataURL)}function Mp(a,e,t,r){Ap(function(i,o){var n=i==="fill"||i==="stroke";n&&ss(o)?zp(e,a,i,r):n&&Fo(o)?Ep(t,a,i,r):a[i]=o,n&&r.ssr&&o==="none"&&(a["pointer-events"]="visible")},e,t,!1),aC(t,a,r)}function Ip(a,e){var t=rm(e);t&&(t.each(function(r,i){r!=null&&(a[(Cp+i).toLowerCase()]=r+"")}),e.isSilent()&&(a[Cp+"silent"]="true"))}function Gg(a){return zr(a[0]-1)&&zr(a[1])&&zr(a[2])&&zr(a[3]-1)}function JT(a){return zr(a[4])&&zr(a[5])}function Lp(a,e,t){if(e&&!(JT(e)&&Gg(e))){var r=t?10:1e4;a.transform=Gg(e)?"translate("+pn(e[4]*r)/r+" "+pn(e[5]*r)/r+")":Wd(e)}}function Bg(a,e,t){for(var r=a.points,i=[],o=0;o"u"){var m="Image width/height must been given explictly in svg-ssr renderer.";rr(c,m),rr(h,m)}else if(c==null||h==null){var g=function(D,I){if(D){var L=D.elm,P=c||I.width,R=h||I.height;D.tag==="pattern"&&(u?(R=1,P/=o.width):p&&(P=1,R/=o.height)),D.attrs.width=P,D.attrs.height=R,L&&(L.setAttribute("width",P),L.setAttribute("height",R))}},y=bm(v,null,a,function(D){l||g(_,D),g(f,D)});y&&y.width&&y.height&&(c=c||y.width,h=h||y.height)}f=fe("image","img",{href:v,width:c,height:h}),n.width=c,n.height=h}else i.svgElement&&(f=ot(i.svgElement),n.width=i.svgWidth,n.height=i.svgHeight);if(f){var x,S;l?x=S=1:u?(S=1,x=n.width/o.width):p?(x=1,S=n.height/o.height):n.patternUnits="userSpaceOnUse",x!=null&&!isNaN(x)&&(n.width=x),S!=null&&!isNaN(S)&&(n.height=S);var b=us(i);b&&(n.patternTransform=b);var _=fe("pattern","",n,[f]),A=sn(_),T=r.patternCache,C=T[A];C||(C=r.zrId+"-p"+r.patternIdx++,T[A]=C,n.id=C,_=r.defs[C]=fe("pattern",C,n,[f])),e[t]=Wo(C)}}function Yg(a,e,t){var r=t.clipPathCache,i=t.defs,o=r[a.id];if(!o){o=t.zrId+"-c"+t.clipPathIdx++;var n={id:o};r[a.id]=o,i[o]=fe("clipPath",o,n,[Zg(a,t)])}e["clip-path"]=Wo(o)}Zo();z();z();function Rp(a){return document.createTextNode(a)}function Ra(a,e,t){a.insertBefore(e,t)}function kp(a,e){a.removeChild(e)}function Vp(a,e){a.appendChild(e)}function Np(a){return a.parentNode}function Op(a){return a.nextSibling}function qs(a,e){a.textContent=e}var Xg=58,oC=120,nC=fe("","");function Up(a){return a===void 0}function Fr(a){return a!==void 0}function sC(a,e,t){for(var r={},i=e;i<=t;++i){var o=a[i].key;o!==void 0&&(r[o]=i)}return r}function fn(a,e){var t=a.key===e.key,r=a.tag===e.tag;return r&&t}function cn(a){var e,t=a.children,r=a.tag;if(Fr(r)){var i=a.elm=Ks(r);if($s(nC,a),G(t))for(e=0;eo?(v=t[l+1]==null?null:t[l+1].elm,Kg(a,v,t,i,l)):Js(a,e,r,o))}function to(a,e){var t=e.elm=a.elm,r=a.children,i=e.children;a!==e&&($s(a,e),Up(e.text)?Fr(r)&&Fr(i)?r!==i&&lC(t,r,i):Fr(i)?(Fr(a.text)&&qs(t,""),Kg(t,null,i,0,i.length-1)):Fr(r)?Js(t,r,0,r.length-1):Fr(a.text)&&qs(t,""):a.text!==e.text&&(Fr(r)&&Js(t,r,0,r.length-1),qs(t,e.text)))}function Gp(a,e){if(fn(a,e))to(a,e);else{var t=a.elm,r=Np(t);cn(e),r!==null&&(Ra(r,e.elm,Op(t)),Js(r,[a],0,0))}return e}CT();var uC=0,pC=(function(){function a(e,t,r){if(this.type="svg",this.refreshHover=jg("refreshHover"),this.configLayer=jg("configLayer"),this.storage=t,this._opts=r=B({},r),this.root=e,this._id="zr"+uC++,this._oldVNode=Dp(r.width,r.height),e&&!r.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var o=this._svgDom=this._oldVNode.elm=Ks("svg");$s(null,this._oldVNode),i.appendChild(o),e.appendChild(i)}this.resize(r.width,r.height)}return a.prototype.getType=function(){return this.type},a.prototype.getViewportRoot=function(){return this._viewport},a.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},a.prototype.getSvgDom=function(){return this._svgDom},a.prototype.refresh=function(){if(this.root){var e=this.renderToVNode({willUpdate:!0});e.attrs.style="position:absolute;left:0;top:0;user-select:none",Gp(this._oldVNode,e),this._oldVNode=e}},a.prototype.renderOneToVNode=function(e){return Pp(e,ln(this._id))},a.prototype.renderToVNode=function(e){e=e||{};var t=this.storage.getDisplayList(!0),r=this._width,i=this._height,o=ln(this._id);o.animation=e.animation,o.willUpdate=e.willUpdate,o.compress=e.compress,o.emphasis=e.emphasis,o.ssr=this._opts.ssr;var n=[],s=this._bgVNode=fC(r,i,this._backgroundColor,o);s&&n.push(s);var l=e.compress?null:this._mainVNode=fe("g","main",{},[]);this._paintList(t,o,l?l.children:n),l&&n.push(l);var u=O(Gt(o.defs),function(c){return o.defs[c]});if(u.length&&n.push(fe("defs","defs",{},u)),e.animation){var p=Rg(o.cssNodes,o.cssAnims,{newline:!0});if(p){var f=fe("style","stl",{},[],p);n.push(f)}}return Dp(r,i,n,e.useViewBox)},a.prototype.renderToString=function(e){return e=e||{},sn(this.renderToVNode({animation:kt(e.cssAnimation,!0),emphasis:kt(e.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:kt(e.useViewBox,!0)}),{newline:!0})},a.prototype.setBackgroundColor=function(e){this._backgroundColor=e},a.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},a.prototype._paintList=function(e,t,r){for(var i=e.length,o=[],n=0,s,l,u=0,p=0;p=0&&!(c&&l&&c[d]===l[d]);d--);for(var m=v-1;m>d;m--)n--,s=o[n-1];for(var g=d+1;g-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.style.lineWidth=2),r},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e})(_t),Jg=cC;N();z();tt();N();Me();tt();Jt();Ft();AT();z();function Tr(a,e){var t=a.mapDimensionsAll("defaultedLabel"),r=t.length;if(r===1){var i=np(a,e,t[0]);return i!=null?i+"":null}else if(r){for(var o=[],n=0;n=0&&r.push(e[o])}return r.join(" ")}z();Bt();ga();Ee();var hC=(function(a){M(e,a);function e(t,r,i,o){var n=a.call(this)||this;return n.updateData(t,r,i,o),n}return e.prototype._createSymbol=function(t,r,i,o,n){this.removeAll();var s=zt(t,-1,-1,2,2,null,n);s.attr({z2:100,culling:!0,scaleX:o[0]/2,scaleY:o[1]/2}),s.drift=vC,this._symbolType=t,this.add(s)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){yr(this.childAt(0))},e.prototype.downplay=function(){xr(this.childAt(0))},e.prototype.setZ=function(t,r){var i=this.childAt(0);i.zlevel=t,i.z=r},e.prototype.setDraggable=function(t,r){var i=this.childAt(0);i.draggable=t,i.cursor=!r&&t?"move":i.cursor},e.prototype.updateData=function(t,r,i,o){this.silent=!1;var n=t.getItemVisual(r,"symbol")||"circle",s=t.hostModel,l=e.getSymbolSize(t,r),u=n!==this._symbolType,p=o&&o.disableAnimation;if(u){var f=t.getItemVisual(r,"symbolKeepAspect");this._createSymbol(n,t,r,l,f)}else{var c=this.childAt(0);c.silent=!1;var h={scaleX:l[0]/2,scaleY:l[1]/2};p?c.attr(h):pt(c,h,s,r),ve(c)}if(this._updateCommon(t,r,l,i,o),u){var c=this.childAt(0);if(!p){var h={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:c.style.opacity}};c.scaleX=c.scaleY=0,c.style.opacity=0,It(c,h,s,r)}}p&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,r,i,o,n){var s=this.childAt(0),l=t.hostModel,u,p,f,c,h,v,d,m,g;if(o&&(u=o.emphasisItemStyle,p=o.blurItemStyle,f=o.selectItemStyle,c=o.focus,h=o.blurScope,d=o.labelStatesModels,m=o.hoverScale,g=o.cursorStyle,v=o.emphasisDisabled),!o||t.hasItemOption){var y=o&&o.itemModel?o.itemModel:t.getItemModel(r),x=y.getModel("emphasis");u=x.getModel("itemStyle").getItemStyle(),f=y.getModel(["select","itemStyle"]).getItemStyle(),p=y.getModel(["blur","itemStyle"]).getItemStyle(),c=x.get("focus"),h=x.get("blurScope"),v=x.get("disabled"),d=Pt(y),m=x.getShallow("scale"),g=y.getShallow("cursor")}var S=t.getItemVisual(r,"symbolRotate");s.attr("rotation",(S||0)*Math.PI/180||0);var b=Qe(t.getItemVisual(r,"symbolOffset"),i);b&&(s.x=b[0],s.y=b[1]),g&&s.attr("cursor",g);var _=t.getItemVisual(r,"style"),A=_.fill;if(s instanceof se){var T=s.style;s.useStyle(B({image:T.image,x:T.x,y:T.y,width:T.width,height:T.height},_))}else s.__isEmptyBrush?s.useStyle(B({},_)):s.useStyle(_),s.style.decal=null,s.setColor(A,n&&n.symbolInnerColor),s.style.strokeNoScale=!0;var C=t.getItemVisual(r,"liftZ"),D=this._z2;C!=null?D==null&&(this._z2=s.z2,s.z2+=C):D!=null&&(s.z2=D,this._z2=null);var I=n&&n.useNameLabel;Ut(s,d,{labelFetcher:l,labelDataIndex:r,defaultText:L,inheritColor:A,defaultOpacity:_.opacity});function L(E){return I?t.getName(E):Tr(t,E)}this._sizeX=i[0]/2,this._sizeY=i[1]/2;var P=s.ensureState("emphasis");P.style=u,s.ensureState("select").style=f,s.ensureState("blur").style=p;var R=m==null||m===!0?Math.max(1.1,3/this._sizeY):isFinite(m)&&m>0?+m:1;P.scaleX=this._sizeX*R,P.scaleY=this._sizeY*R,this.setSymbolScale(1),gt(this,c,h,v)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,r,i){var o=this.childAt(0),n=Q(this).dataIndex,s=i&&i.animation;if(this.silent=o.silent=!0,i&&i.fadeLabel){var l=o.getTextContent();l&&aa(l,{style:{opacity:0}},r,{dataIndex:n,removeOpt:s,cb:function(){o.removeTextContent()}})}else o.removeTextContent();aa(o,{style:{opacity:0},scaleX:0,scaleY:0},r,{dataIndex:n,cb:t,removeOpt:s})},e.getSymbolSize=function(t,r){return wr(t.getItemVisual(r,"symbolSize"))},e})(Y);function vC(a,e){this.parent.drift(a,e)}var la=hC;z();Bt();function Hp(a,e,t,r){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(r.isIgnore&&r.isIgnore(t))&&!(r.clipShape&&!r.clipShape.contain(e[0],e[1]))&&a.getItemVisual(t,"symbol")!=="none"}function $g(a){return a!=null&&!Tt(a)&&(a={isIgnore:a}),a||{}}function Qg(a){var e=a.hostModel,t=e.getModel("emphasis");return{emphasisItemStyle:t.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:t.get("focus"),blurScope:t.get("blurScope"),emphasisDisabled:t.get("disabled"),hoverScale:t.get("scale"),labelStatesModels:Pt(e),cursorStyle:e.get("cursor")}}var dC=(function(){function a(e){this.group=new Y,this._SymbolCtor=e||la}return a.prototype.updateData=function(e,t){this._progressiveEls=null,t=$g(t);var r=this.group,i=e.hostModel,o=this._data,n=this._SymbolCtor,s=t.disableAnimation,l=Qg(e),u={disableAnimation:s},p=t.getSymbolPoint||function(f){return e.getItemLayout(f)};o||r.removeAll(),e.diff(o).add(function(f){var c=p(f);if(Hp(e,c,f,t)){var h=new n(e,f,l,u);h.setPosition(c),e.setItemGraphicEl(f,h),r.add(h)}}).update(function(f,c){var h=o.getItemGraphicEl(c),v=p(f);if(!Hp(e,v,f,t)){r.remove(h);return}var d=e.getItemVisual(f,"symbol")||"circle",m=h&&h.getSymbolType&&h.getSymbolType();if(!h||m&&m!==d)r.remove(h),h=new n(e,f,l,u),h.setPosition(v);else{h.updateData(e,f,l,u);var g={x:v[0],y:v[1]};s?h.attr(g):pt(h,g,i)}r.add(h),e.setItemGraphicEl(f,h)}).remove(function(f){var c=o.getItemGraphicEl(f);c&&c.fadeOut(function(){r.remove(c)},i)}).execute(),this._getSymbolPoint=p,this._data=e},a.prototype.updateLayout=function(){var e=this,t=this._data;t&&t.eachItemGraphicEl(function(r,i){var o=e._getSymbolPoint(i);r.setPosition(o),r.markRedraw()})},a.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=Qg(e),this._data=null,this.group.removeAll()},a.prototype.incrementalUpdate=function(e,t,r){this._progressiveEls=[],r=$g(r);function i(l){l.isGroup||(l.incremental=!0,l.ensureState("emphasis").hoverLayer=!0)}for(var o=e.start;o0?t=r[0]:r[1]<0&&(t=r[1]),t}function el(a,e,t,r){var i=NaN;a.stacked&&(i=t.get(t.getCalculationInfo("stackedOverDimension"),r)),isNaN(i)&&(i=a.valueStart);var o=a.baseDataOffset,n=[];return n[o]=t.get(a.baseDim,r),n[1-o]=i,e.dataToPoint(n)}Bs();function gC(a,e){var t=[];return e.diff(a).add(function(r){t.push({cmd:"+",idx:r})}).update(function(r,i){t.push({cmd:"=",idx:i,idx1:r})}).remove(function(r){t.push({cmd:"-",idx:r})}).execute(),t}function Fp(a,e,t,r,i,o,n,s){for(var l=gC(a,e),u=[],p=[],f=[],c=[],h=[],v=[],d=[],m=tl(i,e,n),g=a.getLayout("points")||[],y=e.getLayout("points")||[],x=0;x=i||d<0)break;if(_i(g,y)){if(l){d+=o;continue}break}if(d===t)a[o>0?"moveTo":"lineTo"](g,y),f=g,c=y;else{var x=g-u,S=y-p;if(x*x+S*S<.5){d+=o;continue}if(n>0){for(var b=d+o,_=e[b*2],A=e[b*2+1];_===g&&A===y&&m=r||_i(_,A))h=g,v=y;else{D=_-u,I=A-p;var R=g-u,E=_-g,k=y-p,U=A-y,V=void 0,H=void 0;if(s==="x"){V=Math.abs(R),H=Math.abs(E);var X=D>0?1:-1;h=g-X*V*n,v=y,L=g+X*H*n,P=y}else if(s==="y"){V=Math.abs(k),H=Math.abs(U);var q=I>0?1:-1;h=g,v=y-q*V*n,L=g,P=y+q*H*n}else V=Math.sqrt(R*R+k*k),H=Math.sqrt(E*E+U*U),C=H/(H+V),h=g-D*n*(1-C),v=y-I*n*(1-C),L=g+D*n*C,P=y+I*n*C,L=ka(L,Va(_,g)),P=ka(P,Va(A,y)),L=Va(L,ka(_,g)),P=Va(P,ka(A,y)),D=L-g,I=P-y,h=g-D*V/H,v=y-I*V/H,h=ka(h,Va(u,g)),v=ka(v,Va(p,y)),h=Va(h,ka(u,g)),v=Va(v,ka(p,y)),D=g-h,I=y-v,L=g+D*H/V,P=y+I*H/V}a.bezierCurveTo(f,c,h,v,g,y),f=L,c=P}else a.lineTo(g,y)}u=g,p=y,d+=o}return m}var ty=(function(){function a(){this.smooth=0,this.smoothConstraint=!0}return a})(),ey=(function(a){M(e,a);function e(t){var r=a.call(this,t)||this;return r.type="ec-polyline",r}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new ty},e.prototype.buildPath=function(t,r){var i=r.points,o=0,n=i.length/2;if(r.connectNulls){for(;n>0&&_i(i[n*2-2],i[n*2-1]);n--);for(;o=0){var S=u?(v-l)*x+l:(h-s)*x+s;return u?[t,S]:[S,t]}s=h,l=v;break;case n.C:h=o[f++],v=o[f++],d=o[f++],m=o[f++],g=o[f++],y=o[f++];var b=u?Wu(s,h,d,g,t,p):Wu(l,v,m,y,t,p);if(b>0)for(var _=0;_=0){var S=u?Fu(l,v,m,y,A):Fu(s,h,d,g,A);return u?[t,S]:[S,t]}}s=g,l=y;break}}},e})(Mt);var yC=(function(a){M(e,a);function e(){return a!==null&&a.apply(this,arguments)||this}return e})(ty),rl=(function(a){M(e,a);function e(t){var r=a.call(this,t)||this;return r.type="ec-polygon",r}return e.prototype.getDefaultShape=function(){return new yC},e.prototype.buildPath=function(t,r){var i=r.points,o=r.stackedOnPoints,n=0,s=i.length/2,l=r.smoothMonotone;if(r.connectNulls){for(;s>0&&_i(i[s*2-2],i[s*2-1]);s--);for(;ne){o?t.push(n(o,l,e)):i&&t.push(n(i,l,0),n(i,l,e));break}else i&&(t.push(n(i,l,0)),i=null),t.push(l),o=l}return t}function bC(a,e,t){var r=a.getVisual("visualMeta");if(!(!r||!r.length||!a.count())&&e.type==="cartesian2d"){for(var i,o,n=r.length-1;n>=0;n--){var s=a.getDimensionInfo(r[n].dimension);if(i=s&&s.coordDim,i==="x"||i==="y"){o=r[n];break}}if(o){var l=e.getAxis(i),u=O(o.stops,function(x){return{coord:l.toGlobalCoord(l.dataToCoord(x.value)),color:x.color}}),p=u.length,f=o.outerColors.slice();p&&u[0].coord>u[p-1].coord&&(u.reverse(),f.reverse());var c=SC(u,i==="x"?t.getWidth():t.getHeight()),h=c.length;if(!h&&p)return u[0].coord<0?f[1]?f[1]:u[p-1].color:f[0]?f[0]:u[0].color;var v=10,d=c[0].coord-v,m=c[h-1].coord+v,g=m-d;if(g<.001)return"transparent";w(c,function(x){x.offset=(x.coord-d)/g}),c.push({offset:h?c[h-1].offset:.5,color:f[1]||"transparent"}),c.unshift({offset:h?c[0].offset:.5,color:f[0]||"transparent"});var y=new Sa(0,0,0,0,c,!0);return y[i]=d,y[i+"2"]=m,y}}}function _C(a,e,t){var r=a.get("showAllSymbol"),i=r==="auto";if(!(r&&!i)){var o=t.getAxesByScale("ordinal")[0];if(o&&!(i&&wC(o,e))){var n=e.mapDimension(o.dim),s={};return w(o.getViewLabels(),function(l){var u=o.scale.getRawOrdinalNumber(l.tickValue);s[u]=1}),function(l){return!s.hasOwnProperty(e.get(n,l))}}}}function wC(a,e){var t=a.getExtent(),r=Math.abs(t[1]-t[0])/a.scale.count();isNaN(r)&&(r=0);for(var i=e.count(),o=Math.max(1,Math.round(i/5)),n=0;nr)return!1;return!0}function AC(a,e){return isNaN(a)||isNaN(e)}function TC(a){for(var e=a.length/2;e>0&&AC(a[e*2-2],a[e*2-1]);e--);return e-1}function ny(a,e){return[a[e*2],a[e*2+1]]}function CC(a,e,t){for(var r=a.length/2,i=t==="x"?0:1,o,n,s=0,l=-1,u=0;u=e||o>=e&&n<=e){l=u;break}s=u,o=n}return{range:[s,l],t:(e-o)/(n-o)}}function sy(a){if(a.get(["endLabel","show"]))return!0;for(var e=0;e0&&t.get(["emphasis","lineStyle","width"])==="bolder"){var H=v.getState("emphasis").style;H.lineWidth=+v.style.lineWidth+1}Q(v).seriesIndex=t.seriesIndex,gt(v,k,U,V);var X=oy(t.get("smooth")),q=t.get("smoothMonotone");if(v.setShape({smooth:X,smoothMonotone:q,connectNulls:A}),d){var rt=s.getCalculationInfo("stackedOnSeries"),ft=0;d.useStyle($(u.getAreaStyle(),{fill:L,opacity:.7,lineJoin:"bevel",decal:s.getVisual("style").decal})),rt&&(ft=oy(rt.get("smooth"))),d.setShape({smooth:X,stackedOnSmooth:ft,smoothMonotone:q,connectNulls:A}),Zt(d,t,"areaStyle"),Q(d).seriesIndex=t.seriesIndex,gt(d,k,U,V)}var st=this._changePolyState;s.eachItemGraphicEl(function(vt){vt&&(vt.onHoverStateChange=st)}),this._polyline.onHoverStateChange=st,this._data=s,this._coordSys=o,this._stackedOnPoints=b,this._points=p,this._step=D,this._valueOrigin=x,t.get("triggerLineEvent")&&(this.packEventData(t,v),d&&this.packEventData(t,d))},e.prototype.packEventData=function(t,r){Q(r).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,r,i,o){var n=t.getData(),s=Yo(n,o);if(this._changePolyState("emphasis"),!(s instanceof Array)&&s!=null&&s>=0){var l=n.getLayout("points"),u=n.getItemGraphicEl(s);if(!u){var p=l[s*2],f=l[s*2+1];if(isNaN(p)||isNaN(f)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(p,f))return;var c=t.get("zlevel")||0,h=t.get("z")||0;u=new la(n,s),u.x=p,u.y=f,u.setZ(c,h);var v=u.getSymbolPath().getTextContent();v&&(v.zlevel=c,v.z=h,v.z2=this._polyline.z2+1),u.__temp=!0,n.setItemGraphicEl(s,u),u.stopSymbolAnimation(!0),this.group.add(u)}u.highlight()}else xt.prototype.highlight.call(this,t,r,i,o)},e.prototype.downplay=function(t,r,i,o){var n=t.getData(),s=Yo(n,o);if(this._changePolyState("normal"),s!=null&&s>=0){var l=n.getItemGraphicEl(s);l&&(l.__temp?(n.setItemGraphicEl(s,null),this.group.remove(l)):l.downplay())}else xt.prototype.downplay.call(this,t,r,i,o)},e.prototype._changePolyState=function(t){var r=this._polygon;ci(this._polyline,t),r&&ci(r,t)},e.prototype._newPolyline=function(t){var r=this._polyline;return r&&this._lineGroup.remove(r),r=new ey({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(r),this._polyline=r,r},e.prototype._newPolygon=function(t,r){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new rl({shape:{points:t,stackedOnPoints:r},segmentIgnoreThreshold:2}),this._lineGroup.add(i),this._polygon=i,i},e.prototype._initSymbolLabelAnimation=function(t,r,i){var o,n,s=r.getBaseAxis(),l=s.inverse;r.type==="cartesian2d"?(o=s.isHorizontal(),n=!1):r.type==="polar"&&(o=s.dim==="angle",n=!0);var u=t.hostModel,p=u.get("animationDuration");at(p)&&(p=p(null));var f=u.get("animationDelay")||0,c=at(f)?f(null):f;t.eachItemGraphicEl(function(h,v){var d=h;if(d){var m=[h.x,h.y],g=void 0,y=void 0,x=void 0;if(i)if(n){var S=i,b=r.pointToCoord(m);o?(g=S.startAngle,y=S.endAngle,x=-b[1]/180*Math.PI):(g=S.r0,y=S.r,x=b[0])}else{var _=i;o?(g=_.x,y=_.x+_.width,x=h.x):(g=_.y+_.height,y=_.y,x=h.y)}var A=y===g?0:(x-g)/(y-g);l&&(A=1-A);var T=at(f)?f(v):p*A+c,C=d.getSymbolPath(),D=C.getTextContent();d.attr({scaleX:0,scaleY:0}),d.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:T}),D&&D.animateFrom({style:{opacity:0}},{duration:300,delay:T}),C.disableLabelAnimation=!0}})},e.prototype._initOrUpdateEndLabel=function(t,r,i){var o=t.getModel("endLabel");if(sy(t)){var n=t.getData(),s=this._polyline,l=n.getLayout("points");if(!l){s.removeTextContent(),this._endLabel=null;return}var u=this._endLabel;u||(u=this._endLabel=new ut({z2:200}),u.ignoreClip=!0,s.setTextContent(this._endLabel),s.disableLabelAnimation=!0);var p=TC(l);p>=0&&(Ut(s,Pt(t,"endLabel"),{inheritColor:i,labelFetcher:t,labelDataIndex:p,defaultText:function(f,c,h){return h!=null?Qs(n,h):Tr(n,f)},enableTextSetter:!0},DC(o,r)),s.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,r,i,o,n,s,l){var u=this._endLabel,p=this._polyline;if(u){t<1&&o.originalX==null&&(o.originalX=u.x,o.originalY=u.y);var f=i.getLayout("points"),c=i.hostModel,h=c.get("connectNulls"),v=s.get("precision"),d=s.get("distance")||0,m=l.getBaseAxis(),g=m.isHorizontal(),y=m.inverse,x=r.shape,S=y?g?x.x:x.y+x.height:g?x.x+x.width:x.y,b=(g?d:0)*(y?-1:1),_=(g?0:-d)*(y?-1:1),A=g?"x":"y",T=CC(f,S,A),C=T.range,D=C[1]-C[0],I=void 0;if(D>=1){if(D>1&&!h){var L=ny(f,C[0]);u.attr({x:L[0]+b,y:L[1]+_}),n&&(I=c.getRawValue(C[0]))}else{var L=p.getPointOn(S,A);L&&u.attr({x:L[0]+b,y:L[1]+_});var P=c.getRawValue(C[0]),R=c.getRawValue(C[1]);n&&(I=xm(i,v,P,R,T.t))}o.lastFrameIndex=C[0]}else{var E=t===1||o.lastFrameIndex>0?C[0]:0,L=ny(f,E);n&&(I=c.getRawValue(E)),u.attr({x:L[0]+b,y:L[1]+_})}if(n){var k=ws(u);typeof k.setLabelText=="function"&&k.setLabelText(I)}}},e.prototype._doUpdateAnimation=function(t,r,i,o,n,s,l){var u=this._polyline,p=this._polygon,f=t.hostModel,c=Fp(this._data,t,this._stackedOnPoints,r,this._coordSys,i,this._valueOrigin,s),h=c.current,v=c.stackedOnCurrent,d=c.next,m=c.stackedOnNext;if(n&&(v=Na(c.stackedOnCurrent,c.current,i,n,l),h=Na(c.current,null,i,n,l),m=Na(c.stackedOnNext,c.next,i,n,l),d=Na(c.next,null,i,n,l)),iy(h,d)>3e3||p&&iy(v,m)>3e3){u.stopAnimation(),u.setShape({points:d}),p&&(p.stopAnimation(),p.setShape({points:d,stackedOnPoints:m}));return}u.shape.__points=c.current,u.shape.points=h;var g={shape:{points:d}};c.current!==h&&(g.shape.__points=c.next),u.stopAnimation(),pt(u,g,f),p&&(p.setShape({points:h,stackedOnPoints:v}),p.stopAnimation(),pt(p,{shape:{stackedOnPoints:m}},f),u.shape.points!==p.shape.points&&(p.shape.points=u.shape.points));for(var y=[],x=c.status,S=0;Se&&(e=a[t]);return isFinite(e)?e:NaN},min:function(a){for(var e=1/0,t=0;t10&&n.type==="cartesian2d"&&o){var l=n.getBaseAxis(),u=n.getOtherAxis(l),p=l.getExtent(),f=r.getDevicePixelRatio(),c=Math.abs(p[1]-p[0])*(f||1),h=Math.round(s/c);if(isFinite(h)&&h>1){o==="lttb"?e.setData(i.lttbDownSample(i.mapDimension(u.dim),1/h)):o==="minmax"&&e.setData(i.minmaxDownSample(i.mapDimension(u.dim),1/h));var v=void 0;K(o)?v=IC[o]:at(o)&&(v=o),v&&e.setData(i.downSample(i.mapDimension(u.dim),1/h,v,LC))}}}}}function Kp(a){a.registerChartView(ly),a.registerSeriesModel(Jg),a.registerLayout(Cr("line",!0)),a.registerVisual({seriesType:"line",reset:function(e){var t=e.getData(),r=e.getModel("lineStyle").getLineStyle();r&&!r.stroke&&(r.stroke=t.getVisual("style").fill),t.setVisual("legendLineStyle",r)}}),a.registerProcessor(a.PRIORITY.PROCESSOR.STATISTIC,hn("line"))}z();mp();N();N();ue();na();z();var uy=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.getInitialData=function(t,r){return we(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,r,i){var o=this.coordinateSystem;if(o&&o.clampData){var n=o.clampData(t),s=o.dataToPoint(n);if(i)w(o.getAxes(),function(c,h){if(c.type==="category"&&r!=null){var v=c.getTicksCoords(),d=c.getTickModel().get("alignWithLabel"),m=n[h],g=r[h]==="x1"||r[h]==="y1";if(g&&!d&&(m+=1),v.length<2)return;if(v.length===2){s[h]=c.toGlobalCoord(c.getExtent()[g?1:0]);return}for(var y=void 0,x=void 0,S=1,b=0;bm){x=(_+y)/2;break}b===1&&(S=A-v[0].tickValue)}x==null&&(y?y&&(x=v[v.length-1].coord):x=v[0].coord),s[h]=c.toGlobalCoord(x)}});else{var l=this.getData(),u=l.getLayout("offset"),p=l.getLayout("size"),f=o.getBaseAxis().isHorizontal()?0:1;s[f]+=u+p/2}return s}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e})(_t);_t.registerClass(uy);var eo=uy;na();Or();var PC=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.getInitialData=function(){return we(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),r=this.get("largeThreshold");return r>t&&(t=r),t},e.prototype.brushSelector=function(t,r,i){return i.rect(r.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=De(eo.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e})(eo),py=PC;N();Rr();Yu();z();tt();Jt();Ft();Bt();mi();N();tt();var zC=(function(){function a(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return a})(),EC=(function(a){M(e,a);function e(t){var r=a.call(this,t)||this;return r.type="sausage",r}return e.prototype.getDefaultShape=function(){return new zC},e.prototype.buildPath=function(t,r){var i=r.cx,o=r.cy,n=Math.max(r.r0||0,0),s=Math.max(r.r,0),l=(s-n)*.5,u=n+l,p=r.startAngle,f=r.endAngle,c=r.clockwise,h=Math.PI*2,v=c?f-pMath.PI/2&&ps)return!0;s=f}return!1},e.prototype._isOrderDifferentInView=function(t,r){for(var i=r.scale,o=i.getExtent(),n=Math.max(0,o[0]),s=Math.min(o[1],i.getOrdinalMeta().categories.length-1);n<=s;++n)if(t.ordinalNumbers[n]!==i.getRawOrdinalNumber(n))return!0},e.prototype._updateSortWithinSameData=function(t,r,i,o){if(this._isOrderChangedWithinSameData(t,r,i)){var n=this._dataSort(t,i,r);this._isOrderDifferentInView(n,i)&&(this._removeOnRenderedListener(o),o.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",axisId:i.index,sortInfo:n}))}},e.prototype._dispatchInitSort=function(t,r,i){var o=r.baseAxis,n=this._dataSort(t,o,function(s){return t.get(t.mapDimension(r.otherAxis.dim),s)});i.dispatchAction({type:"changeAxisOrder",componentType:o.dim+"Axis",isInitSort:!0,axisId:o.index,sortInfo:n})},e.prototype.remove=function(t,r){this._clear(this._model),this._removeOnRenderedListener(r)},e.prototype.dispose=function(t,r){this._removeOnRenderedListener(r)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var r=this.group,i=this._data;t&&t.isAnimationEnabled()&&i&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],i.eachItemGraphicEl(function(o){vi(o,t,Q(o).dataIndex)})):r.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e})(xt),hy={cartesian2d:function(a,e){var t=e.width<0?-1:1,r=e.height<0?-1:1;t<0&&(e.x+=e.width,e.width=-e.width),r<0&&(e.y+=e.height,e.height=-e.height);var i=a.x+a.width,o=a.y+a.height,n=jp(e.x,a.x),s=qp(e.x+e.width,i),l=jp(e.y,a.y),u=qp(e.y+e.height,o),p=si?s:n,e.y=f&&l>o?u:l,e.width=p?0:s-n,e.height=f?0:u-l,t<0&&(e.x+=e.width,e.width=-e.width),r<0&&(e.y+=e.height,e.height=-e.height),p||f},polar:function(a,e){var t=e.r0<=e.r?1:-1;if(t<0){var r=e.r;e.r=e.r0,e.r0=r}var i=qp(e.r,a.r),o=jp(e.r0,a.r0);e.r=i,e.r0=o;var n=i-o<0;if(t<0){var r=e.r;e.r=e.r0,e.r0=r}return n}},vy={cartesian2d:function(a,e,t,r,i,o,n,s,l){var u=new ct({shape:B({},r),z2:1});if(u.__dataIndex=t,u.name="item",o){var p=u.shape,f=i?"height":"width";p[f]=0}return u},polar:function(a,e,t,r,i,o,n,s,l){var u=!i&&l?ro:ge,p=new u({shape:r,z2:1});p.name="item";var f=_y(i);if(p.calculateTextPosition=fy(f,{isRoundCap:u===ro}),o){var c=p.shape,h=i?"r":"endAngle",v={};c[h]=i?r.r0:r.startAngle,v[h]=r[h],(s?pt:It)(p,{shape:v},o)}return p}};function VC(a,e){var t=a.get("realtimeSort",!0),r=e.getBaseAxis();if(t&&r.type==="category"&&e.type==="cartesian2d")return{baseAxis:r,otherAxis:e.getOtherAxis(r)}}function dy(a,e,t,r,i,o,n,s){var l,u;o?(u={x:r.x,width:r.width},l={y:r.y,height:r.height}):(u={y:r.y,height:r.height},l={x:r.x,width:r.width}),s||(n?pt:It)(t,{shape:l},e,i,null);var p=e?a.baseAxis.model:null;(n?pt:It)(t,{shape:u},p,i)}function my(a,e){for(var t=0;t0?1:-1,n=r.height>0?1:-1;return{x:r.x+o*i/2,y:r.y+n*i/2,width:r.width-o*i,height:r.height-n*i}},polar:function(a,e,t){var r=a.getItemLayout(e);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function UC(a){return a.startAngle!=null&&a.endAngle!=null&&a.startAngle===a.endAngle}function _y(a){return(function(e){var t=e?"Arc":"Angle";return function(r){switch(r){case"start":case"insideStart":case"end":case"insideEnd":return r+t;default:return r}}})(a)}function yy(a,e,t,r,i,o,n,s){var l=e.getItemVisual(t,"style");if(s){if(!o.get("roundCap")){var p=a.shape,f=Yr(r.getModel("itemStyle"),p,!0);B(p,f),a.setShape(p)}}else{var u=r.get(["itemStyle","borderRadius"])||0;a.setShape("r",u)}a.useStyle(l);var c=r.getShallow("cursor");c&&a.attr("cursor",c);var h=s?n?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":n?i.height>=0?"bottom":"top":i.width>=0?"right":"left",v=Pt(r);Ut(a,v,{labelFetcher:o,labelDataIndex:t,defaultText:Tr(o.getData(),t),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:h});var d=a.getTextContent();if(s&&d){var m=r.get(["label","position"]);a.textConfig.inside=m==="middle"?!0:null,cy(a,m==="outside"?h:m,_y(n),r.get(["label","rotate"]))}As(d,v,o.getRawValue(t),function(y){return Qs(e,y)});var g=r.getModel(["emphasis"]);gt(a,g.get("focus"),g.get("blurScope"),g.get("disabled")),Zt(a,r),UC(i)&&(a.style.fill="none",a.style.stroke="none",w(a.states,function(y){y.style&&(y.style.fill=y.style.stroke="none")}))}function GC(a,e){var t=a.get(["itemStyle","borderColor"]);if(!t||t==="none")return 0;var r=a.get(["itemStyle","borderWidth"])||0,i=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),o=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(r,i,o)}var BC=(function(){function a(){}return a})(),xy=(function(a){M(e,a);function e(t){var r=a.call(this,t)||this;return r.type="largeBar",r}return e.prototype.getDefaultShape=function(){return new BC},e.prototype.buildPath=function(t,r){for(var i=r.points,o=this.baseDimIdx,n=1-this.baseDimIdx,s=[],l=[],u=this.barWidth,p=0;p=0?t:null},30,!1);function HC(a,e,t){for(var r=a.baseDimIdx,i=1-r,o=a.shape.points,n=a.largeDataIndices,s=[],l=[],u=a.barWidth,p=0,f=o.length/3;p=s[0]&&e<=s[0]+l[0]&&t>=s[1]&&t<=s[1]+l[1])return n[p]}return-1}function wy(a,e,t){if(pr(t,"cartesian2d")){var r=e,i=t.getArea();return{x:a?r.x:i.x,y:a?i.y:r.y,width:a?r.width:i.width,height:a?i.height:r.height}}else{var i=t.getArea(),o=e;return{cx:i.cx,cy:i.cy,r0:a?i.r0:o.r0,r:a?i.r:o.r,startAngle:a?o.startAngle:0,endAngle:a?o.endAngle:Math.PI*2}}}function FC(a,e,t){var r=a.type==="polar"?ge:ct;return new r({shape:wy(e,t,a),silent:!0,z2:0})}var Ay=kC;function Jp(a){a.registerChartView(Ay),a.registerSeriesModel(py),a.registerLayout(a.PRIORITY.VISUAL.LAYOUT,J(Hs,"bar")),a.registerLayout(a.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Fs("bar")),a.registerProcessor(a.PRIORITY.PROCESSOR.STATISTIC,hn("bar")),a.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(e,t){var r=e.componentType||"series";t.eachComponent({mainType:r,query:e},function(i){e.sortInfo&&i.axis.setCategorySortInfo(e.sortInfo)})})}og();bt();Kt();z();Ko();lt();var Ty=Math.PI*2,nl=Math.PI/180;function Cy(a,e){return Lt(a.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function $p(a,e){var t=Cy(a,e),r=a.get("center"),i=a.get("radius");G(i)||(i=[0,i]);var o=Z(t.width,e.getWidth()),n=Z(t.height,e.getHeight()),s=Math.min(o,n),l=Z(i[0],s/2),u=Z(i[1],s/2),p,f,c=a.coordinateSystem;if(c){var h=c.dataToPoint(r);p=h[0]||0,f=h[1]||0}else G(r)||(r=[r,r]),p=Z(r[0],o)+t.x,f=Z(r[1],n)+t.y;return{cx:p,cy:f,r0:l,r:u}}function Qp(a,e,t){e.eachSeriesByType(a,function(r){var i=r.getData(),o=i.mapDimension("value"),n=Cy(r,t),s=$p(r,t),l=s.cx,u=s.cy,p=s.r,f=s.r0,c=-r.get("startAngle")*nl,h=r.get("endAngle"),v=r.get("padAngle")*nl;h=h==="auto"?c-Ty:-h*nl;var d=r.get("minAngle")*nl,m=d+v,g=0;i.each(o,function(U){!isNaN(U)&&g++});var y=i.getSum(o),x=Math.PI/(y||g)*2,S=r.get("clockwise"),b=r.get("roseType"),_=r.get("stillShowZeroSum"),A=i.getDataExtent(o);A[0]=0;var T=S?1:-1,C=[c,h],D=T*v/2;vs(C,!S),c=C[0],h=C[1];var I=tf(r);I.startAngle=c,I.endAngle=h,I.clockwise=S;var L=Math.abs(h-c),P=L,R=0,E=c;if(i.setLayout({viewRect:n,r:p}),i.each(o,function(U,V){var H;if(isNaN(U)){i.setItemLayout(V,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:S,cx:l,cy:u,r0:f,r:b?NaN:p});return}b!=="area"?H=y===0&&_?x:U*x:H=L/g,HH?(q=E+T*H/2,rt=q):(q=E+D,rt=X-D),i.setItemLayout(V,{angle:H,startAngle:q,endAngle:rt,clockwise:S,cx:l,cy:u,r0:f,r:b?wt(U,A,[f,p]):p}),E=X}),Pt?g:m,b=Math.abs(x.label.y-t);if(b>=S.maxY){var _=x.label.x-e-x.len2*i,A=r+x.len,T=Math.abs(_)a.unconstrainedWidth?null:h:null;r.setStyle("width",v)}var d=r.getBoundingRect();o.width=d.width;var m=(r.style.margin||0)+2.1;o.height=d.height+m,o.y-=(o.height-f)/2}}}function ef(a){return a.position==="center"}function rf(a){var e=a.getData(),t=[],r,i,o=!1,n=(a.get("minShowLabelAngle")||0)*WC,s=e.getLayout("viewRect"),l=e.getLayout("r"),u=s.width,p=s.x,f=s.y,c=s.height;function h(_){_.ignore=!0}function v(_){if(!_.ignore)return!0;for(var A in _.states)if(_.states[A].ignore===!1)return!0;return!1}e.each(function(_){var A=e.getItemGraphicEl(_),T=A.shape,C=A.getTextContent(),D=A.getTextGuideLine(),I=e.getItemModel(_),L=I.getModel("label"),P=L.get("position")||I.get(["emphasis","label","position"]),R=L.get("distanceToLabelLine"),E=L.get("alignTo"),k=Z(L.get("edgeDistance"),u),U=L.get("bleedMargin"),V=I.getModel("labelLine"),H=V.get("length");H=Z(H,u);var X=V.get("length2");if(X=Z(X,u),Math.abs(T.endAngle-T.startAngle)0?"right":"left":rt>0?"left":"right"}var Xt=Math.PI,re=0,xe=L.get("rotate");if(Rt(xe))re=xe*(Xt/180);else if(P==="center")re=0;else if(xe==="radial"||xe===!0){var je=rt<0?-q+Xt:-q;re=je}else if(xe==="tangential"&&P!=="outside"&&P!=="outer"){var Ge=Math.atan2(rt,ft);Ge<0&&(Ge=Xt*2+Ge);var ei=ft>0;ei&&(Ge=Xt+Ge),re=Ge-Xt}if(o=!!re,C.x=st,C.y=vt,C.rotation=re,C.setStyle({verticalAlign:"middle"}),St){C.setStyle({align:Ie});var Ou=C.states.select;Ou&&(Ou.x+=C.x,Ou.y+=C.y)}else{var va=C.getBoundingRect().clone();va.applyTransform(C.getComputedTransform());var vd=(C.style.margin||0)+2.1;va.y-=vd/2,va.height+=vd,t.push({label:C,labelLine:D,position:P,len:H,len2:X,minTurnAngle:V.get("minTurnAngle"),maxSurfaceAngle:V.get("maxSurfaceAngle"),surfaceNormal:new Le(rt,ft),linePoints:Qt,textAlign:Ie,labelDistance:R,labelAlignTo:E,edgeDistance:k,bleedMargin:U,rect:va,unconstrainedWidth:va.width,labelStyleWidth:C.style.width})}A.setTextConfig({inside:St})}}),!o&&a.get("avoidLabelOverlap")&&ZC(t,r,i,l,u,c,p,f);for(var d=0;d0){for(var p=n.getItemLayout(0),f=1;isNaN(p&&p.startAngle)&&f=o.r0}},e.type="pie",e})(xt),Iy=XC;N();Us();Ur();z();function tr(a,e,t){e=G(e)&&{coordDimensions:e}||B({encodeDefine:a.getEncode()},e);var r=a.getSource(),i=za(r,e).dimensions,o=new te(i,a);return o.initData(r,t),o}z();lt();bt();Ms();var KC=(function(){function a(e,t){this._getDataWithEncodedVisual=e,this._getRawData=t}return a.prototype.getAllNames=function(){var e=this._getRawData();return e.mapArray(e.getName)},a.prototype.containName=function(e){var t=this._getRawData();return t.indexOfName(e)>=0},a.prototype.indexOfName=function(e){var t=this._getDataWithEncodedVisual();return t.indexOfName(e)},a.prototype.getItemVisual=function(e,t){var r=this._getDataWithEncodedVisual();return r.getItemVisual(e,t)},a})(),Xr=KC;ue();var jC=mt(),qC=(function(a){M(e,a);function e(){return a!==null&&a.apply(this,arguments)||this}return e.prototype.init=function(t){a.prototype.init.apply(this,arguments),this.legendVisualProvider=new Xr(F(this.getData,this),F(this.getRawData,this)),this._defaultLabelLine(t)},e.prototype.mergeOption=function(){a.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return tr(this,{coordDimensions:["value"],encodeDefaulter:J(qi,this)})},e.prototype.getDataParams=function(t){var r=this.getData(),i=jC(r),o=i.seats;if(!o){var n=[];r.each(r.mapDimension("value"),function(l){n.push(l)}),o=i.seats=om(n,r.hostModel.get("percentPrecision"))}var s=a.prototype.getDataParams.call(this,t);return s.percent=o[t]||0,s.$vars.push("percent"),s},e.prototype._defaultLabelLine=function(t){Er(t,"labelLine",["show"]);var r=t.labelLine,i=t.emphasis.labelLine;r.show=r.show&&t.label.show,i.show=i.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e})(_t),Ly=qC;z();function af(a){return{seriesType:a,reset:function(e,t){var r=e.getData();r.filterSelf(function(i){var o=r.mapDimension("value"),n=r.get(o,i);return!(Rt(n)&&!isNaN(n)&&n<0)})}}}function of(a){a.registerChartView(Iy),a.registerSeriesModel(Ly),Vs("pie",a.registerAction),a.registerLayout(J(Qp,"pie")),a.registerProcessor(Dr("pie")),a.registerProcessor(af("pie"))}Ze();N();na();ue();var JC=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t.hasSymbolVisual=!0,t}return e.prototype.getInitialData=function(t,r){return we(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return t??(this.option.large?5e3:this.get("progressive"))},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return t??(this.option.large?1e4:this.get("progressiveThreshold"))},e.prototype.brushSelector=function(t,r,i){return i.point(r.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e})(_t),Py=JC;N();N();tt();Me();Jt();var zy=4,$C=(function(){function a(){}return a})(),QC=(function(a){M(e,a);function e(t){var r=a.call(this,t)||this;return r._off=0,r.hoverDataIdx=-1,r}return e.prototype.getDefaultShape=function(){return new $C},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,r){var i=r.points,o=r.size,n=this.symbolProxy,s=n.shape,l=t.getContext?t.getContext():t,u=l&&o[0]=0;u--){var p=u*2,f=o[p]-s/2,c=o[p+1]-l/2;if(t>=f&&r>=c&&t<=f+s&&r<=c+l)return u}return-1},e.prototype.contain=function(t,r){var i=this.transformCoordToLocal(t,r),o=this.getBoundingRect();if(t=i[0],r=i[1],o.contain(t,r)){var n=this.hoverDataIdx=this.findDataIndex(t,r);return n>=0}return this.hoverDataIdx=-1,!1},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var r=this.shape,i=r.points,o=r.size,n=o[0],s=o[1],l=1/0,u=1/0,p=-1/0,f=-1/0,c=0;c=0&&(u.dataIndex=f+(e.startIndex||0))})},a.prototype.remove=function(){this._clear()},a.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},a})(),Ey=tD;pe();var eD=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,r,i){var o=t.getData(),n=this._updateSymbolDraw(o,t);n.updateData(o,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,r,i){var o=t.getData(),n=this._updateSymbolDraw(o,t);n.incrementalPrepareUpdate(o),this._finished=!1},e.prototype.incrementalRender=function(t,r,i){this._symbolDraw.incrementalUpdate(t,r.getData(),{clipShape:this._getClipShape(r)}),this._finished=t.end===r.getData().count()},e.prototype.updateTransform=function(t,r,i){var o=t.getData();if(this.group.dirty(),!this._finished||o.count()>1e4)return{update:!0};var n=Cr("").reset(t,r,i);n.progress&&n.progress({start:0,end:o.count(),count:o.count()},o),this._symbolDraw.updateLayout(o)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){if(t.get("clip",!0)){var r=t.coordinateSystem;return r&&r.getArea&&r.getArea(.1)}},e.prototype._updateSymbolDraw=function(t,r){var i=this._symbolDraw,o=r.pipelineContext,n=o.large;return(!i||n!==this._isLargeDraw)&&(i&&i.remove(),i=this._symbolDraw=n?new Ey:new Wr,this._isLargeDraw=n,this.group.removeAll()),this.group.add(i.group),i},e.prototype.remove=function(t,r){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e})(xt),Ry=eD;N();ye();N();de();var rD=(function(a){M(e,a);function e(){return a!==null&&a.apply(this,arguments)||this}return e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e})(At),ky=rD;tt();z();N();z();de();on();lt();var sl=(function(a){M(e,a);function e(){return a!==null&&a.apply(this,arguments)||this}return e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",qt).models[0]},e.type="cartesian2dAxis",e})(At);ae(sl,Hr);N();z();var Vy={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},aD=dt({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},Vy),nf=dt({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},Vy),iD=dt({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},nf),oD=$({logBase:10},nf),ll={category:aD,value:nf,time:iD,log:oD};Kt();MT();var Ny={value:1,category:1,time:1,log:1};z();function Mr(a,e,t,r){w(Ny,function(i,o){var n=dt(dt({},ll[o],!0),r,!0),s=(function(l){M(u,l);function u(){var p=l!==null&&l.apply(this,arguments)||this;return p.type=e+"Axis."+o,p}return u.prototype.mergeDefaultAndTheme=function(p,f){var c=Ym(this),h=c?Da(p):{},v=f.getTheme();dt(p,v.get(o+"Axis")),dt(p,this.getDefaultOption()),p.type=Oy(p),c&&Ca(p,h,c)},u.prototype.optionUpdated=function(){var p=this.option;p.type==="category"&&(this.__ordinalMeta=pg.createByAxisModel(this))},u.prototype.getCategories=function(p){var f=this.option;if(f.type==="category")return p?f.data:this.__ordinalMeta.categories},u.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},u.type=e+"Axis."+o,u.defaultOption=n,u})(t);a.registerComponentModel(s)}),a.registerSubTypeDefaulter(e+"Axis",Oy)}function Oy(a){return a.type||(a.data?"category":"value")}z();Kt();sa();N();sr();z();var nD=(function(){function a(e){this.type="cartesian",this._dimList=[],this._axes={},this.name=e||""}return a.prototype.getAxis=function(e){return this._axes[e]},a.prototype.getAxes=function(){return O(this._dimList,function(e){return this._axes[e]},this)},a.prototype.getAxesByScale=function(e){return e=e.toLowerCase(),Ot(this.getAxes(),function(t){return t.scale.type===e})},a.prototype.addAxis=function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},a})(),Uy=nD;Pr();Be();var ul=["x","y"];function Gy(a){return a.type==="interval"||a.type==="time"}var sD=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type="cartesian2d",t.dimensions=ul,t}return e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,r=this.getAxis("y").scale;if(!(!Gy(t)||!Gy(r))){var i=t.getExtent(),o=r.getExtent(),n=this.dataToPoint([i[0],o[0]]),s=this.dataToPoint([i[1],o[1]]),l=i[1]-i[0],u=o[1]-o[0];if(!(!l||!u)){var p=(s[0]-n[0])/l,f=(s[1]-n[1])/u,c=n[0]-i[0]*p,h=n[1]-o[0]*f,v=this._transform=[p,0,0,f,c,h];this._invTransform=as([],v)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var r=this.getAxis("x"),i=this.getAxis("y");return r.contain(r.toLocalCoord(t[0]))&&i.contain(i.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,r){var i=this.dataToPoint(t),o=this.dataToPoint(r),n=this.getArea(),s=new Vt(i[0],i[1],o[0]-i[0],o[1]-i[1]);return n.intersect(s)},e.prototype.dataToPoint=function(t,r,i){i=i||[];var o=t[0],n=t[1];if(this._transform&&o!=null&&isFinite(o)&&n!=null&&isFinite(n))return ir(i,t,this._transform);var s=this.getAxis("x"),l=this.getAxis("y");return i[0]=s.toGlobalCoord(s.dataToCoord(o,r)),i[1]=l.toGlobalCoord(l.dataToCoord(n,r)),i},e.prototype.clampData=function(t,r){var i=this.getAxis("x").scale,o=this.getAxis("y").scale,n=i.getExtent(),s=o.getExtent(),l=i.parse(t[0]),u=o.parse(t[1]);return r=r||[],r[0]=Math.min(Math.max(Math.min(n[0],n[1]),l),Math.max(n[0],n[1])),r[1]=Math.min(Math.max(Math.min(s[0],s[1]),u),Math.max(s[0],s[1])),r},e.prototype.pointToData=function(t,r){var i=[];if(this._invTransform)return ir(i,t,this._invTransform);var o=this.getAxis("x"),n=this.getAxis("y");return i[0]=o.coordToData(o.toLocalCoord(t[0]),r),i[1]=n.coordToData(n.toLocalCoord(t[1]),r),i},e.prototype.getOtherAxis=function(t){return this.getAxis(t.dim==="x"?"y":"x")},e.prototype.getArea=function(t){t=t||0;var r=this.getAxis("x").getGlobalExtent(),i=this.getAxis("y").getGlobalExtent(),o=Math.min(r[0],r[1])-t,n=Math.min(i[0],i[1])-t,s=Math.max(r[0],r[1])-o+t,l=Math.max(i[0],i[1])-n+t;return new Vt(o,n,s,l)},e})(Uy),By=sD;N();xi();var lD=(function(a){M(e,a);function e(t,r,i,o,n){var s=a.call(this,t,r,i)||this;return s.index=0,s.type=o||"value",s.position=n||"bottom",s}return e.prototype.isHorizontal=function(){var t=this.position;return t==="top"||t==="bottom"},e.prototype.getGlobalExtent=function(t){var r=this.getExtent();return r[0]=this.toGlobalCoord(r[0]),r[1]=this.toGlobalCoord(r[1]),t&&r[0]>r[1]&&r.reverse(),r},e.prototype.pointToData=function(t,r){return this.coordToData(this.toLocalCoord(t[this.dim==="x"?0:1]),r)},e.prototype.setCategorySortInfo=function(t){if(this.type!=="category")return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e})(Ae),Hy=lD;lt();z();lt();function vn(a,e,t){t=t||{};var r=a.coordinateSystem,i=e.axis,o={},n=i.getAxesOnZeroOf()[0],s=i.position,l=n?"onZero":s,u=i.dim,p=r.getRect(),f=[p.x,p.x+p.width,p.y,p.y+p.height],c={left:0,right:1,top:0,bottom:1,onZero:2},h=e.get("offset")||0,v=u==="x"?[f[2]-h,f[3]+h]:[f[0]-h,f[1]+h];if(n){var d=n.toGlobalCoord(n.dataToCoord(0));v[c.onZero]=Math.max(Math.min(d,v[1]),v[0])}o.position=[u==="y"?v[c[l]]:f[0],u==="x"?v[c[l]]:f[3]],o.rotation=Math.PI/2*(u==="x"?0:1);var m={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=m[s],o.labelOffset=n?v[c[s]]-v[c.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),Wt(t.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var g=e.get(["axisLabel","rotate"]);return o.labelRotate=l==="top"?-g:g,o.z2=1,o}function sf(a){return a.get("coordinateSystem")==="cartesian2d"}function lf(a){var e={xAxisModel:null,yAxisModel:null};return w(e,function(t,r){var i=r.replace(/Model$/,""),o=a.getReferringComponents(i,qt).models[0];e[r]=o}),e}vp();bt();dp();sa();vp();var uf=Math.log;function pl(a,e,t){var r=yi.prototype,i=r.getTicks.call(t),o=r.getTicks.call(t,!0),n=i.length-1,s=r.getInterval.call(t),l=dg(a,e),u=l.extent,p=l.fixMin,f=l.fixMax;if(a.type==="log"){var c=uf(a.base);u=[uf(u[0])/c,uf(u[1])/c]}a.setExtent(u[0],u[1]),a.calcNiceExtent({splitNumber:n,fixMin:p,fixMax:f});var h=r.getExtent.call(a);p&&(u[0]=h[0]),f&&(u[1]=h[1]);var v=r.getInterval.call(a),d=u[0],m=u[1];if(p&&f)v=(m-d)/n;else if(p)for(m=u[0]+v*n;mu[0]&&isFinite(d)&&isFinite(u[0]);)v=Gs(v),d=u[1]-v*n;else{var g=a.getTicks().length-1;g>n&&(v=Gs(v));var y=v*n;m=Math.ceil(u[1]/v)*v,d=Pe(m-y),d<0&&u[0]>=0?(d=0,m=Pe(y)):m>0&&u[1]<=0&&(m=0,d=-Pe(y))}var x=(i[0].value-o[0].value)/s,S=(i[n].value-o[n].value)/s;if(r.setExtent.call(a,d+v*x,m+v*S),r.setInterval.call(a,v),(x||S)&&r.setNiceExtent.call(a,d+v,m-v),0)var b}var uD=(function(){function a(e,t,r){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=ul,this._initCartesian(e,t,r),this.model=e}return a.prototype.getRect=function(){return this._rect},a.prototype.update=function(e,t){var r=this._axesMap;this._updateScale(e,this.model);function i(n){var s,l=Gt(n),u=l.length;if(u){for(var p=[],f=u-1;f>=0;f--){var c=+l[f],h=n[c],v=h.model,d=h.scale;rn(d)&&v.get("alignTicks")&&v.get("interval")==null?p.push(h):(Br(d,v),rn(d)&&(s=h))}p.length&&(s||(s=p.pop(),Br(s.scale,s.model)),w(p,function(m){pl(m.scale,m.model,s.scale)}))}}i(r.x),i(r.y);var o={};w(r.x,function(n){Wy(r,"y",n,o)}),w(r.y,function(n){Wy(r,"x",n,o)}),this.resize(this.model,t)},a.prototype.resize=function(e,t,r){var i=e.getBoxLayoutParams(),o=!r&&e.get("containLabel"),n=Lt(i,{width:t.getWidth(),height:t.getHeight()});this._rect=n;var s=this._axesList;l(),o&&(w(s,function(u){if(!u.model.get(["axisLabel","inside"])){var p=gg(u);if(p){var f=u.isHorizontal()?"height":"width",c=u.model.get(["axisLabel","margin"]);n[f]-=p[f]+c,u.position==="top"?n.y+=p.height+c:u.position==="left"&&(n.x+=p.width+c)}}}),l()),w(this._coordsList,function(u){u.calcAffineTransform()});function l(){w(s,function(u){var p=u.isHorizontal(),f=p?[0,n.width]:[0,n.height],c=u.inverse?1:0;u.setExtent(f[c],f[1-c]),pD(u,p?n.x:n.y)})}},a.prototype.getAxis=function(e,t){var r=this._axesMap[e];if(r!=null)return r[t||0]},a.prototype.getAxes=function(){return this._axesList.slice()},a.prototype.getCartesian=function(e,t){if(e!=null&&t!=null){var r="x"+e+"y"+t;return this._coordsMap[r]}Tt(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var i=0,o=this._coordsList;i0?"top":"bottom",o="center"):ui(i-Ua)?(n=r>0?"bottom":"top",o="center"):(n="middle",i>0&&i0?"right":"left":o=r>0?"left":"right"),{rotation:i,textAlign:o,textVerticalAlign:n}},a.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},a.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)},a})(),Xy={axisLine:function(a,e,t,r){var i=e.get(["axisLine","show"]);if(i==="auto"&&a.handleAutoShown&&(i=a.handleAutoShown("axisLine")),!!i){var o=e.axis.getExtent(),n=r.transform,s=[o[0],0],l=[o[1],0],u=s[0]>l[0];n&&(ir(s,s,n),ir(l,l,n));var p=B({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),f=new oe({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:p,strokeContainThreshold:a.strokeContainThreshold||5,silent:!0,z2:1});ba(f.shape,f.style.lineWidth),f.anid="line",t.add(f);var c=e.get(["axisLine","symbol"]);if(c!=null){var h=e.get(["axisLine","symbolSize"]);K(c)&&(c=[c,c]),(K(h)||Rt(h))&&(h=[h,h]);var v=Qe(e.get(["axisLine","symbolOffset"])||0,h),d=h[0],m=h[1];w([{rotate:a.rotation+Math.PI/2,offset:v[0],r:0},{rotate:a.rotation-Math.PI/2,offset:v[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],function(g,y){if(c[y]!=="none"&&c[y]!=null){var x=zt(c[y],-d/2,-m/2,d,m,p.stroke,!0),S=g.r+g.offset,b=u?l:s;x.attr({rotation:g.rotate,x:b[0]+S*Math.cos(a.rotation),y:b[1]-S*Math.sin(a.rotation),silent:!0,z2:11}),t.add(x)}})}}},axisTickLabel:function(a,e,t,r){var i=hD(t,r,e,a),o=dD(t,r,e,a);if(cD(e,o,i),vD(t,r,e,a.tickDirection),e.get(["axisLabel","hideOverlap"])){var n=Cg(O(o,function(s){return{label:s,priority:s.z2,defaultAttr:{ignore:s.ignore}}}));Mg(n)}},axisName:function(a,e,t,r){var i=Wt(a.axisName,e.get("name"));if(i){var o=e.get("nameLocation"),n=a.nameDirection,s=e.getModel("nameTextStyle"),l=e.get("nameGap")||0,u=e.axis.getExtent(),p=u[0]>u[1]?-1:1,f=[o==="start"?u[0]-p*l:o==="end"?u[1]+p*l:(u[0]+u[1])/2,jy(o)?a.labelOffset+n*l:0],c,h=e.get("nameRotate");h!=null&&(h=h*Ua/180);var v;jy(o)?c=wi.innerTextLayout(a.rotation,h??a.rotation,n):(c=fD(a.rotation,o,h||0,u),v=a.axisNameAvailableWidth,v!=null&&(v=Math.abs(v/Math.sin(c.rotation)),!isFinite(v)&&(v=null)));var d=s.getFont(),m=e.get("nameTruncate",!0)||{},g=m.ellipsis,y=Wt(a.nameTruncateMaxWidth,m.maxWidth,v),x=new ut({x:f[0],y:f[1],rotation:c.rotation,silent:wi.isLabelSilent(e),style:Ct(s,{text:i,font:d,overflow:"truncate",width:y,ellipsis:g,fill:s.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:s.get("align")||c.textAlign,verticalAlign:s.get("verticalAlign")||c.textVerticalAlign}),z2:1});if(Sr({el:x,componentModel:e,itemName:i}),x.__fullText=i,x.anid="name",e.get("triggerEvent")){var S=wi.makeAxisEventDataBase(e);S.targetType="axisName",S.name=i,Q(x).eventData=S}r.add(x),x.updateTransform(),t.add(x),x.decomposeTransform()}}};function fD(a,e,t,r){var i=Ku(t-a),o,n,s=r[0]>r[1],l=e==="start"&&!s||e!=="start"&&s;return ui(i-Ua/2)?(n=l?"bottom":"top",o="center"):ui(i-Ua*1.5)?(n=l?"top":"bottom",o="center"):(n="middle",iUa/2?o=l?"left":"right":o=l?"right":"left"),{rotation:i,textAlign:o,textVerticalAlign:n}}function cD(a,e,t){if(!yg(a.axis)){var r=a.get(["axisLabel","showMinLabel"]),i=a.get(["axisLabel","showMaxLabel"]);e=e||[],t=t||[];var o=e[0],n=e[1],s=e[e.length-1],l=e[e.length-2],u=t[0],p=t[1],f=t[t.length-1],c=t[t.length-2];r===!1?(fr(o),fr(u)):Ky(o,n)&&(r?(fr(n),fr(p)):(fr(o),fr(u))),i===!1?(fr(s),fr(f)):Ky(l,s)&&(i?(fr(l),fr(c)):(fr(s),fr(f)))}}function fr(a){a&&(a.ignore=!0)}function Ky(a,e){var t=a&&a.getBoundingRect().clone(),r=e&&e.getBoundingRect().clone();if(!(!t||!r)){var i=Ed([]);return nr(i,i,-a.rotation),t.applyTransform(Bi([],i,a.getLocalTransform())),r.applyTransform(Bi([],i,e.getLocalTransform())),t.intersect(r)}}function jy(a){return a==="middle"||a==="center"}function qy(a,e,t,r,i){for(var o=[],n=[],s=[],l=0;l=0||a===e}function $y(a){var e=fl(a);if(e){var t=e.axisPointerModel,r=e.axis.scale,i=t.option,o=t.get("status"),n=t.get("value");n!=null&&(n=r.parse(n));var s=cf(t);o==null&&(i.status=s?"show":"hide");var l=r.getExtent().slice();l[0]>l[1]&&l.reverse(),(n==null||n>l[1])&&(n=l[1]),n0&&!v.min?v.min=0:v.min!=null&&v.min<0&&!v.max&&(v.max=0);var d=l;v.color!=null&&(d=$({color:v.color},l));var m=dt(ot(v),{boundaryGap:t,splitNumber:r,scale:i,axisLine:o,axisTick:n,axisLabel:s,name:v.text,showName:u,nameLocation:"end",nameGap:f,nameTextStyle:d,triggerEvent:c},!1);if(K(p)){var g=m.name;m.name=p.replace("{value}",g??"")}else at(p)&&(m.name=p(m.name,m));var y=new Nt(m,null,this.ecModel);return ae(y,Hr.prototype),y.mainType="radar",y.componentIndex=this.componentIndex,y},this);this._indicatorModels=h},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:dt({lineStyle:{color:"#bbb"}},dn.axisLine),axisLabel:dl(dn.axisLabel,!1),axisTick:dl(dn.axisTick,!1),splitLine:dl(dn.splitLine,!0),splitArea:dl(dn.splitArea,!0),indicator:[]},e})(At),lx=MD;N();z();tt();ye();var ID=["axisLine","axisTickLabel","axisName"],LD=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,r,i){var o=this.group;o.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var r=t.coordinateSystem,i=r.getIndicatorAxes(),o=O(i,function(n){var s=n.model.get("showName")?n.name:"",l=new Ce(n.model,{axisName:s,position:[r.cx,r.cy],rotation:n.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return l});w(o,function(n){w(ID,n.add,n),this.group.add(n.getGroup())},this)},e.prototype._buildSplitLineAndArea=function(t){var r=t.coordinateSystem,i=r.getIndicatorAxes();if(!i.length)return;var o=t.get("shape"),n=t.getModel("splitLine"),s=t.getModel("splitArea"),l=n.getModel("lineStyle"),u=s.getModel("areaStyle"),p=n.get("show"),f=s.get("show"),c=l.get("color"),h=u.get("color"),v=G(c)?c:[c],d=G(h)?h:[h],m=[],g=[];function y(E,k,U){var V=U%k.length;return E[V]=E[V]||[],V}if(o==="circle")for(var x=i[0].getTicksCoords(),S=r.cx,b=r.cy,_=0;_3?1.4:n>1?1.2:1.1,p=o>0?u:1/u;wf(this,"zoom","zoomOnMouseWheel",t,{scale:p,originX:s,originY:l,isAvailableBehavior:null})}if(i){var f=Math.abs(o),c=(o>0?1:-1)*(f>3?.4:f>1?.15:.05);wf(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:c,originX:s,originY:l,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){if(!bf(this._zr,"globalPan")){var r=t.pinchScale>1?1.1:1/1.1;wf(this,"zoom",null,t,{scale:r,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})}},e})(ts);function wf(a,e,t,r,i){a.pointerChecker&&a.pointerChecker(r,i.originX,i.originY)&&(or(r.event),gx(a,e,t,r,i))}function gx(a,e,t,r,i){i.isAvailableBehavior=F(ml,null,t,r),a.trigger(e,i)}function ml(a,e,t){var r=t[a];return!a||r&&(!K(r)||e.event[r+"Key"])}var Kr=ED;function io(a,e,t){var r=a.target;r.x+=e,r.y+=t,r.dirty()}function oo(a,e,t,r){var i=a.target,o=a.zoomLimit,n=a.zoom=a.zoom||1;if(n*=e,o){var s=o.min||0,l=o.max||1/0;n=Math.max(Math.min(l,n),s)}var u=n/a.zoom;a.zoom=n,i.x-=(t-i.x)*(u-1),i.y-=(r-i.y)*(u-1),i.scaleX*=u,i.scaleY*=u,i.dirty()}var RD={axisPointer:1,tooltip:1,brush:1};function Ga(a,e,t){var r=e.getComponentByElement(a.topTarget),i=r&&r.coordinateSystem;return r&&r!==t&&!RD.hasOwnProperty(r.mainType)&&i&&i.model!==t}tt();Ft();z();Yu();ga();vT();Qu();dT();yT();Em();gT();Pr();ms();z();Rm();ST();wm();z();function gl(a){if(K(a)){var e=new DOMParser;a=e.parseFromString(a,"text/xml")}var t=a;for(t.nodeType===9&&(t=t.firstChild);t.nodeName.toLowerCase()!=="svg"||t.nodeType!==1;)t=t.nextSibling;return t}var Cf,yl={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},yx=Gt(yl),xl={"alignment-baseline":"textBaseline","stop-color":"stopColor"},xx=Gt(xl),kD=(function(){function a(){this._defs={},this._root=null}return a.prototype.parse=function(e,t){t=t||{};var r=gl(e);this._defsUsePending=[];var i=new Y;this._root=i;var o=[],n=r.getAttribute("viewBox")||"",s=parseFloat(r.getAttribute("width")||t.width),l=parseFloat(r.getAttribute("height")||t.height);isNaN(s)&&(s=null),isNaN(l)&&(l=null),er(r,i,null,!0,!1);for(var u=r.firstChild;u;)this._parseNode(u,i,o,null,!1,!1),u=u.nextSibling;OD(this._defs,this._defsUsePending),this._defsUsePending=[];var p,f;if(n){var c=Sl(n);c.length>=4&&(p={x:parseFloat(c[0]||0),y:parseFloat(c[1]||0),width:parseFloat(c[2]),height:parseFloat(c[3])})}if(p&&s!=null&&l!=null&&(f=Mf(p,{x:0,y:0,width:s,height:l}),!t.ignoreViewBox)){var h=i;i=new Y,i.add(h),h.scaleX=h.scaleY=f.scale,h.x=f.x,h.y=f.y}return!t.ignoreRootClip&&s!=null&&l!=null&&i.setClipPath(new ct({shape:{x:0,y:0,width:s,height:l}})),{root:i,width:s,height:l,viewBoxRect:p,viewBoxTransform:f,named:o}},a.prototype._parseNode=function(e,t,r,i,o,n){var s=e.nodeName.toLowerCase(),l,u=i;if(s==="defs"&&(o=!0),s==="text"&&(n=!0),s==="defs"||s==="switch")l=t;else{if(!o){var p=Cf[s];if(p&&j(Cf,s)){l=p.call(this,e,t);var f=e.getAttribute("name");if(f){var c={name:f,namedFrom:null,svgNodeTagLower:s,el:l};r.push(c),s==="g"&&(u=c)}else i&&r.push({name:i.name,namedFrom:i,svgNodeTagLower:s,el:l});t.add(l)}}var h=Sx[s];if(h&&j(Sx,s)){var v=h.call(this,e),d=e.getAttribute("id");d&&(this._defs[d]=v)}}if(l&&l.isGroup)for(var m=e.firstChild;m;)m.nodeType===1?this._parseNode(m,l,r,u,o,n):m.nodeType===3&&n&&this._parseText(m,l),m=m.nextSibling},a.prototype._parseText=function(e,t){var r=new ds({style:{text:e.textContent},silent:!0,x:this._textX||0,y:this._textY||0});cr(t,r),er(e,r,this._defsUsePending,!1,!1),VD(r,t);var i=r.style,o=i.fontSize;o&&o<9&&(i.fontSize=9,r.scaleX*=o/9,r.scaleY*=o/9);var n=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=n;var s=r.getBoundingRect();return this._textX+=s.width,t.add(r),r},a.internalField=(function(){Cf={g:function(e,t){var r=new Y;return cr(t,r),er(e,r,this._defsUsePending,!1,!1),r},rect:function(e,t){var r=new ct;return cr(t,r),er(e,r,this._defsUsePending,!1,!1),r.setShape({x:parseFloat(e.getAttribute("x")||"0"),y:parseFloat(e.getAttribute("y")||"0"),width:parseFloat(e.getAttribute("width")||"0"),height:parseFloat(e.getAttribute("height")||"0")}),r.silent=!0,r},circle:function(e,t){var r=new Vr;return cr(t,r),er(e,r,this._defsUsePending,!1,!1),r.setShape({cx:parseFloat(e.getAttribute("cx")||"0"),cy:parseFloat(e.getAttribute("cy")||"0"),r:parseFloat(e.getAttribute("r")||"0")}),r.silent=!0,r},line:function(e,t){var r=new oe;return cr(t,r),er(e,r,this._defsUsePending,!1,!1),r.setShape({x1:parseFloat(e.getAttribute("x1")||"0"),y1:parseFloat(e.getAttribute("y1")||"0"),x2:parseFloat(e.getAttribute("x2")||"0"),y2:parseFloat(e.getAttribute("y2")||"0")}),r.silent=!0,r},ellipse:function(e,t){var r=new zm;return cr(t,r),er(e,r,this._defsUsePending,!1,!1),r.setShape({cx:parseFloat(e.getAttribute("cx")||"0"),cy:parseFloat(e.getAttribute("cy")||"0"),rx:parseFloat(e.getAttribute("rx")||"0"),ry:parseFloat(e.getAttribute("ry")||"0")}),r.silent=!0,r},polygon:function(e,t){var r=e.getAttribute("points"),i;r&&(i=wx(r));var o=new ie({shape:{points:i||[]},silent:!0});return cr(t,o),er(e,o,this._defsUsePending,!1,!1),o},polyline:function(e,t){var r=e.getAttribute("points"),i;r&&(i=wx(r));var o=new le({shape:{points:i||[]},silent:!0});return cr(t,o),er(e,o,this._defsUsePending,!1,!1),o},image:function(e,t){var r=new se;return cr(t,r),er(e,r,this._defsUsePending,!1,!1),r.setStyle({image:e.getAttribute("xlink:href")||e.getAttribute("href"),x:+e.getAttribute("x"),y:+e.getAttribute("y"),width:+e.getAttribute("width"),height:+e.getAttribute("height")}),r.silent=!0,r},text:function(e,t){var r=e.getAttribute("x")||"0",i=e.getAttribute("y")||"0",o=e.getAttribute("dx")||"0",n=e.getAttribute("dy")||"0";this._textX=parseFloat(r)+parseFloat(o),this._textY=parseFloat(i)+parseFloat(n);var s=new Y;return cr(t,s),er(e,s,this._defsUsePending,!1,!0),s},tspan:function(e,t){var r=e.getAttribute("x"),i=e.getAttribute("y");r!=null&&(this._textX=parseFloat(r)),i!=null&&(this._textY=parseFloat(i));var o=e.getAttribute("dx")||"0",n=e.getAttribute("dy")||"0",s=new Y;return cr(t,s),er(e,s,this._defsUsePending,!1,!0),this._textX+=parseFloat(o),this._textY+=parseFloat(n),s},path:function(e,t){var r=e.getAttribute("d")||"",i=Pm(r);return cr(t,i),er(e,i,this._defsUsePending,!1,!1),i.silent=!0,i}}})(),a})(),Sx={lineargradient:function(a){var e=parseInt(a.getAttribute("x1")||"0",10),t=parseInt(a.getAttribute("y1")||"0",10),r=parseInt(a.getAttribute("x2")||"10",10),i=parseInt(a.getAttribute("y2")||"0",10),o=new Sa(e,t,r,i);return bx(a,o),_x(a,o),o},radialgradient:function(a){var e=parseInt(a.getAttribute("cx")||"0",10),t=parseInt(a.getAttribute("cy")||"0",10),r=parseInt(a.getAttribute("r")||"0",10),i=new km(e,t,r);return bx(a,i),_x(a,i),i}};function bx(a,e){var t=a.getAttribute("gradientUnits");t==="userSpaceOnUse"&&(e.global=!0)}function _x(a,e){for(var t=a.firstChild;t;){if(t.nodeType===1&&t.nodeName.toLocaleLowerCase()==="stop"){var r=t.getAttribute("offset"),i=void 0;r&&r.indexOf("%")>0?i=parseInt(r,10)/100:r?i=parseFloat(r):i=0;var o={};Cx(t,o,o);var n=o.stopColor||t.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:i,color:n})}t=t.nextSibling}}function cr(a,e){a&&a.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),$(e.__inheritedStyle,a.__inheritedStyle))}function wx(a){for(var e=Sl(a),t=[],r=0;r0;o-=2){var n=r[o],s=r[o-1],l=Sl(n);switch(i=i||He(),s){case"translate":Fe(i,i,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":rs(i,i,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":nr(i,i,-parseFloat(l[0])*Df,[parseFloat(l[1]||"0"),parseFloat(l[2]||"0")]);break;case"skewX":var u=Math.tan(parseFloat(l[0])*Df);Bi(i,[1,0,u,1,0,0],i);break;case"skewY":var p=Math.tan(parseFloat(l[0])*Df);Bi(i,[1,p,0,1,0,0],i);break;case"matrix":i[0]=parseFloat(l[0]),i[1]=parseFloat(l[1]),i[2]=parseFloat(l[2]),i[3]=parseFloat(l[3]),i[4]=parseFloat(l[4]),i[5]=parseFloat(l[5]);break}}e.setLocalTransform(i)}}var Tx=/([^\s:;]+)\s*:\s*([^:;]+)/g;function Cx(a,e,t){var r=a.getAttribute("style");if(r){Tx.lastIndex=0;for(var i;(i=Tx.exec(r))!=null;){var o=i[1],n=j(yl,o)?yl[o]:null;n&&(e[n]=i[2]);var s=j(xl,o)?xl[o]:null;s&&(t[s]=i[2])}}}function HD(a,e,t){for(var r=0;r0,m={api:r,geo:l,mapOrGeoModel:e,data:s,isVisualEncodedByVisualMap:d,isGeo:n,transformInfoRaw:c};l.resourceType==="geoJSON"?this._buildGeoJSON(m):l.resourceType==="geoSVG"&&this._buildSVG(m),this._updateController(e,t,r),this._updateMapSelectHandler(e,u,r,i)},a.prototype._buildGeoJSON=function(e){var t=this._regionsGroupByName=et(),r=et(),i=this._regionsGroup,o=e.transformInfoRaw,n=e.mapOrGeoModel,s=e.data,l=e.geo.projection,u=l&&l.stream;function p(h,v){return v&&(h=v(h)),h&&[h[0]*o.scaleX+o.x,h[1]*o.scaleY+o.y]}function f(h){for(var v=[],d=!u&&l&&l.project,m=0;m=0)&&(c=i);var h=n?{normal:{align:"center",verticalAlign:"middle"}}:null;Ut(e,Pt(r),{labelFetcher:c,labelDataIndex:f,defaultText:t},h);var v=e.getTextContent();if(v&&(Ox(v).ignore=v.ignore,e.textConfig&&n)){var d=e.getBoundingRect().clone();e.textConfig.layoutRect=d,e.textConfig.position=[(n[0]-d.x)/d.width*100+"%",(n[1]-d.y)/d.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function Rx(a,e,t,r,i,o){a.data?a.data.setItemGraphicEl(o,e):Q(e).eventData={componentType:"geo",componentIndex:i.componentIndex,geoIndex:i.componentIndex,name:t,region:r&&r.option||{}}}function kx(a,e,t,r,i){a.data||Sr({el:e,componentModel:i,itemName:t,itemTooltipOption:r.get("tooltip")})}function Vx(a,e,t,r,i){e.highDownSilentOnTouch=!!i.get("selectedMode");var o=r.getModel("emphasis"),n=o.get("focus");return gt(e,n,o.get("blurScope"),o.get("disabled")),a.isGeo&&Lm(e,i,t),n}function Nx(a,e,t){var r=[],i;function o(){i=[]}function n(){i.length&&(r.push(i),i=[])}var s=e({polygonStart:o,polygonEnd:n,lineStart:o,lineEnd:n,point:function(l,u){isFinite(l)&&isFinite(u)&&i.push([l,u])},sphere:function(){}});return!t&&s.polygonStart(),w(a,function(l){s.lineStart();for(var u=0;u-1&&(i.style.stroke=i.style.fill,i.style.fill="#fff",i.style.lineWidth=2),i},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},e})(_t),Gx=rM;z();function aM(a,e){var t={};return w(a,function(r){r.each(r.mapDimension("value"),function(i,o){var n="ec-"+r.getName(o);t[n]=t[n]||[],isNaN(i)||t[n].push(i)})}),a[0].map(a[0].mapDimension("value"),function(r,i){for(var o="ec-"+a[0].getName(i),n=0,s=1/0,l=-1/0,u=t[o].length,p=0;p1?(S.width=x,S.height=x/m):(S.height=x,S.width=x*m),S.y=y[1]-S.height/2,S.x=y[0]-S.width/2;else{var b=a.getBoxLayoutParams();b.aspect=m,S=Lt(b,{width:v,height:d})}this.setViewRect(S.x,S.y,S.width,S.height),this.setCenter(a.get("center"),e),this.setZoom(a.get("zoom"))}function nM(a,e){w(e.get("geoCoord"),function(t,r){a.addGeoCoord(r,t)})}var sM=(function(){function a(){this.dimensions=Vf}return a.prototype.create=function(e,t){var r=[];function i(n){return{nameProperty:n.get("nameProperty"),aspectScale:n.get("aspectScale"),projection:n.get("projection")}}e.eachComponent("geo",function(n,s){var l=n.get("map"),u=new Nf(l+s,l,B({nameMap:n.get("nameMap")},i(n)));u.zoomLimit=n.get("scaleLimit"),r.push(u),n.coordinateSystem=u,u.model=n,u.resize=Zx,u.resize(n,t)}),e.eachSeries(function(n){var s=n.get("coordinateSystem");if(s==="geo"){var l=n.get("geoIndex")||0;n.coordinateSystem=r[l]}});var o={};return e.eachSeriesByType("map",function(n){if(!n.getHostGeoModel()){var s=n.getMapType();o[s]=o[s]||[],o[s].push(n)}}),w(o,function(n,s){var l=O(n,function(p){return p.get("nameMap")}),u=new Nf(s,s,B({nameMap:Ui(l)},i(n[0])));u.zoomLimit=Wt.apply(null,O(n,function(p){return p.get("scaleLimit")})),r.push(u),u.resize=Zx,u.resize(n[0],t),w(n,function(p){p.coordinateSystem=u,nM(u,p)})}),r},a.prototype.getFilledRegions=function(e,t,r,i){for(var o=(e||[]).slice(),n=et(),s=0;s=0;n--){var s=i[n];s.hierNode={defaultAncestor:null,ancestor:s,prelim:0,modifier:0,change:0,shift:0,i:n,thread:null},t.push(s)}}function qx(a,e){var t=a.isExpand?a.children:[],r=a.parentNode.children,i=a.hierNode.i?r[a.hierNode.i-1]:null;if(t.length){cM(a);var o=(t[0].hierNode.prelim+t[t.length-1].hierNode.prelim)/2;i?(a.hierNode.prelim=i.hierNode.prelim+e(a,i),a.hierNode.modifier=a.hierNode.prelim-o):a.hierNode.prelim=o}else i&&(a.hierNode.prelim=i.hierNode.prelim+e(a,i));a.parentNode.hierNode.defaultAncestor=hM(a,i,a.parentNode.hierNode.defaultAncestor||r[0],e)}function Jx(a){var e=a.hierNode.prelim+a.parentNode.hierNode.modifier;a.setLayout({x:e},!0),a.hierNode.modifier+=a.parentNode.hierNode.modifier}function Bf(a){return arguments.length?a:mM}function Ci(a,e){return a-=Math.PI/2,{x:e*Math.cos(a),y:e*Math.sin(a)}}function $x(a,e){return Lt(a.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function cM(a){for(var e=a.children,t=e.length,r=0,i=0;--t>=0;){var o=e[t];o.hierNode.prelim+=r,o.hierNode.modifier+=r,i+=o.hierNode.change,r+=o.hierNode.shift+i}}function hM(a,e,t,r){if(e){for(var i=a,o=a,n=o.parentNode.children[0],s=e,l=i.hierNode.modifier,u=o.hierNode.modifier,p=n.hierNode.modifier,f=s.hierNode.modifier;s=Uf(s),o=Gf(o),s&&o;){i=Uf(i),n=Gf(n),i.hierNode.ancestor=a;var c=s.hierNode.prelim+f-o.hierNode.prelim-u+r(s,o);c>0&&(dM(vM(s,a,t),a,c),u+=c,l+=c),f+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=i.hierNode.modifier,p+=n.hierNode.modifier}s&&!Uf(i)&&(i.hierNode.thread=s,i.hierNode.modifier+=f-l),o&&!Gf(n)&&(n.hierNode.thread=o,n.hierNode.modifier+=u-p,t=a)}return t}function Uf(a){var e=a.children;return e.length&&a.isExpand?e[e.length-1]:a.hierNode.thread}function Gf(a){var e=a.children;return e.length&&a.isExpand?e[0]:a.hierNode.thread}function vM(a,e,t){return a.hierNode.ancestor.parentNode===e.parentNode?a.hierNode.ancestor:t}function dM(a,e,t){var r=t/(e.hierNode.i-a.hierNode.i);e.hierNode.change-=r,e.hierNode.shift+=t,e.hierNode.modifier+=t,e.hierNode.prelim+=t,a.hierNode.change+=r}function mM(a,e){return a.parentNode===e.parentNode?1:2}qu();bt();pe();Rr();Ft();var yM=(function(){function a(){this.parentPoint=[],this.childPoints=[]}return a})(),xM=(function(a){M(e,a);function e(t){return a.call(this,t)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new yM},e.prototype.buildPath=function(t,r){var i=r.childPoints,o=i.length,n=r.parentPoint,s=i[0],l=i[o-1];if(o===1){t.moveTo(n[0],n[1]),t.lineTo(s[0],s[1]);return}var u=r.orient,p=u==="TB"||u==="BT"?0:1,f=1-p,c=Z(r.forkPosition,1),h=[];h[p]=n[p],h[f]=n[f]+(l[f]-n[f])*c,t.moveTo(n[0],n[1]),t.lineTo(h[0],h[1]),t.moveTo(s[0],s[1]),h[p]=s[p],t.lineTo(h[0],h[1]),h[p]=l[p],t.lineTo(h[0],h[1]),t.lineTo(l[0],l[1]);for(var v=1;vy.x,b||(S=S-Math.PI));var A=b?"left":"right",T=s.getModel("label"),C=T.get("rotate"),D=C*(Math.PI/180),I=m.getTextContent();I&&(m.setTextConfig({position:T.get("position")||A,rotation:C==null?-S:D,origin:"center"}),I.setStyle("verticalAlign","middle"))}var L=s.get(["emphasis","focus"]),P=L==="relative"?ri(n.getAncestorsIndices(),n.getDescendantIndices()):L==="ancestor"?n.getAncestorsIndices():L==="descendant"?n.getDescendantIndices():null;P&&(Q(t).focus=P),bM(i,n,p,t,v,h,d,r),t.__edge&&(t.onHoverStateChange=function(R){if(R!=="blur"){var E=n.parentNode&&a.getItemGraphicEl(n.parentNode.dataIndex);E&&E.hoverState===Cm||ci(t.__edge,R)}})}function bM(a,e,t,r,i,o,n,s){var l=e.getModel(),u=a.get("edgeShape"),p=a.get("layout"),f=a.getOrient(),c=a.get(["lineStyle","curveness"]),h=a.get("edgeForkPosition"),v=l.getModel("lineStyle").getLineStyle(),d=r.__edge;if(u==="curve")e.parentNode&&e.parentNode!==t&&(d||(d=r.__edge=new ys({shape:Hf(p,f,c,i,i)})),pt(d,{shape:Hf(p,f,c,o,n)},a));else if(u==="polyline"&&p==="orthogonal"&&e!==t&&e.children&&e.children.length!==0&&e.isExpand===!0){for(var m=e.children,g=[],y=0;yt&&(t=i.height)}this.height=t+1},a.prototype.getNodeById=function(e){if(this.getId()===e)return this;for(var t=0,r=this.children,i=r.length;t=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},a.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},a.prototype.getModel=function(e){if(!(this.dataIndex<0)){var t=this.hostTree,r=t.data.getItemModel(this.dataIndex);return r.getModel(e)}},a.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},a.prototype.setVisual=function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},a.prototype.getVisual=function(e){return this.hostTree.data.getItemVisual(this.dataIndex,e)},a.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},a.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},a.prototype.getChildIndex=function(){if(this.parentNode){for(var e=this.parentNode.children,t=0;t=0){var r=t.getData().tree.root,i=a.targetNode;if(K(i)&&(i=r.getNodeById(i)),i&&r.contains(i))return{node:i};var o=a.targetNodeId;if(o!=null&&(i=r.getNodeById(o)))return{node:i}}}function Wf(a){for(var e=[];a;)a=a.parentNode,a&&e.push(a);return e.reverse()}function lo(a,e){var t=Wf(a);return yt(t,e)>=0}function Ha(a,e){for(var t=[];a;){var r=a.dataIndex;t.push({name:a.name,dataIndex:r,value:e.getRawValue(r)}),a=a.parentNode}return t.reverse(),t}var zM=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.hasSymbolVisual=!0,t.ignoreStyleOnData=!0,t}return e.prototype.getInitialData=function(t){var r={name:t.name,children:t.data},i=t.leaves||{},o=new Nt(i,this,this.ecModel),n=so.createTree(r,this,s);function s(f){f.wrapMethod("getItemModel",function(c,h){var v=n.getNodeByDataIndex(h);return v&&v.children.length&&v.isExpand||(c.parentModel=o),c})}var l=0;n.eachNode("preorder",function(f){f.depth>l&&(l=f.depth)});var u=t.expandAndCollapse,p=u&&t.initialTreeDepth>=0?t.initialTreeDepth:l;return n.root.eachNode("preorder",function(f){var c=f.hostTree.data.getRawDataItem(f.dataIndex);f.isExpand=c&&c.collapsed!=null?!c.collapsed:f.depth<=p}),n.data},e.prototype.getOrient=function(){var t=this.get("orient");return t==="horizontal"?t="LR":t==="vertical"&&(t="TB"),t},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.formatTooltip=function(t,r,i){for(var o=this.getData().tree,n=o.root.children[0],s=o.getNodeByDataIndex(t),l=s.getValue(),u=s.name;s&&s!==n;)u=s.parentNode.name+"."+u,s=s.parentNode;return jt("nameValue",{name:u,value:l,noValue:isNaN(l)||l==null})},e.prototype.getDataParams=function(t){var r=a.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(t);return r.treeAncestors=Ha(i,this),r.collapsed=!i.isExpand,r},e.type="series.tree",e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e})(_t),n0=zM;function s0(a,e,t){for(var r=[a],i=[],o;o=r.pop();)if(i.push(o),o.isExpand){var n=o.children;if(n.length)for(var s=0;s=0;o--)t.push(i[o])}}function Yf(a,e){a.eachSeriesByType("tree",function(t){EM(t,e)})}function EM(a,e){var t=$x(a,e);a.layoutInfo=t;var r=a.get("layout"),i=0,o=0,n=null;r==="radial"?(i=2*Math.PI,o=Math.min(t.height,t.width)/2,n=Bf(function(x,S){return(x.parentNode===S.parentNode?1:2)/x.depth})):(i=t.width,o=t.height,n=Bf());var s=a.getData().tree.root,l=s.children[0];if(l){jx(s),s0(l,qx,n),s.hierNode.modifier=-l.hierNode.prelim,uo(l,Jx);var u=l,p=l,f=l;uo(l,function(x){var S=x.getLayout().x;Sp.getLayout().x&&(p=x),x.depth>f.depth&&(f=x)});var c=u===p?1:n(u,p)/2,h=c-u.getLayout().x,v=0,d=0,m=0,g=0;if(r==="radial")v=i/(p.getLayout().x+c+h),d=o/(f.depth-1||1),uo(l,function(x){m=(x.getLayout().x+h)*v,g=(x.depth-1)*d;var S=Ci(m,g);x.setLayout({x:S.x,y:S.y,rawX:m,rawY:g},!0)});else{var y=a.getOrient();y==="RL"||y==="LR"?(d=o/(p.getLayout().x+c+h),v=i/(f.depth-1||1),uo(l,function(x){g=(x.getLayout().x+h)*d,m=y==="LR"?(x.depth-1)*v:i-(x.depth-1)*v,x.setLayout({x:m,y:g},!0)})):(y==="TB"||y==="BT")&&(v=i/(p.getLayout().x+c+h),d=o/(f.depth-1||1),uo(l,function(x){m=(x.getLayout().x+h)*v,g=y==="TB"?(x.depth-1)*d:o-(x.depth-1)*d,x.setLayout({x:m,y:g},!0)}))}}}z();function Xf(a){a.eachSeriesByType("tree",function(e){var t=e.getData(),r=t.tree;r.eachNode(function(i){var o=i.getModel(),n=o.getModel("itemStyle").getItemStyle(),s=t.ensureUniqueItemVisual(i.dataIndex,"style");B(s,n)})})}function l0(a){a.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},function(r){var i=e.dataIndex,o=r.getData().tree,n=o.getNodeByDataIndex(i);n.isExpand=!n.isExpand})}),a.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(e,t,r){t.eachComponent({mainType:"series",subType:"tree",query:e},function(i){var o=i.coordinateSystem,n=no(o,e,void 0,r);i.setCenter&&i.setCenter(n.center),i.setZoom&&i.setZoom(n.zoom)})})}function Kf(a){a.registerChartView(i0),a.registerSeriesModel(n0),a.registerLayout(Yf),a.registerVisual(Xf),l0(a)}z();var u0=["treemapZoomToNode","treemapRender","treemapMove"];function p0(a){for(var e=0;e1;)o=o.parentNode;var n=Jo(a.ecModel,o.name||o.dataIndex+"",r);i.setVisual("decal",n)})}var RM=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t.preventUsingHoverLayer=!0,t}return e.prototype.getInitialData=function(t,r){var i={name:t.name,children:t.data};f0(i);var o=t.levels||[],n=this.designatedVisualItemStyle={},s=new Nt({itemStyle:n},this,r);o=t.levels=kM(o,r);var l=O(o||[],function(f){return new Nt(f,s,r)},this),u=so.createTree(i,this,p);function p(f){f.wrapMethod("getItemModel",function(c,h){var v=u.getNodeByDataIndex(h),d=v?l[v.depth]:null;return c.parentModel=d||s,c})}return u.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,r,i){var o=this.getData(),n=this.getRawValue(t),s=o.getName(t);return jt("nameValue",{name:s,value:n})},e.prototype.getDataParams=function(t){var r=a.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(t);return r.treeAncestors=Ha(i,this),r.treePathInfo=r.treeAncestors,r},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},B(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var r=this._idIndexMap;r||(r=this._idIndexMap=et(),this._idIndexMapCount=0);var i=r.get(t);return i==null&&r.set(t,i=this._idIndexMapCount++),i},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var r=this.getRawData().tree.root;(!t||t!==r&&!r.contains(t))&&(this._viewRoot=r)},e.prototype.enableAriaDecal=function(){yn(this)},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"\u25B6",zoomToNodeRatio:.32*.32,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e})(_t);function f0(a){var e=0;w(a.children,function(r){f0(r);var i=r.value;G(i)&&(i=i[0]),e+=i});var t=a.value;G(t)&&(t=t[0]),(t==null||isNaN(t))&&(t=e),t<0&&(t=0),G(a.value)?a.value[0]=t:a.value=t}function kM(a,e){var t=ne(e.get("color")),r=ne(e.get(["aria","decal","decals"]));if(t){a=a||[];var i,o;w(a,function(s){var l=new Nt(s),u=l.get("color"),p=l.get("decal");(l.get(["itemStyle","color"])||u&&u!=="none")&&(i=!0),(l.get(["itemStyle","decal"])||p&&p!=="none")&&(o=!0)});var n=a[0]||(a[0]={});return i||(n.color=t.slice()),!o&&r&&(n.decal=r.slice()),a}}var c0=RM;N();z();tt();Jt();Ft();gi();tt();Jt();Kt();z();lt();Ft();Bt();var VM=8,h0=8,jf=5,NM=(function(){function a(e){this.group=new Y,e.add(this.group)}return a.prototype.render=function(e,t,r,i){var o=e.getModel("breadcrumb"),n=this.group;if(n.removeAll(),!(!o.get("show")||!r)){var s=o.getModel("itemStyle"),l=o.getModel("emphasis"),u=s.getModel("textStyle"),p=l.getModel(["itemStyle","textStyle"]),f={pos:{left:o.get("left"),right:o.get("right"),top:o.get("top"),bottom:o.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:o.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(r,f,u),this._renderContent(e,f,s,l,u,p,i),Ta(n,f.pos,f.box)}},a.prototype._prepare=function(e,t,r){for(var i=e;i;i=i.parentNode){var o=ze(i.getModel().get("name"),""),n=r.getTextRect(o),s=Math.max(n.width+VM*2,t.emptyItemWidth);t.totalWidth+=s+h0,t.renderList.push({node:i,text:o,width:s})}},a.prototype._renderContent=function(e,t,r,i,o,n,s){for(var l=0,u=t.emptyItemWidth,p=e.get(["breadcrumb","height"]),f=Wm(t.pos,t.box),c=t.totalWidth,h=t.renderList,v=i.getModel("itemStyle").getItemStyle(),d=h.length-1;d>=0;d--){var m=h[d],g=m.node,y=m.width,x=m.text;c>f.width&&(c-=y-u,y=u,x=null);var S=new ie({shape:{points:OM(l,0,y,p,d===h.length-1,d===0)},style:$(r.getItemStyle(),{lineJoin:"bevel"}),textContent:new ut({style:Ct(o,{text:x})}),textConfig:{position:"inside"},z2:xa*1e4,onclick:J(s,g)});S.disableLabelAnimation=!0,S.getTextContent().ensureState("emphasis").style=Ct(n,{text:x}),S.ensureState("emphasis").style=v,gt(S,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(S),UM(S,e,g),l+=y+h0}},a.prototype.remove=function(){this.group.removeAll()},a})();function OM(a,e,t,r,i,o){var n=[[i?a:a-jf,e],[a+t,e],[a+t,e+r],[i?a:a-jf,e+r]];return!o&&n.splice(2,0,[a+t+jf,e+r/2]),!i&&n.push([a,e+r/2]),n}function UM(a,e,t){Q(a).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:t&&t.dataIndex,name:t&&t.name},treePathInfo:t&&Ha(t,e)}}var v0=NM;sr();Pr();var GM=(function(){function a(){this._storage=[],this._elExistsMap={}}return a.prototype.add=function(e,t,r,i,o){return this._elExistsMap[e.id]?!1:(this._elExistsMap[e.id]=!0,this._storage.push({el:e,target:t,duration:r,delay:i,easing:o}),!0)},a.prototype.finished=function(e){return this._finishedCallback=e,this},a.prototype.start=function(){for(var e=this,t=this._storage.length,r=function(){t--,t<=0&&(e._storage.length=0,e._elExistsMap={},e._finishedCallback&&e._finishedCallback())},i=0,o=this._storage.length;ig0||Math.abs(t.dy)>g0)){var r=this.seriesModel.getData().tree.root;if(!r)return;var i=r.getLayout();if(!i)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:i.x+t.dx,y:i.y+t.dy,width:i.width,height:i.height}})}},e.prototype._onZoom=function(t){var r=t.originX,i=t.originY,o=t.scale;if(this._state!=="animating"){var n=this.seriesModel.getData().tree.root;if(!n)return;var s=n.getLayout();if(!s)return;var l=new Vt(s.x,s.y,s.width,s.height),u=null,p=this._controllerHost;u=p.zoomLimit;var f=p.zoom=p.zoom||1;if(f*=o,u){var c=u.min||0,h=u.max||1/0;f=Math.max(Math.min(h,f),c)}var v=f/p.zoom;p.zoom=f;var d=this.seriesModel.layoutInfo;r-=d.x,i-=d.y;var m=He();Fe(m,m,[-r,-i]),rs(m,m,[v,v]),Fe(m,m,[r,i]),l.applyTransform(m),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:l.x,y:l.y,width:l.width,height:l.height}})}},e.prototype._initEvents=function(t){var r=this;t.on("click",function(i){if(r._state==="ready"){var o=r.seriesModel.get("nodeClick",!0);if(o){var n=r.findTarget(i.offsetX,i.offsetY);if(n){var s=n.node;if(s.getLayout().isLeafRoot)r._rootToNode(n);else if(o==="zoomToNode")r._zoomToNode(n);else if(o==="link"){var l=s.hostTree.data.getItemModel(s.dataIndex),u=l.get("link",!0),p=l.get("target",!0)||"blank";u&&di(u,p)}}}}},this)},e.prototype._renderBreadcrumb=function(t,r,i){var o=this;i||(i=t.get("leafDepth",!0)!=null?{node:t.getViewRoot()}:this.findTarget(r.getWidth()/2,r.getHeight()/2),i||(i={node:t.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new v0(this.group))).render(t,r,i.node,function(n){o._state!=="animating"&&(lo(t.getViewRoot(),n)?o._rootToNode({node:n}):o._zoomToNode({node:n}))})},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=xn(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,r){var i,o=this.seriesModel.getViewRoot();return o.eachNode({attr:"viewChildren",order:"preorder"},function(n){var s=this._storage.background[n.getRawIndex()];if(s){var l=s.transformCoordToLocal(t,r),u=s.shape;if(u.x<=l[0]&&l[0]<=u.x+u.width&&u.y<=l[1]&&l[1]<=u.y+u.height)i={node:n,offsetX:l[0],offsetY:l[1]};else return!1}},this),i},e.type="treemap",e})(xt);function xn(){return{nodeGroup:[],background:[],content:[]}}function YM(a,e,t,r,i,o,n,s,l,u){if(!n)return;var p=n.getLayout(),f=a.getData(),c=n.getModel();if(f.setItemGraphicEl(n.dataIndex,null),!p||!p.isInView)return;var h=p.width,v=p.height,d=p.borderWidth,m=p.invisible,g=n.getRawIndex(),y=s&&s.getRawIndex(),x=n.viewChildren,S=p.upperHeight,b=x&&x.length,_=c.getModel("itemStyle"),A=c.getModel(["emphasis","itemStyle"]),T=c.getModel(["blur","itemStyle"]),C=c.getModel(["select","itemStyle"]),D=_.get("borderRadius")||0,I=vt("nodeGroup",qf);if(!I)return;if(l.add(I),I.x=p.x||0,I.y=p.y||0,I.markRedraw(),Tl(I).nodeWidth=h,Tl(I).nodeHeight=v,p.isAboveViewRoot)return I;var L=vt("background",m0,u,FM);L&&X(I,L,b&&p.upperLabelHeight);var P=c.getModel("emphasis"),R=P.get("focus"),E=P.get("blurScope"),k=P.get("disabled"),U=R==="ancestor"?n.getAncestorsIndices():R==="descendant"?n.getDescendantIndices():R;if(b)ap(I)&&hi(I,!1),L&&(hi(L,!k),f.setItemGraphicEl(n.dataIndex,L),rp(L,U,E));else{var V=vt("content",m0,u,WM);V&&q(I,V),L.disableMorphing=!0,L&&ap(L)&&hi(L,!1),hi(I,!k),f.setItemGraphicEl(n.dataIndex,I);var H=c.getShallow("cursor");H&&V.attr("cursor",H),rp(I,U,E)}return I;function X(St,ht,Ht){var Et=Q(ht);if(Et.dataIndex=n.dataIndex,Et.seriesIndex=a.seriesIndex,ht.setShape({x:0,y:0,width:h,height:v,r:D}),m)rt(ht);else{ht.invisible=!1;var $t=n.getVisual("style"),ce=$t.stroke,_e=S0(_);_e.fill=ce;var Xt=Di(A);Xt.fill=A.get("borderColor");var re=Di(T);re.fill=T.get("borderColor");var xe=Di(C);if(xe.fill=C.get("borderColor"),Ht){var je=h-2*d;ft(ht,ce,$t.opacity,{x:d,y:0,width:je,height:S})}else ht.removeTextContent();ht.setStyle(_e),ht.ensureState("emphasis").style=Xt,ht.ensureState("blur").style=re,ht.ensureState("select").style=xe,kr(ht)}St.add(ht)}function q(St,ht){var Ht=Q(ht);Ht.dataIndex=n.dataIndex,Ht.seriesIndex=a.seriesIndex;var Et=Math.max(h-2*d,0),$t=Math.max(v-2*d,0);if(ht.culling=!0,ht.setShape({x:d,y:d,width:Et,height:$t,r:D}),m)rt(ht);else{ht.invisible=!1;var ce=n.getVisual("style"),_e=ce.fill,Xt=S0(_);Xt.fill=_e,Xt.decal=ce.decal;var re=Di(A),xe=Di(T),je=Di(C);ft(ht,_e,ce.opacity,null),ht.setStyle(Xt),ht.ensureState("emphasis").style=re,ht.ensureState("blur").style=xe,ht.ensureState("select").style=je,kr(ht)}St.add(ht)}function rt(St){!St.invisible&&o.push(St)}function ft(St,ht,Ht,Et){var $t=c.getModel(Et?x0:y0),ce=ze(c.get("name"),null),_e=$t.getShallow("show");Ut(St,Pt(c,Et?x0:y0),{defaultText:_e?ce:null,inheritColor:ht,defaultOpacity:Ht,labelFetcher:a,labelDataIndex:n.dataIndex});var Xt=St.getTextContent();if(Xt){var re=Xt.style,xe=bd(re.padding||0);Et&&(St.setTextConfig({layoutRect:Et}),Xt.disableLabelLayout=!0),Xt.beforeUpdate=function(){var Ge=Math.max((Et?Et.width:St.shape.width)-xe[1]-xe[3],0),ei=Math.max((Et?Et.height:St.shape.height)-xe[0]-xe[2],0);(re.width!==Ge||re.height!==ei)&&Xt.setStyle({width:Ge,height:ei})},re.truncateMinChar=2,re.lineOverflow="truncate",st(re,Et,p);var je=Xt.getState("emphasis");st(je?je.style:null,Et,p)}}function st(St,ht,Ht){var Et=St?St.text:null;if(!ht&&Ht.isLeafRoot&&Et!=null){var $t=a.get("drillDownIcon",!0);St.text=$t?$t+" "+Et:Et}}function vt(St,ht,Ht,Et){var $t=y!=null&&t[St][y],ce=i[St];return $t?(t[St][y]=null,Qt(ce,$t)):m||($t=new ht,$t instanceof Je&&($t.z2=XM(Ht,Et)),Ie(ce,$t)),e[St][g]=$t}function Qt(St,ht){var Ht=St[g]={};ht instanceof qf?(Ht.oldX=ht.x,Ht.oldY=ht.y):Ht.oldShape=B({},ht.shape)}function Ie(St,ht){var Ht=St[g]={},Et=n.parentNode,$t=ht instanceof Y;if(Et&&(!r||r.direction==="drillDown")){var ce=0,_e=0,Xt=i.background[Et.getRawIndex()];!r&&Xt&&Xt.oldShape&&(ce=Xt.oldShape.width,_e=Xt.oldShape.height),$t?(Ht.oldX=0,Ht.oldY=_e):Ht.oldShape={x:ce,y:_e,width:0,height:0}}Ht.fadein=!$t}}function XM(a,e){return a*HM+e}var b0=ZM;z();ni();bt();var _n=w,KM=Tt,Ml=-1,tc=(function(){function a(e){var t=e.mappingMethod,r=e.type,i=this.option=ot(e);this.type=r,this.mappingMethod=t,this._normalizeData=JM[t];var o=a.visualHandlers[r];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[t],t==="piecewise"?(Jf(i),jM(i)):t==="category"?i.categories?qM(i):Jf(i,!0):(rr(t!=="linear"||i.dataExtent),Jf(i))}return a.prototype.mapValueToVisual=function(e){var t=this._normalizeData(e);return this._normalizedToVisual(t,e)},a.prototype.getNormalizer=function(){return F(this._normalizeData,this)},a.listVisualTypes=function(){return Gt(a.visualHandlers)},a.isValidType=function(e){return a.visualHandlers.hasOwnProperty(e)},a.eachVisual=function(e,t,r){Tt(e)?w(e,t,r):t.call(r,e)},a.mapVisual=function(e,t,r){var i,o=G(e)?[]:Tt(e)?{}:(i=!0,null);return a.eachVisual(e,function(n,s){var l=t.call(r,n,s);i?o=l:o[s]=l}),o},a.retrieveVisuals=function(e){var t={},r;return e&&_n(a.visualHandlers,function(i,o){e.hasOwnProperty(o)&&(t[o]=e[o],r=!0)}),r?t:null},a.prepareVisualTypes=function(e){if(G(e))e=e.slice();else if(KM(e)){var t=[];_n(e,function(r,i){t.push(i)}),e=t}else return[];return e.sort(function(r,i){return i==="color"&&r!=="color"&&r.indexOf("color")===0?1:-1}),e},a.dependsOn=function(e,t){return t==="color"?!!(e&&e.indexOf(t)===0):e===t},a.findPieceIndex=function(e,t,r){for(var i,o=1/0,n=0,s=t.length;n=0;o--)r[o]==null&&(delete t[e[o]],e.pop())}function Jf(a,e){var t=a.visual,r=[];Tt(t)?_n(t,function(o){r.push(o)}):t!=null&&r.push(t);var i={color:1,symbol:1};!e&&r.length===1&&!i.hasOwnProperty(a.type)&&(r[1]=r[0]),w0(a,r)}function Cl(a){return{applyVisual:function(e,t,r){var i=this.mapValueToVisual(e);r("color",a(t("color"),i))},_normalizedToVisual:$f([0,1])}}function _0(a){var e=this.option.visual;return e[Math.round(wt(a,[0,1],[0,e.length-1],!0))]||{}}function Sn(a){return function(e,t,r){r(a,this.mapValueToVisual(e))}}function bn(a){var e=this.option.visual;return e[this.option.loop&&a!==Ml?a%e.length:a]}function Mi(){return this.option.visual[0]}function $f(a){return{linear:function(e){return wt(e,a,this.option.visual,!0)},category:bn,piecewise:function(e,t){var r=Qf.call(this,t);return r==null&&(r=wt(e,a,this.option.visual,!0)),r},fixed:Mi}}function Qf(a){var e=this.option,t=e.pieceList;if(e.hasSpecialVisual){var r=tc.findPieceIndex(a,t),i=t[r];if(i&&i.visual)return i.visual[this.type]}}function w0(a,e){return a.visual=e,a.type==="color"&&(a.parsedVisual=O(e,function(t){var r=os(t);return r||[0,0,0,1]})),e}var JM={linear:function(a){return wt(a,this.option.dataExtent,[0,1],!0)},piecewise:function(a){var e=this.option.pieceList,t=tc.findPieceIndex(a,e,!0);if(t!=null)return wt(t,[0,e.length-1],[0,1],!0)},category:function(a){var e=this.option.categories?this.option.categoryMap[a]:a;return e??Ml},fixed:Te};function Dl(a,e,t){return a?e<=t:e=t.length||d===t[d.depth]){var g=rI(i,l,d,m,v,r);D0(d,g,t,r)}})}}}function QM(a,e,t){var r=B({},e),i=t.designatedVisualItemStyle;return w(["color","colorAlpha","colorSaturation"],function(o){i[o]=e[o];var n=a.get(o);i[o]=null,n!=null&&(r[o]=n)}),r}function A0(a){var e=ec(a,"color");if(e){var t=ec(a,"colorAlpha"),r=ec(a,"colorSaturation");return r&&(e=ii(e,null,null,r)),t&&(e=oi(e,t)),e}}function tI(a,e){return e!=null?ii(e,null,null,a):null}function ec(a,e){var t=a[e];if(t!=null&&t!=="none")return t}function eI(a,e,t,r,i,o){if(!(!o||!o.length)){var n=rc(e,"color")||i.color!=null&&i.color!=="none"&&(rc(e,"colorAlpha")||rc(e,"colorSaturation"));if(n){var s=e.get("visualMin"),l=e.get("visualMax"),u=t.dataExtent.slice();s!=null&&su[1]&&(u[1]=l);var p=e.get("colorMappingBy"),f={type:n.name,dataExtent:u,visual:n.range};f.type==="color"&&(p==="index"||p==="id")?(f.mappingMethod="category",f.loop=!0):f.mappingMethod="linear";var c=new ee(f);return T0(c).drColorMappingBy=p,c}}}function rc(a,e){var t=a.get(e);return G(t)&&t.length?{name:e,range:t}:null}function rI(a,e,t,r,i,o){var n=B({},e);if(i){var s=i.type,l=s==="color"&&T0(i).drColorMappingBy,u=l==="index"?r:l==="id"?o.mapIdToIndex(t.getId()):t.getValue(a.get("visualDimension"));n[s]=i.mapValueToVisual(u)}return n}z();sr();bt();Kt();var wn=Math.max,Il=Math.min,M0=Wt,ac=w,L0=["itemStyle","borderWidth"],aI=["itemStyle","gapWidth"],iI=["upperLabel","show"],oI=["upperLabel","height"],P0={seriesType:"treemap",reset:function(a,e,t,r){var i=t.getWidth(),o=t.getHeight(),n=a.option,s=Lt(a.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),l=n.size||[],u=Z(M0(s.width,l[0]),i),p=Z(M0(s.height,l[1]),o),f=r&&r.type,c=["treemapZoomToNode","treemapRootToNode"],h=pa(r,c,a),v=f==="treemapRender"||f==="treemapMove"?r.rootRect:null,d=a.getViewRoot(),m=Wf(d);if(f!=="treemapMove"){var g=f==="treemapZoomToNode"?fI(a,h,d,u,p):v?[v.width,v.height]:[u,p],y=n.sort;y&&y!=="asc"&&y!=="desc"&&(y="desc");var x={squareRatio:n.squareRatio,sort:y,leafDepth:n.leafDepth};d.hostTree.clearLayouts();var S={x:0,y:0,width:g[0],height:g[1],area:g[0]*g[1]};d.setLayout(S),z0(d,x,!1,0),S=d.getLayout(),ac(m,function(_,A){var T=(m[A+1]||d).getValue();_.setLayout(B({dataExtent:[T,T],borderWidth:0,upperHeight:0},S))})}var b=a.getData().tree.root;b.setLayout(cI(s,v,h),!0),a.setLayoutInfo(s),E0(b,new Vt(-s.x,-s.y,i,o),m,d,0)}};function z0(a,e,t,r){var i,o;if(!a.isRemoved()){var n=a.getLayout();i=n.width,o=n.height;var s=a.getModel(),l=s.get(L0),u=s.get(aI)/2,p=R0(s),f=Math.max(l,p),c=l-u,h=f-u;a.setLayout({borderWidth:l,upperHeight:f,upperLabelHeight:p},!0),i=wn(i-2*c,0),o=wn(o-c-h,0);var v=i*o,d=nI(a,s,v,e,t,r);if(d.length){var m={x:c,y:h,width:i,height:o},g=Il(i,o),y=1/0,x=[];x.area=0;for(var S=0,b=d.length;S=0;l--){var u=i[r==="asc"?n-l-1:l].getValue();u/t*es[1]&&(s[1]=u)})),{sum:r,dataExtent:s}}function pI(a,e,t){for(var r=0,i=1/0,o=0,n=void 0,s=a.length;or&&(r=n));var l=a.area*a.area,u=e*e*t;return l?wn(u*r/l,l/(u*i)):1/0}function I0(a,e,t,r,i){var o=e===t.width?0:1,n=1-o,s=["x","y"],l=["width","height"],u=t[s[o]],p=e?a.area/e:0;(i||p>t[l[n]])&&(p=t[l[n]]);for(var f=0,c=a.length;fXu&&(u=Xu),o=s}ur&&(r=e);var o=r%2?r+2:r+3;i=[];for(var n=0;n0&&(b[0]=-b[0],b[1]=-b[1]);var A=S[0]<0?-1:1;if(o.__position!=="start"&&o.__position!=="end"){var T=-Math.atan2(S[1],S[0]);f[0].8?"left":c[0]<-.8?"right":"center",d=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":o.x=-c[0]*g+p[0],o.y=-c[1]*y+p[1],v=c[0]>.8?"right":c[0]<-.8?"left":"center",d=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":o.x=g*A+p[0],o.y=p[1]+C,v=S[0]<0?"right":"left",o.originX=-g*A,o.originY=-C;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":o.x=_[0],o.y=_[1]+C,v="center",o.originY=-C;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":o.x=-g*A+f[0],o.y=f[1]+C,v=S[0]>=0?"right":"left",o.originX=g*A,o.originY=-C;break}o.scaleX=o.scaleY=n,o.setStyle({verticalAlign:o.__verticalAlign||d,align:o.__align||v})}},e})(Y),ho=xI;Bt();var SI=(function(){function a(e){this.group=new Y,this._LineCtor=e||ho}return a.prototype.updateData=function(e){var t=this;this._progressiveEls=null;var r=this,i=r.group,o=r._lineData;r._lineData=e,o||i.removeAll();var n=X0(e);e.diff(o).add(function(s){t._doAdd(e,s,n)}).update(function(s,l){t._doUpdate(o,e,l,s,n)}).remove(function(s){i.remove(o.getItemGraphicEl(s))}).execute()},a.prototype.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl(function(t,r){t.updateLayout(e,r)},this)},a.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=X0(e),this._lineData=null,this.group.removeAll()},a.prototype.incrementalUpdate=function(e,t){this._progressiveEls=[];function r(s){!s.isGroup&&!bI(s)&&(s.incremental=!0,s.ensureState("emphasis").hoverLayer=!0)}for(var i=e.start;i0}function X0(a){var e=a.hostModel,t=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:t.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:t.get("disabled"),blurScope:t.get("blurScope"),focus:t.get("focus"),labelStatesModels:Pt(e)}}function K0(a){return isNaN(a[0])||isNaN(a[1])}function Sc(a){return a&&!K0(a[0])&&!K0(a[1])}var vo=SI;tt();Ho();Be();var bc=[],_c=[],wc=[],mo=is,Ac=Td,j0=Math.abs;function q0(a,e,t){for(var r=a[0],i=a[1],o=a[2],n=1/0,s,l=t*t,u=.1,p=.1;p<=.9;p+=.1){bc[0]=mo(r[0],i[0],o[0],p),bc[1]=mo(r[1],i[1],o[1],p);var f=j0(Ac(bc,e)-l);f=0?s=s+u:s=s-u:v>=0?s=s-u:s=s+u}return s}function Cn(a,e){var t=[],r=Nd,i=[[],[],[]],o=[[],[]],n=[];e/=2,a.eachEdge(function(s,l){var u=s.getLayout(),p=s.getVisual("fromSymbol"),f=s.getVisual("toSymbol");u.__original||(u.__original=[ar(u[0]),ar(u[1])],u[2]&&u.__original.push(ar(u[2])));var c=u.__original;if(u[2]!=null){if(Se(i[0],c[0]),Se(i[1],c[2]),Se(i[2],c[1]),p&&p!=="none"){var h=Li(s.node1),v=q0(i,c[0],h*e);r(i[0][0],i[1][0],i[2][0],v,t),i[0][0]=t[3],i[1][0]=t[4],r(i[0][1],i[1][1],i[2][1],v,t),i[0][1]=t[3],i[1][1]=t[4]}if(f&&f!=="none"){var h=Li(s.node2),v=q0(i,c[1],h*e);r(i[0][0],i[1][0],i[2][0],v,t),i[1][0]=t[1],i[2][0]=t[2],r(i[0][1],i[1][1],i[2][1],v,t),i[1][1]=t[1],i[2][1]=t[2]}Se(u[0],i[0]),Se(u[1],i[2]),Se(u[2],i[1])}else{if(Se(o[0],c[0]),Se(o[1],c[1]),Qr(n,o[1],o[0]),Lr(n,n),p&&p!=="none"){var h=Li(s.node1);Bo(o[0],o[0],n,h*e)}if(f&&f!=="none"){var h=Li(s.node2);Bo(o[1],o[1],n,-h*e)}Se(u[0],o[0]),Se(u[1],o[1])}})}pe();Jt();function J0(a){return a.type==="view"}var wI=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t,r){var i=new Wr,o=new vo,n=this.group;this._controller=new Kr(r.getZr()),this._controllerHost={target:n},n.add(i.group),n.add(o.group),this._symbolDraw=i,this._lineDraw=o,this._firstRender=!0},e.prototype.render=function(t,r,i){var o=this,n=t.coordinateSystem;this._model=t;var s=this._symbolDraw,l=this._lineDraw,u=this.group;if(J0(n)){var p={x:n.x,y:n.y,scaleX:n.scaleX,scaleY:n.scaleY};this._firstRender?u.attr(p):pt(u,p,t)}Cn(t.getGraph(),Ii(t));var f=t.getData();s.updateData(f);var c=t.getEdgeData();l.updateData(c),this._updateNodeAndLinkScale(),this._updateController(t,r,i),clearTimeout(this._layoutTimeout);var h=t.forceLayout,v=t.get(["force","layoutAnimation"]);h&&this._startForceLayoutIteration(h,v);var d=t.get("layout");f.graph.eachNode(function(x){var S=x.dataIndex,b=x.getGraphicEl(),_=x.getModel();if(b){b.off("drag").off("dragend");var A=_.get("draggable");A&&b.on("drag",function(C){switch(d){case"force":h.warmUp(),!o._layouting&&o._startForceLayoutIteration(h,v),h.setFixed(S),f.setItemLayout(S,[b.x,b.y]);break;case"circular":f.setItemLayout(S,[b.x,b.y]),x.setLayout({fixed:!0},!0),fo(t,"symbolSize",x,[C.offsetX,C.offsetY]),o.updateLayout(t);break;default:f.setItemLayout(S,[b.x,b.y]),Tn(t.getGraph(),t),o.updateLayout(t);break}}).on("dragend",function(){h&&h.setUnfixed(S)}),b.setDraggable(A,!!_.get("cursor"));var T=_.get(["emphasis","focus"]);T==="adjacency"&&(Q(b).focus=x.getAdjacentDataIndices())}}),f.graph.eachEdge(function(x){var S=x.getGraphicEl(),b=x.getModel().get(["emphasis","focus"]);S&&b==="adjacency"&&(Q(S).focus={edge:[x.dataIndex],node:[x.node1.dataIndex,x.node2.dataIndex]})});var m=t.get("layout")==="circular"&&t.get(["circular","rotateLabel"]),g=f.getLayout("cx"),y=f.getLayout("cy");f.graph.eachNode(function(x){cc(x,m,g,y)}),this._firstRender=!1},e.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,r){var i=this;(function o(){t.step(function(n){i.updateLayout(i._model),(i._layouting=!n)&&(r?i._layoutTimeout=setTimeout(o,16):o())})})()},e.prototype._updateController=function(t,r,i){var o=this,n=this._controller,s=this._controllerHost,l=this.group;if(n.setPointerChecker(function(u,p,f){var c=l.getBoundingRect();return c.applyTransform(l.transform),c.contain(p,f)&&!Ga(u,i,t)}),!J0(t.coordinateSystem)){n.disable();return}n.enable(t.get("roam")),s.zoomLimit=t.get("scaleLimit"),s.zoom=t.coordinateSystem.getZoom(),n.off("pan").off("zoom").on("pan",function(u){io(s,u.dx,u.dy),i.dispatchAction({seriesId:t.id,type:"graphRoam",dx:u.dx,dy:u.dy})}).on("zoom",function(u){oo(s,u.scale,u.originX,u.originY),i.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:u.scale,originX:u.originX,originY:u.originY}),o._updateNodeAndLinkScale(),Cn(t.getGraph(),Ii(t)),o._lineDraw.updateLayout(),i.updateLabelLayout()})},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,r=t.getData(),i=Ii(t);r.eachItemGraphicEl(function(o,n){o&&o.setSymbolScale(i)})},e.prototype.updateLayout=function(t){Cn(t.getGraph(),Ii(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e})(xt),$0=wI;N();Ur();z();lt();We();z();Ur();z();function go(a){return"_EC_"+a}var AI=(function(){function a(e){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=e||!1}return a.prototype.isDirected=function(){return this._directed},a.prototype.addNode=function(e,t){e=e==null?""+t:""+e;var r=this._nodesMap;if(!r[go(e)]){var i=new Pi(e,t);return i.hostGraph=this,this.nodes.push(i),r[go(e)]=i,i}},a.prototype.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},a.prototype.getNodeById=function(e){return this._nodesMap[go(e)]},a.prototype.addEdge=function(e,t,r){var i=this._nodesMap,o=this._edgesMap;if(Rt(e)&&(e=this.nodes[e]),Rt(t)&&(t=this.nodes[t]),e instanceof Pi||(e=i[go(e)]),t instanceof Pi||(t=i[go(t)]),!(!e||!t)){var n=e.id+"-"+t.id,s=new Q0(e,t,r);return s.hostGraph=this,this._directed&&(e.outEdges.push(s),t.inEdges.push(s)),e.edges.push(s),e!==t&&t.edges.push(s),this.edges.push(s),o[n]=s,s}},a.prototype.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},a.prototype.getEdge=function(e,t){e instanceof Pi&&(e=e.id),t instanceof Pi&&(t=t.id);var r=this._edgesMap;return this._directed?r[e+"-"+t]:r[e+"-"+t]||r[t+"-"+e]},a.prototype.eachNode=function(e,t){for(var r=this.nodes,i=r.length,o=0;o=0&&e.call(t,r[o],o)},a.prototype.eachEdge=function(e,t){for(var r=this.edges,i=r.length,o=0;o=0&&r[o].node1.dataIndex>=0&&r[o].node2.dataIndex>=0&&e.call(t,r[o],o)},a.prototype.breadthFirstTraverse=function(e,t,r,i){if(t instanceof Pi||(t=this._nodesMap[go(t)]),!!t){for(var o=r==="out"?"outEdges":r==="in"?"inEdges":"edges",n=0;n=0&&l.node2.dataIndex>=0});for(var o=0,n=i.length;o=0&&this[a][e].setItemVisual(this.dataIndex,t,r)},getVisual:function(t){return this[a][e].getItemVisual(this.dataIndex,t)},setLayout:function(t,r){this.dataIndex>=0&&this[a][e].setItemLayout(this.dataIndex,t,r)},getLayout:function(){return this[a][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[a][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[a][e].getRawIndex(this.dataIndex)}}}ae(Pi,tS("hostGraph","data"));ae(Q0,tS("hostGraph","edgeData"));var eS=AI;Us();Qm();na();lt();function Dn(a,e,t,r,i){for(var o=new eS(r),n=0;n "+c)),u++)}var h=t.get("coordinateSystem"),v;if(h==="cartesian2d"||h==="polar")v=we(a,t);else{var d=Is.get(h),m=d?d.dimensions||[]:[];yt(m,"value")<0&&m.concat(["value"]);var g=za(a,{coordDimensions:m,encodeDefine:t.getEncode()}).dimensions;v=new te(g,t),v.initData(a)}var y=new te(["value"],t);return y.initData(l,s),i&&i(v,y),Al({mainData:v,struct:o,structAttr:"graph",datas:{node:v,edge:y},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}ue();$e();TT();var TI=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t.hasSymbolVisual=!0,t}return e.prototype.init=function(t){a.prototype.init.apply(this,arguments);var r=this;function i(){return r._categoriesData}this.legendVisualProvider=new Xr(i,i),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},e.prototype.mergeOption=function(t){a.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},e.prototype.mergeDefaultAndTheme=function(t){a.prototype.mergeDefaultAndTheme.apply(this,arguments),Er(t,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,r){var i=t.edges||t.links||[],o=t.data||t.nodes||[],n=this;if(o&&i){N0(this);var s=Dn(o,i,this,!0,l);return w(s.edges,function(u){O0(u.node1,u.node2,this,u.dataIndex)},this),s.data}function l(u,p){u.wrapMethod("getItemModel",function(v){var d=n._categoriesModels,m=v.getShallow("category"),g=d[m];return g&&(g.parentModel=v.parentModel,v.parentModel=g),v});var f=Nt.prototype.getModel;function c(v,d){var m=f.call(this,v,d);return m.resolveParentPath=h,m}p.wrapMethod("getItemModel",function(v){return v.resolveParentPath=h,v.getModel=c,v});function h(v){if(v&&(v[0]==="label"||v[1]==="label")){var d=v.slice();return v[0]==="label"?d[0]="edgeLabel":v[1]==="label"&&(d[1]="edgeLabel"),d}return v}}},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.getCategoriesData=function(){return this._categoriesData},e.prototype.formatTooltip=function(t,r,i){if(i==="edge"){var o=this.getData(),n=this.getDataParams(t,i),s=o.graph.getEdgeByIndex(t),l=o.getName(s.node1.dataIndex),u=o.getName(s.node2.dataIndex),p=[];return l!=null&&p.push(l),u!=null&&p.push(u),jt("nameValue",{name:p.join(" > "),value:n.value,noValue:n.value==null})}var f=ag({series:this,dataIndex:t,multipleSeries:r});return f},e.prototype._updateCategoriesData=function(){var t=O(this.option.categories||[],function(i){return i.value!=null?i:B({value:0},i)}),r=new te(["value"],this);r.initData(t),this._categoriesData=r,this._categoriesModels=r.mapArray(function(i){return r.getItemModel(i)})},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.isAnimationEnabled=function(){return a.prototype.isAnimationEnabled.call(this)&&!(this.get("layout")==="force"&&this.get(["force","layoutAnimation"]))},e.type="series.graph",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e})(_t),rS=TI;z();var CI={type:"graphRoam",event:"graphRoam",update:"none"};function Tc(a){a.registerChartView($0),a.registerSeriesModel(rS),a.registerProcessor(oc),a.registerVisual(nc),a.registerVisual(sc),a.registerLayout(pc),a.registerLayout(a.PRIORITY.VISUAL.POST_CHART_LAYOUT,hc),a.registerLayout(vc),a.registerCoordinateSystem("graphView",{dimensions:ua.dimensions,create:dc}),a.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},Te),a.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},Te),a.registerAction(CI,function(e,t,r){t.eachComponent({mainType:"series",query:e},function(i){var o=i.coordinateSystem,n=no(o,e,void 0,r);i.setCenter&&i.setCenter(n.center),i.setZoom&&i.setZoom(n.zoom)})})}N();N();Rr();var DI=(function(){function a(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return a})(),MI=(function(a){M(e,a);function e(t){var r=a.call(this,t)||this;return r.type="pointer",r}return e.prototype.getDefaultShape=function(){return new DI},e.prototype.buildPath=function(t,r){var i=Math.cos,o=Math.sin,n=r.r,s=r.width,l=r.angle,u=r.x-i(l)*s*(s>=n/3?1:2),p=r.y-o(l)*s*(s>=n/3?1:2);l=r.angle-Math.PI/2,t.moveTo(u,p),t.lineTo(r.x+i(l)*s,r.y+o(l)*s),t.lineTo(r.x+i(r.angle)*n,r.y+o(r.angle)*n),t.lineTo(r.x-i(l)*s,r.y-o(l)*s),t.lineTo(u,p)},e})(Mt),aS=MI;tt();Ft();Bt();pe();bt();Me();ga();z();Jt();Ko();function II(a,e){var t=a.get("center"),r=e.getWidth(),i=e.getHeight(),o=Math.min(r,i),n=Z(t[0],e.getWidth()),s=Z(t[1],e.getHeight()),l=Z(a.get("radius"),o/2);return{cx:n,cy:s,r:l}}function El(a,e){var t=a==null?"":a+"";return e&&(K(e)?t=e.replace("{value}",t):at(e)&&(t=e(a))),t}var LI=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,r,i){this.group.removeAll();var o=t.get(["axisLine","lineStyle","color"]),n=II(t,i);this._renderMain(t,r,i,o,n),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,r,i,o,n){var s=this.group,l=t.get("clockwise"),u=-t.get("startAngle")/180*Math.PI,p=-t.get("endAngle")/180*Math.PI,f=t.getModel("axisLine"),c=f.get("roundCap"),h=c?ro:ge,v=f.get("show"),d=f.getModel("lineStyle"),m=d.get("width"),g=[u,p];vs(g,!l),u=g[0],p=g[1];for(var y=p-u,x=u,S=[],b=0;v&&b=C&&(D===0?0:o[D-1][0])Math.PI/2&&(st+=Math.PI)):ft==="tangential"?st=-T-Math.PI/2:Rt(ft)&&(st=ft*Math.PI/180),st===0?f.add(new ut({style:Ct(x,{text:H,x:q,y:rt,verticalAlign:E<-.8?"top":E>.8?"bottom":"middle",align:R<-.4?"left":R>.4?"right":"center"},{inheritColor:X}),silent:!0})):f.add(new ut({style:Ct(x,{text:H,x:q,y:rt,verticalAlign:"middle",align:"center"},{inheritColor:X}),silent:!0,originX:q,originY:rt,rotation:st}))}if(y.get("show")&&k!==S){var U=y.get("distance");U=U?U+p:p;for(var vt=0;vt<=b;vt++){R=Math.cos(T),E=Math.sin(T);var Qt=new oe({shape:{x1:R*(v-U)+c,y1:E*(v-U)+h,x2:R*(v-A-U)+c,y2:E*(v-A-U)+h},silent:!0,style:L});L.stroke==="auto"&&Qt.setStyle({stroke:o((k+vt/b)/S)}),f.add(Qt),T+=D}T-=D}else T+=C}},e.prototype._renderPointer=function(t,r,i,o,n,s,l,u,p){var f=this.group,c=this._data,h=this._progressEls,v=[],d=t.get(["pointer","show"]),m=t.getModel("progress"),g=m.get("show"),y=t.getData(),x=y.mapDimension("value"),S=+t.get("min"),b=+t.get("max"),_=[S,b],A=[s,l];function T(D,I){var L=y.getItemModel(D),P=L.getModel("pointer"),R=Z(P.get("width"),n.r),E=Z(P.get("length"),n.r),k=t.get(["pointer","icon"]),U=P.get("offsetCenter"),V=Z(U[0],n.r),H=Z(U[1],n.r),X=P.get("keepAspect"),q;return k?q=zt(k,V-R/2,H-E,R,E,null,X):q=new aS({shape:{angle:-Math.PI/2,width:R,r:E,x:V,y:H}}),q.rotation=-(I+Math.PI/2),q.x=n.cx,q.y=n.cy,q}function C(D,I){var L=m.get("roundCap"),P=L?ro:ge,R=m.get("overlap"),E=R?m.get("width"):p/y.count(),k=R?n.r-E:n.r-(D+1)*E,U=R?n.r:n.r-D*E,V=new P({shape:{startAngle:s,endAngle:I,cx:n.cx,cy:n.cy,clockwise:u,r0:k,r:U}});return R&&(V.z2=wt(y.get(x,D),[S,b],[100,0],!0)),V}(g||d)&&(y.diff(c).add(function(D){var I=y.get(x,D);if(d){var L=T(D,s);It(L,{rotation:-((isNaN(+I)?A[0]:wt(I,_,A,!0))+Math.PI/2)},t),f.add(L),y.setItemGraphicEl(D,L)}if(g){var P=C(D,s),R=m.get("clip");It(P,{shape:{endAngle:wt(I,_,A,R)}},t),f.add(P),ep(t.seriesIndex,y.dataType,D,P),v[D]=P}}).update(function(D,I){var L=y.get(x,D);if(d){var P=c.getItemGraphicEl(I),R=P?P.rotation:s,E=T(D,R);E.rotation=R,pt(E,{rotation:-((isNaN(+L)?A[0]:wt(L,_,A,!0))+Math.PI/2)},t),f.add(E),y.setItemGraphicEl(D,E)}if(g){var k=h[I],U=k?k.shape.endAngle:s,V=C(D,U),H=m.get("clip");pt(V,{shape:{endAngle:wt(L,_,A,H)}},t),f.add(V),ep(t.seriesIndex,y.dataType,D,V),v[D]=V}}).execute(),y.each(function(D){var I=y.getItemModel(D),L=I.getModel("emphasis"),P=L.get("focus"),R=L.get("blurScope"),E=L.get("disabled");if(d){var k=y.getItemGraphicEl(D),U=y.getItemVisual(D,"style"),V=U.fill;if(k instanceof se){var H=k.style;k.useStyle(B({image:H.image,x:H.x,y:H.y,width:H.width,height:H.height},U))}else k.useStyle(U),k.type!=="pointer"&&k.setColor(V);k.setStyle(I.getModel(["pointer","itemStyle"]).getItemStyle()),k.style.fill==="auto"&&k.setStyle("fill",o(wt(y.get(x,D),_,[0,1],!0))),k.z2EmphasisLift=0,Zt(k,I),gt(k,P,R,E)}if(g){var X=v[D];X.useStyle(y.getItemVisual(D,"style")),X.setStyle(I.getModel(["progress","itemStyle"]).getItemStyle()),X.z2EmphasisLift=0,Zt(X,I),gt(X,P,R,E)}}),this._progressEls=v)},e.prototype._renderAnchor=function(t,r){var i=t.getModel("anchor"),o=i.get("show");if(o){var n=i.get("size"),s=i.get("icon"),l=i.get("offsetCenter"),u=i.get("keepAspect"),p=zt(s,r.cx-n/2+Z(l[0],r.r),r.cy-n/2+Z(l[1],r.r),n,n,null,u);p.z2=i.get("showAbove")?1:0,p.setStyle(i.getModel("itemStyle").getItemStyle()),this.group.add(p)}},e.prototype._renderTitleAndDetail=function(t,r,i,o,n){var s=this,l=t.getData(),u=l.mapDimension("value"),p=+t.get("min"),f=+t.get("max"),c=new Y,h=[],v=[],d=t.isAnimationEnabled(),m=t.get(["pointer","showAbove"]);l.diff(this._data).add(function(g){h[g]=new ut({silent:!0}),v[g]=new ut({silent:!0})}).update(function(g,y){h[g]=s._titleEls[y],v[g]=s._detailEls[y]}).execute(),l.each(function(g){var y=l.getItemModel(g),x=l.get(u,g),S=new Y,b=o(wt(x,[p,f],[0,1],!0)),_=y.getModel("title");if(_.get("show")){var A=_.get("offsetCenter"),T=n.cx+Z(A[0],n.r),C=n.cy+Z(A[1],n.r),D=h[g];D.attr({z2:m?0:2,style:Ct(_,{x:T,y:C,text:l.getName(g),align:"center",verticalAlign:"middle"},{inheritColor:b})}),S.add(D)}var I=y.getModel("detail");if(I.get("show")){var L=I.get("offsetCenter"),P=n.cx+Z(L[0],n.r),R=n.cy+Z(L[1],n.r),E=Z(I.get("width"),n.r),k=Z(I.get("height"),n.r),U=t.get(["progress","show"])?l.getItemVisual(g,"style").fill:b,D=v[g],V=I.get("formatter");D.attr({z2:m?0:2,style:Ct(I,{x:P,y:R,text:El(x,V),width:isNaN(E)?null:E,height:isNaN(k)?null:k,align:"center",verticalAlign:"middle"},{inheritColor:U})}),As(D,{normal:I},x,function(X){return El(X,V)}),d&&Um(D,g,l,t,{getFormattedLabel:function(X,q,rt,ft,st,vt){return El(vt?vt.interpolatedValue:x,V)}}),S.add(D)}c.add(S)}),this.group.add(c),this._titleEls=h,this._detailEls=v},e.type="gauge",e})(xt),iS=LI;N();ue();var PI=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t.visualStyleAccessPath="itemStyle",t}return e.prototype.getInitialData=function(t,r){return tr(this,["value"])},e.type="series.gauge",e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},e})(_t),oS=PI;function Cc(a){a.registerChartView(iS),a.registerSeriesModel(oS)}N();tt();Ft();pe();gp();Bt();Ee();var zI=["itemStyle","opacity"],EI=(function(a){M(e,a);function e(t,r){var i=a.call(this)||this,o=i,n=new le,s=new ut;return o.setTextContent(s),i.setTextGuideLine(n),i.updateData(t,r,!0),i}return e.prototype.updateData=function(t,r,i){var o=this,n=t.hostModel,s=t.getItemModel(r),l=t.getItemLayout(r),u=s.getModel("emphasis"),p=s.get(zI);p=p??1,i||ve(o),o.useStyle(t.getItemVisual(r,"style")),o.style.lineJoin="round",i?(o.setShape({points:l.points}),o.style.opacity=0,It(o,{style:{opacity:p}},n,r)):pt(o,{style:{opacity:p},shape:{points:l.points}},n,r),Zt(o,s),this._updateLabel(t,r),gt(this,u.get("focus"),u.get("blurScope"),u.get("disabled"))},e.prototype._updateLabel=function(t,r){var i=this,o=this.getTextGuideLine(),n=i.getTextContent(),s=t.hostModel,l=t.getItemModel(r),u=t.getItemLayout(r),p=u.label,f=t.getItemVisual(r,"style"),c=f.fill;Ut(n,Pt(l),{labelFetcher:t.hostModel,labelDataIndex:r,defaultOpacity:f.opacity,defaultText:t.getName(r)},{normal:{align:p.textAlign,verticalAlign:p.verticalAlign}}),i.setTextConfig({local:!0,inside:!!p.inside,insideStroke:c,outsideFill:c});var h=p.linePoints;o.setShape({points:h}),i.textGuideLineConfig={anchor:h?new Le(h[0][0],h[0][1]):null},pt(n,{style:{x:p.x,y:p.y}},s,r),n.attr({rotation:p.rotation,originX:p.x,originY:p.y,z2:10}),Zs(i,Ys(l),{stroke:c})},e})(ie),RI=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t.ignoreLabelLineUpdate=!0,t}return e.prototype.render=function(t,r,i){var o=t.getData(),n=this._data,s=this.group;o.diff(n).add(function(l){var u=new EI(o,l);o.setItemGraphicEl(l,u),s.add(u)}).update(function(l,u){var p=n.getItemGraphicEl(u);p.updateData(o,l),s.add(p),o.setItemGraphicEl(l,p)}).remove(function(l){var u=n.getItemGraphicEl(l);vi(u,t,l)}).execute(),this._data=o},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e})(xt),nS=RI;N();z();lt();Ms();ue();var kI=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t){a.prototype.init.apply(this,arguments),this.legendVisualProvider=new Xr(F(this.getData,this),F(this.getRawData,this)),this._defaultLabelLine(t)},e.prototype.getInitialData=function(t,r){return tr(this,{coordDimensions:["value"],encodeDefaulter:J(qi,this)})},e.prototype._defaultLabelLine=function(t){Er(t,"labelLine",["show"]);var r=t.labelLine,i=t.emphasis.labelLine;r.show=r.show&&t.label.show,i.show=i.show&&t.emphasis.label.show},e.prototype.getDataParams=function(t){var r=this.getData(),i=a.prototype.getDataParams.call(this,t),o=r.mapDimension("value"),n=r.getSum(o);return i.percent=n?+(r.get(o,t)/n*100).toFixed(2):0,i.$vars.push("percent"),i},e.type="series.funnel",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e})(_t),sS=kI;Kt();bt();z();function VI(a,e){return Lt(a.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function NI(a,e){for(var t=a.mapDimension("value"),r=a.mapArray(t,function(l){return l}),i=[],o=e==="ascending",n=0,s=a.count();nqI)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([a.offsetX,a.offsetY]);i.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(a){if(!(this._mouseDownPoint||!Pc(this,"mousemove"))){var e=this._model,t=e.coordinateSystem.getSlidedAxisExpandWindow([a.offsetX,a.offsetY]),r=t.behavior;r==="jump"&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand(r==="none"?null:{axisExpandWindow:t.axisExpandWindow,animation:r==="jump"?null:{duration:0}})}}};function Pc(a,e){var t=a._model;return t.get("axisExpandable")&&t.get("axisExpandTriggerOn")===e}var vS=JI;N();z();de();var QI=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(){a.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var r=this.option;t&&dt(r,t,!0),this._initDimensions()},e.prototype.contains=function(t,r){var i=t.get("parallelIndex");return i!=null&&r.getComponent("parallel",i)===this},e.prototype.setAxisExpand=function(t){w(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(r){t.hasOwnProperty(r)&&(this.option[r]=t[r])},this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],r=this.parallelAxisIndex=[],i=Ot(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(o){return(o.get("parallelIndex")||0)===this.componentIndex},this);w(i,function(o){t.push("dim"+o.get("dim")),r.push(o.componentIndex)})},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e})(At),dS=QI;z();Pr();Kt();sa();N();xi();var tL=(function(a){M(e,a);function e(t,r,i,o,n){var s=a.call(this,t,r,i)||this;return s.type=o||"value",s.axisIndex=n,s}return e.prototype.isHorizontal=function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"},e})(Ae),mS=tL;tt();bt();function Ke(a,e,t,r,i,o){a=a||0;var n=t[1]-t[0];if(i!=null&&(i=yo(i,[0,n])),o!=null&&(o=Math.max(o,i??0)),r==="all"){var s=Math.abs(e[1]-e[0]);s=yo(s,[0,n]),i=o=yo(s,[i,o]),r=0}e[0]=yo(e[0],t),e[1]=yo(e[1],t);var l=zc(e,r);e[r]+=a;var u=i||0,p=t.slice();l.sign<0?p[0]+=u:p[1]-=u,e[r]=yo(e[r],p);var f;return f=zc(e,r),i!=null&&(f.sign!==l.sign||f.spano&&(e[1-r]=e[r]+f.sign*o),e}function zc(a,e){var t=a[e]-a[1-e];return{span:Math.abs(t),sign:t>0?-1:t<0?1:e?-1:1}}function yo(a,e){return Math.min(e[1]!=null?e[1]:1/0,Math.max(e[0]!=null?e[0]:-1/0,a))}var Ec=w,xS=Math.min,SS=Math.max,gS=Math.floor,eL=Math.ceil,yS=Pe,rL=Math.PI,aL=(function(){function a(e,t,r){this.type="parallel",this._axesMap=et(),this._axesLayout={},this.dimensions=e.dimensions,this._model=e,this._init(e,t,r)}return a.prototype._init=function(e,t,r){var i=e.dimensions,o=e.parallelAxisIndex;Ec(i,function(n,s){var l=o[s],u=t.getComponent("parallelAxis",l),p=this._axesMap.set(n,new mS(n,Ea(u),[0,0],u.get("type"),l)),f=p.type==="category";p.onBand=f&&u.get("boundaryGap"),p.inverse=u.get("inverse"),u.axis=p,p.model=u,p.coordinateSystem=u.coordinateSystem=this},this)},a.prototype.update=function(e,t){this._updateAxesFromSeries(this._model,e)},a.prototype.containPoint=function(e){var t=this._makeLayoutInfo(),r=t.axisBase,i=t.layoutBase,o=t.pixelDimIndex,n=e[1-o],s=e[o];return n>=r&&n<=r+t.axisLength&&s>=i&&s<=i+t.layoutLength},a.prototype.getModel=function(){return this._model},a.prototype._updateAxesFromSeries=function(e,t){t.eachSeries(function(r){if(e.contains(r,t)){var i=r.getData();Ec(this.dimensions,function(o){var n=this._axesMap.get(o);n.scale.unionExtentFromData(i,i.mapDimension(o)),Br(n.scale,n.model)},this)}},this)},a.prototype.resize=function(e,t){this._rect=Lt(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),this._layoutAxes()},a.prototype.getRect=function(){return this._rect},a.prototype._makeLayoutInfo=function(){var e=this._model,t=this._rect,r=["x","y"],i=["width","height"],o=e.get("layout"),n=o==="horizontal"?0:1,s=t[i[n]],l=[0,s],u=this.dimensions.length,p=Rl(e.get("axisExpandWidth"),l),f=Rl(e.get("axisExpandCount")||0,[0,u]),c=e.get("axisExpandable")&&u>3&&u>f&&f>1&&p>0&&s>0,h=e.get("axisExpandWindow"),v;if(h)v=Rl(h[1]-h[0],l),h[1]=h[0]+v;else{v=Rl(p*(f-1),l);var d=e.get("axisExpandCenter")||gS(u/2);h=[p*d-v/2],h[1]=h[0]+v}var m=(s-v)/(u-f);m<3&&(m=0);var g=[gS(yS(h[0]/p,1))+1,eL(yS(h[1]/p,1))-1],y=m/p*h[0];return{layout:o,pixelDimIndex:n,layoutBase:t[r[n]],layoutLength:s,axisBase:t[r[1-n]],axisLength:t[i[1-n]],axisExpandable:c,axisExpandWidth:p,axisCollapseWidth:m,axisExpandWindow:h,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:y}},a.prototype._layoutAxes=function(){var e=this._rect,t=this._axesMap,r=this.dimensions,i=this._makeLayoutInfo(),o=i.layout;t.each(function(n){var s=[0,i.axisLength],l=n.inverse?1:0;n.setExtent(s[l],s[1-l])}),Ec(r,function(n,s){var l=(i.axisExpandable?oL:iL)(s,i),u={horizontal:{x:l.position,y:i.axisLength},vertical:{x:0,y:l.position}},p={horizontal:rL/2,vertical:0},f=[u[o].x+e.x,u[o].y+e.y],c=p[o],h=He();nr(h,h,c),Fe(h,h,f),this._axesLayout[n]={position:f,rotation:c,transform:h,axisNameAvailableWidth:l.axisNameAvailableWidth,axisLabelShow:l.axisLabelShow,nameTruncateMaxWidth:l.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},a.prototype.getAxis=function(e){return this._axesMap.get(e)},a.prototype.dataToPoint=function(e,t){return this.axisCoordToPoint(this._axesMap.get(t).dataToCoord(e),t)},a.prototype.eachActiveState=function(e,t,r,i){r==null&&(r=0),i==null&&(i=e.count());var o=this._axesMap,n=this.dimensions,s=[],l=[];w(n,function(m){s.push(e.mapDimension(m)),l.push(o.get(m).model)});for(var u=this.hasAxisBrushed(),p=r;po*(1-f[0])?(u="jump",l=s-o*(1-f[2])):(l=s-o*f[1])>=0&&(l=s-o*(1-f[1]))<=0&&(l=0),l*=t.axisExpandWidth/p,l?Ke(l,i,n,"all"):u="none";else{var h=i[1]-i[0],v=n[1]*s/h;i=[SS(0,v-h/2)],i[1]=xS(n[1],i[0]+h),i[0]=i[1]-h}return{axisExpandWindow:i,behavior:u}},a})();function Rl(a,e){return xS(SS(a,e[0]),e[1])}function iL(a,e){var t=e.layoutLength/(e.axisCount-1);return{position:t*a,axisNameAvailableWidth:t,axisLabelShow:!0}}function oL(a,e){var t=e.layoutLength,r=e.axisExpandWidth,i=e.axisCount,o=e.axisCollapseWidth,n=e.winInnerIndices,s,l=o,u=!1,p;return a=0;i--)me(r[i])},e.prototype.getActiveState=function(t){var r=this.activeIntervals;if(!r.length)return"normal";if(t==null||isNaN(+t))return"inactive";if(r.length===1){var i=r[0];if(i[0]<=t&&t<=i[1])return"active"}else for(var o=0,n=r.length;opL}function kS(a){var e=a.length-1;return e<0&&(e=0),[a[0],a[e]]}function VS(a,e,t,r){var i=new Y;return i.add(new ct({name:"main",style:Wc(t),silent:!0,draggable:!0,cursor:"move",drift:J(CS,a,e,i,["n","s","w","e"]),ondragend:J(Ei,e,{isEnd:!0})})),w(r,function(o){i.add(new ct({name:o.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:J(CS,a,e,i,o),ondragend:J(Ei,e,{isEnd:!0})}))}),i}function NS(a,e,t,r){var i=r.brushStyle.lineWidth||0,o=xo(i,fL),n=t[0][0],s=t[1][0],l=n-i/2,u=s-i/2,p=t[0][1],f=t[1][1],c=p-o+i/2,h=f-o+i/2,v=p-n,d=f-s,m=v+i,g=d+i;fa(a,e,"main",n,s,v,d),r.transformable&&(fa(a,e,"w",l,u,o,g),fa(a,e,"e",c,u,o,g),fa(a,e,"n",l,u,m,o),fa(a,e,"s",l,h,m,o),fa(a,e,"nw",l,u,o,o),fa(a,e,"ne",c,u,o,o),fa(a,e,"sw",l,h,o,o),fa(a,e,"se",c,h,o,o))}function Nc(a,e){var t=e.__brushOption,r=t.transformable,i=e.childAt(0);i.useStyle(Wc(t)),i.attr({silent:!r,cursor:r?"move":"default"}),w([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(o){var n=e.childOfName(o.join("")),s=o.length===1?Oc(a,o[0]):yL(a,o);n&&n.attr({silent:!r,invisible:!r,cursor:r?hL[s]+"-resize":null})})}function fa(a,e,t,r,i,o,n){var s=e.childOfName(t);s&&s.setShape(SL(Zc(a,e,[[r,i],[r+o,i+n]])))}function Wc(a){return $({strokeNoScale:!0},a.brushStyle)}function OS(a,e,t,r){var i=[Mn(a,t),Mn(e,r)],o=[xo(a,t),xo(e,r)];return[[i[0],o[0]],[i[1],o[1]]]}function gL(a){return Nr(a.group)}function Oc(a,e){var t={w:"left",e:"right",n:"top",s:"bottom"},r={left:"w",right:"e",top:"n",bottom:"s"},i=ji(t[e],gL(a));return r[i]}function yL(a,e){var t=[Oc(a,e[0]),Oc(a,e[1])];return(t[0]==="e"||t[0]==="w")&&t.reverse(),t.join("")}function CS(a,e,t,r,i,o){var n=t.__brushOption,s=a.toRectRange(n.range),l=US(e,i,o);w(r,function(u){var p=cL[u];s[p[0]][p[1]]+=l[p[0]]}),n.range=a.fromRectRange(OS(s[0][0],s[1][0],s[0][1],s[1][1])),Bc(e,t),Ei(e,{isEnd:!1})}function xL(a,e,t,r){var i=e.__brushOption.range,o=US(a,t,r);w(i,function(n){n[0]+=o[0],n[1]+=o[1]}),Bc(a,e),Ei(a,{isEnd:!1})}function US(a,e,t){var r=a.group,i=r.transformCoordToLocal(e,t),o=r.transformCoordToLocal(0,0);return[i[0]-o[0],i[1]-o[1]]}function Zc(a,e,t){var r=RS(a,e);return r&&r!==zi?r.clipPath(t,a._transform):ot(t)}function SL(a){var e=Mn(a[0][0],a[1][0]),t=Mn(a[0][1],a[1][1]),r=xo(a[0][0],a[1][0]),i=xo(a[0][1],a[1][1]);return{x:e,y:t,width:r-e,height:i-t}}function bL(a,e,t){if(!(!a._brushType||wL(a,e.offsetX,e.offsetY))){var r=a._zr,i=a._covers,o=Fc(a,e,t);if(!a._dragging)for(var n=0;nr.getWidth()||t<0||t>r.getHeight()}var kl={lineX:IS(0),lineY:IS(1),rect:{createCover:function(a,e){function t(r){return r}return VS({toRectRange:t,fromRectRange:t},a,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(a){var e=kS(a);return OS(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(a,e,t,r){NS(a,e,t,r)},updateCommon:Nc,contain:Gc},polygon:{createCover:function(a,e){var t=new Y;return t.add(new le({name:"main",style:Wc(e),silent:!0})),t},getCreatingRange:function(a){return a},endCreating:function(a,e){e.remove(e.childAt(0)),e.add(new ie({name:"main",draggable:!0,drift:J(xL,a,e),ondragend:J(Ei,a,{isEnd:!0})}))},updateCoverShape:function(a,e,t,r){e.childAt(0).setShape({points:Zc(a,e,t)})},updateCommon:Nc,contain:Gc}};function IS(a){return{createCover:function(e,t){return VS({toRectRange:function(r){var i=[r,[0,100]];return a&&i.reverse(),i},fromRectRange:function(r){return r[a]}},e,t,[[["w"],["e"]],[["n"],["s"]]][a])},getCreatingRange:function(e){var t=kS(e),r=Mn(t[0][a],t[1][a]),i=xo(t[0][a],t[1][a]);return[r,i]},updateCoverShape:function(e,t,r,i){var o,n=RS(e,t);if(n!==zi&&n.getLinearBrushOtherExtent)o=n.getLinearBrushOtherExtent(a);else{var s=e._zr;o=[0,[s.getWidth(),s.getHeight()][1-a]]}var l=[r,o];a&&l.reverse(),NS(e,t,l,i)},updateCommon:Nc,contain:Gc}}var So=dL;sr();tt();function Vl(a){return a=Yc(a),function(e){return Om(e,a)}}function Nl(a,e){return a=Yc(a),function(t){var r=e??t,i=r?a.width:a.height,o=r?a.x:a.y;return[o,o+(i||0)]}}function Ol(a,e,t){var r=Yc(a);return function(i,o){return r.contain(o[0],o[1])&&!Ga(i,e,t)}}function Yc(a){return Vt.create(a)}tt();ye();var AL=["axisLine","axisTickLabel","axisName"],TL=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t,r){a.prototype.init.apply(this,arguments),(this._brushController=new So(r.getZr())).on("brush",F(this._onBrush,this))},e.prototype.render=function(t,r,i,o){if(!CL(t,r,o)){this.axisModel=t,this.api=i,this.group.removeAll();var n=this._axisGroup;if(this._axisGroup=new Y,this.group.add(this._axisGroup),!!t.get("show")){var s=ML(t,r),l=s.coordinateSystem,u=t.getAreaSelectStyle(),p=u.width,f=t.axis.dim,c=l.getAxisLayout(f),h=B({strokeContainThreshold:p},c),v=new Ce(t,h);w(AL,v.add,v),this._axisGroup.add(v.getGroup()),this._refreshBrushController(h,u,t,s,p,i),_a(n,this._axisGroup,t)}}},e.prototype._refreshBrushController=function(t,r,i,o,n,s){var l=i.axis.getExtent(),u=l[1]-l[0],p=Math.min(30,Math.abs(u)*.1),f=Vt.create({x:l[0],y:-n/2,width:u,height:n});f.x-=p,f.width+=2*p,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,x:t.position[0],y:t.position[1]}).setPanels([{panelId:"pl",clipPath:Vl(f),isTargetByCursor:Ol(f,s,o),getLinearBrushOtherExtent:Nl(f,0)}]).enableBrush({brushType:"lineX",brushStyle:r,removeOnClick:!0}).updateCovers(DL(i))},e.prototype._onBrush=function(t){var r=t.areas,i=this.axisModel,o=i.axis,n=O(r,function(s){return[o.coordToData(s.range[0],!0),o.coordToData(s.range[1],!0)]});(!i.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:i.id,intervals:n})},e.prototype.dispose=function(){this._brushController.dispose()},e.type="parallelAxis",e})(Dt);function CL(a,e,t){return t&&t.type==="axisAreaSelect"&&e.findComponents({mainType:"parallelAxis",query:t})[0]===a}function DL(a){var e=a.axis;return O(a.activeIntervals,function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}})}function ML(a,e){return e.getComponent("parallel",a.get("parallelIndex"))}var HS=TL;var IL={type:"axisAreaSelect",event:"axisAreaSelected"};function FS(a){a.registerAction(IL,function(e,t){t.eachComponent({mainType:"parallelAxis",query:e},function(r){r.axis.model.setActiveIntervals(e.intervals)})}),a.registerAction("parallelAxisExpand",function(e,t){t.eachComponent({mainType:"parallel",query:e},function(r){r.setAxisExpand(e)})})}var LL={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function In(a){a.registerComponentView(vS),a.registerComponentModel(dS),a.registerCoordinateSystem("parallel",_S),a.registerPreprocessor(Lc),a.registerComponentModel(kc),a.registerComponentView(HS),Mr(a,"parallel",kc,LL),FS(a)}function Xc(a){nt(In),a.registerChartView(fS),a.registerSeriesModel(cS),a.registerVisual(a.PRIORITY.VISUAL.BRUSH,hS)}N();tt();Ft();pe();Bt();Jt();z();var PL=(function(){function a(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return a})(),zL=(function(a){M(e,a);function e(t){return a.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new PL},e.prototype.buildPath=function(t,r){var i=r.extent;t.moveTo(r.x1,r.y1),t.bezierCurveTo(r.cpx1,r.cpy1,r.cpx2,r.cpy2,r.x2,r.y2),r.orient==="vertical"?(t.lineTo(r.x2+i,r.y2),t.bezierCurveTo(r.cpx2+i,r.cpy2,r.cpx1+i,r.cpy1,r.x1+i,r.y1)):(t.lineTo(r.x2,r.y2+i),t.bezierCurveTo(r.cpx2,r.cpy2+i,r.cpx1,r.cpy1+i,r.x1,r.y1+i)),t.closePath()},e.prototype.highlight=function(){yr(this)},e.prototype.downplay=function(){xr(this)},e})(Mt),EL=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t._focusAdjacencyDisabled=!1,t}return e.prototype.render=function(t,r,i){var o=this,n=t.getGraph(),s=this.group,l=t.layoutInfo,u=l.width,p=l.height,f=t.getData(),c=t.getData("edge"),h=t.get("orient");this._model=t,s.removeAll(),s.x=l.x,s.y=l.y,n.eachEdge(function(v){var d=new zL,m=Q(d);m.dataIndex=v.dataIndex,m.seriesIndex=t.seriesIndex,m.dataType="edge";var g=v.getModel(),y=g.getModel("lineStyle"),x=y.get("curveness"),S=v.node1.getLayout(),b=v.node1.getModel(),_=b.get("localX"),A=b.get("localY"),T=v.node2.getLayout(),C=v.node2.getModel(),D=C.get("localX"),I=C.get("localY"),L=v.getLayout(),P,R,E,k,U,V,H,X;d.shape.extent=Math.max(1,L.dy),d.shape.orient=h,h==="vertical"?(P=(_!=null?_*u:S.x)+L.sy,R=(A!=null?A*p:S.y)+S.dy,E=(D!=null?D*u:T.x)+L.ty,k=I!=null?I*p:T.y,U=P,V=R*(1-x)+k*x,H=E,X=R*x+k*(1-x)):(P=(_!=null?_*u:S.x)+S.dx,R=(A!=null?A*p:S.y)+L.sy,E=D!=null?D*u:T.x,k=(I!=null?I*p:T.y)+L.ty,U=P*(1-x)+E*x,V=R,H=P*x+E*(1-x),X=k),d.setShape({x1:P,y1:R,x2:E,y2:k,cpx1:U,cpy1:V,cpx2:H,cpy2:X}),d.useStyle(y.getItemStyle()),WS(d.style,h,v);var q=""+g.get("value"),rt=Pt(g,"edgeLabel");Ut(d,rt,{labelFetcher:{getFormattedLabel:function(vt,Qt,Ie,St,ht,Ht){return t.getFormattedLabel(vt,Qt,"edge",St,qe(ht,rt.normal&&rt.normal.get("formatter"),q),Ht)}},labelDataIndex:v.dataIndex,defaultText:q}),d.setTextConfig({position:"inside"});var ft=g.getModel("emphasis");Zt(d,g,"lineStyle",function(vt){var Qt=vt.getItemStyle();return WS(Qt,h,v),Qt}),s.add(d),c.setItemGraphicEl(v.dataIndex,d);var st=ft.get("focus");gt(d,st==="adjacency"?v.getAdjacentDataIndices():st==="trajectory"?v.getTrajectoryDataIndices():st,ft.get("blurScope"),ft.get("disabled"))}),n.eachNode(function(v){var d=v.getLayout(),m=v.getModel(),g=m.get("localX"),y=m.get("localY"),x=m.getModel("emphasis"),S=m.get(["itemStyle","borderRadius"])||0,b=new ct({shape:{x:g!=null?g*u:d.x,y:y!=null?y*p:d.y,width:d.dx,height:d.dy,r:S},style:m.getModel("itemStyle").getItemStyle(),z2:10});Ut(b,Pt(m),{labelFetcher:{getFormattedLabel:function(A,T){return t.getFormattedLabel(A,T,"node")}},labelDataIndex:v.dataIndex,defaultText:v.id}),b.disableLabelAnimation=!0,b.setStyle("fill",v.getVisual("color")),b.setStyle("decal",v.getVisual("style").decal),Zt(b,m),s.add(b),f.setItemGraphicEl(v.dataIndex,b),Q(b).dataType="node";var _=x.get("focus");gt(b,_==="adjacency"?v.getAdjacentDataIndices():_==="trajectory"?v.getTrajectoryDataIndices():_,x.get("blurScope"),x.get("disabled"))}),f.eachItemGraphicEl(function(v,d){var m=f.getItemModel(d);m.get("draggable")&&(v.drift=function(g,y){o._focusAdjacencyDisabled=!0,this.shape.x+=g,this.shape.y+=y,this.dirty(),i.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:f.getRawIndex(d),localX:this.shape.x/u,localY:this.shape.y/p})},v.ondragend=function(){o._focusAdjacencyDisabled=!1},v.draggable=!0,v.cursor="move")}),!this._data&&t.isAnimationEnabled()&&s.setClipPath(RL(s.getBoundingRect(),t,function(){s.removeClipPath()})),this._data=t.getData()},e.prototype.dispose=function(){},e.type="sankey",e})(xt);function WS(a,e,t){switch(a.fill){case"source":a.fill=t.node1.getVisual("color"),a.decal=t.node1.getVisual("style").decal;break;case"target":a.fill=t.node2.getVisual("color"),a.decal=t.node2.getVisual("style").decal;break;case"gradient":var r=t.node1.getVisual("color"),i=t.node2.getVisual("color");K(r)&&K(i)&&(a.fill=new Sa(0,0,+(e==="horizontal"),+(e==="vertical"),[{color:r,offset:0},{color:i,offset:1}]))}}function RL(a,e,t){var r=new ct({shape:{x:a.x-10,y:a.y-10,width:0,height:a.height+20}});return It(r,{shape:{width:a.width+20}},e,t),r}var ZS=EL;N();ue();We();$e();var kL=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.getInitialData=function(t,r){var i=t.edges||t.links||[],o=t.data||t.nodes||[],n=t.levels||[];this.levelModels=[];for(var s=this.levelModels,l=0;l=0&&(s[n[l].depth]=new Nt(n[l],this,r));var u=Dn(o,i,this,!0,p);return u.data;function p(f,c){f.wrapMethod("getItemModel",function(h,v){var d=h.parentModel,m=d.getData().getItemLayout(v);if(m){var g=m.depth,y=d.levelModels[g];y&&(h.parentModel=y)}return h}),c.wrapMethod("getItemModel",function(h,v){var d=h.parentModel,m=d.getGraph().getEdgeByIndex(v),g=m.node1.getLayout();if(g){var y=g.depth,x=d.levelModels[y];x&&(h.parentModel=x)}return h})}},e.prototype.setNodePosition=function(t,r){var i=this.option.data||this.option.nodes,o=i[t];o.localX=r[0],o.localY=r[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(t,r,i){function o(h){return isNaN(h)||h==null}if(i==="edge"){var n=this.getDataParams(t,i),s=n.data,l=n.value,u=s.source+" -- "+s.target;return jt("nameValue",{name:u,value:l,noValue:o(l)})}else{var p=this.getGraph().getNodeByIndex(t),f=p.getLayout().value,c=this.getDataParams(t,i).data.name;return jt("nameValue",{name:c!=null?c+"":null,value:f,noValue:o(f)})}},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(t,r){var i=a.prototype.getDataParams.call(this,t,r);if(i.value==null&&r==="node"){var o=this.getGraph().getNodeByIndex(t),n=o.getLayout().value;i.value=n}return i},e.type="series.sankey",e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},e})(_t),YS=kL;Kt();z();lt();function jc(a,e){a.eachSeriesByType("sankey",function(t){var r=t.get("nodeWidth"),i=t.get("nodeGap"),o=VL(t,e);t.layoutInfo=o;var n=o.width,s=o.height,l=t.getGraph(),u=l.nodes,p=l.edges;OL(u);var f=Ot(u,function(d){return d.getLayout().value===0}),c=f.length!==0?0:t.get("layoutIterations"),h=t.get("orient"),v=t.get("nodeAlign");NL(u,p,r,i,n,s,c,h,v)})}function VL(a,e){return Lt(a.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function NL(a,e,t,r,i,o,n,s,l){UL(a,e,t,i,o,s,l),FL(a,e,o,i,r,n,s),$L(a,s)}function OL(a){w(a,function(e){var t=Fa(e.outEdges,Ul),r=Fa(e.inEdges,Ul),i=e.getValue()||0,o=Math.max(t,r,i);e.setLayout({value:o},!0)})}function UL(a,e,t,r,i,o,n){for(var s=[],l=[],u=[],p=[],f=0,c=0;c=0;g&&m.depth>h&&(h=m.depth),d.setLayout({depth:g?m.depth:f},!0),o==="vertical"?d.setLayout({dy:t},!0):d.setLayout({dx:t},!0);for(var y=0;yf-1?h:f-1;n&&n!=="left"&&GL(a,n,o,A);var T=o==="vertical"?(i-t)/A:(r-t)/A;HL(a,T,o)}function XS(a){var e=a.hostGraph.data.getRawDataItem(a.dataIndex);return e.depth!=null&&e.depth>=0}function GL(a,e,t,r){if(e==="right"){for(var i=[],o=a,n=0;o.length;){for(var s=0;s0;o--)l*=.99,YL(s,l,n),Kc(s,i,t,r,n),JL(s,l,n),Kc(s,i,t,r,n)}function WL(a,e){var t=[],r=e==="vertical"?"y":"x",i=Xo(a,function(o){return o.getLayout()[r]});return i.keys.sort(function(o,n){return o-n}),w(i.keys,function(o){t.push(i.buckets.get(o))}),t}function ZL(a,e,t,r,i,o){var n=1/0;w(a,function(s){var l=s.length,u=0;w(s,function(f){u+=f.getLayout().value});var p=o==="vertical"?(r-(l-1)*i)/u:(t-(l-1)*i)/u;p0&&(s=l.getLayout()[o]+u,i==="vertical"?l.setLayout({x:s},!0):l.setLayout({y:s},!0)),p=l.getLayout()[o]+l.getLayout()[c]+e;var v=i==="vertical"?r:t;if(u=p-e-v,u>0){s=l.getLayout()[o]-u,i==="vertical"?l.setLayout({x:s},!0):l.setLayout({y:s},!0),p=s;for(var h=f-2;h>=0;--h)l=n[h],u=l.getLayout()[o]+l.getLayout()[c]+e-p,u>0&&(s=l.getLayout()[o]-u,i==="vertical"?l.setLayout({x:s},!0):l.setLayout({y:s},!0)),p=l.getLayout()[o]}})}function YL(a,e,t){w(a.slice().reverse(),function(r){w(r,function(i){if(i.outEdges.length){var o=Fa(i.outEdges,XL,t)/Fa(i.outEdges,Ul);if(isNaN(o)){var n=i.outEdges.length;o=n?Fa(i.outEdges,KL,t)/n:0}if(t==="vertical"){var s=i.getLayout().x+(o-Wa(i,t))*e;i.setLayout({x:s},!0)}else{var l=i.getLayout().y+(o-Wa(i,t))*e;i.setLayout({y:l},!0)}}})})}function XL(a,e){return Wa(a.node2,e)*a.getValue()}function KL(a,e){return Wa(a.node2,e)}function jL(a,e){return Wa(a.node1,e)*a.getValue()}function qL(a,e){return Wa(a.node1,e)}function Wa(a,e){return e==="vertical"?a.getLayout().x+a.getLayout().dx/2:a.getLayout().y+a.getLayout().dy/2}function Ul(a){return a.getValue()}function Fa(a,e,t){for(var r=0,i=a.length,o=-1;++on&&(n=l)}),w(r,function(s){var l=new ee({type:"color",mappingMethod:"linear",dataExtent:[o,n],visual:e.get("color")}),u=l.mapValueToVisual(s.getLayout().value),p=s.getModel().get(["itemStyle","color"]);p!=null?(s.setVisual("color",p),s.setVisual("style",{fill:p})):(s.setVisual("color",u),s.setVisual("style",{fill:u}))})}i.length&&w(i,function(s){var l=s.getModel().get("lineStyle");s.setVisual("style",l)})})}function Jc(a){a.registerChartView(ZS),a.registerSeriesModel(YS),a.registerLayout(jc),a.registerVisual(qc),a.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(e,t){t.eachComponent({mainType:"series",subType:"sankey",query:e},function(r){r.setNodePosition(e.dataIndex,[e.localX,e.localY])})})}N();ue();z();lg();Ms();var Gl=(function(){function a(){}return a.prototype._hasEncodeRule=function(e){var t=this.getEncode();return t&&t.get(e)!=null},a.prototype.getInitialData=function(e,t){var r,i=t.getComponent("xAxis",this.get("xAxisIndex")),o=t.getComponent("yAxis",this.get("yAxisIndex")),n=i.get("type"),s=o.get("type"),l;n==="category"?(e.layout="horizontal",r=i.getOrdinalMeta(),l=!this._hasEncodeRule("x")):s==="category"?(e.layout="vertical",r=o.getOrdinalMeta(),l=!this._hasEncodeRule("y")):e.layout=e.layout||"horizontal";var u=["x","y"],p=e.layout==="horizontal"?0:1,f=this._baseAxisDim=u[p],c=u[1-p],h=[i,o],v=h[p].get("type"),d=h[1-p].get("type"),m=e.data;if(m&&l){var g=[];w(m,function(S,b){var _;G(S)?(_=S.slice(),S.unshift(b)):G(S.value)?(_=B({},S),_.value=_.value.slice(),S.value.unshift(b)):_=S,g.push(_)}),e.data=g}var y=this.defaultValueDimensions,x=[{name:f,type:tn(v),ordinalMeta:r,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:c,type:tn(d),dimsDef:y.slice()}];return tr(this,{coordDimensions:x,dimensionsCount:y.length+1,encodeDefaulter:J(qm,x,this)})},a.prototype.getBaseAxis=function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis},a})();z();var KS=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],t.visualDrawType="stroke",t}return e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},e})(_t);ae(KS,Gl,!0);var jS=KS;N();z();pe();tt();Ft();Rr();Ee();var QL=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,r,i){var o=t.getData(),n=this.group,s=this._data;this._data||n.removeAll();var l=t.get("layout")==="horizontal"?1:0;o.diff(s).add(function(u){if(o.hasValue(u)){var p=o.getItemLayout(u),f=qS(p,o,u,l,!0);o.setItemGraphicEl(u,f),n.add(f)}}).update(function(u,p){var f=s.getItemGraphicEl(p);if(!o.hasValue(u)){n.remove(f);return}var c=o.getItemLayout(u);f?(ve(f),JS(c,f,o,u)):f=qS(c,o,u,l),n.add(f),o.setItemGraphicEl(u,f)}).remove(function(u){var p=s.getItemGraphicEl(u);p&&n.remove(p)}).execute(),this._data=o},e.prototype.remove=function(t){var r=this.group,i=this._data;this._data=null,i&&i.eachItemGraphicEl(function(o){o&&r.remove(o)})},e.type="boxplot",e})(xt),tP=(function(){function a(){}return a})(),eP=(function(a){M(e,a);function e(t){var r=a.call(this,t)||this;return r.type="boxplotBoxPath",r}return e.prototype.getDefaultShape=function(){return new tP},e.prototype.buildPath=function(t,r){var i=r.points,o=0;for(t.moveTo(i[o][0],i[o][1]),o++;o<4;o++)t.lineTo(i[o][0],i[o][1]);for(t.closePath();od){var S=[g,x];r.push(S)}}}return{boxData:t,outliers:r}}pi();jm();var QS={type:"echarts:boxplot",transform:function(e){var t=e.upstream;if(t.sourceFormat!==Ds){var r="";Yt(r)}var i=Qc(t.getRawData(),e.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:i.boxData},{data:i.outliers}]}};function th(a){a.registerSeriesModel(jS),a.registerChartView($S),a.registerLayout($c),a.registerTransform(QS)}N();z();pe();tt();Ft();Rr();Ee();ks();z();var nP=["itemStyle","borderColor"],sP=["itemStyle","borderColor0"],lP=["itemStyle","borderColorDoji"],uP=["itemStyle","color"],pP=["itemStyle","color0"];function Bl(a,e){return e.get(a>0?uP:pP)}function Hl(a,e){return e.get(a===0?lP:a>0?nP:sP)}var fP={seriesType:"candlestick",plan:Ma(),performRawSeries:!0,reset:function(a,e){if(!e.isSeriesFiltered(a)){var t=a.pipelineContext.large;return!t&&{progress:function(r,i){for(var o;(o=r.next())!=null;){var n=i.getItemModel(o),s=i.getItemLayout(o).sign,l=n.getItemStyle();l.fill=Bl(s,n),l.stroke=Hl(s,n)||l.fill;var u=i.ensureUniqueItemVisual(o,"style");B(u,l)}}}}}},tb=fP;var cP=["color","borderColor"],hP=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,r,i){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,r,i){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,r,i,o){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,r):this._incrementalRenderNormal(t,r)},e.prototype.eachRendered=function(t){lr(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var r=t.pipelineContext.large;(this._isLargeDraw==null||r!==this._isLargeDraw)&&(this._isLargeDraw=r,this._clear())},e.prototype._renderNormal=function(t){var r=t.getData(),i=this._data,o=this.group,n=r.getLayout("isSimpleBox"),s=t.get("clip",!0),l=t.coordinateSystem,u=l.getArea&&l.getArea();this._data||o.removeAll(),r.diff(i).add(function(p){if(r.hasValue(p)){var f=r.getItemLayout(p);if(s&&eb(u,f))return;var c=eh(f,p,!0);It(c,{shape:{points:f.ends}},t,p),rh(c,r,p,n),o.add(c),r.setItemGraphicEl(p,c)}}).update(function(p,f){var c=i.getItemGraphicEl(f);if(!r.hasValue(p)){o.remove(c);return}var h=r.getItemLayout(p);if(s&&eb(u,h)){o.remove(c);return}c?(pt(c,{shape:{points:h.ends}},t,p),ve(c)):c=eh(h,p),rh(c,r,p,n),o.add(c),r.setItemGraphicEl(p,c)}).remove(function(p){var f=i.getItemGraphicEl(p);f&&o.remove(f)}).execute(),this._data=r},e.prototype._renderLarge=function(t){this._clear(),rb(t,this.group);var r=t.get("clip",!0)?Zr(t.coordinateSystem,!1,t):null;r?this.group.setClipPath(r):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,r){for(var i=r.getData(),o=i.getLayout("isSimpleBox"),n;(n=t.next())!=null;){var s=i.getItemLayout(n),l=eh(s,n);rh(l,i,n,o),l.incremental=!0,this.group.add(l),this._progressiveEls.push(l)}},e.prototype._incrementalRenderLarge=function(t,r){rb(r,this.group,this._progressiveEls,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e})(xt),vP=(function(){function a(){}return a})(),dP=(function(a){M(e,a);function e(t){var r=a.call(this,t)||this;return r.type="normalCandlestickBox",r}return e.prototype.getDefaultShape=function(){return new vP},e.prototype.buildPath=function(t,r){var i=r.points;this.__simpleBox?(t.moveTo(i[4][0],i[4][1]),t.lineTo(i[6][0],i[6][1])):(t.moveTo(i[0][0],i[0][1]),t.lineTo(i[1][0],i[1][1]),t.lineTo(i[2][0],i[2][1]),t.lineTo(i[3][0],i[3][1]),t.closePath(),t.moveTo(i[4][0],i[4][1]),t.lineTo(i[5][0],i[5][1]),t.moveTo(i[6][0],i[6][1]),t.lineTo(i[7][0],i[7][1]))},e})(Mt);function eh(a,e,t){var r=a.ends;return new dP({shape:{points:t?mP(r,a):r},z2:100})}function eb(a,e){for(var t=!0,r=0;rb?I[o]:D[o],ends:R,brushRect:H(_,A,x)})}function U(q,rt){var ft=[];return ft[i]=rt,ft[o]=q,isNaN(rt)||isNaN(q)?[NaN,NaN]:e.dataToPoint(ft)}function V(q,rt,ft){var st=rt.slice(),vt=rt.slice();st[i]=bs(st[i]+r/2,1,!1),vt[i]=bs(vt[i]-r/2,1,!0),ft?q.push(st,vt):q.push(vt,st)}function H(q,rt,ft){var st=U(q,ft),vt=U(rt,ft);return st[i]-=r/2,vt[i]-=r/2,{x:st[0],y:st[1],width:o?r:vt[0]-st[0],height:o?vt[1]-st[1]:r}}function X(q){return q[i]=bs(q[i],1),q}}function v(d,m){for(var g=Ar(d.count*4),y=0,x,S=[],b=[],_,A=m.getStore(),T=!!a.get(["itemStyle","borderColorDoji"]);(_=d.next())!=null;){var C=A.get(s,_),D=A.get(u,_),I=A.get(p,_),L=A.get(f,_),P=A.get(c,_);if(isNaN(C)||isNaN(L)||isNaN(P)){g[y++]=NaN,y+=3;continue}g[y++]=nb(A,_,D,I,p,T),S[i]=C,S[o]=L,x=e.dataToPoint(S,null,b),g[y++]=x?x[0]:NaN,g[y++]=x?x[1]:NaN,S[o]=P,x=e.dataToPoint(S,null,b),g[y++]=x?x[1]:NaN}m.setLayout("largePoints",g)}}};function nb(a,e,t,r,i,o){var n;return t>r?n=-1:t0?a.get(i,e-1)<=r?1:-1:1,n}function xP(a,e){var t=a.getBaseAxis(),r,i=t.type==="category"?t.getBandWidth():(r=t.getExtent(),Math.abs(r[1]-r[0])/e.count()),o=Z(kt(a.get("barMaxWidth"),i),i),n=Z(kt(a.get("barMinWidth"),1),i),s=a.get("barWidth");return s!=null?Z(s,i):Math.max(Math.min(i/2,o),n)}var sb=yP;function nh(a){a.registerChartView(ab),a.registerSeriesModel(ob),a.registerPreprocessor(oh),a.registerVisual(tb),a.registerLayout(sb)}N();N();Me();tt();Ft();function lb(a,e){var t=e.rippleEffectColor||e.color;a.eachChild(function(r){r.attr({z:e.z,zlevel:e.zlevel,style:{stroke:e.brushType==="stroke"?t:null,fill:e.brushType==="fill"?t:null}})})}var SP=(function(a){M(e,a);function e(t,r){var i=a.call(this)||this,o=new la(t,r),n=new Y;return i.add(o),i.add(n),i.updateData(t,r),i}return e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var r=t.symbolType,i=t.color,o=t.rippleNumber,n=this.childAt(1),s=0;s0&&(s=this._getLineLength(o)/p*1e3),s!==this._period||l!==this._loop||u!==this._roundTrip){o.stopAnimation();var c=void 0;at(f)?c=f(i):c=f,o.__t>0&&(c=-s*o.__t),this._animateSymbol(o,s,c,l,u)}this._period=s,this._loop=l,this._roundTrip=u}},e.prototype._animateSymbol=function(t,r,i,o,n){if(r>0){t.__t=0;var s=this,l=t.animate("",o).when(n?r*2:r,{__t:n?2:1}).delay(i).during(function(){s._updateSymbolPosition(t)});o||l.done(function(){s.remove(t)}),l.start()}},e.prototype._getLineLength=function(t){return ai(t.__p1,t.__cp1)+ai(t.__cp1,t.__p2)},e.prototype._updateAnimationPoints=function(t,r){t.__p1=r[0],t.__p2=r[1],t.__cp1=r[2]||[(r[0][0]+r[1][0])/2,(r[0][1]+r[1][1])/2]},e.prototype.updateData=function(t,r,i){this.childAt(0).updateData(t,r,i),this._updateEffectSymbol(t,r)},e.prototype._updateSymbolPosition=function(t){var r=t.__p1,i=t.__p2,o=t.__cp1,n=t.__t<1?t.__t:2-t.__t,s=[t.x,t.y],l=s.slice(),u=is,p=Vd;s[0]=u(r[0],o[0],i[0],n),s[1]=u(r[1],o[1],i[1],n);var f=t.__t<1?p(r[0],o[0],i[0],n):p(i[0],o[0],r[0],1-n),c=t.__t<1?p(r[1],o[1],i[1],n):p(i[1],o[1],r[1],1-n);t.rotation=-Math.atan2(c,f)-Math.PI/2,(this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")&&(t.__lastT!==void 0&&t.__lastT=0&&!(o[l]<=r);l--);l=Math.min(l,n-2)}else{for(l=s;lr);l++);l=Math.min(l-1,n-2)}var p=(r-o[l])/(o[l+1]-o[l]),f=i[l],c=i[l+1];t.x=f[0]*(1-p)+p*c[0],t.y=f[1]*(1-p)+p*c[1];var h=t.__t<1?c[0]-f[0]:f[0]-c[0],v=t.__t<1?c[1]-f[1]:f[1]-c[1];t.rotation=-Math.atan2(v,h)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=r,t.ignore=!1}},e})(Fl),cb=TP;N();tt();fT();cT();Jt();var CP=(function(){function a(){this.polyline=!1,this.curveness=0,this.segs=[]}return a})(),DP=(function(a){M(e,a);function e(t){var r=a.call(this,t)||this;return r._off=0,r.hoverDataIdx=-1,r}return e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new CP},e.prototype.buildPath=function(t,r){var i=r.segs,o=r.curveness,n;if(r.polyline)for(n=this._off;n0){t.moveTo(i[n++],i[n++]);for(var l=1;l0){var h=(u+f)/2-(p-c)*o,v=(p+c)/2-(f-u)*o;t.quadraticCurveTo(h,v,f,c)}else t.lineTo(f,c)}this.incremental&&(this._off=n,this.notClear=!0)},e.prototype.findDataIndex=function(t,r){var i=this.shape,o=i.segs,n=i.curveness,s=this.style.lineWidth;if(i.polyline)for(var l=0,u=0;u0)for(var f=o[u++],c=o[u++],h=1;h0){var m=(f+v)/2-(c-d)*n,g=(c+d)/2-(v-f)*n;if(_m(f,c,m,g,v,d,s,t,r))return l}else if(Ju(f,c,v,d,s,t,r))return l;l++}return-1},e.prototype.contain=function(t,r){var i=this.transformCoordToLocal(t,r),o=this.getBoundingRect();if(t=i[0],r=i[1],o.contain(t,r)){var n=this.hoverDataIdx=this.findDataIndex(t,r);return n>=0}return this.hoverDataIdx=-1,!1},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var r=this.shape,i=r.segs,o=1/0,n=1/0,s=-1/0,l=-1/0,u=0;u0&&(n.dataIndex=l+e.__startIndex)})},a.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},a})(),hb=MP;ks();var IP={seriesType:"lines",plan:Ma(),reset:function(a){var e=a.coordinateSystem;if(e){var t=a.get("polyline"),r=a.pipelineContext.large;return{progress:function(i,o){var n=[];if(r){var s=void 0,l=i.end-i.start;if(t){for(var u=0,p=i.start;p0&&(p||u.configLayer(s,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(l/10+.9,1),0)})),n.updateData(o);var f=t.get("clip",!0)&&Zr(t.coordinateSystem,!1,t);f?this.group.setClipPath(f):this.group.removeClipPath(),this._lastZlevel=s,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,r,i){var o=t.getData(),n=this._updateLineDraw(o,t);n.incrementalPrepareUpdate(o),this._clearLayer(i),this._finished=!1},e.prototype.incrementalRender=function(t,r,i){this._lineDraw.incrementalUpdate(t,r.getData()),this._finished=t.end===r.getData().count()},e.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},e.prototype.updateTransform=function(t,r,i){var o=t.getData(),n=t.pipelineContext;if(!this._finished||n.large||n.progressiveRender)return{update:!0};var s=Zl.reset(t,r,i);s.progress&&s.progress({start:0,end:o.count(),count:o.count()},o),this._lineDraw.updateLayout(),this._clearLayer(i)},e.prototype._updateLineDraw=function(t,r){var i=this._lineDraw,o=this._showEffect(r),n=!!r.get("polyline"),s=r.pipelineContext,l=s.large;return(!i||o!==this._hasEffet||n!==this._isPolyline||l!==this._isLargeDraw)&&(i&&i.remove(),i=this._lineDraw=l?new hb:new vo(n?o?cb:Wl:o?Fl:ho),this._hasEffet=o,this._isPolyline=n,this._isLargeDraw=l),this.group.add(i.group),i},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var r=t.getZr(),i=r.painter.getType()==="svg";!i&&this._lastZlevel!=null&&r.painter.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(t,r){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(r)},e.prototype.dispose=function(t,r){this.remove(t,r)},e.type="lines",e})(xt),vb=LP;N();ue();Ur();z();$e();var PP=typeof Uint32Array>"u"?Array:Uint32Array,zP=typeof Float64Array>"u"?Array:Float64Array;function db(a){var e=a.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(a.data=O(e,function(t){var r=[t[0].coord,t[1].coord],i={coords:r};return t[0].name&&(i.fromName=t[0].name),t[1].name&&(i.toName=t[1].name),Ui([i,t[0],t[1]])}))}var EP=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t.visualStyleAccessPath="lineStyle",t.visualDrawType="stroke",t}return e.prototype.init=function(t){t.data=t.data||[],db(t);var r=this._processFlatCoordsArray(t.data);this._flatCoords=r.flatCoords,this._flatCoordsOffset=r.flatCoordsOffset,r.flatCoords&&(t.data=new Float32Array(r.count)),a.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(t){if(db(t),t.data){var r=this._processFlatCoordsArray(t.data);this._flatCoords=r.flatCoords,this._flatCoordsOffset=r.flatCoordsOffset,r.flatCoords&&(t.data=new Float32Array(r.count))}a.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var r=this._processFlatCoordsArray(t.data);r.flatCoords&&(this._flatCoords?(this._flatCoords=ri(this._flatCoords,r.flatCoords),this._flatCoordsOffset=ri(this._flatCoordsOffset,r.flatCoordsOffset)):(this._flatCoords=r.flatCoords,this._flatCoordsOffset=r.flatCoordsOffset),t.data=new Float32Array(r.count)),this.getRawData().appendData(t.data)},e.prototype._getCoordsFromItemModel=function(t){var r=this.getData().getItemModel(t),i=r.option instanceof Array?r.option:r.getShallow("coords");return i},e.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[t*2+1]:this._getCoordsFromItemModel(t).length},e.prototype.getLineCoords=function(t,r){if(this._flatCoordsOffset){for(var i=this._flatCoordsOffset[t*2],o=this._flatCoordsOffset[t*2+1],n=0;ni}}return{flatCoordsOffset:new Uint32Array(o.buffer,0,l),flatCoords:n,count:u}}return{flatCoordsOffset:null,flatCoords:null,count:t.length}},e.prototype.getInitialData=function(t,r){if(0)var i;var o=new te(["value"],this);return o.hasItemOption=!1,o.initData(t.data,[],function(n,s,l,u){if(n instanceof Array)return NaN;o.hasItemOption=!0;var p=n.value;if(p!=null)return p instanceof Array?p[u]:p}),o},e.prototype.formatTooltip=function(t,r,i){var o=this.getData(),n=o.getItemModel(t),s=n.get("name");if(s)return s;var l=n.get("fromName"),u=n.get("toName"),p=[];return l!=null&&p.push(l),u!=null&&p.push(u),jt("nameValue",{name:p.join(" > ")})},e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},e.prototype.getProgressive=function(){var t=this.option.progressive;return t??(this.option.large?1e4:this.get("progressive"))},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return t??(this.option.large?2e4:this.get("progressiveThreshold"))},e.prototype.getZLevelKey=function(){var t=this.getModel("effect"),r=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&r>0?r+"":""},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},e})(_t),mb=EP;function Yl(a){return a instanceof Array||(a=[a,a]),a}var RP={seriesType:"lines",reset:function(a){var e=Yl(a.get("symbol")),t=Yl(a.get("symbolSize")),r=a.getData();r.setVisual("fromSymbol",e&&e[0]),r.setVisual("toSymbol",e&&e[1]),r.setVisual("fromSymbolSize",t&&t[0]),r.setVisual("toSymbolSize",t&&t[1]);function i(o,n){var s=o.getItemModel(n),l=Yl(s.getShallow("symbol",!0)),u=Yl(s.getShallow("symbolSize",!0));l[0]&&o.setItemVisual(n,"fromSymbol",l[0]),l[1]&&o.setItemVisual(n,"toSymbol",l[1]),u[0]&&o.setItemVisual(n,"fromSymbolSize",u[0]),u[1]&&o.setItemVisual(n,"toSymbolSize",u[1])}return{dataEach:r.hasItemOption?i:null}}},gb=RP;function lh(a){a.registerChartView(vb),a.registerSeriesModel(mb),a.registerLayout(Zl),a.registerVisual(gb)}N();tt();Ft();gd();var kP=256,VP=(function(){function a(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var e=Uu.createCanvas();this.canvas=e}return a.prototype.update=function(e,t,r,i,o,n){var s=this._getBrush(),l=this._getGradient(o,"inRange"),u=this._getGradient(o,"outOfRange"),p=this.pointSize+this.blurSize,f=this.canvas,c=f.getContext("2d"),h=e.length;f.width=t,f.height=r;for(var v=0;v0){var L=n(x)?l:u;x>0&&(x=x*D+T),b[_++]=L[I],b[_++]=L[I+1],b[_++]=L[I+2],b[_++]=L[I+3]*x*256}else _+=4}return c.putImageData(S,0,0),f},a.prototype._getBrush=function(){var e=this._brushCanvas||(this._brushCanvas=Uu.createCanvas()),t=this.pointSize+this.blurSize,r=t*2;e.width=r,e.height=r;var i=e.getContext("2d");return i.clearRect(0,0,r,r),i.shadowOffsetX=r,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-t,t,this.pointSize,0,Math.PI*2,!0),i.closePath(),i.fill(),e},a.prototype._getGradient=function(e,t){for(var r=this._gradientPixels,i=r[t]||(r[t]=new Uint8ClampedArray(256*4)),o=[0,0,0,0],n=0,s=0;s<256;s++)e[t](s/255,!0,o),i[n++]=o[0],i[n++]=o[1],i[n++]=o[2],i[n++]=o[3];return i},a})(),yb=VP;z();pe();Bt();function NP(a,e,t){var r=a[1]-a[0];e=O(e,function(n){return{interval:[(n.interval[0]-a[0])/r,(n.interval[1]-a[0])/r]}});var i=e.length,o=0;return function(n){var s;for(s=o;s=0;s--){var l=e[s].interval;if(l[0]<=n&&n<=l[1]){o=s;break}}return s>=0&&s=e[0]&&r<=e[1]}}function xb(a){var e=a.dimensions;return e[0]==="lng"&&e[1]==="lat"}var UP=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,r,i){var o;r.eachComponent("visualMap",function(s){s.eachTargetSeries(function(l){l===t&&(o=s)})}),this._progressiveEls=null,this.group.removeAll();var n=t.coordinateSystem;n.type==="cartesian2d"||n.type==="calendar"?this._renderOnCartesianAndCalendar(t,i,0,t.getData().count()):xb(n)&&this._renderOnGeo(n,t,o,i)},e.prototype.incrementalPrepareRender=function(t,r,i){this.group.removeAll()},e.prototype.incrementalRender=function(t,r,i,o){var n=r.coordinateSystem;n&&(xb(n)?this.render(r,i,o):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(r,o,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){lr(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,r,i,o,n){var s=t.coordinateSystem,l=pr(s,"cartesian2d"),u,p,f,c;if(l){var h=s.getAxis("x"),v=s.getAxis("y");u=h.getBandWidth()+.5,p=v.getBandWidth()+.5,f=h.scale.getExtent(),c=v.scale.getExtent()}for(var d=this.group,m=t.getData(),g=t.getModel(["emphasis","itemStyle"]).getItemStyle(),y=t.getModel(["blur","itemStyle"]).getItemStyle(),x=t.getModel(["select","itemStyle"]).getItemStyle(),S=t.get(["itemStyle","borderRadius"]),b=Pt(t),_=t.getModel("emphasis"),A=_.get("focus"),T=_.get("blurScope"),C=_.get("disabled"),D=l?[m.mapDimension("x"),m.mapDimension("y"),m.mapDimension("value")]:[m.mapDimension("time"),m.mapDimension("value")],I=i;If[1]||Ec[1])continue;var k=s.dataToPoint([R,E]);L=new ct({shape:{x:k[0]-u/2,y:k[1]-p/2,width:u,height:p},style:P})}else{if(isNaN(m.get(D[1],I)))continue;L=new ct({z2:1,shape:s.dataToRect([m.get(D[0],I)]).contentShape,style:P})}if(m.hasItemOption){var U=m.getItemModel(I),V=U.getModel("emphasis");g=V.getModel("itemStyle").getItemStyle(),y=U.getModel(["blur","itemStyle"]).getItemStyle(),x=U.getModel(["select","itemStyle"]).getItemStyle(),S=U.get(["itemStyle","borderRadius"]),A=V.get("focus"),T=V.get("blurScope"),C=V.get("disabled"),b=Pt(U)}L.shape.r=S;var H=t.getRawValue(I),X="-";H&&H[2]!=null&&(X=H[2]+""),Ut(L,b,{labelFetcher:t,labelDataIndex:I,defaultOpacity:P.opacity,defaultText:X}),L.ensureState("emphasis").style=g,L.ensureState("blur").style=y,L.ensureState("select").style=x,gt(L,A,T,C),L.incremental=n,n&&(L.states.emphasis.hoverLayer=!0),d.add(L),m.setItemGraphicEl(I,L),this._progressiveEls&&this._progressiveEls.push(L)}},e.prototype._renderOnGeo=function(t,r,i,o){var n=i.targetVisuals.inRange,s=i.targetVisuals.outOfRange,l=r.getData(),u=this._hmLayer||this._hmLayer||new yb;u.blurSize=r.get("blurSize"),u.pointSize=r.get("pointSize"),u.minOpacity=r.get("minOpacity"),u.maxOpacity=r.get("maxOpacity");var p=t.getViewRect().clone(),f=t.getRoamTransform();p.applyTransform(f);var c=Math.max(p.x,0),h=Math.max(p.y,0),v=Math.min(p.width+p.x,o.getWidth()),d=Math.min(p.height+p.y,o.getHeight()),m=v-c,g=d-h,y=[l.mapDimension("lng"),l.mapDimension("lat"),l.mapDimension("value")],x=l.mapArray(y,function(A,T,C){var D=t.dataToPoint([A,T]);return D[0]-=c,D[1]-=h,D.push(C),D}),S=i.getExtent(),b=i.type==="visualMap.continuous"?OP(S,i.option.range):NP(S,i.getPieceList(),i.option.selected);u.update(x,m,g,n.color.getNormalizer(),{inRange:n.color.getColorMapper(),outOfRange:s.color.getColorMapper()},b);var _=new se({style:{width:m,height:g,x:c,y:h,image:u.canvas},silent:!0});this.group.add(_)},e.type="heatmap",e})(xt),Sb=UP;N();ue();na();Qm();var GP=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.getInitialData=function(t,r){return we(null,this,{generateCoord:"value"})},e.prototype.preventIncremental=function(){var t=Is.get(this.get("coordinateSystem"));if(t&&t.dimensions)return t.dimensions[0]==="lng"&&t.dimensions[1]==="lat"},e.type="series.heatmap",e.dependencies=["grid","geo","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},e})(_t),bb=GP;function uh(a){a.registerChartView(Sb),a.registerSeriesModel(bb)}N();z();tt();Ft();Me();bt();pe();Bt();ga();Jt();var BP=["itemStyle","borderWidth"],_b=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],ph=new Vr,HP=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,r,i){var o=this.group,n=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis(),p=u.isHorizontal(),f=l.master.getRect(),c={ecSize:{width:i.getWidth(),height:i.getHeight()},seriesModel:t,coordSys:l,coordSysExtent:[[f.x,f.x+f.width],[f.y,f.y+f.height]],isHorizontal:p,valueDim:_b[+p],categoryDim:_b[1-+p]};n.diff(s).add(function(v){if(n.hasValue(v)){var d=Ab(n,v),m=wb(n,v,d,c),g=Tb(n,c,m);n.setItemGraphicEl(v,g),o.add(g),Db(g,c,m)}}).update(function(v,d){var m=s.getItemGraphicEl(d);if(!n.hasValue(v)){o.remove(m);return}var g=Ab(n,v),y=wb(n,v,g,c),x=Rb(n,y);m&&x!==m.__pictorialShapeStr&&(o.remove(m),n.setItemGraphicEl(v,null),m=null),m?jP(m,c,y):m=Tb(n,c,y,!0),n.setItemGraphicEl(v,m),m.__pictorialSymbolMeta=y,o.add(m),Db(m,c,y)}).remove(function(v){var d=s.getItemGraphicEl(v);d&&Cb(s,v,d.__pictorialSymbolMeta.animationModel,d)}).execute();var h=t.get("clip",!0)?Zr(t.coordinateSystem,!1,t):null;return h?o.setClipPath(h):o.removeClipPath(),this._data=n,this.group},e.prototype.remove=function(t,r){var i=this.group,o=this._data;t.get("animation")?o&&o.eachItemGraphicEl(function(n){Cb(o,Q(n).dataIndex,t,n)}):i.removeAll()},e.type="pictorialBar",e})(xt);function wb(a,e,t,r){var i=a.getItemLayout(e),o=t.get("symbolRepeat"),n=t.get("symbolClip"),s=t.get("symbolPosition")||"start",l=t.get("symbolRotate"),u=(l||0)*Math.PI/180||0,p=t.get("symbolPatternSize")||2,f=t.isAnimationEnabled(),c={dataIndex:e,layout:i,itemModel:t,symbolType:a.getItemVisual(e,"symbol")||"circle",style:a.getItemVisual(e,"style"),symbolClip:n,symbolRepeat:o,symbolRepeatDirection:t.get("symbolRepeatDirection"),symbolPatternSize:p,rotation:u,animationModel:f?t:null,hoverScale:f&&t.get(["emphasis","scale"]),z2:t.getShallow("z",!0)||0};FP(t,o,i,r,c),WP(a,e,i,o,n,c.boundingLength,c.pxSign,p,r,c),ZP(t,c.symbolScale,u,r,c);var h=c.symbolSize,v=Qe(t.get("symbolOffset"),h);return YP(t,h,i,o,n,v,s,c.valueLineWidth,c.boundingLength,c.repeatCutLength,r,c),c}function FP(a,e,t,r,i){var o=r.valueDim,n=a.get("symbolBoundingData"),s=r.coordSys.getOtherAxis(r.coordSys.getBaseAxis()),l=s.toGlobalCoord(s.dataToCoord(0)),u=1-+(t[o.wh]<=0),p;if(G(n)){var f=[fh(s,n[0])-l,fh(s,n[1])-l];f[1]=0?1:-1:p>0?1:-1}function fh(a,e){return a.toGlobalCoord(a.dataToCoord(a.scale.parse(e)))}function WP(a,e,t,r,i,o,n,s,l,u){var p=l.valueDim,f=l.categoryDim,c=Math.abs(t[f.wh]),h=a.getItemVisual(e,"symbolSize"),v;G(h)?v=h.slice():h==null?v=["100%","100%"]:v=[h,h],v[f.index]=Z(v[f.index],c),v[p.index]=Z(v[p.index],r?c:Math.abs(o)),u.symbolSize=v;var d=u.symbolScale=[v[0]/s,v[1]/s];d[p.index]*=(l.isHorizontal?-1:1)*n}function ZP(a,e,t,r,i){var o=a.get(BP)||0;o&&(ph.attr({scaleX:e[0],scaleY:e[1],rotation:t}),ph.updateTransform(),o/=ph.getLineScale(),o*=e[r.valueDim.index]),i.valueLineWidth=o||0}function YP(a,e,t,r,i,o,n,s,l,u,p,f){var c=p.categoryDim,h=p.valueDim,v=f.pxSign,d=Math.max(e[h.index]+s,0),m=d;if(r){var g=Math.abs(l),y=Wt(a.get("symbolMargin"),"15%")+"",x=!1;y.lastIndexOf("!")===y.length-1&&(x=!0,y=y.slice(0,y.length-1));var S=Z(y,e[h.index]),b=Math.max(d+S*2,0),_=x?0:S*2,A=lm(r),T=A?r:Mb((g+_)/b),C=g-T*d;S=C/2/(x?T:Math.max(T-1,1)),b=d+S*2,_=x?0:S*2,!A&&r!=="fixed"&&(T=u?Mb((Math.abs(u)+_)/b):0),m=T*b-_,f.repeatTimes=T,f.symbolMargin=S}var D=v*(m/2),I=f.pathPosition=[];I[c.index]=t[c.wh]/2,I[h.index]=n==="start"?D:n==="end"?l-D:l/2,o&&(I[0]+=o[0],I[1]+=o[1]);var L=f.bundlePosition=[];L[c.index]=t[c.xy],L[h.index]=t[h.xy];var P=f.barRectShape=B({},t);P[h.wh]=v*Math.max(Math.abs(t[h.wh]),Math.abs(I[h.index]+D)),P[c.wh]=t[c.wh];var R=f.clipShape={};R[c.xy]=-t[c.xy],R[c.wh]=p.ecSize[c.wh],R[h.xy]=0,R[h.wh]=t[h.wh]}function Ib(a){var e=a.symbolPatternSize,t=zt(a.symbolType,-e/2,-e/2,e,e);return t.attr({culling:!0}),t.type!=="image"&&t.setStyle({strokeNoScale:!0}),t}function Lb(a,e,t,r){var i=a.__pictorialBundle,o=t.symbolSize,n=t.valueLineWidth,s=t.pathPosition,l=e.valueDim,u=t.repeatTimes||0,p=0,f=o[e.valueDim.index]+n+t.symbolMargin*2;for(ch(a,function(d){d.__pictorialAnimationIndex=p,d.__pictorialRepeatTimes=u,p0:g<0)&&(y=u-1-d),m[l.index]=f*(y-u/2+.5)+s[l.index],{x:m[0],y:m[1],scaleX:t.symbolScale[0],scaleY:t.symbolScale[1],rotation:t.rotation}}}function Pb(a,e,t,r){var i=a.__pictorialBundle,o=a.__pictorialMainPath;o?bo(o,null,{x:t.pathPosition[0],y:t.pathPosition[1],scaleX:t.symbolScale[0],scaleY:t.symbolScale[1],rotation:t.rotation},t,r):(o=a.__pictorialMainPath=Ib(t),i.add(o),bo(o,{x:t.pathPosition[0],y:t.pathPosition[1],scaleX:0,scaleY:0,rotation:t.rotation},{scaleX:t.symbolScale[0],scaleY:t.symbolScale[1]},t,r))}function zb(a,e,t){var r=B({},e.barRectShape),i=a.__pictorialBarRect;i?bo(i,null,{shape:r},e,t):(i=a.__pictorialBarRect=new ct({z2:2,shape:r,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),i.disableMorphing=!0,a.add(i))}function Eb(a,e,t,r){if(t.symbolClip){var i=a.__pictorialClipPath,o=B({},t.clipShape),n=e.valueDim,s=t.animationModel,l=t.dataIndex;if(i)pt(i,{shape:o},s,l);else{o[n.wh]=0,i=new ct({shape:o}),a.__pictorialBundle.setClipPath(i),a.__pictorialClipPath=i;var u={};u[n.wh]=t.clipShape[n.wh],it[r?"updateProps":"initProps"](i,{shape:u},s,l)}}}function Ab(a,e){var t=a.getItemModel(e);return t.getAnimationDelayParams=XP,t.isAnimationEnabled=KP,t}function XP(a){return{index:a.__pictorialAnimationIndex,count:a.__pictorialRepeatTimes}}function KP(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function Tb(a,e,t,r){var i=new Y,o=new Y;return i.add(o),i.__pictorialBundle=o,o.x=t.bundlePosition[0],o.y=t.bundlePosition[1],t.symbolRepeat?Lb(i,e,t):Pb(i,e,t),zb(i,t,r),Eb(i,e,t,r),i.__pictorialShapeStr=Rb(a,t),i.__pictorialSymbolMeta=t,i}function jP(a,e,t){var r=t.animationModel,i=t.dataIndex,o=a.__pictorialBundle;pt(o,{x:t.bundlePosition[0],y:t.bundlePosition[1]},r,i),t.symbolRepeat?Lb(a,e,t,!0):Pb(a,e,t,!0),zb(a,t,!0),Eb(a,e,t,!0)}function Cb(a,e,t,r){var i=r.__pictorialBarRect;i&&i.removeTextContent();var o=[];ch(r,function(n){o.push(n)}),r.__pictorialMainPath&&o.push(r.__pictorialMainPath),r.__pictorialClipPath&&(t=null),w(o,function(n){aa(n,{scaleX:0,scaleY:0},t,e,function(){r.parent&&r.parent.remove(r)})}),a.setItemGraphicEl(e,null)}function Rb(a,e){return[a.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function ch(a,e,t){w(a.__pictorialBundle.children(),function(r){r!==a.__pictorialBarRect&&e.call(t,r)})}function bo(a,e,t,r,i,o){e&&a.attr(e),r.symbolClip&&!i?t&&a.attr(t):t&&it[i?"updateProps":"initProps"](a,t,r.animationModel,r.dataIndex,o)}function Db(a,e,t){var r=t.dataIndex,i=t.itemModel,o=i.getModel("emphasis"),n=o.getModel("itemStyle").getItemStyle(),s=i.getModel(["blur","itemStyle"]).getItemStyle(),l=i.getModel(["select","itemStyle"]).getItemStyle(),u=i.getShallow("cursor"),p=o.get("focus"),f=o.get("blurScope"),c=o.get("scale");ch(a,function(d){if(d instanceof se){var m=d.style;d.useStyle(B({image:m.image,x:m.x,y:m.y,width:m.width,height:m.height},t.style))}else d.useStyle(t.style);var g=d.ensureState("emphasis");g.style=n,c&&(g.scaleX=d.scaleX*1.1,g.scaleY=d.scaleY*1.1),d.ensureState("blur").style=s,d.ensureState("select").style=l,u&&(d.cursor=u),d.z2=t.z2});var h=e.valueDim.posDesc[+(t.boundingLength>0)],v=a.__pictorialBarRect;v.ignoreClip=!0,Ut(v,Pt(i),{labelFetcher:e.seriesModel,labelDataIndex:r,defaultText:Tr(e.seriesModel.getData(),r),inheritColor:t.style.fill,defaultOpacity:t.style.opacity,defaultOutsidePosition:h}),gt(a,p,f,o.get("disabled"))}function Mb(a){var e=Math.round(a);return Math.abs(a-e)<1e-4?e:Math.ceil(a)}var kb=HP;N();Or();var qP=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t.hasSymbolVisual=!0,t.defaultSymbol="roundRect",t}return e.prototype.getInitialData=function(t){return t.stack=null,a.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=De(eo.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e})(eo),Vb=qP;mp();z();function hh(a){a.registerChartView(kb),a.registerSeriesModel(Vb),a.registerLayout(a.PRIORITY.VISUAL.LAYOUT,J(Hs,"pictorialBar")),a.registerLayout(a.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Fs("pictorialBar"))}N();tt();Ft();Bt();z();gi();pe();Ee();var JP=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t._layers=[],t}return e.prototype.render=function(t,r,i){var o=t.getData(),n=this,s=this.group,l=t.getLayerSeries(),u=o.getLayout("layoutInfo"),p=u.rect,f=u.boundaryGap;s.x=0,s.y=p.y+f[0];function c(m){return m.name}var h=new Ve(this._layersSeries||[],l,c,c),v=[];h.add(F(d,this,"add")).update(F(d,this,"update")).remove(F(d,this,"remove")).execute();function d(m,g,y){var x=n._layers;if(m==="remove"){s.remove(x[g]);return}for(var S=[],b=[],_,A=l[g].indices,T=0;To&&(o=s),r.push(s)}for(var u=0;uo&&(o=f)}return{y0:i,max:o}}function mh(a){a.registerChartView(Nb),a.registerSeriesModel(Ob),a.registerLayout(dh),a.registerProcessor(Dr("themeRiver"))}N();z();pe();N();z();tt();Ft();Bt();Jt();Ns();Ee();hT();bt();var e2=2,r2=4,a2=(function(a){M(e,a);function e(t,r,i,o){var n=a.call(this)||this;n.z2=e2,n.textConfig={inside:!0},Q(n).seriesIndex=r.seriesIndex;var s=new ut({z2:r2,silent:t.getModel().get(["label","silent"])});return n.setTextContent(s),n.updateData(!0,t,r,i,o),n}return e.prototype.updateData=function(t,r,i,o,n){this.node=r,r.piece=this,i=i||this._seriesModel,o=o||this._ecModel;var s=this;Q(s).dataIndex=r.dataIndex;var l=r.getModel(),u=l.getModel("emphasis"),p=r.getLayout(),f=B({},p);f.label=null;var c=r.getVisual("style");c.lineJoin="bevel";var h=r.getVisual("decal");h&&(c.decal=La(h,n));var v=Yr(l.getModel("itemStyle"),f,!0);B(f,v),w(ya,function(y){var x=s.ensureState(y),S=l.getModel([y,"itemStyle"]);x.style=S.getItemStyle();var b=Yr(S,f);b&&(x.shape=b)}),t?(s.setShape(f),s.shape.r=p.r0,It(s,{shape:{r:p.r}},i,r.dataIndex)):(pt(s,{shape:f},i),ve(s)),s.useStyle(c),this._updateLabel(i);var d=l.getShallow("cursor");d&&s.attr("cursor",d),this._seriesModel=i||this._seriesModel,this._ecModel=o||this._ecModel;var m=u.get("focus"),g=m==="relative"?ri(r.getAncestorsIndices(),r.getDescendantIndices()):m==="ancestor"?r.getAncestorsIndices():m==="descendant"?r.getDescendantIndices():m;gt(this,g,u.get("blurScope"),u.get("disabled"))},e.prototype._updateLabel=function(t){var r=this,i=this.node.getModel(),o=i.getModel("label"),n=this.node.getLayout(),s=n.endAngle-n.startAngle,l=(n.startAngle+n.endAngle)/2,u=Math.cos(l),p=Math.sin(l),f=this,c=f.getTextContent(),h=this.node.dataIndex,v=o.get("minAngle")/180*Math.PI,d=o.get("show")&&!(v!=null&&Math.abs(s)R&&!ui(k-R)&&k0?(n.virtualPiece?n.virtualPiece.updateData(!1,y,t,r,i):(n.virtualPiece=new gh(y,t,r,i),p.add(n.virtualPiece)),x.piece.off("click"),n.virtualPiece.on("click",function(S){n._rootToNode(x.parentNode)})):n.virtualPiece&&(p.remove(n.virtualPiece),n.virtualPiece=null)}},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",function(r){var i=!1,o=t.seriesModel.getViewRoot();o.eachNode(function(n){if(!i&&n.piece&&n.piece===r.target){var s=n.getModel().get("nodeClick");if(s==="rootToNode")t._rootToNode(n);else if(s==="link"){var l=n.getModel(),u=l.get("link");if(u){var p=l.get("target",!0)||"_blank";di(u,p)}}i=!0}})})},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:Xl,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,r){var i=r.getData(),o=i.getItemLayout(0);if(o){var n=t[0]-o.cx,s=t[1]-o.cy,l=Math.sqrt(n*n+s*s);return l<=o.r&&l>=o.r0}},e.type="sunburst",e})(xt),Hb=o2;N();z();ue();We();var n2=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t.ignoreStyleOnData=!0,t}return e.prototype.getInitialData=function(t,r){var i={name:t.name,children:t.data};Fb(i);var o=this._levelModels=O(t.levels||[],function(l){return new Nt(l,this,r)},this),n=so.createTree(i,this,s);function s(l){l.wrapMethod("getItemModel",function(u,p){var f=n.getNodeByDataIndex(p),c=o[f.depth];return c&&(u.parentModel=c),u})}return n.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(t){var r=a.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(t);return r.treePathInfo=Ha(i,this),r},e.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var r=this.getRawData().tree.root;(!t||t!==r&&!r.contains(t))&&(this._viewRoot=r)},e.prototype.enableAriaDecal=function(){yn(this)},e.type="series.sunburst",e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},e})(_t);function Fb(a){var e=0;w(a.children,function(r){Fb(r);var i=r.value;G(i)&&(i=i[0]),e+=i});var t=a.value;G(t)&&(t=t[0]),(t==null||isNaN(t))&&(t=e),t<0&&(t=0),G(a.value)?a.value[0]=t:a.value=t}var Wb=n2;bt();z();var Zb=Math.PI/180;function yh(a,e,t){e.eachSeriesByType(a,function(r){var i=r.get("center"),o=r.get("radius");G(o)||(o=[0,o]),G(i)||(i=[i,i]);var n=t.getWidth(),s=t.getHeight(),l=Math.min(n,s),u=Z(i[0],n),p=Z(i[1],s),f=Z(o[0],l/2),c=Z(o[1],l/2),h=-r.get("startAngle")*Zb,v=r.get("minAngle")*Zb,d=r.getData().tree.root,m=r.getViewRoot(),g=m.depth,y=r.get("sort");y!=null&&Yb(m,y);var x=0;w(m.children,function(k){!isNaN(k.getValue())&&x++});var S=m.getValue(),b=Math.PI/(S||x)*2,_=m.depth>0,A=m.height-(_?-1:1),T=(c-f)/(A||1),C=r.get("clockwise"),D=r.get("stillShowZeroSum"),I=C?1:-1,L=function(k,U){if(k){var V=U;if(k!==d){var H=k.getValue(),X=S===0&&D?b:H*b;X1;)n=n.parentNode;var s=i.getColorFromPalette(n.name||n.dataIndex+"",e);return r.depth>1&&K(s)&&(s=Ud(s,(r.depth-1)/(o-1)*.5)),s}a.eachSeriesByType("sunburst",function(r){var i=r.getData(),o=i.tree;o.eachNode(function(n){var s=n.getModel(),l=s.getModel("itemStyle").getItemStyle();l.fill||(l.fill=t(n,r,o.root.height));var u=i.ensureUniqueItemVisual(n.dataIndex,"style");B(u,l)})})}z();function Sh(a){a.registerChartView(Hb),a.registerSeriesModel(Wb),a.registerLayout(J(yh,"sunburst")),a.registerProcessor(J(Dr,"sunburst")),a.registerVisual(xh),Bb(a)}N();na();lt();ue();var bh={color:"fill",borderColor:"stroke"},Xb={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},jr=mt(),l2=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,r){return we(null,this)},e.prototype.getDataParams=function(t,r,i){var o=a.prototype.getDataParams.call(this,t,r);return i&&(o.info=jr(i).info),o},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e})(_t),Kb=l2;N();z();tt();Ft();Bt();mp();gi();pe();z();function u2(a,e){return e=e||[0,0],O(["x","y"],function(t,r){var i=this.getAxis(t),o=e[r],n=a[r]/2;return i.type==="category"?i.getBandWidth():Math.abs(i.dataToCoord(o-n)-i.dataToCoord(o+n))},this)}function _h(a){var e=a.master.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(t){return a.dataToPoint(t)},size:F(u2,a)}}}z();function p2(a,e){return e=e||[0,0],O([0,1],function(t){var r=e[t],i=a[t]/2,o=[],n=[];return o[t]=r-i,n[t]=r+i,o[1-t]=n[1-t]=e[1-t],Math.abs(this.dataToPoint(o)[t]-this.dataToPoint(n)[t])},this)}function wh(a){var e=a.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:a.getZoom()},api:{coord:function(t){return a.dataToPoint(t)},size:F(p2,a)}}}z();function f2(a,e){var t=this.getAxis(),r=e instanceof Array?e[0]:e,i=(a instanceof Array?a[0]:a)/2;return t.type==="category"?t.getBandWidth():Math.abs(t.dataToCoord(r-i)-t.dataToCoord(r+i))}function Ah(a){var e=a.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(t){return a.dataToPoint(t)},size:F(f2,a)}}}z();function c2(a,e){return e=e||[0,0],O(["Radius","Angle"],function(t,r){var i="get"+t+"Axis",o=this[i](),n=e[r],s=a[r]/2,l=o.type==="category"?o.getBandWidth():Math.abs(o.dataToCoord(n-s)-o.dataToCoord(n+s));return t==="Angle"&&(l=l*Math.PI/180),l},this)}function Th(a){var e=a.getRadiusAxis(),t=a.getAngleAxis(),r=e.getExtent();return r[0]>r[1]&&r.reverse(),{coordSys:{type:"polar",cx:a.cx,cy:a.cy,r:r[1],r0:r[0]},api:{coord:function(i){var o=e.dataToRadius(i[0]),n=t.dataToAngle(i[1]),s=a.coordToPoint([o,n]);return s.push(o,n*Math.PI/180),s},size:F(c2,a)}}}function Ch(a){var e=a.getRect(),t=a.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:a.getCellWidth(),cellHeight:a.getCellHeight(),rangeInfo:{start:t.start,end:t.end,weeks:t.weeks,dayCount:t.allDay}},api:{coord:function(r,i){return a.dataToPoint(r,i)}}}}Yi();z();function Kl(a,e,t,r){return a&&(a.legacy||a.legacy!==!1&&!t&&!r&&e!=="tspan"&&(e==="text"||j(a,"text")))}function jl(a,e,t){var r=a,i,o,n;if(e==="text")n=r;else{n={},j(r,"text")&&(n.text=r.text),j(r,"rich")&&(n.rich=r.rich),j(r,"textFill")&&(n.fill=r.textFill),j(r,"textStroke")&&(n.stroke=r.textStroke),j(r,"fontFamily")&&(n.fontFamily=r.fontFamily),j(r,"fontSize")&&(n.fontSize=r.fontSize),j(r,"fontStyle")&&(n.fontStyle=r.fontStyle),j(r,"fontWeight")&&(n.fontWeight=r.fontWeight),o={type:"text",style:n,silent:!0},i={};var s=j(r,"textPosition");t?i.position=s?r.textPosition:"inside":s&&(i.position=r.textPosition),j(r,"textPosition")&&(i.position=r.textPosition),j(r,"textOffset")&&(i.offset=r.textOffset),j(r,"textRotation")&&(i.rotation=r.textRotation),j(r,"textDistance")&&(i.distance=r.textDistance)}return jb(n,a),w(n.rich,function(l){jb(l,l)}),{textConfig:i,textContent:o}}function jb(a,e){e&&(e.font=e.textFont||e.font,j(e,"textStrokeWidth")&&(a.lineWidth=e.textStrokeWidth),j(e,"textAlign")&&(a.align=e.textAlign),j(e,"textVerticalAlign")&&(a.verticalAlign=e.textVerticalAlign),j(e,"textLineHeight")&&(a.lineHeight=e.textLineHeight),j(e,"textWidth")&&(a.width=e.textWidth),j(e,"textHeight")&&(a.height=e.textHeight),j(e,"textBackgroundColor")&&(a.backgroundColor=e.textBackgroundColor),j(e,"textPadding")&&(a.padding=e.textPadding),j(e,"textBorderColor")&&(a.borderColor=e.textBorderColor),j(e,"textBorderWidth")&&(a.borderWidth=e.textBorderWidth),j(e,"textBorderRadius")&&(a.borderRadius=e.textBorderRadius),j(e,"textBoxShadowColor")&&(a.shadowColor=e.textBoxShadowColor),j(e,"textBoxShadowBlur")&&(a.shadowBlur=e.textBoxShadowBlur),j(e,"textBoxShadowOffsetX")&&(a.shadowOffsetX=e.textBoxShadowOffsetX),j(e,"textBoxShadowOffsetY")&&(a.shadowOffsetY=e.textBoxShadowOffsetY))}function Dh(a,e,t){var r=a;r.textPosition=r.textPosition||t.position||"inside",t.offset!=null&&(r.textOffset=t.offset),t.rotation!=null&&(r.textRotation=t.rotation),t.distance!=null&&(r.textDistance=t.distance);var i=r.textPosition.indexOf("inside")>=0,o=a.fill||"#000";qb(r,e);var n=r.textFill==null;return i?n&&(r.textFill=t.insideFill||"#fff",!r.textStroke&&t.insideStroke&&(r.textStroke=t.insideStroke),!r.textStroke&&(r.textStroke=o),r.textStrokeWidth==null&&(r.textStrokeWidth=2)):(n&&(r.textFill=a.fill||t.outsideFill||"#000"),!r.textStroke&&t.outsideStroke&&(r.textStroke=t.outsideStroke)),r.text=e.text,r.rich=e.rich,w(e.rich,function(s){qb(s,s)}),r}function qb(a,e){e&&(j(e,"fill")&&(a.textFill=e.fill),j(e,"stroke")&&(a.textStroke=e.fill),j(e,"lineWidth")&&(a.textStrokeWidth=e.lineWidth),j(e,"font")&&(a.font=e.font),j(e,"fontStyle")&&(a.fontStyle=e.fontStyle),j(e,"fontWeight")&&(a.fontWeight=e.fontWeight),j(e,"fontSize")&&(a.fontSize=e.fontSize),j(e,"fontFamily")&&(a.fontFamily=e.fontFamily),j(e,"align")&&(a.textAlign=e.align),j(e,"verticalAlign")&&(a.textVerticalAlign=e.verticalAlign),j(e,"lineHeight")&&(a.textLineHeight=e.lineHeight),j(e,"width")&&(a.textWidth=e.width),j(e,"height")&&(a.textHeight=e.height),j(e,"backgroundColor")&&(a.textBackgroundColor=e.backgroundColor),j(e,"padding")&&(a.textPadding=e.padding),j(e,"borderColor")&&(a.textBorderColor=e.borderColor),j(e,"borderWidth")&&(a.textBorderWidth=e.borderWidth),j(e,"borderRadius")&&(a.textBorderRadius=e.borderRadius),j(e,"shadowColor")&&(a.textBoxShadowColor=e.shadowColor),j(e,"shadowBlur")&&(a.textBoxShadowBlur=e.shadowBlur),j(e,"shadowOffsetX")&&(a.textBoxShadowOffsetX=e.shadowOffsetX),j(e,"shadowOffsetY")&&(a.textBoxShadowOffsetY=e.shadowOffsetY),j(e,"textShadowColor")&&(a.textShadowColor=e.textShadowColor),j(e,"textShadowBlur")&&(a.textShadowBlur=e.textShadowBlur),j(e,"textShadowOffsetX")&&(a.textShadowOffsetX=e.textShadowOffsetX),j(e,"textShadowOffsetY")&&(a.textShadowOffsetY=e.textShadowOffsetY))}pi();Ns();lt();z();lT();Yi();Ee();tt();ps();var t_={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},Jb=Gt(t_),RK=$n(Wi,function(a,e){return a[e]=1,a},{}),kK=Wi.join(", "),Pn=["","style","shape","extra"],_o=mt();function Mh(a,e,t,r,i){var o=a+"Animation",n=ra(a,r,i)||{},s=_o(e).userDuring;return n.duration>0&&(n.during=s?F(g2,{el:e,userDuring:s}):null,n.setToFinal=!0,n.scope=a),B(n,t[o]),n}function wo(a,e,t,r){r=r||{};var i=r.dataIndex,o=r.isInit,n=r.clearStyle,s=t.isAnimationEnabled(),l=_o(a),u=e.style;l.userDuring=e.during;var p={},f={};if(x2(a,e,f),Qb("shape",e,f),Qb("extra",e,f),!o&&s&&(y2(a,e,p),$b("shape",a,e,p),$b("extra",a,e,p),S2(a,e,u,p)),f.style=u,h2(a,f,n),d2(a,e),s)if(o){var c={};w(Pn,function(v){var d=v?e[v]:e;d&&d.enterFrom&&(v&&(c[v]=c[v]||{}),B(v?c[v]:c,d.enterFrom))});var h=Mh("enter",a,e,t,i);h.duration>0&&a.animateFrom(c,h)}else v2(a,e,i||0,t,p);Ih(a,e),u?a.dirty():a.markRedraw()}function Ih(a,e){for(var t=_o(a).leaveToProps,r=0;r0&&a.animateFrom(i,o)}}function d2(a,e){j(e,"silent")&&(a.silent=e.silent),j(e,"ignore")&&(a.ignore=e.ignore),a instanceof Je&&j(e,"invisible")&&(a.invisible=e.invisible),a instanceof Mt&&j(e,"autoBatch")&&(a.autoBatch=e.autoBatch)}var qr={},m2={setTransform:function(a,e){return qr.el[a]=e,this},getTransform:function(a){return qr.el[a]},setShape:function(a,e){var t=qr.el,r=t.shape||(t.shape={});return r[a]=e,t.dirtyShape&&t.dirtyShape(),this},getShape:function(a){var e=qr.el.shape;if(e)return e[a]},setStyle:function(a,e){var t=qr.el,r=t.style;return r&&(r[a]=e,t.dirtyStyle&&t.dirtyStyle()),this},getStyle:function(a){var e=qr.el.style;if(e)return e[a]},setExtra:function(a,e){var t=qr.el.extra||(qr.el.extra={});return t[a]=e,this},getExtra:function(a){var e=qr.el.extra;if(e)return e[a]}};function g2(){var a=this,e=a.el;if(e){var t=_o(e).userDuring,r=a.userDuring;if(t!==r){a.el=a.userDuring=null;return}qr.el=e,r(m2)}}function $b(a,e,t,r){var i=t[a];if(i){var o=e[a],n;if(o){var s=t.transition,l=i.transition;if(l)if(!n&&(n=r[a]={}),Za(l))B(n,o);else for(var u=ne(l),p=0;p=0){!n&&(n=r[a]={});for(var h=Gt(o),p=0;p=0)){var c=a.getAnimationStyleProps(),h=c?c.style:null;if(h){!o&&(o=r.style={});for(var v=Gt(t),u=0;u=0?e.getStore().get(U,E):void 0}var V=e.get(k.name,E),H=k&&k.ordinalMeta;return H?H.categories[V]:V}function _(R,E){E==null&&(E=u);var k=e.getItemVisual(E,"style"),U=k&&k.fill,V=k&&k.opacity,H=y(E,Ya).getItemStyle();U!=null&&(H.fill=U),V!=null&&(H.opacity=V);var X={inheritColor:K(U)?U:"#000"},q=x(E,Ya),rt=Ct(q,null,X,!1,!0);rt.text=q.getShallow("show")?kt(a.getFormattedLabel(E,Ya),Tr(e,E)):null;var ft=ip(q,X,!1);return C(R,H),H=Dh(H,rt,ft),R&&T(H,R),H.legacy=!0,H}function A(R,E){E==null&&(E=u);var k=y(E,ca).getItemStyle(),U=x(E,ca),V=Ct(U,null,null,!0,!0);V.text=U.getShallow("show")?qe(a.getFormattedLabel(E,ca),a.getFormattedLabel(E,Ya),Tr(e,E)):null;var H=ip(U,null,!0);return C(R,k),k=Dh(k,V,H),R&&T(k,R),k.legacy=!0,k}function T(R,E){for(var k in E)j(E,k)&&(R[k]=E[k])}function C(R,E){R&&(R.textFill&&(E.textFill=R.textFill),R.textPosition&&(E.textPosition=R.textPosition))}function D(R,E){if(E==null&&(E=u),j(bh,R)){var k=e.getItemVisual(E,"style");return k?k[bh[R]]:null}if(j(Xb,R))return e.getItemVisual(E,R)}function I(R){if(o.type==="cartesian2d"){var E=o.getBaseAxis();return cg($({axis:E},R))}}function L(){return t.getCurrentSeriesIndices()}function P(R){return _s(R,t)}}function L2(a){var e={};return w(a.dimensions,function(t){var r=a.getDimensionInfo(t);if(!r.isExtraCoord){var i=r.coordDim,o=e[i]=e[i]||[];o[r.coordDimIndex]=a.getDimensionIndex(t)}}),e}function zh(a,e,t,r,i,o,n){if(!r){o.remove(e);return}var s=Uh(a,e,t,r,i,o);return s&&n.setItemGraphicEl(t,s),s&>(s,r.focus,r.blurScope,r.emphasisDisabled),s}function Uh(a,e,t,r,i,o){var n=-1,s=e;e&&l_(e,r,i)&&(n=yt(o.childrenRef(),e),e=null);var l=!e,u=e;u?u.clearStates():(u=Nh(r),s&&C2(s,u)),r.morph===!1?u.disableMorphing=!0:u.disableMorphing&&(u.disableMorphing=!1),vr.normal.cfg=vr.normal.conOpt=vr.emphasis.cfg=vr.emphasis.conOpt=vr.blur.cfg=vr.blur.conOpt=vr.select.cfg=vr.select.conOpt=null,vr.isLegacy=!1,z2(u,t,r,i,l,vr),P2(u,t,r,i,l),Oh(a,u,t,r,vr,i,l),j(r,"info")&&(jr(u).info=r.info);for(var p=0;p=0?o.replaceAt(u,n):o.add(u),u}function l_(a,e,t){var r=jr(a),i=e.type,o=e.shape,n=e.style;return t.isUniversalTransitionEnabled()||i!=null&&i!==r.customGraphicType||i==="path"&&N2(o)&&u_(o)!==r.customPathData||i==="image"&&j(n,"image")&&n.image!==r.customImagePath}function P2(a,e,t,r,i){var o=t.clipPath;if(o===!1)a&&a.getClipPath()&&a.removeClipPath();else if(o){var n=a.getClipPath();n&&l_(n,o,r)&&(n=null),n||(n=Nh(o),a.setClipPath(n)),Oh(null,n,e,o,null,r,i)}}function z2(a,e,t,r,i,o){if(!a.isGroup){a_(t,null,o),a_(t,ca,o);var n=o.normal.conOpt,s=o.emphasis.conOpt,l=o.blur.conOpt,u=o.select.conOpt;if(n!=null||s!=null||u!=null||l!=null){var p=a.getTextContent();if(n===!1)p&&a.removeTextContent();else{n=o.normal.conOpt=n||{type:"text"},p?p.clearStates():(p=Nh(n),a.setTextContent(p)),Oh(null,p,e,n,null,r,i);for(var f=n&&n.style,c=0;c=p;h--){var v=e.childAt(h);R2(e,v,i)}}}function R2(a,e,t){e&&Ao(e,jr(a).option,t)}function k2(a){new Ve(a.oldChildren,a.newChildren,i_,i_,a).add(o_).update(o_).remove(V2).execute()}function i_(a,e){var t=a&&a.name;return t??A2+e}function o_(a,e){var t=this.context,r=a!=null?t.newChildren[a]:null,i=e!=null?t.oldChildren[e]:null;Uh(t.api,i,t.dataIndex,r,t.seriesModel,t.group)}function V2(a){var e=this.context,t=e.oldChildren[a];t&&Ao(t,jr(t).option,e.seriesModel)}function u_(a){return a&&(a.pathData||a.d)}function N2(a){return a&&(j(a,"pathData")||j(a,"d"))}function Bh(a){a.registerChartView(n_),a.registerSeriesModel(Kb)}N();z();tt();Gi();mi();lt();var Ri=mt(),p_=ot,Hh=F,O2=(function(){function a(){this._dragging=!1,this.animationThreshold=15}return a.prototype.render=function(e,t,r,i){var o=t.get("value"),n=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=r,!(!i&&this._lastValue===o&&this._lastStatus===n)){this._lastValue=o,this._lastStatus=n;var s=this._group,l=this._handle;if(!n||n==="hide"){s&&s.hide(),l&&l.hide();return}s&&s.show(),l&&l.show();var u={};this.makeElOption(u,o,e,t,r);var p=u.graphicKey;p!==this._lastGraphicKey&&this.clear(r),this._lastGraphicKey=p;var f=this._moveAnimation=this.determineAnimation(e,t);if(!s)s=this._group=new Y,this.createPointerEl(s,u,e,t),this.createLabelEl(s,u,e,t),r.getZr().add(s);else{var c=J(f_,t,f);this.updatePointerEl(s,u,c),this.updateLabelEl(s,u,c,t)}h_(s,t,!0),this._renderHandle(o)}},a.prototype.remove=function(e){this.clear(e)},a.prototype.dispose=function(e){this.clear(e)},a.prototype.determineAnimation=function(e,t){var r=t.get("animation"),i=e.axis,o=i.type==="category",n=t.get("snap");if(!n&&!o)return!1;if(r==="auto"||r==null){var s=this.animationThreshold;if(o&&i.getBandWidth()>s)return!0;if(n){var l=fl(e).seriesDataCount,u=i.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return r===!0},a.prototype.makeElOption=function(e,t,r,i,o){},a.prototype.createPointerEl=function(e,t,r,i){var o=t.pointer;if(o){var n=Ri(e).pointerEl=new it[o.type](p_(t.pointer));e.add(n)}},a.prototype.createLabelEl=function(e,t,r,i){if(t.label){var o=Ri(e).labelEl=new ut(p_(t.label));e.add(o),c_(o,i)}},a.prototype.updatePointerEl=function(e,t,r){var i=Ri(e).pointerEl;i&&t.pointer&&(i.setStyle(t.pointer.style),r(i,{shape:t.pointer.shape}))},a.prototype.updateLabelEl=function(e,t,r,i){var o=Ri(e).labelEl;o&&(o.setStyle(t.label.style),r(o,{x:t.label.x,y:t.label.y}),c_(o,i))},a.prototype._renderHandle=function(e){if(!(this._dragging||!this.updateHandleTransform)){var t=this._axisPointerModel,r=this._api.getZr(),i=this._handle,o=t.getModel("handle"),n=t.get("status");if(!o.get("show")||!n||n==="hide"){i&&r.remove(i),this._handle=null;return}var s;this._handle||(s=!0,i=this._handle=wa(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(u){or(u.event)},onmousedown:Hh(this._onHandleDragMove,this,0,0),drift:Hh(this._onHandleDragMove,this),ondragend:Hh(this._onHandleDragEnd,this)}),r.add(i)),h_(i,t,!1),i.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var l=o.get("size");G(l)||(l=[l,l]),i.scaleX=l[0]/2,i.scaleY=l[1]/2,ur(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,s)}},a.prototype._moveHandleToValue=function(e,t){f_(this._axisPointerModel,!t&&this._moveAnimation,this._handle,Fh(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},a.prototype._onHandleDragMove=function(e,t){var r=this._handle;if(r){this._dragging=!0;var i=this.updateHandleTransform(Fh(r),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=i,r.stopAnimation(),r.attr(Fh(i)),Ri(r).lastProp=null,this._doDispatchAxisPointer()}},a.prototype._doDispatchAxisPointer=function(){var e=this._handle;if(e){var t=this._payloadInfo,r=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:r.axis.dim,axisIndex:r.componentIndex}]})}},a.prototype._onHandleDragEnd=function(){this._dragging=!1;var e=this._handle;if(e){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},a.prototype.clear=function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),r=this._group,i=this._handle;t&&r&&(this._lastGraphicKey=null,r&&t.remove(r),i&&t.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),oa(this,"_doDispatchAxisPointer")},a.prototype.doClear=function(){},a.prototype.buildLabel=function(e,t,r){return r=r||0,{x:e[r],y:e[1-r],width:t[r],height:t[1-r]}},a})();function f_(a,e,t,r){v_(Ri(t).lastProp,r)||(Ri(t).lastProp=r,e?pt(t,r,a):(t.stopAnimation(),t.attr(r)))}function v_(a,e){if(Tt(a)&&Tt(e)){var t=!0;return w(e,function(r,i){t=t&&v_(a[i],r)}),!!t}else return a===e}function c_(a,e){a[e.get(["label","show"])?"show":"hide"]()}function Fh(a){return{x:a.x||0,y:a.y||0,rotation:a.rotation||0}}function h_(a,e,t){var r=e.get("z"),i=e.get("zlevel");a&&a.traverse(function(o){o.type!=="group"&&(r!=null&&(o.z=r),i!=null&&(o.zlevel=i),o.silent=t)})}var Co=O2;z();tt();ma();br();Pr();sa();Bt();function Do(a){var e=a.get("type"),t=a.getModel(e+"Style"),r;return e==="line"?(r=t.getLineStyle(),r.fill=null):e==="shadow"&&(r=t.getAreaStyle(),r.stroke=null),r}function Zh(a,e,t,r,i){var o=t.get("value"),n=Yh(o,e.axis,e.ecModel,t.get("seriesDataIndices"),{precision:t.get(["label","precision"]),formatter:t.get(["label","formatter"])}),s=t.getModel("label"),l=Aa(s.get("padding")||0),u=s.getFont(),p=Zi(n,u),f=i.position,c=p.width+l[1]+l[3],h=p.height+l[0]+l[2],v=i.align;v==="right"&&(f[0]-=c),v==="center"&&(f[0]-=c/2);var d=i.verticalAlign;d==="bottom"&&(f[1]-=h),d==="middle"&&(f[1]-=h/2),U2(f,c,h,r);var m=s.get("backgroundColor");(!m||m==="auto")&&(m=e.get(["axisLine","lineStyle","color"])),a.label={x:f[0],y:f[1],style:Ct(s,{text:n,font:u,fill:s.getTextColor(),padding:l,backgroundColor:m}),z2:10}}function U2(a,e,t,r){var i=r.getWidth(),o=r.getHeight();a[0]=Math.min(a[0]+e,i)-e,a[1]=Math.min(a[1]+t,o)-t,a[0]=Math.max(a[0],0),a[1]=Math.max(a[1],0)}function Yh(a,e,t,r,i){a=e.scale.parse(a);var o=e.scale.getLabel({value:a},{precision:i.precision}),n=i.formatter;if(n){var s={value:Ws(e,{value:a}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};w(r,function(l){var u=t.getSeriesByIndex(l.seriesIndex),p=l.dataIndexInside,f=u&&u.getDataParams(p);f&&s.seriesData.push(f)}),K(n)?o=n.replace("{value}",o):at(n)&&(o=n(s))}return o}function zn(a,e,t){var r=He();return nr(r,r,t.rotation),Fe(r,r,t.position),ke([a.dataToCoord(e),(t.labelOffset||0)+(t.labelDirection||1)*(t.labelMargin||0)],r)}function $l(a,e,t,r,i,o){var n=Ce.innerTextLayout(t.rotation,0,t.labelDirection);t.labelMargin=i.get(["label","margin"]),Zh(e,r,i,o,{position:zn(r.axis,a,t),align:n.textAlign,verticalAlign:n.textVerticalAlign})}function Mo(a,e,t){return t=t||0,{x1:a[t],y1:a[1-t],x2:e[t],y2:e[1-t]}}function Ql(a,e,t){return t=t||0,{x:a[t],y:a[1-t],width:e[t],height:e[1-t]}}function Xh(a,e,t,r,i,o){return{cx:a,cy:e,r0:t,r,startAngle:i,endAngle:o,clockwise:!0}}var G2=(function(a){M(e,a);function e(){return a!==null&&a.apply(this,arguments)||this}return e.prototype.makeElOption=function(t,r,i,o,n){var s=i.axis,l=s.grid,u=o.get("type"),p=g_(l,s).getOtherAxis(s).getGlobalExtent(),f=s.toGlobalCoord(s.dataToCoord(r,!0));if(u&&u!=="none"){var c=Do(o),h=B2[u](s,f,p);h.style=c,t.graphicKey=h.type,t.pointer=h}var v=vn(l.model,i);$l(r,t,v,i,o,n)},e.prototype.getHandleTransform=function(t,r,i){var o=vn(r.axis.grid.model,r,{labelInside:!1});o.labelMargin=i.get(["handle","margin"]);var n=zn(r.axis,t,o);return{x:n[0],y:n[1],rotation:o.rotation+(o.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,r,i,o){var n=i.axis,s=n.grid,l=n.getGlobalExtent(!0),u=g_(s,n).getOtherAxis(n).getGlobalExtent(),p=n.dim==="x"?0:1,f=[t.x,t.y];f[p]+=r[p],f[p]=Math.min(l[1],f[p]),f[p]=Math.max(l[0],f[p]);var c=(u[1]+u[0])/2,h=[c,c];h[p]=f[p];var v=[{verticalAlign:"middle"},{align:"center"}];return{x:f[0],y:f[1],rotation:t.rotation,cursorPoint:h,tooltipOption:v[p]}},e})(Co);function g_(a,e){var t={};return t[e.dim+"AxisIndex"]=e.index,a.getCartesian(t)}var B2={line:function(a,e,t){var r=Mo([e,t[0]],[e,t[1]],y_(a));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(a,e,t){var r=Math.max(1,a.getBandWidth()),i=t[1]-t[0];return{type:"Rect",shape:Ql([e-r/2,t[0]],[r,i],y_(a))}}};function y_(a){return a.dim==="x"?0:1}var x_=G2;N();de();var H2=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e})(At),S_=H2;N();z();Oi();lt();var ha=mt(),F2=w;function eu(a,e,t){if(!he.node){var r=e.getZr();ha(r).records||(ha(r).records={}),W2(r,e);var i=ha(r).records[a]||(ha(r).records[a]={});i.handler=t}}function W2(a,e){if(ha(a).initialized)return;ha(a).initialized=!0,t("click",J(b_,"click")),t("mousemove",J(b_,"mousemove")),t("globalout",Y2);function t(r,i){a.on(r,function(o){var n=X2(e);F2(ha(a).records,function(s){s&&i(s,o,n.dispatchAction)}),Z2(n.pendings,e)})}}function Z2(a,e){var t=a.showTip.length,r=a.hideTip.length,i;t?i=a.showTip[t-1]:r&&(i=a.hideTip[r-1]),i&&(i.dispatchAction=null,e.dispatchAction(i))}function Y2(a,e,t){a.handler("leave",null,t)}function b_(a,e,t,r){e.handler(a,t,r)}function X2(a){var e={showTip:[],hideTip:[]},t=function(r){var i=e[r.type];i?i.push(r):(r.dispatchAction=t,a.dispatchAction(r))};return{dispatchAction:t,pendings:e}}function En(a,e){if(!he.node){var t=e.getZr(),r=(ha(t).records||{})[a];r&&(ha(t).records[a]=null)}}ye();var K2=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,r,i){var o=r.getComponent("tooltip"),n=t.get("triggerOn")||o&&o.get("triggerOn")||"mousemove|click";eu("axisPointer",i,function(s,l,u){n!=="none"&&(s==="leave"||n.indexOf(s)>=0)&&u({type:"updateAxisPointer",currTrigger:s,x:l&&l.offsetX,y:l&&l.offsetY})})},e.prototype.remove=function(t,r){En("axisPointer",r)},e.prototype.dispose=function(t,r){En("axisPointer",r)},e.type="axisPointer",e})(Dt),w_=K2;z();lt();z();lt();function Rn(a,e){var t=[],r=a.seriesIndex,i;if(r==null||!(i=e.getSeriesByIndex(r)))return{point:[]};var o=i.getData(),n=Yo(o,a);if(n==null||n<0||G(n))return{point:[]};var s=o.getItemGraphicEl(n),l=i.coordinateSystem;if(i.getTooltipPosition)t=i.getTooltipPosition(n)||[];else if(l&&l.dataToPoint)if(a.isStacked){var u=l.getBaseAxis(),p=l.getOtherAxis(u),f=p.dim,c=u.dim,h=f==="x"||f==="radius"?1:0,v=o.mapDimension(c),d=[];d[h]=o.get(v,n),d[1-h]=o.get(o.getCalculationInfo("stackResultDimension"),n),t=l.dataToPoint(d)||[]}else t=l.dataToPoint(o.getValues(O(l.dimensions,function(g){return o.mapDimension(g)}),n))||[];else if(s){var m=s.getBoundingRect().clone();m.applyTransform(s.transform),t=[m.x+m.width/2,m.y+m.height/2]}return{point:t,el:s}}z();var A_=mt();function Kh(a,e,t){var r=a.currTrigger,i=[a.x,a.y],o=a,n=a.dispatchAction||F(t.dispatchAction,t),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){ru(i)&&(i=Rn({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var l=ru(i),u=o.axesInfo,p=s.axesInfo,f=r==="leave"||ru(i),c={},h={},v={list:[],map:{}},d={showPointer:J(q2,h),showTooltip:J(J2,v)};w(s.coordSysMap,function(g,y){var x=l||g.containPoint(i);w(s.coordSysAxesInfo[y],function(S,b){var _=S.axis,A=ez(u,S);if(!f&&x&&(!u||A)){var T=A&&A.value;T==null&&!l&&(T=_.pointToData(i)),T!=null&&T_(S,T,d,!1,c)}})});var m={};return w(p,function(g,y){var x=g.linkGroup;x&&!h[y]&&w(x.axesInfo,function(S,b){var _=h[b];if(S!==g&&_){var A=_.value;x.mapper&&(A=g.axis.scale.parse(x.mapper(A,C_(S),C_(g)))),m[g.key]=A}})}),w(m,function(g,y){T_(p[y],g,d,!0,c)}),$2(h,p,c),Q2(v,i,a,n),tz(p,n,t),c}}function T_(a,e,t,r,i){var o=a.axis;if(!(o.scale.isBlank()||!o.containData(e))){if(!a.involveSeries){t.showPointer(a,e);return}var n=j2(e,a),s=n.payloadBatch,l=n.snapToValue;s[0]&&i.seriesIndex==null&&B(i,s[0]),!r&&a.snap&&o.containData(l)&&l!=null&&(e=l),t.showPointer(a,e,s),t.showTooltip(a,n,l)}}function j2(a,e){var t=e.axis,r=t.dim,i=a,o=[],n=Number.MAX_VALUE,s=-1;return w(e.seriesModels,function(l,u){var p=l.getData().mapDimensionsAll(r),f,c;if(l.getAxisTooltipData){var h=l.getAxisTooltipData(p,a,t);c=h.dataIndices,f=h.nestestValue}else{if(c=l.getData().indicesOfNearest(p[0],a,t.type==="category"?.5:null),!c.length)return;f=l.getData().get(p[0],c[0])}if(!(f==null||!isFinite(f))){var v=a-f,d=Math.abs(v);d<=n&&((d=0&&s<0)&&(n=d,s=v,i=f,o.length=0),w(c,function(m){o.push({seriesIndex:l.seriesIndex,dataIndexInside:m,dataIndex:l.getData().getRawIndex(m)})}))}}),{payloadBatch:o,snapToValue:i}}function q2(a,e,t,r){a[e.key]={value:t,payloadBatch:r}}function J2(a,e,t,r){var i=t.payloadBatch,o=e.axis,n=o.model,s=e.axisPointerModel;if(!(!e.triggerTooltip||!i.length)){var l=e.coordSys.model,u=ao(l),p=a.map[u];p||(p=a.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},a.list.push(p)),p.dataByAxis.push({axisDim:o.dim,axisIndex:n.componentIndex,axisType:n.type,axisId:n.id,value:r,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function $2(a,e,t){var r=t.axesInfo=[];w(e,function(i,o){var n=i.axisPointerModel.option,s=a[o];s?(!i.useHandle&&(n.status="show"),n.value=s.value,n.seriesDataIndices=(s.payloadBatch||[]).slice()):!i.useHandle&&(n.status="hide"),n.status==="show"&&r.push({axisDim:i.axis.dim,axisIndex:i.axis.model.componentIndex,value:n.value})})}function Q2(a,e,t,r){if(ru(e)||!a.list.length){r({type:"hideTip"});return}var i=((a.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:t.tooltipOption,position:t.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:a.list})}function tz(a,e,t){var r=t.getZr(),i="axisPointerLastHighlights",o=A_(r)[i]||{},n=A_(r)[i]={};w(a,function(u,p){var f=u.axisPointerModel.option;f.status==="show"&&u.triggerEmphasis&&w(f.seriesDataIndices,function(c){var h=c.seriesIndex+" | "+c.dataIndex;n[h]=c})});var s=[],l=[];w(o,function(u,p){!n[p]&&l.push(u)}),w(n,function(u,p){!o[p]&&s.push(u)}),l.length&&t.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&t.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function ez(a,e){for(var t=0;t<(a||[]).length;t++){var r=a[t];if(e.axis.dim===r.axisDim&&e.axis.model.componentIndex===r.axisIndex)return r}}function C_(a){var e=a.axis.model,t={},r=t.axisDim=a.axis.dim;return t.axisIndex=t[r+"AxisIndex"]=e.componentIndex,t.axisName=t[r+"AxisName"]=e.name,t.axisId=t[r+"AxisId"]=e.id,t}function ru(a){return!a||a[0]==null||isNaN(a[0])||a[1]==null||isNaN(a[1])}function Ir(a){Ye.registerAxisPointerClass("CartesianAxisPointer",x_),a.registerComponentModel(S_),a.registerComponentView(w_),a.registerPreprocessor(function(e){if(e){(!e.axisPointer||e.axisPointer.length===0)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!G(t)&&(e.axisPointer.link=[t])}}),a.registerProcessor(a.PRIORITY.PROCESSOR.STATISTIC,function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=Jy(e,t)}),a.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},Kh)}Ze();function jh(a){nt(vl),nt(Ir)}N();Ze();N();tt();Pr();var rz=(function(a){M(e,a);function e(){return a!==null&&a.apply(this,arguments)||this}return e.prototype.makeElOption=function(t,r,i,o,n){var s=i.axis;s.dim==="angle"&&(this.animationThreshold=Math.PI/18);var l=s.polar,u=l.getOtherAxis(s),p=u.getExtent(),f=s.dataToCoord(r),c=o.get("type");if(c&&c!=="none"){var h=Do(o),v=iz[c](s,l,f,p);v.style=h,t.graphicKey=v.type,t.pointer=v}var d=o.get(["label","margin"]),m=az(r,i,o,l,d);Zh(t,i,o,n,m)},e})(Co);function az(a,e,t,r,i){var o=e.axis,n=o.dataToCoord(a),s=r.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l=r.getRadiusAxis().getExtent(),u,p,f;if(o.dim==="radius"){var c=He();nr(c,c,s),Fe(c,c,[r.cx,r.cy]),u=ke([n,-i],c);var h=e.getModel("axisLabel").get("rotate")||0,v=Ce.innerTextLayout(s,h*Math.PI/180,-1);p=v.textAlign,f=v.textVerticalAlign}else{var d=l[1];u=r.coordToPoint([d+i,n]);var m=r.cx,g=r.cy;p=Math.abs(u[0]-m)/d<.3?"center":u[0]>m?"left":"right",f=Math.abs(u[1]-g)/d<.3?"middle":u[1]>g?"top":"bottom"}return{position:u,align:p,verticalAlign:f}}var iz={line:function(a,e,t,r){return a.dim==="angle"?{type:"Line",shape:Mo(e.coordToPoint([r[0],t]),e.coordToPoint([r[1],t]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:t}}},shadow:function(a,e,t,r){var i=Math.max(1,a.getBandWidth()),o=Math.PI/180;return a.dim==="angle"?{type:"Sector",shape:Xh(e.cx,e.cy,r[0],r[1],(-t-i/2)*o,(-t+i/2)*o)}:{type:"Sector",shape:Xh(e.cx,e.cy,t-i/2,t+i/2,0,Math.PI*2)}}},D_=rz;N();de();var oz=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.findAxisModel=function(t){var r,i=this.ecModel;return i.eachComponent(t,function(o){o.getCoordSysModel()===this&&(r=o)},this),r},e.type="polar",e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},e})(At),M_=oz;N();z();de();on();lt();var qh=(function(a){M(e,a);function e(){return a!==null&&a.apply(this,arguments)||this}return e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",qt).models[0]},e.type="polarAxis",e})(At);ae(qh,Hr);var I_=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.type="angleAxis",e})(qh);var L_=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.type="radiusAxis",e})(qh);z();N();xi();var Jh=(function(a){M(e,a);function e(t,r){return a.call(this,"radius",t,r)||this}return e.prototype.pointToData=function(t,r){return this.polar.pointToData(t,r)[this.dim==="radius"?0:1]},e})(Ae);Jh.prototype.dataToRadius=Ae.prototype.dataToCoord;Jh.prototype.radiusToData=Ae.prototype.coordToData;var P_=Jh;N();ma();xi();lt();var nz=mt(),$h=(function(a){M(e,a);function e(t,r){return a.call(this,"angle",t,r||[0,360])||this}return e.prototype.pointToData=function(t,r){return this.polar.pointToData(t,r)[this.dim==="radius"?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this,r=t.getLabelModel(),i=t.scale,o=i.getExtent(),n=i.count();if(o[1]-o[0]<1)return 0;var s=o[0],l=t.dataToCoord(s+1)-t.dataToCoord(s),u=Math.abs(l),p=Zi(s==null?"":s+"",r.getFont(),"center","top"),f=Math.max(p.height,7),c=f/u;isNaN(c)&&(c=1/0);var h=Math.max(0,Math.floor(c)),v=nz(t.model),d=v.lastAutoInterval,m=v.lastTickCount;return d!=null&&m!=null&&Math.abs(d-h)<=1&&Math.abs(m-n)<=1&&d>h?h=d:(v.lastTickCount=n,v.lastAutoInterval=h),h},e})(Ae);$h.prototype.dataToAngle=Ae.prototype.dataToCoord;$h.prototype.angleToData=Ae.prototype.coordToData;var z_=$h;var Qh=["radius","angle"],sz=(function(){function a(e){this.dimensions=Qh,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new P_,this._angleAxis=new z_,this.axisPointerEnabled=!0,this.name=e||"",this._radiusAxis.polar=this._angleAxis.polar=this}return a.prototype.containPoint=function(e){var t=this.pointToCoord(e);return this._radiusAxis.contain(t[0])&&this._angleAxis.contain(t[1])},a.prototype.containData=function(e){return this._radiusAxis.containData(e[0])&&this._angleAxis.containData(e[1])},a.prototype.getAxis=function(e){var t="_"+e+"Axis";return this[t]},a.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},a.prototype.getAxesByScale=function(e){var t=[],r=this._angleAxis,i=this._radiusAxis;return r.scale.type===e&&t.push(r),i.scale.type===e&&t.push(i),t},a.prototype.getAngleAxis=function(){return this._angleAxis},a.prototype.getRadiusAxis=function(){return this._radiusAxis},a.prototype.getOtherAxis=function(e){var t=this._angleAxis;return e===t?this._radiusAxis:t},a.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},a.prototype.getTooltipAxes=function(e){var t=e!=null&&e!=="auto"?this.getAxis(e):this.getBaseAxis();return{baseAxes:[t],otherAxes:[this.getOtherAxis(t)]}},a.prototype.dataToPoint=function(e,t){return this.coordToPoint([this._radiusAxis.dataToRadius(e[0],t),this._angleAxis.dataToAngle(e[1],t)])},a.prototype.pointToData=function(e,t){var r=this.pointToCoord(e);return[this._radiusAxis.radiusToData(r[0],t),this._angleAxis.angleToData(r[1],t)]},a.prototype.pointToCoord=function(e){var t=e[0]-this.cx,r=e[1]-this.cy,i=this.getAngleAxis(),o=i.getExtent(),n=Math.min(o[0],o[1]),s=Math.max(o[0],o[1]);i.inverse?n=s-360:s=n+360;var l=Math.sqrt(t*t+r*r);t/=l,r/=l;for(var u=Math.atan2(-r,t)/Math.PI*180,p=us;)u+=p*360;return[l,u]},a.prototype.coordToPoint=function(e){var t=e[0],r=e[1]/180*Math.PI,i=Math.cos(r)*t+this.cx,o=-Math.sin(r)*t+this.cy;return[i,o]},a.prototype.getArea=function(){var e=this.getAngleAxis(),t=this.getRadiusAxis(),r=t.getExtent().slice();r[0]>r[1]&&r.reverse();var i=e.getExtent(),o=Math.PI/180,n=1e-4;return{cx:this.cx,cy:this.cy,r0:r[0],r:r[1],startAngle:-i[0]*o,endAngle:-i[1]*o,clockwise:e.inverse,contain:function(s,l){var u=s-this.cx,p=l-this.cy,f=u*u+p*p,c=this.r,h=this.r0;return c!==h&&f-n<=c*c&&f+n>=h*h}}},a.prototype.convertToPixel=function(e,t,r){var i=E_(t);return i===this?this.dataToPoint(r):null},a.prototype.convertFromPixel=function(e,t,r){var i=E_(t);return i===this?this.pointToData(r):null},a})();function E_(a){var e=a.seriesModel,t=a.polarModel;return t&&t.coordinateSystem||e&&e.coordinateSystem}var R_=sz;bt();sa();lt();function lz(a,e,t){var r=e.get("center"),i=t.getWidth(),o=t.getHeight();a.cx=Z(r[0],i),a.cy=Z(r[1],o);var n=a.getRadiusAxis(),s=Math.min(i,o)/2,l=e.get("radius");l==null?l=[0,"100%"]:G(l)||(l=[0,l]);var u=[Z(l[0],s),Z(l[1],s)];n.inverse?n.setExtent(u[1],u[0]):n.setExtent(u[0],u[1])}function uz(a,e){var t=this,r=t.getAngleAxis(),i=t.getRadiusAxis();if(r.scale.setExtent(1/0,-1/0),i.scale.setExtent(1/0,-1/0),a.eachSeries(function(s){if(s.coordinateSystem===t){var l=s.getData();w(an(l,"radius"),function(u){i.scale.unionExtentFromData(l,u)}),w(an(l,"angle"),function(u){r.scale.unionExtentFromData(l,u)})}}),Br(r.scale,r.model),Br(i.scale,i.model),r.type==="category"&&!r.onBand){var o=r.getExtent(),n=360/r.scale.count();r.inverse?o[1]+=n:o[1]-=n,r.setExtent(o[0],o[1])}}function pz(a){return a.mainType==="angleAxis"}function k_(a,e){var t;if(a.type=e.get("type"),a.scale=Ea(e),a.onBand=e.get("boundaryGap")&&a.type==="category",a.inverse=e.get("inverse"),pz(e)){a.inverse=a.inverse!==e.get("clockwise");var r=e.get("startAngle"),i=(t=e.get("endAngle"))!==null&&t!==void 0?t:r+(a.inverse?-360:360);a.setExtent(r,i)}e.axis=a,a.model=e}var fz={dimensions:Qh,create:function(a,e){var t=[];return a.eachComponent("polar",function(r,i){var o=new R_(i+"");o.update=uz;var n=o.getRadiusAxis(),s=o.getAngleAxis(),l=r.findAxisModel("radiusAxis"),u=r.findAxisModel("angleAxis");k_(n,l),k_(s,u),lz(o,r,e),t.push(o),r.coordinateSystem=o,o.model=r}),a.eachSeries(function(r){if(r.get("coordinateSystem")==="polar"){var i=r.getReferringComponents("polar",qt).models[0];r.coordinateSystem=i.coordinateSystem}}),t}},V_=fz;N();z();tt();Bt();We();Jt();var cz=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function au(a,e,t){e[1]>e[0]&&(e=e.slice().reverse());var r=a.coordToPoint([e[0],t]),i=a.coordToPoint([e[1],t]);return{x1:r[0],y1:r[1],x2:i[0],y2:i[1]}}function iu(a){var e=a.getRadiusAxis();return e.inverse?0:1}function N_(a){var e=a[0],t=a[a.length-1];e&&t&&Math.abs(Math.abs(e.coord-t.coord)-360)<1e-4&&a.pop()}var hz=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t.axisPointerClass="PolarAxisPointer",t}return e.prototype.render=function(t,r){if(this.group.removeAll(),!!t.get("show")){var i=t.axis,o=i.polar,n=o.getRadiusAxis().getExtent(),s=i.getTicksCoords(),l=i.getMinorTicksCoords(),u=O(i.getViewLabels(),function(p){p=ot(p);var f=i.scale,c=f.type==="ordinal"?f.getRawOrdinalNumber(p.tickValue):p.tickValue;return p.coord=i.dataToCoord(c),p});N_(u),N_(s),w(cz,function(p){t.get([p,"show"])&&(!i.scale.isBlank()||p==="axisLine")&&vz[p](this.group,t,o,s,l,n,u)},this)}},e.type="angleAxis",e})(Ye),vz={axisLine:function(a,e,t,r,i,o){var n=e.getModel(["axisLine","lineStyle"]),s=t.getAngleAxis(),l=Math.PI/180,u=s.getExtent(),p=iu(t),f=p?0:1,c,h=Math.abs(u[1]-u[0])===360?"Circle":"Arc";o[f]===0?c=new it[h]({shape:{cx:t.cx,cy:t.cy,r:o[p],startAngle:-u[0]*l,endAngle:-u[1]*l,clockwise:s.inverse},style:n.getLineStyle(),z2:1,silent:!0}):c=new gs({shape:{cx:t.cx,cy:t.cy,r:o[p],r0:o[f]},style:n.getLineStyle(),z2:1,silent:!0}),c.style.fill=null,a.add(c)},axisTick:function(a,e,t,r,i,o){var n=e.getModel("axisTick"),s=(n.get("inside")?-1:1)*n.get("length"),l=o[iu(t)],u=O(r,function(p){return new oe({shape:au(t,[l,l+s],p.coord)})});a.add(Re(u,{style:$(n.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(a,e,t,r,i,o){if(i.length){for(var n=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(n.get("inside")?-1:1)*s.get("length"),u=o[iu(t)],p=[],f=0;fg?"left":"right",S=Math.abs(m[1]-y)/d<.3?"middle":m[1]>y?"top":"bottom";if(s&&s[v]){var b=s[v];Tt(b)&&b.textStyle&&(h=new Nt(b.textStyle,l,l.ecModel))}var _=new ut({silent:Ce.isLabelSilent(e),style:Ct(h,{x:m[0],y:m[1],fill:h.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:f.formattedLabel,align:x,verticalAlign:S})});if(a.add(_),p){var A=Ce.makeAxisEventDataBase(e);A.targetType="axisLabel",A.value=f.rawLabel,Q(_).eventData=A}},this)},splitLine:function(a,e,t,r,i,o){var n=e.getModel("splitLine"),s=n.getModel("lineStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var p=[],f=0;f=0?"p":"n",E=C;b&&(r[p][P]||(r[p][P]={p:C,n:C}),E=r[p][P][R]);var k=void 0,U=void 0,V=void 0,H=void 0;if(v.dim==="radius"){var X=v.dataToCoord(L)-C,q=l.dataToCoord(P);Math.abs(X)=H})}}})}function bz(a){var e={};w(a,function(r,i){var o=r.getData(),n=r.coordinateSystem,s=n.getBaseAxis(),l=B_(n,s),u=s.getExtent(),p=s.type==="category"?s.getBandWidth():Math.abs(u[1]-u[0])/o.count(),f=e[l]||{bandWidth:p,remainedWidth:p,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},c=f.stacks;e[l]=f;var h=G_(r);c[h]||f.autoWidthCount++,c[h]=c[h]||{width:0,maxWidth:0};var v=Z(r.get("barWidth"),p),d=Z(r.get("barMaxWidth"),p),m=r.get("barGap"),g=r.get("barCategoryGap");v&&!c[h].width&&(v=Math.min(f.remainedWidth,v),c[h].width=v,f.remainedWidth-=v),d&&(c[h].maxWidth=d),m!=null&&(f.gap=m),g!=null&&(f.categoryGap=g)});var t={};return w(e,function(r,i){t[i]={};var o=r.stacks,n=r.bandWidth,s=Z(r.categoryGap,n),l=Z(r.gap,1),u=r.remainedWidth,p=r.autoWidthCount,f=(u-s)/(p+(p-1)*l);f=Math.max(f,0),w(o,function(d,m){var g=d.maxWidth;g&&g=t.y&&e[1]<=t.y+t.height:r.contain(r.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},a.prototype.pointToData=function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e[t.orient==="horizontal"?0:1]))]},a.prototype.dataToPoint=function(e){var t=this.getAxis(),r=this.getRect(),i=[],o=t.orient==="horizontal"?0:1;return e instanceof Array&&(e=e[0]),i[o]=t.toGlobalCoord(t.dataToCoord(+e)),i[1-o]=o===0?r.y+r.height/2:r.x+r.width/2,i},a.prototype.convertToPixel=function(e,t,r){var i=X_(t);return i===this?this.dataToPoint(r):null},a.prototype.convertFromPixel=function(e,t,r){var i=X_(t);return i===this?this.pointToData(r):null},a})();function X_(a){var e=a.seriesModel,t=a.singleAxisModel;return t&&t.coordinateSystem||e&&e.coordinateSystem}var K_=Lz;lt();function Pz(a,e){var t=[];return a.eachComponent("singleAxis",function(r,i){var o=new K_(r,a,e);o.name="single_"+i,o.resize(r,e),r.coordinateSystem=o,t.push(o)}),a.eachSeries(function(r){if(r.get("coordinateSystem")==="singleAxis"){var i=r.getReferringComponents("singleAxis",qt).models[0];r.coordinateSystem=i&&i.coordinateSystem}}),t}var zz={create:Pz,dimensions:ev},j_=zz;N();var q_=["x","y"],Ez=["width","height"],Rz=(function(a){M(e,a);function e(){return a!==null&&a.apply(this,arguments)||this}return e.prototype.makeElOption=function(t,r,i,o,n){var s=i.axis,l=s.coordinateSystem,u=rv(l,1-nu(s)),p=l.dataToPoint(r)[0],f=o.get("type");if(f&&f!=="none"){var c=Do(o),h=kz[f](s,p,u);h.style=c,t.graphicKey=h.type,t.pointer=h}var v=kn(i);$l(r,t,v,i,o,n)},e.prototype.getHandleTransform=function(t,r,i){var o=kn(r,{labelInside:!1});o.labelMargin=i.get(["handle","margin"]);var n=zn(r.axis,t,o);return{x:n[0],y:n[1],rotation:o.rotation+(o.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,r,i,o){var n=i.axis,s=n.coordinateSystem,l=nu(n),u=rv(s,l),p=[t.x,t.y];p[l]+=r[l],p[l]=Math.min(u[1],p[l]),p[l]=Math.max(u[0],p[l]);var f=rv(s,1-l),c=(f[1]+f[0])/2,h=[c,c];return h[l]=p[l],{x:p[0],y:p[1],rotation:t.rotation,cursorPoint:h,tooltipOption:{verticalAlign:"middle"}}},e})(Co),kz={line:function(a,e,t){var r=Mo([e,t[0]],[e,t[1]],nu(a));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(a,e,t){var r=a.getBandWidth(),i=t[1]-t[0];return{type:"Rect",shape:Ql([e-r/2,t[0]],[r,i],nu(a))}}};function nu(a){return a.isHorizontal()?0:1}function rv(a,e){var t=a.getRect();return[t[q_[e]],t[q_[e]]+t[Ez[e]]]}var J_=Rz;var Vz=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.type="single",e})(Dt);function av(a){nt(Ir),Ye.registerAxisPointerClass("SingleAxisPointer",J_),a.registerComponentView(Vz),a.registerComponentView(W_),a.registerComponentModel(ou),Mr(a,"single",ou,ou.defaultOption),a.registerCoordinateSystem("single",j_)}N();z();de();Kt();var Nz=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t,r,i){var o=Da(t);a.prototype.init.apply(this,arguments),$_(t,o)},e.prototype.mergeOption=function(t){a.prototype.mergeOption.apply(this,arguments),$_(this.option,t)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e})(At);function $_(a,e){var t=a.cellSize,r;G(t)?r=t:r=a.cellSize=[t,t],r.length===1&&(r[1]=r[0]);var i=O([0,1],function(o){return Zm(e,o)&&(r[o]="auto"),r[o]!=null&&r[o]!=="auto"});Ca(a,e,{type:"box",ignoreSize:i})}var Q_=Nz;N();z();tt();Bt();br();bt();ye();bT();var Oz=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,r,i){var o=this.group;o.removeAll();var n=t.coordinateSystem,s=n.getRangeInfo(),l=n.getOrient(),u=r.getLocaleModel();this._renderDayRect(t,s,o),this._renderLines(t,s,l,o),this._renderYearText(t,s,l,o),this._renderMonthText(t,u,l,o),this._renderWeekText(t,u,s,l,o)},e.prototype._renderDayRect=function(t,r,i){for(var o=t.coordinateSystem,n=t.getModel("itemStyle").getItemStyle(),s=o.getCellWidth(),l=o.getCellHeight(),u=r.start.time;u<=r.end.time;u=o.getNextNDay(u,1).time){var p=o.dataToRect([u],!1).tl,f=new ct({shape:{x:p[0],y:p[1],width:s,height:l},cursor:"default",style:n});i.add(f)}},e.prototype._renderLines=function(t,r,i,o){var n=this,s=t.coordinateSystem,l=t.getModel(["splitLine","lineStyle"]).getLineStyle(),u=t.get(["splitLine","show"]),p=l.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var f=r.start,c=0;f.time<=r.end.time;c++){v(f.formatedDate),c===0&&(f=s.getDateInfo(r.start.y+"-"+r.start.m));var h=f.date;h.setMonth(h.getMonth()+1),f=s.getDateInfo(h)}v(s.getNextNDay(r.end.time,1).formatedDate);function v(d){n._firstDayOfMonth.push(s.getDateInfo(d)),n._firstDayPoints.push(s.dataToRect([d],!1).tl);var m=n._getLinePointsOfOneWeek(t,d,i);n._tlpoints.push(m[0]),n._blpoints.push(m[m.length-1]),u&&n._drawSplitline(m,l,o)}u&&this._drawSplitline(n._getEdgesPoints(n._tlpoints,p,i),l,o),u&&this._drawSplitline(n._getEdgesPoints(n._blpoints,p,i),l,o)},e.prototype._getEdgesPoints=function(t,r,i){var o=[t[0].slice(),t[t.length-1].slice()],n=i==="horizontal"?0:1;return o[0][n]=o[0][n]-r/2,o[1][n]=o[1][n]+r/2,o},e.prototype._drawSplitline=function(t,r,i){var o=new le({z2:20,shape:{points:t},style:r});i.add(o)},e.prototype._getLinePointsOfOneWeek=function(t,r,i){for(var o=t.coordinateSystem,n=o.getDateInfo(r),s=[],l=0;l<7;l++){var u=o.getNextNDay(n.time,l),p=o.dataToRect([u.time],!1);s[2*u.day]=p.tl,s[2*u.day+1]=p[i==="horizontal"?"bl":"tr"]}return s},e.prototype._formatterLabel=function(t,r){return K(t)&&t?Hm(t,r):at(t)?t(r):r.nameMap},e.prototype._yearTextPositionControl=function(t,r,i,o,n){var s=r[0],l=r[1],u=["center","bottom"];o==="bottom"?(l+=n,u=["center","top"]):o==="left"?s-=n:o==="right"?(s+=n,u=["center","top"]):l-=n;var p=0;return(o==="left"||o==="right")&&(p=Math.PI/2),{rotation:p,x:s,y:l,style:{align:u[0],verticalAlign:u[1]}}},e.prototype._renderYearText=function(t,r,i,o){var n=t.getModel("yearLabel");if(n.get("show")){var s=n.get("margin"),l=n.get("position");l||(l=i!=="horizontal"?"top":"left");var u=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],p=(u[0][0]+u[1][0])/2,f=(u[0][1]+u[1][1])/2,c=i==="horizontal"?0:1,h={top:[p,u[c][1]],bottom:[p,u[1-c][1]],left:[u[1-c][0],f],right:[u[c][0],f]},v=r.start.y;+r.end.y>+r.start.y&&(v=v+"-"+r.end.y);var d=n.get("formatter"),m={start:r.start.y,end:r.end.y,nameMap:v},g=this._formatterLabel(d,m),y=new ut({z2:30,style:Ct(n,{text:g}),silent:n.get("silent")});y.attr(this._yearTextPositionControl(y,h[l],i,l,s)),o.add(y)}},e.prototype._monthTextPositionControl=function(t,r,i,o,n){var s="left",l="top",u=t[0],p=t[1];return i==="horizontal"?(p=p+n,r&&(s="center"),o==="start"&&(l="bottom")):(u=u+n,r&&(l="middle"),o==="start"&&(s="right")),{x:u,y:p,align:s,verticalAlign:l}},e.prototype._renderMonthText=function(t,r,i,o){var n=t.getModel("monthLabel");if(n.get("show")){var s=n.get("nameMap"),l=n.get("margin"),u=n.get("position"),p=n.get("align"),f=[this._tlpoints,this._blpoints];(!s||K(s))&&(s&&(r=op(s)||r),s=r.get(["time","monthAbbr"])||[]);var c=u==="start"?0:1,h=i==="horizontal"?0:1;l=u==="start"?-l:l;for(var v=p==="center",d=n.get("silent"),m=0;m=i.start.time&&r.times.end.time&&t.reverse(),t},a.prototype._getRangeInfo=function(e){var t=[this.getDateInfo(e[0]),this.getDateInfo(e[1])],r;t[0].time>t[1].time&&(r=!0,t.reverse());var i=Math.floor(t[1].time/iv)-Math.floor(t[0].time/iv)+1,o=new Date(t[0].time),n=o.getDate(),s=t[1].date.getDate();o.setDate(n+i-1);var l=o.getDate();if(l!==s)for(var u=o.getTime()-t[1].time>0?1:-1;(l=o.getDate())!==s&&(o.getTime()-t[1].time)*u>0;)i-=u,o.setDate(l-u);var p=Math.floor((i+t[0].day+6)/7),f=r?-p+1:p-1;return r&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:i,weeks:p,nthWeek:f,fweek:t[0].day,lweek:t[1].day}},a.prototype._getDateByWeeksAndDay=function(e,t,r){var i=this._getRangeInfo(r);if(e>i.weeks||e===0&&ti.lweek)return null;var o=(e-1)*7-i.fweek+t,n=new Date(i.start.time);return n.setDate(+i.start.d+o),this.getDateInfo(n)},a.create=function(e,t){var r=[];return e.eachComponent("calendar",function(i){var o=new a(i,e,t);r.push(o),i.coordinateSystem=o}),e.eachSeries(function(i){i.get("coordinateSystem")==="calendar"&&(i.coordinateSystem=r[i.get("calendarIndex")||0])}),r},a.dimensions=["time","value"],a})();function e1(a){var e=a.calendarModel,t=a.seriesModel,r=e?e.coordinateSystem:t?t.coordinateSystem:null;return r}var r1=Uz;function ov(a){a.registerComponentModel(Q_),a.registerComponentView(t1),a.registerCoordinateSystem("calendar",r1)}z();N();z();lt();de();Kt();function Gz(a,e){var t=a.existing;if(e.id=a.keyInfo.id,!e.type&&t&&(e.type=t.type),e.parentId==null){var r=e.parentOption;r?e.parentId=r.id:t&&(e.parentId=t.parentId)}e.parentOption=null}function a1(a,e){var t;return w(e,function(r){a[r]!=null&&a[r]!=="auto"&&(t=!0)}),t}function Bz(a,e,t){var r=B({},t),i=a[e],o=t.$action||"merge";if(o==="merge")if(i){if(0)var n;dt(i,r,!0),Ca(i,r,{ignoreSize:!0}),Xm(t,i),su(t,i),su(t,i,"shape"),su(t,i,"style"),su(t,i,"extra"),t.clipPath=i.clipPath}else a[e]=r;else o==="replace"?a[e]=r:o==="remove"&&i&&(a[e]=null)}var i1=["transition","enterFrom","leaveTo"],Hz=i1.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function su(a,e,t){if(t&&(!a[t]&&e[t]&&(a[t]={}),a=a[t],e=e[t]),!(!a||!e))for(var r=t?i1:Hz,i=0;i=0;p--){var f=i[p],c=ze(f.id,null),h=c!=null?n.get(c):null;if(h){var v=h.parent,g=dr(v),y=v===o?{width:s,height:l}:{width:g.width,height:g.height},x={},S=Ta(h,f,y,null,{hv:f.hv,boundingMode:f.bounding},x);if(!dr(h).isNew&&S){for(var b=f.transition,_={},A=0;A=0)?_[T]=C:h[T]=C}pt(h,_,t,0)}else h.attr(x)}}},e.prototype._clear=function(){var t=this,r=this._elMap;r.each(function(i){lu(i,dr(i).option,r,t._lastGraphicModel)}),this._elMap=et()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e})(Dt);function nv(a){var e=j(n1,a)?n1[a]:Ss(a),t=new e({});return dr(t).type=a,t}function s1(a,e,t,r){var i=nv(t);return e.add(i),r.set(a,i),dr(i).id=a,dr(i).isNew=!0,i}function lu(a,e,t,r){var i=a&&a.parent;i&&(a.type==="group"&&a.traverse(function(o){lu(o,e,t,r)}),Ao(a,e,r),t.removeKey(dr(a).id))}function l1(a,e,t,r){a.isGroup||w([["cursor",Je.prototype.cursor],["zlevel",r||0],["z",t||0],["z2",0]],function(i){var o=i[0];j(e,o)?a[o]=kt(e[o],i[1]):a[o]==null&&(a[o]=i[1])}),w(Gt(e),function(i){if(i.indexOf("on")===0){var o=e[i];a[i]=at(o)?o:null}}),j(e,"draggable")&&(a.draggable=e.draggable),e.name!=null&&(a.name=e.name),e.id!=null&&(a.id=e.id)}function Wz(a){return a=B({},a),w(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(Fm),function(e){delete a[e]}),a}function Zz(a,e,t){var r=Q(a).eventData;!a.silent&&!a.ignore&&!r&&(r=Q(a).eventData={componentType:"graphic",componentIndex:e.componentIndex,name:a.name}),r&&(r.info=t.info)}function sv(a){a.registerComponentModel(o1),a.registerComponentView(u1),a.registerPreprocessor(function(e){var t=e.graphic;G(t)?!t[0]||!t[0].elements?e.graphic=[{elements:t}]:e.graphic=[e.graphic[0]]:t&&!t.elements&&(e.graphic=[{elements:[t]}])})}Ze();N();N();z();de();z();var lv=["x","y","radius","angle","single"],Yz=["cartesian2d","polar","singleAxis"];function p1(a){var e=a.get("coordinateSystem");return yt(Yz,e)>=0}function mr(a){return a+"Axis"}function f1(a,e){var t=et(),r=[],i=et();a.eachComponent({mainType:"dataZoom",query:e},function(p){i.get(p.uid)||s(p)});var o;do o=!1,a.eachComponent("dataZoom",n);while(o);function n(p){!i.get(p.uid)&&l(p)&&(s(p),o=!0)}function s(p){i.set(p.uid,!0),r.push(p),u(p)}function l(p){var f=!1;return p.eachTargetAxis(function(c,h){var v=t.get(c);v&&v[h]&&(f=!0)}),f}function u(p){p.eachTargetAxis(function(f,c){(t.get(f)||t.set(f,[]))[c]=!0})}return r}function uu(a){var e=a.ecModel,t={infoList:[],infoMap:et()};return a.eachTargetAxis(function(r,i){var o=e.getComponent(mr(r),i);if(o){var n=o.getCoordSysModel();if(n){var s=n.uid,l=t.infoMap.get(s);l||(l={model:n,axisModels:[]},t.infoList.push(l),t.infoMap.set(s,l)),l.axisModels.push(o)}}}),t}lt();var uv=(function(){function a(){this.indexList=[],this.indexMap=[]}return a.prototype.add=function(e){this.indexMap[e]||(this.indexList.push(e),this.indexMap[e]=!0)},a})(),Xz=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t._autoThrottle=!0,t._noTarget=!0,t._rangePropMode=["percent","percent"],t}return e.prototype.init=function(t,r,i){var o=c1(t);this.settledOption=o,this.mergeDefaultAndTheme(t,i),this._doInit(o)},e.prototype.mergeOption=function(t){var r=c1(t);dt(this.option,t,!0),dt(this.settledOption,r,!0),this._doInit(r)},e.prototype._doInit=function(t){var r=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var i=this.settledOption;w([["start","startValue"],["end","endValue"]],function(o,n){this._rangePropMode[n]==="value"&&(r[o[0]]=i[o[0]]=null)},this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),r=this._targetAxisInfoMap=et(),i=this._fillSpecifiedTargetAxis(r);i?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(r,this._orient)),this._noTarget=!0,r.each(function(o){o.indexList.length&&(this._noTarget=!1)},this)},e.prototype._fillSpecifiedTargetAxis=function(t){var r=!1;return w(lv,function(i){var o=this.getReferringComponents(mr(i),mm);if(o.specified){r=!0;var n=new uv;w(o.models,function(s){n.add(s.componentIndex)}),t.set(i,n)}},this),r},e.prototype._fillAutoTargetAxisByOrient=function(t,r){var i=this.ecModel,o=!0;if(o){var n=r==="vertical"?"y":"x",s=i.findComponents({mainType:n+"Axis"});l(s,n)}if(o){var s=i.findComponents({mainType:"singleAxis",filter:function(p){return p.get("orient",!0)===r}});l(s,"single")}function l(u,p){var f=u[0];if(f){var c=new uv;if(c.add(f.componentIndex),t.set(p,c),o=!1,p==="x"||p==="y"){var h=f.getReferringComponents("grid",qt).models[0];h&&w(u,function(v){f.componentIndex!==v.componentIndex&&h===v.getReferringComponents("grid",qt).models[0]&&c.add(v.componentIndex)})}}}o&&w(lv,function(u){if(o){var p=i.findComponents({mainType:mr(u),filter:function(c){return c.get("type",!0)==="category"}});if(p[0]){var f=new uv;f.add(p[0].componentIndex),t.set(u,f),o=!1}}},this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis(function(r){!t&&(t=r)},this),t==="y"?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var r=this.ecModel.option;this.option.throttle=r.animation&&r.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var r=this._rangePropMode,i=this.get("rangeMode");w([["start","startValue"],["end","endValue"]],function(o,n){var s=t[o[0]]!=null,l=t[o[1]]!=null;s&&!l?r[n]="percent":!s&&l?r[n]="value":i?r[n]=i[n]:s&&(r[n]="percent")})},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis(function(r,i){t==null&&(t=this.ecModel.getComponent(mr(r),i))},this),t},e.prototype.eachTargetAxis=function(t,r){this._targetAxisInfoMap.each(function(i,o){w(i.indexList,function(n){t.call(r,o,n)})})},e.prototype.getAxisProxy=function(t,r){var i=this.getAxisModel(t,r);if(i)return i.__dzAxisProxy},e.prototype.getAxisModel=function(t,r){var i=this._targetAxisInfoMap.get(t);if(i&&i.indexMap[r])return this.ecModel.getComponent(mr(t),r)},e.prototype.setRawRange=function(t){var r=this.option,i=this.settledOption;w([["start","startValue"],["end","endValue"]],function(o){(t[o[0]]!=null||t[o[1]]!=null)&&(r[o[0]]=i[o[0]]=t[o[0]],r[o[1]]=i[o[1]]=t[o[1]])},this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var r=this.option;w(["start","startValue","end","endValue"],function(i){r[i]=t[i]})},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,r){if(t==null&&r==null){var i=this.findRepresentativeAxisProxy();if(i)return i.getDataValueWindow()}else return this.getAxisProxy(t,r).getDataValueWindow()},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var r,i=this._targetAxisInfoMap.keys(),o=0;on[1];if(x&&!S&&!b)return!0;x&&(m=!0),S&&(v=!0),b&&(d=!0)}return m&&v&&d})}else Lo(p,function(h){if(o==="empty")l.setData(u=u.map(h,function(d){return s(d)?d:NaN}));else{var v={};v[h]=n,u.selectRange(v)}});Lo(p,function(h){u.setApproximateExtent(n,h)})}});function s(l){return l>=n[0]&&l<=n[1]}},a.prototype._updateMinMaxSpan=function(){var e=this._minMaxSpan={},t=this._dataZoomModel,r=this._dataExtent;Lo(["min","max"],function(i){var o=t.get(i+"Span"),n=t.get(i+"ValueSpan");n!=null&&(n=this.getAxisModel().axis.scale.parse(n)),n!=null?o=wt(r[0]+n,r,[0,100],!0):o!=null&&(n=wt(o,[0,100],r,!0)-r[0]),e[i+"Span"]=o,e[i+"ValueSpan"]=n},this)},a.prototype._setAxisModel=function(){var e=this.getAxisModel(),t=this._percentWindow,r=this._valueWindow;if(t){var i=im(r,[0,500]);i=Math.min(i,20);var o=e.axis.scale.rawExtentInfo;t[0]!==0&&o.setDeterminedMinMax("min",+r[0].toFixed(i)),t[1]!==100&&o.setDeterminedMinMax("max",+r[1].toFixed(i)),o.freeze()}},a})();function $z(a,e,t){var r=[1/0,-1/0];Lo(t,function(n){xg(r,n.getData(),e)});var i=a.getAxisModel(),o=vg(i.axis.scale,i,r).calculate();return[o.min,o.max]}var m1=Jz;var Qz={getTargetSeries:function(a){function e(i){a.eachComponent("dataZoom",function(o){o.eachTargetAxis(function(n,s){var l=a.getComponent(mr(n),s);i(n,s,l,o)})})}e(function(i,o,n,s){n.__dzAxisProxy=null});var t=[];e(function(i,o,n,s){n.__dzAxisProxy||(n.__dzAxisProxy=new m1(i,o,s,a),t.push(n.__dzAxisProxy))});var r=et();return w(t,function(i){w(i.getTargetSeriesModels(),function(o){r.set(o.uid,o)})}),r},overallReset:function(a,e){a.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(r,i){t.getAxisProxy(r,i).reset(t)}),t.eachTargetAxis(function(r,i){t.getAxisProxy(r,i).filterData(t,e)})}),a.eachComponent("dataZoom",function(t){var r=t.findRepresentativeAxisProxy();if(r){var i=r.getDataPercentWindow(),o=r.getDataValueWindow();t.setCalculatedRange({start:i[0],end:i[1],startValue:o[0],endValue:o[1]})}})}},g1=Qz;z();function pv(a){a.registerAction("dataZoom",function(e,t){var r=f1(t,e);w(r,function(i){i.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})})})}var y1=!1;function ki(a){y1||(y1=!0,a.registerProcessor(a.PRIORITY.PROCESSOR.FILTER,g1),pv(a),a.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function x1(a){a.registerComponentModel(h1),a.registerComponentView(v1),ki(a)}N();z();var be=(function(){function a(){}return a})();var S1={};function ja(a,e){S1[a]=e}function pu(a){return S1[a]}de();var eE=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.optionUpdated=function(){a.prototype.optionUpdated.apply(this,arguments);var t=this.ecModel;w(this.option.feature,function(r,i){var o=pu(i);o&&(o.getDefaultOption&&(o.defaultOption=o.getDefaultOption(t)),dt(r,o.defaultOption))})},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e})(At),b1=eE;N();z();ma();tt();Ft();We();gi();Kt();br();tt();function _1(a,e,t){var r=e.getBoxLayoutParams(),i=e.get("padding"),o={width:t.getWidth(),height:t.getHeight()},n=Lt(r,o,i);_r(e.get("orient"),a,e.get("itemGap"),n.width,n.height),Ta(a,r,o,i)}function fu(a,e){var t=Aa(e.get("padding")),r=e.getItemStyle(["color","opacity"]);return r.fill=e.get("backgroundColor"),a=new ct({shape:{x:a.x-t[3],y:a.y-t[0],width:a.width+t[1]+t[3],height:a.height+t[0]+t[2],r:e.get("borderRadius")},style:r,silent:!0,z2:-1}),a}ye();Or();tp();Bt();var aE=(function(a){M(e,a);function e(){return a!==null&&a.apply(this,arguments)||this}return e.prototype.render=function(t,r,i,o){var n=this.group;if(n.removeAll(),!t.get("show"))return;var s=+t.get("itemSize"),l=t.get("orient")==="vertical",u=t.get("feature")||{},p=this._features||(this._features={}),f=[];w(u,function(v,d){f.push(d)}),new Ve(this._featureNames||[],f).add(c).update(c).remove(J(c,null)).execute(),this._featureNames=f;function c(v,d){var m=f[v],g=f[d],y=u[m],x=new Nt(y,t,t.ecModel),S;if(o&&o.newTitle!=null&&o.featureName===m&&(y.title=o.newTitle),m&&!g){if(iE(m))S={onclick:x.option.onclick,featureName:m};else{var b=pu(m);if(!b)return;S=new b}p[m]=S}else if(S=p[g],!S)return;S.uid=Ts("toolbox-feature"),S.model=x,S.ecModel=r,S.api=i;var _=S instanceof be;if(!m&&g){_&&S.dispose&&S.dispose(r,i);return}if(!x.get("show")||_&&S.unusable){_&&S.remove&&S.remove(r,i);return}h(x,S,m),x.setIconStatus=function(A,T){var C=this.option,D=this.iconPaths;C.iconStatus=C.iconStatus||{},C.iconStatus[A]=T,D[A]&&(T==="emphasis"?yr:xr)(D[A])},S instanceof be&&S.render&&S.render(x,r,i,o)}function h(v,d,m){var g=v.getModel("iconStyle"),y=v.getModel(["emphasis","iconStyle"]),x=d instanceof be&&d.getIcons?d.getIcons():v.get("icon"),S=v.get("title")||{},b,_;K(x)?(b={},b[m]=x):b=x,K(S)?(_={},_[m]=S):_=S;var A=v.iconPaths={};w(b,function(T,C){var D=wa(T,{},{x:-s/2,y:-s/2,width:s,height:s});D.setStyle(g.getItemStyle());var I=D.ensureState("emphasis");I.style=y.getItemStyle();var L=new ut({style:{text:_[C],align:y.get("textAlign"),borderRadius:y.get("textBorderRadius"),padding:y.get("textPadding"),fill:null,font:_s({fontStyle:y.get("textFontStyle"),fontFamily:y.get("textFontFamily"),fontSize:y.get("textFontSize"),fontWeight:y.get("textFontWeight")},r)},ignore:!0});D.setTextContent(L),Sr({el:D,componentModel:t,itemName:C,formatterParamsExtra:{title:_[C]}}),D.__title=_[C],D.on("mouseover",function(){var P=y.getItemStyle(),R=l?t.get("right")==null&&t.get("left")!=="right"?"right":"left":t.get("bottom")==null&&t.get("top")!=="bottom"?"bottom":"top";L.setStyle({fill:y.get("textFill")||P.fill||P.stroke||"#000",backgroundColor:y.get("textBackgroundColor")}),D.setTextConfig({position:y.get("textPosition")||R}),L.ignore=!t.get("showTitle"),i.enterEmphasis(this)}).on("mouseout",function(){v.get(["iconStatus",C])!=="emphasis"&&i.leaveEmphasis(this),L.hide()}),(v.get(["iconStatus",C])==="emphasis"?yr:xr)(D),n.add(D),D.on("click",F(d.onclick,d,r,i,C)),A[C]=D})}_1(n,t,i),n.add(fu(n.getBoundingRect(),t)),l||n.eachChild(function(v){var d=v.__title,m=v.ensureState("emphasis"),g=m.textConfig||(m.textConfig={}),y=v.getTextContent(),x=y&&y.ensureState("emphasis");if(x&&!at(x)&&d){var S=x.style||(x.style={}),b=Zi(d,ut.makeFont(S)),_=v.x+n.x,A=v.y+n.y+s,T=!1;A+b.height>i.getHeight()&&(g.position="top",T=!0);var C=T?-5-b.height:s+10;_+b.width/2>i.getWidth()?(g.position=["100%",C],S.align="right"):_-b.width/2<0&&(g.position=[0,C],S.align="left")}})},e.prototype.updateView=function(t,r,i,o){w(this._features,function(n){n instanceof be&&n.updateView&&n.updateView(n.model,r,i,o)})},e.prototype.remove=function(t,r){w(this._features,function(i){i instanceof be&&i.remove&&i.remove(t,r)}),this.group.removeAll()},e.prototype.dispose=function(t,r){w(this._features,function(i){i instanceof be&&i.dispose&&i.dispose(t,r)})},e.type="toolbox",e})(Dt);function iE(a){return a.indexOf("my")===0}var w1=aE;N();Oi();var oE=(function(a){M(e,a);function e(){return a!==null&&a.apply(this,arguments)||this}return e.prototype.onclick=function(t,r){var i=this.model,o=i.get("name")||t.get("title.0.text")||"echarts",n=r.getZr().painter.getType()==="svg",s=n?"svg":i.get("type",!0)||"png",l=r.getConnectedDataURL({type:s,backgroundColor:i.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:i.get("connectedBackgroundColor"),excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")}),u=he.browser;if(typeof MouseEvent=="function"&&(u.newEdge||!u.ie&&!u.edge)){var p=document.createElement("a");p.download=o+"."+s,p.target="_blank",p.href=l;var f=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});p.dispatchEvent(f)}else if(window.navigator.msSaveOrOpenBlob||n){var c=l.split(","),h=c[0].indexOf("base64")>-1,v=n?decodeURIComponent(c[1]):c[1];h&&(v=window.atob(v));var d=o+"."+s;if(window.navigator.msSaveOrOpenBlob){for(var m=v.length,g=new Uint8Array(m);m--;)g[m]=v.charCodeAt(m);var y=new Blob([g]);window.navigator.msSaveOrOpenBlob(y,d)}else{var x=document.createElement("iframe");document.body.appendChild(x);var S=x.contentWindow,b=S.document;b.open("image/svg+xml","replace"),b.write(v),b.close(),S.focus(),b.execCommand("SaveAs",!0,d),document.body.removeChild(x)}}else{var _=i.get("lang"),A='',T=window.open();T.document.write(A),T.document.title=o}},e.getDefaultOption=function(t){var r={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return r},e})(be),A1=oE;N();Os();z();lt();var T1="__ec_magicType_stack__";var nE=[["line","bar"],["stack"]],sE=(function(a){M(e,a);function e(){return a!==null&&a.apply(this,arguments)||this}return e.prototype.getIcons=function(){var t=this.model,r=t.get("icon"),i={};return w(t.get("type"),function(o){r[o]&&(i[o]=r[o])}),i},e.getDefaultOption=function(t){var r={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return r},e.prototype.onclick=function(t,r,i){var o=this.model,n=o.get(["seriesIndex",i]);if(C1[i]){var s={series:[]},l=function(f){var c=f.subType,h=f.id,v=C1[i](c,h,f,o);v&&($(v,f.option),s.series.push(v));var d=f.coordinateSystem;if(d&&d.type==="cartesian2d"&&(i==="line"||i==="bar")){var m=d.getAxesByScale("ordinal")[0];if(m){var g=m.dim,y=g+"Axis",x=f.getReferringComponents(y,qt).models[0],S=x.componentIndex;s[y]=s[y]||[];for(var b=0;b<=S;b++)s[y][S]=s[y][S]||{};s[y][S].boundaryGap=i==="bar"}}};w(nE,function(f){yt(f,i)>=0&&w(f,function(c){o.setIconStatus(c,"normal")})}),o.setIconStatus(i,"emphasis"),t.eachComponent({mainType:"series",query:n==null?null:{seriesIndex:n}},l);var u,p=i;i==="stack"&&(u=dt({stack:o.option.title.tiled,tiled:o.option.title.stack},o.option.title),o.get(["iconStatus",i])!=="emphasis"&&(p="tiled")),r.dispatchAction({type:"changeMagicType",currentType:p,newOption:s,newTitle:u,featureName:"magicType"})}},e})(be),C1={line:function(a,e,t,r){if(a==="bar")return dt({id:e,type:"line",data:t.get("data"),stack:t.get("stack"),markPoint:t.get("markPoint"),markLine:t.get("markLine")},r.get(["option","line"])||{},!0)},bar:function(a,e,t,r){if(a==="line")return dt({id:e,type:"bar",data:t.get("data"),stack:t.get("stack"),markPoint:t.get("markPoint"),markLine:t.get("markLine")},r.get(["option","bar"])||{},!0)},stack:function(a,e,t,r){var i=t.get("stack")===T1;if(a==="line"||a==="bar")return r.setIconStatus("stack",i?"normal":"emphasis"),dt({id:e,stack:i?"":T1},r.get(["option","stack"])||{},!0)}};Pa({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(a,e){e.mergeOption(a.newOption)});var D1=sE;N();Os();z();Gi();var hu=new Array(60).join("-"),Po=" ";function lE(a){var e={},t=[],r=[];return a.eachRawSeries(function(i){var o=i.coordinateSystem;if(o&&(o.type==="cartesian2d"||o.type==="polar")){var n=o.getBaseAxis();if(n.type==="category"){var s=n.dim+"_"+n.index;e[s]||(e[s]={categoryAxis:n,valueAxis:o.getOtherAxis(n),series:[]},r.push({axisDim:n.dim,axisIndex:n.index})),e[s].series.push(i)}else t.push(i)}else t.push(i)}),{seriesGroupByCategoryAxis:e,other:t,meta:r}}function uE(a){var e=[];return w(a,function(t,r){var i=t.categoryAxis,o=t.valueAxis,n=o.dim,s=[" "].concat(O(t.series,function(h){return h.name})),l=[i.model.getCategories()];w(t.series,function(h){var v=h.getRawData();l.push(h.getRawData().mapArray(v.mapDimension(n),function(d){return d}))});for(var u=[s.join(Po)],p=0;p=0)return!0}var fv=new RegExp("["+Po+"]+","g");function hE(a){for(var e=a.split(/\n+/g),t=cu(e.shift()).split(fv),r=[],i=O(t,function(l){return{name:l,data:[]}}),o=0;o=0;o--){var n=t[o];if(n[i])break}if(o<0){var s=a.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(s){var l=s.getPercentRange();t[0][i]={dataZoomId:i,start:l[0],end:l[1]}}}}),t.push(e)}function z1(a){var e=cv(a),t=e[e.length-1];e.length>1&&e.pop();var r={};return I1(t,function(i,o){for(var n=e.length-1;n>=0;n--)if(i=e[n][o],i){r[o]=i;break}}),r}function E1(a){L1(a).snapshots=null}function R1(a){return cv(a).length}function cv(a){var e=L1(a);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var yE=(function(a){M(e,a);function e(){return a!==null&&a.apply(this,arguments)||this}return e.prototype.onclick=function(t,r){E1(t),r.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(t){var r={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:t.getLocaleModel().get(["toolbox","restore","title"])};return r},e})(be);Pa({type:"restore",event:"restore",update:"prepareAndUpdate"},function(a,e){e.resetOption("recreate")});var V1=yE;N();z();z();tt();lt();var xE=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],SE=(function(){function a(e,t,r){var i=this;this._targetInfoList=[];var o=N1(t,e);w(bE,function(n,s){(!r||!r.include||yt(r.include,s)>=0)&&n(o,i._targetInfoList)})}return a.prototype.setOutputRanges=function(e,t){return this.matchOutputRanges(e,t,function(r,i,o){if((r.coordRanges||(r.coordRanges=[])).push(i),!r.coordRange){r.coordRange=i;var n=hv[r.brushType](0,o,i);r.__rangeOffset={offset:B1[r.brushType](n.values,r.range,[1,1]),xyMinMax:n.xyMinMax}}}),e},a.prototype.matchOutputRanges=function(e,t,r){w(e,function(i){var o=this.findTargetInfo(i,t);o&&o!==!0&&w(o.coordSyses,function(n){var s=hv[i.brushType](1,n,i.range,!0);r(i,s.values,n,t)})},this)},a.prototype.setInputRanges=function(e,t){w(e,function(r){var i=this.findTargetInfo(r,t);if(r.range=r.range||[],i&&i!==!0){r.panelId=i.panelId;var o=hv[r.brushType](0,i.coordSys,r.coordRange),n=r.__rangeOffset;r.range=n?B1[r.brushType](o.values,n.offset,_E(o.xyMinMax,n.xyMinMax)):o.values}},this)},a.prototype.makePanelOpts=function(e,t){return O(this._targetInfoList,function(r){var i=r.getPanelRect();return{panelId:r.panelId,defaultBrushType:t?t(r):null,clipPath:Vl(i),isTargetByCursor:Ol(i,e,r.coordSysModel),getLinearBrushOtherExtent:Nl(i)}})},a.prototype.controlSeries=function(e,t,r){var i=this.findTargetInfo(e,r);return i===!0||i&&yt(i.coordSyses,t.coordinateSystem)>=0},a.prototype.findTargetInfo=function(e,t){for(var r=this._targetInfoList,i=N1(t,e),o=0;oa[1]&&a.reverse(),a}function N1(a,e){return cs(a,e,{includeMainTypes:xE})}var bE={grid:function(a,e){var t=a.xAxisModels,r=a.yAxisModels,i=a.gridModels,o=et(),n={},s={};!t&&!r&&!i||(w(t,function(l){var u=l.axis.grid.model;o.set(u.id,u),n[u.id]=!0}),w(r,function(l){var u=l.axis.grid.model;o.set(u.id,u),s[u.id]=!0}),w(i,function(l){o.set(l.id,l),n[l.id]=!0,s[l.id]=!0}),o.each(function(l){var u=l.coordinateSystem,p=[];w(u.getCartesians(),function(f,c){(yt(t,f.getAxis("x").model)>=0||yt(r,f.getAxis("y").model)>=0)&&p.push(f)}),e.push({panelId:"grid--"+l.id,gridModel:l,coordSysModel:l,coordSys:p[0],coordSyses:p,getPanelRect:U1.grid,xAxisDeclared:n[l.id],yAxisDeclared:s[l.id]})}))},geo:function(a,e){w(a.geoModels,function(t){var r=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:r,coordSyses:[r],getPanelRect:U1.geo})})}},O1=[function(a,e){var t=a.xAxisModel,r=a.yAxisModel,i=a.gridModel;return!i&&t&&(i=t.axis.grid.model),!i&&r&&(i=r.axis.grid.model),i&&i===e.gridModel},function(a,e){var t=a.geoModel;return t&&t===e.geoModel}],U1={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var a=this.coordSys,e=a.getBoundingRect().clone();return e.applyTransform(Nr(a)),e}},hv={lineX:J(G1,0),lineY:J(G1,1),rect:function(a,e,t,r){var i=a?e.pointToData([t[0][0],t[1][0]],r):e.dataToPoint([t[0][0],t[1][0]],r),o=a?e.pointToData([t[0][1],t[1][1]],r):e.dataToPoint([t[0][1],t[1][1]],r),n=[vv([i[0],o[0]]),vv([i[1],o[1]])];return{values:n,xyMinMax:n}},polygon:function(a,e,t,r){var i=[[1/0,-1/0],[1/0,-1/0]],o=O(t,function(n){var s=a?e.pointToData(n,r):e.dataToPoint(n,r);return i[0][0]=Math.min(i[0][0],s[0]),i[1][0]=Math.min(i[1][0],s[1]),i[0][1]=Math.max(i[0][1],s[0]),i[1][1]=Math.max(i[1][1],s[1]),s});return{values:o,xyMinMax:i}}};function G1(a,e,t,r){var i=t.getAxis(["x","y"][a]),o=vv(O([0,1],function(s){return e?i.coordToData(i.toLocalCoord(r[s]),!0):i.toGlobalCoord(i.dataToCoord(r[s]))})),n=[];return n[a]=o,n[1-a]=[NaN,NaN],{values:o,xyMinMax:n}}var B1={lineX:J(H1,0),lineY:J(H1,1),rect:function(a,e,t){return[[a[0][0]-t[0]*e[0][0],a[0][1]-t[0]*e[0][1]],[a[1][0]-t[1]*e[1][0],a[1][1]-t[1]*e[1][1]]]},polygon:function(a,e,t){return O(a,function(r,i){return[r[0]-t[0]*e[i][0],r[1]-t[1]*e[i][1]]})}};function H1(a,e,t,r){return[e[0]-r[a]*t[0],e[1]-r[a]*t[1]]}function _E(a,e){var t=F1(a),r=F1(e),i=[t[0]/r[0],t[1]/r[1]];return isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i}function F1(a){return a?[a[0][1]-a[0][0],a[1][1]-a[1][0]]:[NaN,NaN]}var Vn=SE;lt();wT();var dv=w,wE=hm("toolbox-dataZoom_");var AE=(function(a){M(e,a);function e(){return a!==null&&a.apply(this,arguments)||this}return e.prototype.render=function(t,r,i,o){this._brushController||(this._brushController=new So(i.getZr()),this._brushController.on("brush",F(this._onBrush,this)).mount()),DE(t,r,this,o,i),CE(t,r)},e.prototype.onclick=function(t,r,i){TE[i].call(this)},e.prototype.remove=function(t,r){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,r){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var r=t.areas;if(!t.isEnd||!r.length)return;var i={},o=this.ecModel;this._brushController.updateCovers([]);var n=new Vn(mv(this.model),o,{include:["grid"]});n.matchOutputRanges(r,o,function(u,p,f){if(f.type==="cartesian2d"){var c=u.brushType;c==="rect"?(s("x",f,p[0]),s("y",f,p[1])):s({lineX:"x",lineY:"y"}[c],f,p)}}),P1(o,i),this._dispatchZoomAction(i);function s(u,p,f){var c=p.getAxis(u),h=c.model,v=l(u,h,o),d=v.findRepresentativeAxisProxy(h).getMinMaxSpan();(d.minValueSpan!=null||d.maxValueSpan!=null)&&(f=Ke(0,f.slice(),c.scale.getExtent(),0,d.minValueSpan,d.maxValueSpan)),v&&(i[v.id]={dataZoomId:v.id,startValue:f[0],endValue:f[1]})}function l(u,p,f){var c;return f.eachComponent({mainType:"dataZoom",subType:"select"},function(h){var v=h.getAxisModel(u,p.componentIndex);v&&(c=h)}),c}},e.prototype._dispatchZoomAction=function(t){var r=[];dv(t,function(i,o){r.push(ot(i))}),r.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:r})},e.getDefaultOption=function(t){var r={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return r},e})(be),TE={zoom:function(){var a=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:a})},back:function(){this._dispatchZoomAction(z1(this.ecModel))}};function mv(a){var e={xAxisIndex:a.get("xAxisIndex",!0),yAxisIndex:a.get("yAxisIndex",!0),xAxisId:a.get("xAxisId",!0),yAxisId:a.get("yAxisId",!0)};return e.xAxisIndex==null&&e.xAxisId==null&&(e.xAxisIndex="all"),e.yAxisIndex==null&&e.yAxisId==null&&(e.yAxisIndex="all"),e}function CE(a,e){a.setIconStatus("back",R1(e)>1?"emphasis":"normal")}function DE(a,e,t,r,i){var o=t._isZoomActive;r&&r.type==="takeGlobalCursor"&&(o=r.key==="dataZoomSelect"?r.dataZoomSelectActive:!1),t._isZoomActive=o,a.setIconStatus("zoom",o?"emphasis":"normal");var n=new Vn(mv(a),e,{include:["grid"]}),s=n.makePanelOpts(i,function(l){return l.xAxisDeclared&&!l.yAxisDeclared?"lineX":!l.xAxisDeclared&&l.yAxisDeclared?"lineY":"rect"});t._brushController.setPanels(s).enableBrush(o&&s.length?{brushType:"auto",brushStyle:a.getModel("brushStyle").getItemStyle()}:!1)}Jm("dataZoom",function(a){var e=a.getComponent("toolbox",0),t=["feature","dataZoom"];if(!e||e.get(t)==null)return;var r=e.getModel(t),i=[],o=mv(r),n=cs(a,o);dv(n.xAxisModels,function(l){return s(l,"xAxis","xAxisIndex")}),dv(n.yAxisModels,function(l){return s(l,"yAxis","yAxisIndex")});function s(l,u,p){var f=l.componentIndex,c={type:"select",$fromToolbox:!0,filterMode:r.get("filterMode",!0)||"filter",id:wE+u+f};c[p]=f,i.push(c)}return i});var W1=AE;function gv(a){a.registerComponentModel(b1),a.registerComponentView(w1),ja("saveAsImage",A1),ja("magicType",D1),ja("dataView",M1),ja("dataZoom",W1),ja("restore",V1),nt(x1)}Ze();N();de();var ME=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e})(At),Z1=ME;N();z();Oi();z();Gi();Pd();Oi();br();br();Oi();function vu(a){var e=a.get("confine");return e!=null?!!e:a.get("renderMode")==="richText"}function Y1(a){if(he.domSupported){for(var e=document.documentElement.style,t=0,r=a.length;t-1?(s+="top:50%",l+="translateY(-50%) rotate("+(u=o==="left"?-225:-45)+"deg)"):(s+="left:50%",l+="translateX(-50%) rotate("+(u=o==="top"?225:45)+"deg)");var p=u*Math.PI/180,f=n+i,c=f*Math.abs(Math.cos(p))+f*Math.abs(Math.sin(p)),h=Math.round(((c-Math.SQRT2*i)/2+Math.SQRT2*i-(c-f)/2)*100)/100;s+=";"+o+":-"+h+"px";var v=e+" solid "+i+"px;",d=["position:absolute;width:"+n+"px;height:"+n+"px;z-index:-1;",s+";"+l+";","border-bottom:"+v,"border-right:"+v,"background-color:"+r+";"];return'
'}function EE(a,e){var t="cubic-bezier(0.23,1,0.32,1)",r=" "+a/2+"s "+t,i="opacity"+r+",visibility"+r;return e||(r=" "+a+"s "+t,i+=he.transformSupported?","+Sv+r:",left"+r+",top"+r),IE+":"+i}function j1(a,e,t){var r=a.toFixed(0)+"px",i=e.toFixed(0)+"px";if(!he.transformSupported)return t?"top:"+i+";left:"+r+";":[["top",i],["left",r]];var o=he.transform3dSupported,n="translate"+(o?"3d":"")+"("+r+","+i+(o?",0":"")+")";return t?"top:0;left:0;"+Sv+":"+n+";":[["top",0],["left",0],[yv,n]]}function RE(a){var e=[],t=a.get("fontSize"),r=a.getTextColor();r&&e.push("color:"+r),e.push("font:"+a.getFont());var i=kt(a.get("lineHeight"),Math.round(t*3/2));t&&e.push("line-height:"+i+"px");var o=a.get("textShadowColor"),n=a.get("textShadowBlur")||0,s=a.get("textShadowOffsetX")||0,l=a.get("textShadowOffsetY")||0;return o&&n&&e.push("text-shadow:"+s+"px "+l+"px "+n+"px "+o),w(["decoration","align"],function(u){var p=a.get(u);p&&e.push("text-"+u+":"+p)}),e.join(";")}function kE(a,e,t){var r=[],i=a.get("transitionDuration"),o=a.get("backgroundColor"),n=a.get("shadowBlur"),s=a.get("shadowColor"),l=a.get("shadowOffsetX"),u=a.get("shadowOffsetY"),p=a.getModel("textStyle"),f=zs(a,"html"),c=l+"px "+u+"px "+n+"px "+s;return r.push("box-shadow:"+c),e&&i&&r.push(EE(i,t)),o&&r.push("background-color:"+o),w(["width","color","radius"],function(h){var v="border-"+h,d=Cs(v),m=a.get(d);m!=null&&r.push(v+":"+m+(h==="color"?"":"px"))}),r.push(RE(p)),f!=null&&r.push("padding:"+Aa(f).join("px ")+"px"),r.join(";")+";"}function q1(a,e,t,r,i){var o=e&&e.painter;if(t){var n=o&&o.getViewportRoot();n&&Ld(a,n,t,r,i)}else{a[0]=r,a[1]=i;var s=o&&o.getViewportRootOffset();s&&(a[0]+=s.offsetLeft,a[1]+=s.offsetTop)}a[2]=a[0]/e.getWidth(),a[3]=a[1]/e.getHeight()}var VE=(function(){function a(e,t){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,he.wxa)return null;var r=document.createElement("div");r.domBelongToZr=!0,this.el=r;var i=this._zr=e.getZr(),o=t.appendTo,n=o&&(K(o)?document.querySelector(o):Go(o)?o:at(o)&&o(e.getDom()));q1(this._styleCoord,i,n,e.getWidth()/2,e.getHeight()/2),(n||e.getDom()).appendChild(r),this._api=e,this._container=n;var s=this;r.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},r.onmousemove=function(l){if(l=l||window.event,!s._enterable){var u=i.handler,p=i.painter.getViewportRoot();zd(p,l,!0),u.dispatch("mousemove",l)}},r.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return a.prototype.update=function(e){if(!this._container){var t=this._api.getDom(),r=K1(t,"position"),i=t.style;i.position!=="absolute"&&r!=="absolute"&&(i.position="relative")}var o=e.get("alwaysShowContent");o&&this._moveIfResized(),this._alwaysShowContent=o,this.el.className=e.get("className")||""},a.prototype.show=function(e,t){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var r=this.el,i=r.style,o=this._styleCoord;r.innerHTML?i.cssText=LE+kE(e,!this._firstShow,this._longHide)+j1(o[0],o[1],!0)+("border-color:"+ia(t)+";")+(e.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},a.prototype.setContent=function(e,t,r,i,o){var n=this.el;if(e==null){n.innerHTML="";return}var s="";if(K(o)&&r.get("trigger")==="item"&&!vu(r)&&(s=zE(r,i,o)),K(e))n.innerHTML=e+s;else if(e){n.innerHTML="",G(e)||(e=[e]);for(var l=0;l=0?this._tryShow(o,n):i==="leave"&&this._hide(n))},this))},e.prototype._keepShow=function(){var t=this._tooltipModel,r=this._ecModel,i=this._api,o=t.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&o!=="none"&&o!=="click"){var n=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!i.isDisposed()&&n.manuallyShowTip(t,r,i,{x:n._lastX,y:n._lastY,dataByCoordSys:n._lastDataByCoordSys})})}},e.prototype.manuallyShowTip=function(t,r,i,o){if(!(o.from===this.uid||he.node||!i.getDom())){var n=ew(o,i);this._ticket="";var s=o.dataByCoordSys,l=FE(o,r,i);if(l){var u=l.el.getBoundingRect().clone();u.applyTransform(l.el.transform),this._tryShow({offsetX:u.x+u.width/2,offsetY:u.y+u.height/2,target:l.el,position:o.position,positionDefault:"bottom"},n)}else if(o.tooltip&&o.x!=null&&o.y!=null){var p=OE;p.x=o.x,p.y=o.y,p.update(),Q(p).tooltipConfig={name:null,option:o.tooltip},this._tryShow({offsetX:o.x,offsetY:o.y,target:p},n)}else if(s)this._tryShow({offsetX:o.x,offsetY:o.y,position:o.position,dataByCoordSys:s,tooltipOption:o.tooltipOption},n);else if(o.seriesIndex!=null){if(this._manuallyAxisShowTip(t,r,i,o))return;var f=Rn(o,r),c=f.point[0],h=f.point[1];c!=null&&h!=null&&this._tryShow({offsetX:c,offsetY:h,target:f.el,position:o.position,positionDefault:"bottom"},n)}else o.x!=null&&o.y!=null&&(i.dispatchAction({type:"updateAxisPointer",x:o.x,y:o.y}),this._tryShow({offsetX:o.x,offsetY:o.y,position:o.position,target:i.getZr().findHover(o.x,o.y).target},n))}},e.prototype.manuallyHideTip=function(t,r,i,o){var n=this._tooltipContent;this._tooltipModel&&n.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,o.from!==this.uid&&this._hide(ew(o,i))},e.prototype._manuallyAxisShowTip=function(t,r,i,o){var n=o.seriesIndex,s=o.dataIndex,l=r.getComponent("axisPointer").coordSysAxesInfo;if(!(n==null||s==null||l==null)){var u=r.getSeriesByIndex(n);if(u){var p=u.getData(),f=Nn([p.getItemModel(s),u,(u.coordinateSystem||{}).model],this._tooltipModel);if(f.get("trigger")==="axis")return i.dispatchAction({type:"updateAxisPointer",seriesIndex:n,dataIndex:s,position:o.position}),!0}}},e.prototype._tryShow=function(t,r){var i=t.target,o=this._tooltipModel;if(o){this._lastX=t.offsetX,this._lastY=t.offsetY;var n=t.dataByCoordSys;if(n&&n.length)this._showAxisTooltip(n,t);else if(i){var s=Q(i);if(s.ssrType==="legend")return;this._lastDataByCoordSys=null;var l,u;$i(i,function(p){if(Q(p).dataIndex!=null)return l=p,!0;if(Q(p).tooltipConfig!=null)return u=p,!0},!0),l?this._showSeriesItemTooltip(t,l,r):u?this._showComponentItemTooltip(t,u,r):this._hide(r)}else this._lastDataByCoordSys=null,this._hide(r)}},e.prototype._showOrMove=function(t,r){var i=t.get("showDelay");r=F(r,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(r,i):r()},e.prototype._showAxisTooltip=function(t,r){var i=this._ecModel,o=this._tooltipModel,n=[r.offsetX,r.offsetY],s=Nn([r.tooltipOption],o),l=this._renderMode,u=[],p=jt("section",{blocks:[],noHeader:!0}),f=[],c=new Es;w(t,function(y){w(y.dataByAxis,function(x){var S=i.getComponent(x.axisDim+"Axis",x.axisIndex),b=x.value;if(!(!S||b==null)){var _=Yh(b,S.axis,i,x.seriesDataIndices,x.valueLabelOpt),A=jt("section",{header:_,noHeader:!Qn(_),sortBlocks:!0,blocks:[]});p.blocks.push(A),w(x.seriesDataIndices,function(T){var C=i.getSeriesByIndex(T.seriesIndex),D=T.dataIndexInside,I=C.getDataParams(D);if(!(I.dataIndex<0)){I.axisDim=x.axisDim,I.axisIndex=x.axisIndex,I.axisType=x.axisType,I.axisId=x.axisId,I.axisValue=Ws(S.axis,{value:b}),I.axisValueLabel=_,I.marker=c.makeTooltipMarker("item",ia(I.color),l);var L=sp(C.formatTooltip(D,!0,null)),P=L.frag;if(P){var R=Nn([C],o).get("valueFormatter");A.blocks.push(R?B({valueFormatter:R},P):P)}L.text&&f.push(L.text),u.push(I)}})}})}),p.blocks.reverse(),f.reverse();var h=r.position,v=s.get("order"),d=up(p,c,l,v,i.get("useUTC"),s.get("textStyle"));d&&f.unshift(d);var m=l==="richText"?` + +`:"
",g=f.join(m);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(t,u)?this._updatePosition(s,h,n[0],n[1],this._tooltipContent,u):this._showTooltipContent(s,g,u,Math.random()+"",n[0],n[1],h,null,c)})},e.prototype._showSeriesItemTooltip=function(t,r,i){var o=this._ecModel,n=Q(r),s=n.seriesIndex,l=o.getSeriesByIndex(s),u=n.dataModel||l,p=n.dataIndex,f=n.dataType,c=u.getData(f),h=this._renderMode,v=t.positionDefault,d=Nn([c.getItemModel(p),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,v?{position:v}:null),m=d.get("trigger");if(!(m!=null&&m!=="item")){var g=u.getDataParams(p,f),y=new Es;g.marker=y.makeTooltipMarker("item",ia(g.color),h);var x=sp(u.formatTooltip(p,!1,f)),S=d.get("order"),b=d.get("valueFormatter"),_=x.frag,A=_?up(b?B({valueFormatter:b},_):_,y,h,S,o.get("useUTC"),d.get("textStyle")):x.text,T="item_"+u.name+"_"+p;this._showOrMove(d,function(){this._showTooltipContent(d,A,g,T,t.offsetX,t.offsetY,t.position,t.target,y)}),i({type:"showTip",dataIndexInside:p,dataIndex:c.getRawIndex(p),seriesIndex:s,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,r,i){var o=this._renderMode==="html",n=Q(r),s=n.tooltipConfig,l=s.option||{},u=l.encodeHTMLContent;if(K(l)){var p=l;l={content:p,formatter:p},u=!0}u&&o&&l.content&&(l=ot(l),l.content=es(l.content));var f=[l],c=this._ecModel.getComponent(n.componentMainType,n.componentIndex);c&&f.push(c),f.push({formatter:l.content});var h=t.positionDefault,v=Nn(f,this._tooltipModel,h?{position:h}:null),d=v.get("content"),m=Math.random()+"",g=new Es;this._showOrMove(v,function(){var y=ot(v.get("formatterParams")||{});this._showTooltipContent(v,d,y,m,t.offsetX,t.offsetY,t.position,r,g)}),i({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,r,i,o,n,s,l,u,p){if(this._ticket="",!(!t.get("showContent")||!t.get("show"))){var f=this._tooltipContent;f.setEnterable(t.get("enterable"));var c=t.get("formatter");l=l||t.get("position");var h=r,v=this._getNearestPoint([n,s],i,t.get("trigger"),t.get("borderColor")),d=v.color;if(c)if(K(c)){var m=t.ecModel.get("useUTC"),g=G(i)?i[0]:i,y=g&&g.axisType&&g.axisType.indexOf("time")>=0;h=c,y&&(h=Gm(g.axisValue,h,m)),h=Bm(h,i,!0)}else if(at(c)){var x=F(function(S,b){S===this._ticket&&(f.setContent(b,p,t,d,l),this._updatePosition(t,l,n,s,f,i,u))},this);this._ticket=o,h=c(i,o,x)}else h=c;f.setContent(h,p,t,d,l),f.show(t,d),this._updatePosition(t,l,n,s,f,i,u)}},e.prototype._getNearestPoint=function(t,r,i,o){if(i==="axis"||G(r))return{color:o||(this._renderMode==="html"?"#fff":"none")};if(!G(r))return{color:o||r.color||r.borderColor}},e.prototype._updatePosition=function(t,r,i,o,n,s,l){var u=this._api.getWidth(),p=this._api.getHeight();r=r||t.get("position");var f=n.getSize(),c=t.get("align"),h=t.get("verticalAlign"),v=l&&l.getBoundingRect().clone();if(l&&v.applyTransform(l.transform),at(r)&&(r=r([i,o],s,n.el,v,{viewSize:[u,p],contentSize:f.slice()})),G(r))i=Z(r[0],u),o=Z(r[1],p);else if(Tt(r)){var d=r;d.width=f[0],d.height=f[1];var m=Lt(d,{width:u,height:p});i=m.x,o=m.y,c=null,h=null}else if(K(r)&&l){var g=HE(r,v,f,t.get("borderWidth"));i=g[0],o=g[1]}else{var g=GE(i,o,n,u,p,c?null:20,h?null:20);i=g[0],o=g[1]}if(c&&(i-=rw(c)?f[0]/2:c==="right"?f[0]:0),h&&(o-=rw(h)?f[1]/2:h==="bottom"?f[1]:0),vu(t)){var g=BE(i,o,n,u,p);i=g[0],o=g[1]}n.moveTo(i,o)},e.prototype._updateContentNotChangedOnAxis=function(t,r){var i=this._lastDataByCoordSys,o=this._cbParamsList,n=!!i&&i.length===t.length;return n&&w(i,function(s,l){var u=s.dataByAxis||[],p=t[l]||{},f=p.dataByAxis||[];n=n&&u.length===f.length,n&&w(u,function(c,h){var v=f[h]||{},d=c.seriesDataIndices||[],m=v.seriesDataIndices||[];n=n&&c.value===v.value&&c.axisType===v.axisType&&c.axisId===v.axisId&&d.length===m.length,n&&w(d,function(g,y){var x=m[y];n=n&&g.seriesIndex===x.seriesIndex&&g.dataIndex===x.dataIndex}),o&&w(c.seriesDataIndices,function(g){var y=g.seriesIndex,x=r[y],S=o[y];x&&S&&S.data!==x.data&&(n=!1)})})}),this._lastDataByCoordSys=t,this._cbParamsList=r,!!n},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,r){he.node||!r.getDom()||(oa(this,"_updatePosition"),this._tooltipContent.dispose(),En("itemTooltip",r))},e.type="tooltip",e})(Dt);function Nn(a,e,t){var r=e.ecModel,i;t?(i=new Nt(t,r,r),i=new Nt(e.option,i,r)):i=e;for(var o=a.length-1;o>=0;o--){var n=a[o];n&&(n instanceof Nt&&(n=n.get("tooltip",!0)),K(n)&&(n={formatter:n}),n&&(i=new Nt(n,i,r)))}return i}function ew(a,e){return a.dispatchAction||F(e.dispatchAction,e)}function GE(a,e,t,r,i,o,n){var s=t.getSize(),l=s[0],u=s[1];return o!=null&&(a+l+o+2>r?a-=l+o:a+=o),n!=null&&(e+u+n>i?e-=u+n:e+=n),[a,e]}function BE(a,e,t,r,i){var o=t.getSize(),n=o[0],s=o[1];return a=Math.min(a+n,r)-n,e=Math.min(e+s,i)-s,a=Math.max(a,0),e=Math.max(e,0),[a,e]}function HE(a,e,t,r){var i=t[0],o=t[1],n=Math.ceil(Math.SQRT2*r)+8,s=0,l=0,u=e.width,p=e.height;switch(a){case"inside":s=e.x+u/2-i/2,l=e.y+p/2-o/2;break;case"top":s=e.x+u/2-i/2,l=e.y-o-n;break;case"bottom":s=e.x+u/2-i/2,l=e.y+p+n;break;case"left":s=e.x-i-n,l=e.y+p/2-o/2;break;case"right":s=e.x+u+n,l=e.y+p/2-o/2}return[s,l]}function rw(a){return a==="center"||a==="middle"}function FE(a,e,t){var r=dm(a).queryOptionMap,i=r.keys()[0];if(!(!i||i==="series")){var o=gm(e,i,r.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}),n=o.models[0];if(n){var s=t.getViewOfComponentModel(n),l;if(s.group.traverse(function(u){var p=Q(u).tooltipConfig;if(p&&p.name===a.name)return l=u,!0}),l)return{componentMainType:i,componentIndex:n.componentIndex,el:l}}}}var aw=UE;z();function bv(a){nt(Ir),a.registerComponentModel(Z1),a.registerComponentView(aw),a.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},Te),a.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},Te)}z();lt();var WE=["rect","polygon","keep","clear"];function _v(a,e){var t=ne(a?a.brush:[]);if(t.length){var r=[];w(t,function(l){var u=l.hasOwnProperty("toolbox")?l.toolbox:[];u instanceof Array&&(r=r.concat(u))});var i=a&&a.toolbox;G(i)&&(i=i[0]),i||(i={feature:{}},a.toolbox=[i]);var o=i.feature||(i.feature={}),n=o.brush||(o.brush={}),s=n.type||(n.type=[]);s.push.apply(s,r),ZE(s),e&&!s.length&&s.push.apply(s,WE)}}function ZE(a){var e={};w(a,function(t){e[t]=1}),a.length=0,w(e,function(t,r){a.push(r)})}N();z();z();sr();z();Qo();var iw=w;function ow(a){if(a){for(var e in a)if(a.hasOwnProperty(e))return!0}}function On(a,e,t){var r={};return iw(e,function(o){var n=r[o]=i();iw(a[o],function(s,l){if(ee.isValidType(l)){var u={type:l,visual:s};t&&t(u,o),n[l]=new ee(u),l==="opacity"&&(u=ot(u),u.type="colorAlpha",n.__hidden.__alphaForOpacity=new ee(u))}})}),r;function i(){var o=function(){};o.prototype.__hidden=o.prototype;var n=new o;return n}}function du(a,e,t){var r;w(t,function(i){e.hasOwnProperty(i)&&ow(e[i])&&(r=!0)}),r&&w(t,function(i){e.hasOwnProperty(i)&&ow(e[i])?a[i]=ot(e[i]):delete a[i]})}function nw(a,e,t,r,i,o){var n={};w(a,function(f){var c=ee.prepareVisualTypes(e[f]);n[f]=c});var s;function l(f){return pp(t,s,f)}function u(f,c){fp(t,s,f,c)}o==null?t.each(p):t.each([o],p);function p(f,c){s=o==null?f:c;var h=t.getRawDataItem(s);if(!(h&&h.visualMap===!1))for(var v=r.call(i,f),d=e[v],m=n[v],g=0,y=m.length;ge[0][1]&&(e[0][1]=o[0]),o[1]e[1][1]&&(e[1][1]=o[1])}return e&&hw(e)}};function hw(a){return new Vt(a[0][0],a[1][0],a[0][1]-a[0][0],a[1][1]-a[1][0])}ye();var qE=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t,r){this.ecModel=t,this.api=r,this.model,(this._brushController=new So(r.getZr())).on("brush",F(this._onBrush,this)).mount()},e.prototype.render=function(t,r,i,o){this.model=t,this._updateController(t,r,i,o)},e.prototype.updateTransform=function(t,r,i,o){Tv(r),this._updateController(t,r,i,o)},e.prototype.updateVisual=function(t,r,i,o){this.updateTransform(t,r,i,o)},e.prototype.updateView=function(t,r,i,o){this._updateController(t,r,i,o)},e.prototype._updateController=function(t,r,i,o){(!o||o.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(i)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var r=this.model.id,i=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:r,areas:ot(i),$from:r}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:r,areas:ot(i),$from:r})},e.type="brush",e})(Dt),vw=qE;N();z();We();de();var JE="#ddd",$E=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t.areas=[],t.brushOption={},t}return e.prototype.optionUpdated=function(t,r){var i=this.option;!r&&du(i,t,["inBrush","outOfBrush"]);var o=i.inBrush=i.inBrush||{};i.outOfBrush=i.outOfBrush||{color:JE},o.hasOwnProperty("liftZ")||(o.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=O(t,function(r){return dw(this.option,r)},this))},e.prototype.setBrushOption=function(t){this.brushOption=dw(this.option,t),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},e})(At);function dw(a,e){return dt({brushType:a.brushType,brushMode:a.brushMode,transformable:a.transformable,brushStyle:new Nt(a.brushStyle).getItemStyle(),removeOnClick:a.removeOnClick,z:a.z},e,!0)}var mw=$E;N();z();var QE=["rect","polygon","lineX","lineY","keep","clear"],tR=(function(a){M(e,a);function e(){return a!==null&&a.apply(this,arguments)||this}return e.prototype.render=function(t,r,i){var o,n,s;r.eachComponent({mainType:"brush"},function(l){o=l.brushType,n=l.brushOption.brushMode||"single",s=s||!!l.areas.length}),this._brushType=o,this._brushMode=n,w(t.get("type",!0),function(l){t.setIconStatus(l,(l==="keep"?n==="multiple":l==="clear"?s:l===o)?"emphasis":"normal")})},e.prototype.updateView=function(t,r,i){this.render(t,r,i)},e.prototype.getIcons=function(){var t=this.model,r=t.get("icon",!0),i={};return w(t.get("type",!0),function(o){r[o]&&(i[o]=r[o])}),i},e.prototype.onclick=function(t,r,i){var o=this._brushType,n=this._brushMode;i==="clear"?(r.dispatchAction({type:"axisAreaSelect",intervals:[]}),r.dispatchAction({type:"brush",command:"clear",areas:[]})):r.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:i==="keep"?o:o===i?!1:i,brushMode:i==="keep"?n==="multiple"?"single":"multiple":n}})},e.getDefaultOption=function(t){var r={show:!0,type:QE.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])};return r},e})(be),gw=tR;z();function Dv(a){a.registerComponentView(vw),a.registerComponentModel(mw),a.registerPreprocessor(_v),a.registerVisual(a.PRIORITY.VISUAL.BRUSH,Cv),a.registerAction({type:"brush",event:"brush",update:"updateVisual"},function(e,t){t.eachComponent({mainType:"brush",query:e},function(r){r.setAreas(e.areas)})}),a.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},Te),a.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},Te),ja("brush",gw)}N();z();tt();Jt();Bt();Kt();de();ye();br();var eR=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t.layoutMode={type:"box",ignoreSize:!0},t}return e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e})(At),rR=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,r,i){if(this.group.removeAll(),!!t.get("show")){var o=this.group,n=t.getModel("textStyle"),s=t.getModel("subtextStyle"),l=t.get("textAlign"),u=kt(t.get("textBaseline"),t.get("textVerticalAlign")),p=new ut({style:Ct(n,{text:t.get("text"),fill:n.getTextColor()},{disableBox:!0}),z2:10}),f=p.getBoundingRect(),c=t.get("subtext"),h=new ut({style:Ct(s,{text:c,fill:s.getTextColor(),y:f.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),v=t.get("link"),d=t.get("sublink"),m=t.get("triggerEvent",!0);p.silent=!v&&!m,h.silent=!d&&!m,v&&p.on("click",function(){di(v,"_"+t.get("target"))}),d&&h.on("click",function(){di(d,"_"+t.get("subtarget"))}),Q(p).eventData=Q(h).eventData=m?{componentType:"title",componentIndex:t.componentIndex}:null,o.add(p),c&&o.add(h);var g=o.getBoundingRect(),y=t.getBoxLayoutParams();y.width=g.width,y.height=g.height;var x=Lt(y,{width:i.getWidth(),height:i.getHeight()},t.get("padding"));l||(l=t.get("left")||t.get("right"),l==="middle"&&(l="center"),l==="right"?x.x+=x.width:l==="center"&&(x.x+=x.width/2)),u||(u=t.get("top")||t.get("bottom"),u==="center"&&(u="middle"),u==="bottom"?x.y+=x.height:u==="middle"&&(x.y+=x.height/2),u=u||"top"),o.x=x.x,o.y=x.y,o.markRedraw();var S={align:l,verticalAlign:u};p.setStyle(S),h.setStyle(S),g=o.getBoundingRect();var b=x.margin,_=t.getItemStyle(["color","opacity"]);_.fill=t.get("backgroundColor");var A=new ct({shape:{x:g.x-b[3],y:g.y-b[0],width:g.width+b[1]+b[3],height:g.height+b[0]+b[2],r:t.get("borderRadius")},style:_,subPixelOptimize:!0,silent:!0});o.add(A)}},e.type="title",e})(Dt);function Mv(a){a.registerComponentModel(eR),a.registerComponentView(rR)}N();N();de();Ur();z();lt();var aR=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t.layoutMode="box",t}return e.prototype.init=function(t,r,i){this.mergeDefaultAndTheme(t,i),this._initData()},e.prototype.mergeOption=function(t){a.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){t==null&&(t=this.option.currentIndex);var r=this._data.count();this.option.loop?t=(t%r+r)%r:(t>=r&&(t=r-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t=this.option,r=t.data||[],i=t.axisType,o=this._names=[],n;i==="category"?(n=[],w(r,function(u,p){var f=ze(pm(u),""),c;Tt(u)?(c=ot(u),c.value=p):c=p,n.push(c),o.push(f)})):n=r;var s={category:"ordinal",time:"time",value:"number"}[i]||"number",l=this._data=new te([{name:"value",type:s}],this);l.initData(n,o)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if(this.get("axisType")==="category")return this._names.slice()},e.type="timeline",e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e})(At),Iv=aR;lp();z();Or();var yw=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.type="timeline.slider",e.defaultOption=De(Iv.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),e})(Iv);ae(yw,$o.prototype);var xw=yw;N();sr();Pr();tt();Bt();Kt();N();ye();var iR=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.type="timeline",e})(Dt),Sw=iR;N();xi();var oR=(function(a){M(e,a);function e(t,r,i,o){var n=a.call(this,t,r,i)||this;return n.type=o||"value",n}return e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return this.model.get("orient")==="horizontal"},e})(Ae),bw=oR;Me();bt();z();IT();LT();dp();ma();lt();Jt();Ft();$e();var Lv=Math.PI,_w=mt(),nR=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t,r){this.api=r},e.prototype.render=function(t,r,i){if(this.model=t,this.api=i,this.ecModel=r,this.group.removeAll(),t.get("show",!0)){var o=this._layout(t,i),n=this._createGroup("_mainGroup"),s=this._createGroup("_labelGroup"),l=this._axis=this._createAxis(o,t);t.formatTooltip=function(u){var p=l.scale.getLabel({value:u});return jt("nameValue",{noName:!0,value:p})},w(["AxisLine","AxisTick","Control","CurrentPointer"],function(u){this["_render"+u](o,n,l,t)},this),this._renderAxisLabel(o,s,l,t),this._position(o,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,r){var i=t.get(["label","position"]),o=t.get("orient"),n=lR(t,r),s;i==null||i==="auto"?s=o==="horizontal"?n.y+n.height/2=0||s==="+"?"left":"right"},u={horizontal:s>=0||s==="+"?"top":"bottom",vertical:"middle"},p={horizontal:0,vertical:Lv/2},f=o==="vertical"?n.height:n.width,c=t.getModel("controlStyle"),h=c.get("show",!0),v=h?c.get("itemSize"):0,d=h?c.get("itemGap"):0,m=v+d,g=t.get(["label","rotate"])||0;g=g*Lv/180;var y,x,S,b=c.get("position",!0),_=h&&c.get("showPlayBtn",!0),A=h&&c.get("showPrevBtn",!0),T=h&&c.get("showNextBtn",!0),C=0,D=f;b==="left"||b==="bottom"?(_&&(y=[0,0],C+=m),A&&(x=[C,0],C+=m),T&&(S=[D-v,0],D-=m)):(_&&(y=[D-v,0],D-=m),A&&(x=[0,0],C+=m),T&&(S=[D-v,0],D-=m));var I=[C,D];return t.get("inverse")&&I.reverse(),{viewRect:n,mainLength:f,orient:o,rotation:p[o],labelRotation:g,labelPosOpt:s,labelAlign:t.get(["label","align"])||l[o],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||u[o],playPosition:y,prevBtnPosition:x,nextBtnPosition:S,axisExtent:I,controlSize:v,controlGap:d}},e.prototype._position=function(t,r){var i=this._mainGroup,o=this._labelGroup,n=t.viewRect;if(t.orient==="vertical"){var s=He(),l=n.x,u=n.y+n.height;Fe(s,s,[-l,-u]),nr(s,s,-Lv/2),Fe(s,s,[l,u]),n=n.clone(),n.applyTransform(s)}var p=y(n),f=y(i.getBoundingRect()),c=y(o.getBoundingRect()),h=[i.x,i.y],v=[o.x,o.y];v[0]=h[0]=p[0][0];var d=t.labelPosOpt;if(d==null||K(d)){var m=d==="+"?0:1;x(h,f,p,1,m),x(v,c,p,1,1-m)}else{var m=d>=0?0:1;x(h,f,p,1,m),v[1]=h[1]+d}i.setPosition(h),o.setPosition(v),i.rotation=o.rotation=t.rotation,g(i),g(o);function g(S){S.originX=p[0][0]-S.x,S.originY=p[1][0]-S.y}function y(S){return[[S.x,S.x+S.width],[S.y,S.y+S.height]]}function x(S,b,_,A,T){S[A]+=_[A][T]-b[A][T]}},e.prototype._createAxis=function(t,r){var i=r.getData(),o=r.get("axisType"),n=sR(r,o);n.getTicks=function(){return i.mapArray(["value"],function(u){return{value:u}})};var s=i.getDataExtent("value");n.setExtent(s[0],s[1]),n.calcNiceTicks();var l=new bw("value",n,t.axisExtent,o);return l.model=r,l},e.prototype._createGroup=function(t){var r=this[t]=new Y;return this.group.add(r),r},e.prototype._renderAxisLine=function(t,r,i,o){var n=i.getExtent();if(o.get(["lineStyle","show"])){var s=new oe({shape:{x1:n[0],y1:0,x2:n[1],y2:0},style:B({lineCap:"round"},o.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});r.add(s);var l=this._progressLine=new oe({shape:{x1:n[0],x2:this._currentPointer?this._currentPointer.x:n[0],y1:0,y2:0},style:$({lineCap:"round",lineWidth:s.style.lineWidth},o.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});r.add(l)}},e.prototype._renderAxisTick=function(t,r,i,o){var n=this,s=o.getData(),l=i.scale.getTicks();this._tickSymbols=[],w(l,function(u){var p=i.dataToCoord(u.value),f=s.getItemModel(u.value),c=f.getModel("itemStyle"),h=f.getModel(["emphasis","itemStyle"]),v=f.getModel(["progress","itemStyle"]),d={x:p,y:0,onclick:F(n._changeTimeline,n,u.value)},m=ww(f,c,r,d);m.ensureState("emphasis").style=h.getItemStyle(),m.ensureState("progress").style=v.getItemStyle(),ea(m);var g=Q(m);f.get("tooltip")?(g.dataIndex=u.value,g.dataModel=o):g.dataIndex=g.dataModel=null,n._tickSymbols.push(m)})},e.prototype._renderAxisLabel=function(t,r,i,o){var n=this,s=i.getLabelModel();if(s.get("show")){var l=o.getData(),u=i.getViewLabels();this._tickLabels=[],w(u,function(p){var f=p.tickValue,c=l.getItemModel(f),h=c.getModel("label"),v=c.getModel(["emphasis","label"]),d=c.getModel(["progress","label"]),m=i.dataToCoord(p.tickValue),g=new ut({x:m,y:0,rotation:t.labelRotation-t.rotation,onclick:F(n._changeTimeline,n,f),silent:!1,style:Ct(h,{text:p.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});g.ensureState("emphasis").style=Ct(v),g.ensureState("progress").style=Ct(d),r.add(g),ea(g),_w(g).dataIndex=f,n._tickLabels.push(g)})}},e.prototype._renderControl=function(t,r,i,o){var n=t.controlSize,s=t.rotation,l=o.getModel("controlStyle").getItemStyle(),u=o.getModel(["emphasis","controlStyle"]).getItemStyle(),p=o.getPlayState(),f=o.get("inverse",!0);c(t.nextBtnPosition,"next",F(this._changeTimeline,this,f?"-":"+")),c(t.prevBtnPosition,"prev",F(this._changeTimeline,this,f?"+":"-")),c(t.playPosition,p?"stop":"play",F(this._handlePlayClick,this,!p),!0);function c(h,v,d,m){if(h){var g=li(kt(o.get(["controlStyle",v+"BtnSize"]),n),n),y=[0,-g/2,g,g],x=uR(o,v+"Icon",y,{x:h[0],y:h[1],originX:n/2,originY:0,rotation:m?-s:0,rectHover:!0,style:l,onclick:d});x.ensureState("emphasis").style=u,r.add(x),ea(x)}}},e.prototype._renderCurrentPointer=function(t,r,i,o){var n=o.getData(),s=o.getCurrentIndex(),l=n.getItemModel(s).getModel("checkpointStyle"),u=this,p={onCreate:function(f){f.draggable=!0,f.drift=F(u._handlePointerDrag,u),f.ondragend=F(u._handlePointerDragend,u),Aw(f,u._progressLine,s,i,o,!0)},onUpdate:function(f){Aw(f,u._progressLine,s,i,o)}};this._currentPointer=ww(l,l,this._mainGroup,{},this._currentPointer,p)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,r,i){this._clearTimer(),this._pointerChangeTimeline([i.offsetX,i.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,r){var i=this._toAxisCoord(t)[0],o=this._axis,n=me(o.getExtent().slice());i>n[1]&&(i=n[1]),i=0&&(n[o]=+n[o].toFixed(c)),[n,f]}var Ev={min:J(xu,"min"),max:J(xu,"max"),average:J(xu,"average"),median:J(xu,"median")};function Ja(a,e){if(e){var t=a.getData(),r=a.coordinateSystem,i=r&&r.dimensions;if(!cR(e)&&!G(e.coord)&&G(i)){var o=kv(e,t,r,a);if(e=ot(e),e.type&&Ev[e.type]&&o.baseAxis&&o.valueAxis){var n=yt(i,o.baseAxis.dim),s=yt(i,o.valueAxis.dim),l=Ev[e.type](t,o.baseDataDim,o.valueDataDim,n,s);e.coord=l[0],e.value=l[1]}else e.coord=[e.xAxis!=null?e.xAxis:e.radiusAxis,e.yAxis!=null?e.yAxis:e.angleAxis]}if(e.coord==null||!G(i))e.coord=[];else for(var u=e.coord,p=0;p<2;p++)Ev[u[p]]&&(u[p]=bu(t,t.mapDimension(i[p]),u[p]));return e}}function kv(a,e,t,r){var i={};return a.valueIndex!=null||a.valueDim!=null?(i.valueDataDim=a.valueIndex!=null?e.getDimension(a.valueIndex):a.valueDim,i.valueAxis=t.getAxis(hR(r,i.valueDataDim)),i.baseAxis=t.getOtherAxis(i.valueAxis),i.baseDataDim=e.mapDimension(i.baseAxis.dim)):(i.baseAxis=r.getBaseAxis(),i.valueAxis=t.getOtherAxis(i.baseAxis),i.baseDataDim=e.mapDimension(i.baseAxis.dim),i.valueDataDim=e.mapDimension(i.valueAxis.dim)),i}function hR(a,e){var t=a.getData().getDimensionInfo(e);return t&&t.coordDim}function $a(a,e){return a&&a.containData&&e.coord&&!Rv(e)?a.containData(e.coord):!0}function Lw(a,e,t){return a&&a.containZone&&e.coord&&t.coord&&!Rv(e)&&!Rv(t)?a.containZone(e.coord,t.coord):!0}function Su(a,e){return a?function(t,r,i,o){var n=o<2?t.coord&&t.coord[o]:t.value;return Ji(n,e[o])}:function(t,r,i,o){return Ji(t.value,e[o])}}function bu(a,e,t){if(t==="average"){var r=0,i=0;return a.each(e,function(o,n){isNaN(o)||(r+=o,i++)}),r/i}else return t==="median"?a.getMedian(e):a.getDataExtent(e)[t==="max"?1:0]}N();ye();z();lt();Ft();var Nv=mt(),vR=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(){this.markerGroupMap=et()},e.prototype.render=function(t,r,i){var o=this,n=this.markerGroupMap;n.each(function(s){Nv(s).keep=!1}),r.eachSeries(function(s){var l=Ue.getMarkerModelFromSeries(s,o.type);l&&o.renderSeries(s,l,r,i)}),n.each(function(s){!Nv(s).keep&&o.group.remove(s.group)})},e.prototype.markKeep=function(t){Nv(t).keep=!0},e.prototype.toggleBlurSeries=function(t,r){var i=this;w(t,function(o){var n=Ue.getMarkerModelFromSeries(o,i.type);if(n){var s=n.getData();s.eachItemGraphicEl(function(l){l&&(r?Mm(l):Im(l))})}})},e.type="marker",e})(Dt),zo=vR;z();Jt();Qo();function Pw(a,e,t){var r=e.coordinateSystem;a.each(function(i){var o=a.getItemModel(i),n,s=Z(o.get("x"),t.getWidth()),l=Z(o.get("y"),t.getHeight());if(!isNaN(s)&&!isNaN(l))n=[s,l];else if(e.getMarkerPosition)n=e.getMarkerPosition(a.getValues(a.dimensions,i));else if(r){var u=a.get(r.dimensions[0],i),p=a.get(r.dimensions[1],i);n=r.dataToPoint([u,p])}isNaN(s)||(n[0]=s),isNaN(l)||(n[1]=l),a.setItemLayout(i,n)})}var dR=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.updateTransform=function(t,r,i){r.eachSeries(function(o){var n=Ue.getMarkerModelFromSeries(o,"markPoint");n&&(Pw(n.getData(),o,i),this.markerGroupMap.get(o.id).updateLayout())},this)},e.prototype.renderSeries=function(t,r,i,o){var n=t.coordinateSystem,s=t.id,l=t.getData(),u=this.markerGroupMap,p=u.get(s)||u.set(s,new Wr),f=mR(n,t,r);r.setData(f),Pw(r.getData(),t,o),f.each(function(c){var h=f.getItemModel(c),v=h.getShallow("symbol"),d=h.getShallow("symbolSize"),m=h.getShallow("symbolRotate"),g=h.getShallow("symbolOffset"),y=h.getShallow("symbolKeepAspect");if(at(v)||at(d)||at(m)||at(g)){var x=r.getRawValue(c),S=r.getDataParams(c);at(v)&&(v=v(x,S)),at(d)&&(d=d(x,S)),at(m)&&(m=m(x,S)),at(g)&&(g=g(x,S))}var b=h.getModel("itemStyle").getItemStyle(),_=Ia(l,"color");b.fill||(b.fill=_),f.setItemVisual(c,{symbol:v,symbolSize:d,symbolRotate:m,symbolOffset:g,symbolKeepAspect:y,style:b})}),p.updateData(f),this.group.add(p.group),f.eachItemGraphicEl(function(c){c.traverse(function(h){Q(h).dataModel=r})}),this.markKeep(p),p.group.silent=r.get("silent")||t.get("silent")},e.type="markPoint",e})(zo);function mR(a,e,t){var r;a?r=O(a&&a.dimensions,function(s){var l=e.getData().getDimensionInfo(e.getData().mapDimension(s))||{};return B(B({},l),{name:s,ordinalMeta:null})}):r=[{name:"value",type:"float"}];var i=new te(r,t),o=O(t.get("data"),J(Ja,e));a&&(o=Ot(o,J($a,a)));var n=Su(!!a,r);return i.initData(o,null,n),i}var zw=dR;function Ov(a){a.registerComponentModel(Iw),a.registerComponentView(zw),a.registerPreprocessor(function(e){Ni(e.series,"markPoint")&&(e.markPoint=e.markPoint||{})})}N();var gR=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.createMarkerModelFromSeries=function(t,r,i){return new e(t,r,i)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e})(Ue),Ew=gR;N();Ur();bt();en();Jt();z();lt();Qo();var _u=mt(),yR=function(a,e,t,r){var i=a.getData(),o;if(G(r))o=r;else{var n=r.type;if(n==="min"||n==="max"||n==="average"||n==="median"||r.xAxis!=null||r.yAxis!=null){var s=void 0,l=void 0;if(r.yAxis!=null||r.xAxis!=null)s=e.getAxis(r.yAxis!=null?"y":"x"),l=Wt(r.yAxis,r.xAxis);else{var u=kv(r,i,e,a);s=u.valueAxis;var p=ug(i,u.valueDataDim);l=bu(i,p,n)}var f=s.dim==="x"?0:1,c=1-f,h=ot(r),v={coord:[]};h.type=null,h.coord=[],h.coord[c]=-1/0,v.coord[c]=1/0;var d=t.get("precision");d>=0&&Rt(l)&&(l=+l.toFixed(Math.min(d,20))),h.coord[f]=v.coord[f]=l,o=[h,v,{type:n,valueIndex:r.valueIndex,value:l}]}else o=[]}var m=[Ja(a,o[0]),Ja(a,o[1]),B({},o[2])];return m[2].type=m[2].type||null,dt(m[2],m[0]),dt(m[2],m[1]),m};function wu(a){return!isNaN(a)&&!isFinite(a)}function Rw(a,e,t,r){var i=1-a,o=r.dimensions[a];return wu(e[i])&&wu(t[i])&&e[a]===t[a]&&r.getAxis(o).containData(e[a])}function xR(a,e){if(a.type==="cartesian2d"){var t=e[0].coord,r=e[1].coord;if(t&&r&&(Rw(1,t,r,a)||Rw(0,t,r,a)))return!0}return $a(a,e[0])&&$a(a,e[1])}function Uv(a,e,t,r,i){var o=r.coordinateSystem,n=a.getItemModel(e),s,l=Z(n.get("x"),i.getWidth()),u=Z(n.get("y"),i.getHeight());if(!isNaN(l)&&!isNaN(u))s=[l,u];else{if(r.getMarkerPosition)s=r.getMarkerPosition(a.getValues(a.dimensions,e));else{var p=o.dimensions,f=a.get(p[0],e),c=a.get(p[1],e);s=o.dataToPoint([f,c])}if(pr(o,"cartesian2d")){var h=o.getAxis("x"),v=o.getAxis("y"),p=o.dimensions;wu(a.get(p[0],e))?s[0]=h.toGlobalCoord(h.getExtent()[t?0:1]):wu(a.get(p[1],e))&&(s[1]=v.toGlobalCoord(v.getExtent()[t?0:1]))}isNaN(l)||(s[0]=l),isNaN(u)||(s[1]=u)}a.setItemLayout(e,s)}var SR=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.updateTransform=function(t,r,i){r.eachSeries(function(o){var n=Ue.getMarkerModelFromSeries(o,"markLine");if(n){var s=n.getData(),l=_u(n).from,u=_u(n).to;l.each(function(p){Uv(l,p,!0,o,i),Uv(u,p,!1,o,i)}),s.each(function(p){s.setItemLayout(p,[l.getItemLayout(p),u.getItemLayout(p)])}),this.markerGroupMap.get(o.id).updateLayout()}},this)},e.prototype.renderSeries=function(t,r,i,o){var n=t.coordinateSystem,s=t.id,l=t.getData(),u=this.markerGroupMap,p=u.get(s)||u.set(s,new vo);this.group.add(p.group);var f=bR(n,t,r),c=f.from,h=f.to,v=f.line;_u(r).from=c,_u(r).to=h,r.setData(v);var d=r.get("symbol"),m=r.get("symbolSize"),g=r.get("symbolRotate"),y=r.get("symbolOffset");G(d)||(d=[d,d]),G(m)||(m=[m,m]),G(g)||(g=[g,g]),G(y)||(y=[y,y]),f.from.each(function(S){x(c,S,!0),x(h,S,!1)}),v.each(function(S){var b=v.getItemModel(S).getModel("lineStyle").getLineStyle();v.setItemLayout(S,[c.getItemLayout(S),h.getItemLayout(S)]),b.stroke==null&&(b.stroke=c.getItemVisual(S,"style").fill),v.setItemVisual(S,{fromSymbolKeepAspect:c.getItemVisual(S,"symbolKeepAspect"),fromSymbolOffset:c.getItemVisual(S,"symbolOffset"),fromSymbolRotate:c.getItemVisual(S,"symbolRotate"),fromSymbolSize:c.getItemVisual(S,"symbolSize"),fromSymbol:c.getItemVisual(S,"symbol"),toSymbolKeepAspect:h.getItemVisual(S,"symbolKeepAspect"),toSymbolOffset:h.getItemVisual(S,"symbolOffset"),toSymbolRotate:h.getItemVisual(S,"symbolRotate"),toSymbolSize:h.getItemVisual(S,"symbolSize"),toSymbol:h.getItemVisual(S,"symbol"),style:b})}),p.updateData(v),f.line.eachItemGraphicEl(function(S){Q(S).dataModel=r,S.traverse(function(b){Q(b).dataModel=r})});function x(S,b,_){var A=S.getItemModel(b);Uv(S,b,_,t,o);var T=A.getModel("itemStyle").getItemStyle();T.fill==null&&(T.fill=Ia(l,"color")),S.setItemVisual(b,{symbolKeepAspect:A.get("symbolKeepAspect"),symbolOffset:kt(A.get("symbolOffset",!0),y[_?0:1]),symbolRotate:kt(A.get("symbolRotate",!0),g[_?0:1]),symbolSize:kt(A.get("symbolSize"),m[_?0:1]),symbol:kt(A.get("symbol",!0),d[_?0:1]),style:T})}this.markKeep(p),p.group.silent=r.get("silent")||t.get("silent")},e.type="markLine",e})(zo);function bR(a,e,t){var r;a?r=O(a&&a.dimensions,function(u){var p=e.getData().getDimensionInfo(e.getData().mapDimension(u))||{};return B(B({},p),{name:u,ordinalMeta:null})}):r=[{name:"value",type:"float"}];var i=new te(r,t),o=new te(r,t),n=new te([],t),s=O(t.get("data"),J(yR,e,a,t));a&&(s=Ot(s,J(xR,a)));var l=Su(!!a,r);return i.initData(O(s,function(u){return u[0]}),null,l),o.initData(O(s,function(u){return u[1]}),null,l),n.initData(O(s,function(u){return u[2]})),n.hasItemOption=!0,{from:i,to:o,line:n}}var kw=SR;function Gv(a){a.registerComponentModel(Ew),a.registerComponentView(kw),a.registerPreprocessor(function(e){Ni(e.series,"markLine")&&(e.markLine=e.markLine||{})})}N();var _R=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.createMarkerModelFromSeries=function(t,r,i){return new e(t,r,i)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e})(Ue),Vw=_R;N();ni();Ur();bt();tt();Ft();z();lt();Qo();Bt();Jt();Ps();var Au=mt(),wR=function(a,e,t,r){var i=r[0],o=r[1];if(!(!i||!o)){var n=Ja(a,i),s=Ja(a,o),l=n.coord,u=s.coord;l[0]=Wt(l[0],-1/0),l[1]=Wt(l[1],-1/0),u[0]=Wt(u[0],1/0),u[1]=Wt(u[1],1/0);var p=Ui([{},n,s]);return p.coord=[n.coord,s.coord],p.x0=n.x,p.y0=n.y,p.x1=s.x,p.y1=s.y,p}};function Tu(a){return!isNaN(a)&&!isFinite(a)}function Nw(a,e,t,r){var i=1-a;return Tu(e[i])&&Tu(t[i])}function AR(a,e){var t=e.coord[0],r=e.coord[1],i={coord:t,x:e.x0,y:e.y0},o={coord:r,x:e.x1,y:e.y1};return pr(a,"cartesian2d")?t&&r&&(Nw(1,t,r,a)||Nw(0,t,r,a))?!0:Lw(a,i,o):$a(a,i)||$a(a,o)}function Ow(a,e,t,r,i){var o=r.coordinateSystem,n=a.getItemModel(e),s,l=Z(n.get(t[0]),i.getWidth()),u=Z(n.get(t[1]),i.getHeight());if(!isNaN(l)&&!isNaN(u))s=[l,u];else{if(r.getMarkerPosition){var p=a.getValues(["x0","y0"],e),f=a.getValues(["x1","y1"],e),c=o.clampData(p),h=o.clampData(f),v=[];t[0]==="x0"?v[0]=c[0]>h[0]?f[0]:p[0]:v[0]=c[0]>h[0]?p[0]:f[0],t[1]==="y0"?v[1]=c[1]>h[1]?f[1]:p[1]:v[1]=c[1]>h[1]?p[1]:f[1],s=r.getMarkerPosition(v,t,!0)}else{var d=a.get(t[0],e),m=a.get(t[1],e),g=[d,m];o.clampData&&o.clampData(g,g),s=o.dataToPoint(g,!0)}if(pr(o,"cartesian2d")){var y=o.getAxis("x"),x=o.getAxis("y"),d=a.get(t[0],e),m=a.get(t[1],e);Tu(d)?s[0]=y.toGlobalCoord(y.getExtent()[t[0]==="x0"?0:1]):Tu(m)&&(s[1]=x.toGlobalCoord(x.getExtent()[t[1]==="y0"?0:1]))}isNaN(l)||(s[0]=l),isNaN(u)||(s[1]=u)}return s}var Uw=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],TR=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.updateTransform=function(t,r,i){r.eachSeries(function(o){var n=Ue.getMarkerModelFromSeries(o,"markArea");if(n){var s=n.getData();s.each(function(l){var u=O(Uw,function(f){return Ow(s,l,f,o,i)});s.setItemLayout(l,u);var p=s.getItemGraphicEl(l);p.setShape("points",u)})}},this)},e.prototype.renderSeries=function(t,r,i,o){var n=t.coordinateSystem,s=t.id,l=t.getData(),u=this.markerGroupMap,p=u.get(s)||u.set(s,{group:new Y});this.group.add(p.group),this.markKeep(p);var f=CR(n,t,r);r.setData(f),f.each(function(c){var h=O(Uw,function(T){return Ow(f,c,T,t,o)}),v=n.getAxis("x").scale,d=n.getAxis("y").scale,m=v.getExtent(),g=d.getExtent(),y=[v.parse(f.get("x0",c)),v.parse(f.get("x1",c))],x=[d.parse(f.get("y0",c)),d.parse(f.get("y1",c))];me(y),me(x);var S=!(m[0]>y[1]||m[1]x[1]||g[1]=0},e.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e})(At),Gn=MR;N();z();ni();tt();Ft();Bt();Kt();ye();Me();Ns();Jt();var Eo=J,Hv=w,Cu=Y,IR=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t.newlineDisabled=!1,t}return e.prototype.init=function(){this.group.add(this._contentGroup=new Cu),this.group.add(this._selectorGroup=new Cu),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,r,i){var o=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!t.get("show",!0)){var n=t.get("align"),s=t.get("orient");(!n||n==="auto")&&(n=t.get("left")==="right"&&s==="vertical"?"right":"left");var l=t.get("selector",!0),u=t.get("selectorPosition",!0);l&&(!u||u==="auto")&&(u=s==="horizontal"?"end":"start"),this.renderInner(n,t,r,i,l,s,u);var p=t.getBoxLayoutParams(),f={width:i.getWidth(),height:i.getHeight()},c=t.get("padding"),h=Lt(p,f,c),v=this.layoutInner(t,n,h,o,l,u),d=Lt($({width:v.width,height:v.height},p),f,c);this.group.x=d.x-v.x,this.group.y=d.y-v.y,this.group.markRedraw(),this.group.add(this._backgroundEl=fu(v,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,r,i,o,n,s,l){var u=this.getContentGroup(),p=et(),f=r.get("selectedMode"),c=[];i.eachRawSeries(function(h){!h.get("legendHoverLink")&&c.push(h.id)}),Hv(r.getData(),function(h,v){var d=h.get("name");if(!this.newlineDisabled&&(d===""||d===` +`)){var m=new Cu;m.newline=!0,u.add(m);return}var g=i.getSeriesByName(d)[0];if(!p.get(d))if(g){var y=g.getData(),x=y.getVisual("legendLineStyle")||{},S=y.getVisual("legendIcon"),b=y.getVisual("style"),_=this._createItem(g,d,v,h,r,t,x,b,S,f,o);_.on("click",Eo(Bw,d,null,o,c)).on("mouseover",Eo(Fv,g.name,null,o,c)).on("mouseout",Eo(Wv,g.name,null,o,c)),i.ssr&&_.eachChild(function(A){var T=Q(A);T.seriesIndex=g.seriesIndex,T.dataIndex=v,T.ssrType="legend"}),p.set(d,!0)}else i.eachRawSeries(function(A){if(!p.get(d)&&A.legendVisualProvider){var T=A.legendVisualProvider;if(!T.containName(d))return;var C=T.indexOfName(d),D=T.getItemVisual(C,"style"),I=T.getItemVisual(C,"legendIcon"),L=os(D.fill);L&&L[3]===0&&(L[3]=.2,D=B(B({},D),{fill:Fi(L,"rgba")}));var P=this._createItem(A,d,v,h,r,t,{},D,I,f,o);P.on("click",Eo(Bw,null,d,o,c)).on("mouseover",Eo(Fv,null,d,o,c)).on("mouseout",Eo(Wv,null,d,o,c)),i.ssr&&P.eachChild(function(R){var E=Q(R);E.seriesIndex=A.seriesIndex,E.dataIndex=v,E.ssrType="legend"}),p.set(d,!0)}},this)},this),n&&this._createSelector(n,r,o,s,l)},e.prototype._createSelector=function(t,r,i,o,n){var s=this.getSelectorGroup();Hv(t,function(u){var p=u.type,f=new ut({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:p==="all"?"legendAllSelect":"legendInverseSelect",legendId:r.id})}});s.add(f);var c=r.getModel("selectorLabel"),h=r.getModel(["emphasis","selectorLabel"]);Ut(f,{normal:c,emphasis:h},{defaultText:u.title}),ea(f)})},e.prototype._createItem=function(t,r,i,o,n,s,l,u,p,f,c){var h=t.visualDrawType,v=n.get("itemWidth"),d=n.get("itemHeight"),m=n.isSelected(r),g=o.get("symbolRotate"),y=o.get("symbolKeepAspect"),x=o.get("icon");p=x||p||"roundRect";var S=LR(p,o,l,u,h,m,c),b=new Cu,_=o.getModel("textStyle");if(at(t.getLegendIcon)&&(!x||x==="inherit"))b.add(t.getLegendIcon({itemWidth:v,itemHeight:d,icon:p,iconRotate:g,itemStyle:S.itemStyle,lineStyle:S.lineStyle,symbolKeepAspect:y}));else{var A=x==="inherit"&&t.getData().getVisual("symbol")?g==="inherit"?t.getData().getVisual("symbolRotate"):g:0;b.add(PR({itemWidth:v,itemHeight:d,icon:p,iconRotate:A,itemStyle:S.itemStyle,lineStyle:S.lineStyle,symbolKeepAspect:y}))}var T=s==="left"?v+5:-5,C=s,D=n.get("formatter"),I=r;K(D)&&D?I=D.replace("{name}",r??""):at(D)&&(I=D(r));var L=m?_.getTextColor():o.get("inactiveColor");b.add(new ut({style:Ct(_,{text:I,x:T,y:d/2,fill:L,align:C,verticalAlign:"middle"},{inheritColor:L})}));var P=new ct({shape:b.getBoundingRect(),style:{fill:"transparent"}}),R=o.getModel("tooltip");return R.get("show")&&Sr({el:P,componentModel:n,itemName:r,itemTooltipOption:R.option}),b.add(P),b.eachChild(function(E){E.silent=!0}),P.silent=!f,this.getContentGroup().add(b),ea(b),b.__legendDataIndex=i,b},e.prototype.layoutInner=function(t,r,i,o,n,s){var l=this.getContentGroup(),u=this.getSelectorGroup();_r(t.get("orient"),l,t.get("itemGap"),i.width,i.height);var p=l.getBoundingRect(),f=[-p.x,-p.y];if(u.markRedraw(),l.markRedraw(),n){_r("horizontal",u,t.get("selectorItemGap",!0));var c=u.getBoundingRect(),h=[-c.x,-c.y],v=t.get("selectorButtonGap",!0),d=t.getOrient().index,m=d===0?"width":"height",g=d===0?"height":"width",y=d===0?"y":"x";s==="end"?h[d]+=p[m]+v:f[d]+=c[m]+v,h[1-d]+=p[g]/2-c[g]/2,u.x=h[0],u.y=h[1],l.x=f[0],l.y=f[1];var x={x:0,y:0};return x[m]=p[m]+v+c[m],x[g]=Math.max(p[g],c[g]),x[y]=Math.min(0,c[y]+h[1-d]),x}else return l.x=f[0],l.y=f[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e})(Dt);function LR(a,e,t,r,i,o,n){function s(m,g){m.lineWidth==="auto"&&(m.lineWidth=g.lineWidth>0?2:0),Hv(m,function(y,x){m[x]==="inherit"&&(m[x]=g[x])})}var l=e.getModel("itemStyle"),u=l.getItemStyle(),p=a.lastIndexOf("empty",0)===0?"fill":"stroke",f=l.getShallow("decal");u.decal=!f||f==="inherit"?r.decal:La(f,n),u.fill==="inherit"&&(u.fill=r[i]),u.stroke==="inherit"&&(u.stroke=r[p]),u.opacity==="inherit"&&(u.opacity=(i==="fill"?r:t).opacity),s(u,r);var c=e.getModel("lineStyle"),h=c.getLineStyle();if(s(h,t),u.fill==="auto"&&(u.fill=r.fill),u.stroke==="auto"&&(u.stroke=r.fill),h.stroke==="auto"&&(h.stroke=r.fill),!o){var v=e.get("inactiveBorderWidth"),d=u[p];u.lineWidth=v==="auto"?r.lineWidth>0&&d?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),h.stroke=c.get("inactiveColor"),h.lineWidth=c.get("inactiveWidth")}return{itemStyle:u,lineStyle:h}}function PR(a){var e=a.icon||"roundRect",t=zt(e,0,0,a.itemWidth,a.itemHeight,a.itemStyle.fill,a.symbolKeepAspect);return t.setStyle(a.itemStyle),t.rotation=(a.iconRotate||0)*Math.PI/180,t.setOrigin([a.itemWidth/2,a.itemHeight/2]),e.indexOf("empty")>-1&&(t.style.stroke=t.style.fill,t.style.fill="#fff",t.style.lineWidth=2),t}function Bw(a,e,t,r){Wv(a,e,t,r),t.dispatchAction({type:"legendToggleSelect",name:a??e}),Fv(a,e,t,r)}function Hw(a){for(var e=a.getZr().storage.getDisplayList(),t,r=0,i=e.length;ri[n],m=[-h.x,-h.y];r||(m[o]=p[u]);var g=[0,0],y=[-v.x,-v.y],x=kt(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(d){var S=t.get("pageButtonPosition",!0);S==="end"?y[o]+=i[n]-v[n]:g[o]+=v[n]+x}y[1-o]+=h[s]/2-v[s]/2,p.setPosition(m),f.setPosition(g),c.setPosition(y);var b={x:0,y:0};if(b[n]=d?i[n]:h[n],b[s]=Math.max(h[s],v[s]),b[l]=Math.min(0,v[l]+y[1-o]),f.__rectSize=i[n],d){var _={x:0,y:0};_[n]=Math.max(i[n]-v[n]-x,0),_[s]=b[s],f.setClipPath(new ct({shape:_})),f.__rectSize=_[n]}else c.eachChild(function(T){T.attr({invisible:!0,silent:!0})});var A=this._getPageInfo(t);return A.pageIndex!=null&&pt(p,{x:A.contentPosition[0],y:A.contentPosition[1]},d?t:null),this._updatePageInfoView(t,A),b},e.prototype._pageGo=function(t,r,i){var o=this._getPageInfo(r)[t];o!=null&&i.dispatchAction({type:"legendScroll",scrollDataIndex:o,legendId:r.id})},e.prototype._updatePageInfoView=function(t,r){var i=this._controllerGroup;w(["pagePrev","pageNext"],function(p){var f=p+"DataIndex",c=r[f]!=null,h=i.childOfName(p);h&&(h.setStyle("fill",c?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),h.cursor=c?"pointer":"default")});var o=i.childOfName("pageText"),n=t.get("pageFormatter"),s=r.pageIndex,l=s!=null?s+1:0,u=r.pageCount;o&&n&&o.setStyle("text",K(n)?n.replace("{current}",l==null?"":l+"").replace("{total}",u==null?"":u+""):n({current:l,total:u}))},e.prototype._getPageInfo=function(t){var r=t.get("scrollDataIndex",!0),i=this.getContentGroup(),o=this._containerGroup.__rectSize,n=t.getOrient().index,s=Yv[n],l=Xv[n],u=this._findTargetItemIndex(r),p=i.children(),f=p[u],c=p.length,h=c?1:0,v={contentPosition:[i.x,i.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!f)return v;var d=S(f);v.contentPosition[n]=-d.s;for(var m=u+1,g=d,y=d,x=null;m<=c;++m)x=S(p[m]),(!x&&y.e>g.s+o||x&&!b(x,g.s))&&(y.i>g.i?g=y:g=x,g&&(v.pageNextDataIndex==null&&(v.pageNextDataIndex=g.i),++v.pageCount)),y=x;for(var m=u-1,g=d,y=d,x=null;m>=-1;--m)x=S(p[m]),(!x||!b(y,x.s))&&g.i=A&&_.s<=A+o}},e.prototype._findTargetItemIndex=function(t){if(!this._showController)return 0;var r,i=this.getContentGroup(),o;return i.eachChild(function(n,s){var l=n.__legendDataIndex;o==null&&l!=null&&(o=s),l===t&&(r=s)}),r??o},e.type="legend.scroll",e})(Du),Kw=ER;function Kv(a){a.registerAction("legendScroll","legendscroll",function(e,t){var r=e.scrollDataIndex;r!=null&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},function(i){i.setScrollDataIndex(r)})})}function jw(a){nt(Mu),a.registerComponentModel(Yw),a.registerComponentView(Kw),Kv(a)}function jv(a){nt(Mu),nt(jw)}Ze();N();Or();var RR=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.type="dataZoom.inside",e.defaultOption=De(Ka.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e})(Ka),qw=RR;N();mi();lt();z();var qv=mt();function Jw(a,e,t){qv(a).coordSysRecordMap.each(function(r){var i=r.dataZoomInfoMap.get(e.uid);i&&(i.getRange=t)})}function $w(a,e){for(var t=qv(a).coordSysRecordMap,r=t.keys(),i=0;ir[t+e]&&(e=s),i=i&&n.get("preventDefaultMouseMove",!0)}),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}function tA(a){a.registerProcessor(a.PRIORITY.PROCESSOR.FILTER,function(e,t){var r=qv(t),i=r.coordSysRecordMap||(r.coordSysRecordMap=et());i.each(function(o){o.dataZoomInfoMap=null}),e.eachComponent({mainType:"dataZoom",subType:"inside"},function(o){var n=uu(o);w(n.infoList,function(s){var l=s.model.uid,u=i.get(l)||i.set(l,kR(t,s.model)),p=u.dataZoomInfoMap||(u.dataZoomInfoMap=et());p.set(o.uid,{dzReferCoordSysInfo:s,model:o,getRange:null})})}),i.each(function(o){var n=o.controller,s,l=o.dataZoomInfoMap;if(l){var u=l.keys()[0];u!=null&&(s=l.get(u))}if(!s){Qw(i,o);return}var p=OR(l);n.enable(p.controlType,p.opt),n.setPointerChecker(o.containsPoint),ur(o,"dispatchAction",s.model.get("throttle",!0),"fixRate")})})}z();var GR=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type="dataZoom.inside",t}return e.prototype.render=function(t,r,i){if(a.prototype.render.apply(this,arguments),t.noTarget()){this._clear();return}this.range=t.getPercentRange(),Jw(i,t,{pan:F(Jv.pan,this),zoom:F(Jv.zoom,this),scrollMove:F(Jv.scrollMove,this)})},e.prototype.dispose=function(){this._clear(),a.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){$w(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e})(Io),Jv={zoom:function(a,e,t,r){var i=this.range,o=i.slice(),n=a.axisModels[0];if(n){var s=$v[e](null,[r.originX,r.originY],n,t,a),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/r.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var p=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(Ke(0,o,[0,100],0,p.minSpan,p.maxSpan),this.range=o,i[0]!==o[0]||i[1]!==o[1])return o}},pan:eA(function(a,e,t,r,i,o){var n=$v[r]([o.oldX,o.oldY],[o.newX,o.newY],e,i,t);return n.signal*(a[1]-a[0])*n.pixel/n.pixelLength}),scrollMove:eA(function(a,e,t,r,i,o){var n=$v[r]([0,0],[o.scrollDelta,o.scrollDelta],e,i,t);return n.signal*(a[1]-a[0])*o.scrollDelta})};function eA(a){return function(e,t,r,i){var o=this.range,n=o.slice(),s=e.axisModels[0];if(s){var l=a(n,s,e,t,r,i);if(Ke(l,n,[0,100],"all"),this.range=n,o[0]!==n[0]||o[1]!==n[1])return n}}}var $v={grid:function(a,e,t,r,i){var o=t.axis,n={},s=i.model.coordinateSystem.getRect();return a=a||[0,0],o.dim==="x"?(n.pixel=e[0]-a[0],n.pixelLength=s.width,n.pixelStart=s.x,n.signal=o.inverse?1:-1):(n.pixel=e[1]-a[1],n.pixelLength=s.height,n.pixelStart=s.y,n.signal=o.inverse?-1:1),n},polar:function(a,e,t,r,i){var o=t.axis,n={},s=i.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return a=a?s.pointToCoord(a):[0,0],e=s.pointToCoord(e),t.mainType==="radiusAxis"?(n.pixel=e[0]-a[0],n.pixelLength=l[1]-l[0],n.pixelStart=l[0],n.signal=o.inverse?1:-1):(n.pixel=e[1]-a[1],n.pixelLength=u[1]-u[0],n.pixelStart=u[0],n.signal=o.inverse?-1:1),n},singleAxis:function(a,e,t,r,i){var o=t.axis,n=i.model.coordinateSystem.getRect(),s={};return a=a||[0,0],o.orient==="horizontal"?(s.pixel=e[0]-a[0],s.pixelLength=n.width,s.pixelStart=n.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-a[1],s.pixelLength=n.height,s.pixelStart=n.y,s.signal=o.inverse?-1:1),s}},rA=GR;function Hn(a){ki(a),a.registerComponentModel(qw),a.registerComponentView(rA),tA(a)}N();Or();var BR=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=De(Ka.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e})(Ka),aA=BR;N();z();Gi();tt();mi();bt();Kt();Ft();Me();Bt();var Fn=ct,iA=7,HR=1,Qv=30,FR=7,Wn="horizontal",oA="vertical",WR=5,ZR=["line","bar","candlestick","scatter"],YR={easing:"cubicOut",duration:100,delay:0},XR=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t._displayables={},t}return e.prototype.init=function(t,r){this.api=r,this._onBrush=F(this._onBrush,this),this._onBrushEnd=F(this._onBrushEnd,this)},e.prototype.render=function(t,r,i,o){if(a.prototype.render.apply(this,arguments),ur(this,"_dispatchZoomAction",t.get("throttle"),"fixRate"),this._orient=t.getOrient(),t.get("show")===!1){this.group.removeAll();return}if(t.noTarget()){this._clear(),this.group.removeAll();return}(!o||o.type!=="dataZoom"||o.from!==this.uid)&&this._buildView(),this._updateView()},e.prototype.dispose=function(){this._clear(),a.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){oa(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var r=this._displayables.sliderGroup=new Y;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(r),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,r=this.api,i=t.get("brushSelect"),o=i?FR:0,n=this._findCoordRect(),s={width:r.getWidth(),height:r.getHeight()},l=this._orient===Wn?{right:s.width-n.x-n.width,top:s.height-Qv-iA-o,width:n.width,height:Qv}:{right:iA,top:n.y,width:Qv,height:n.height},u=Da(t.option);w(["right","top","width","height"],function(f){u[f]==="ph"&&(u[f]=l[f])});var p=Lt(u,s);this._location={x:p.x,y:p.y},this._size=[p.width,p.height],this._orient===oA&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,r=this._location,i=this._orient,o=this.dataZoomModel.getFirstTargetAxisModel(),n=o&&o.get("inverse"),s=this._displayables.sliderGroup,l=(this._dataShadowInfo||{}).otherAxisInverse;s.attr(i===Wn&&!n?{scaleY:l?1:-1,scaleX:1}:i===Wn&&n?{scaleY:l?1:-1,scaleX:-1}:i===oA&&!n?{scaleY:l?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:l?-1:1,scaleX:-1,rotation:Math.PI/2});var u=t.getBoundingRect([s]);t.x=r.x-u.x,t.y=r.y-u.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,r=this._size,i=this._displayables.sliderGroup,o=t.get("brushSelect");i.add(new Fn({silent:!0,shape:{x:0,y:0,width:r[0],height:r[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var n=new Fn({shape:{x:0,y:0,width:r[0],height:r[1]},style:{fill:"transparent"},z2:0,onclick:F(this._onClickPanel,this)}),s=this.api.getZr();o?(n.on("mousedown",this._onBrushStart,this),n.cursor="crosshair",s.on("mousemove",this._onBrush),s.on("mouseup",this._onBrushEnd)):(s.off("mousemove",this._onBrush),s.off("mouseup",this._onBrushEnd)),i.add(n)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!t)return;var r=this._size,i=this._shadowSize||[],o=t.series,n=o.getRawData(),s=o.getShadowDim&&o.getShadowDim(),l=s&&n.getDimensionInfo(s)?o.getShadowDim():t.otherDim;if(l==null)return;var u=this._shadowPolygonPts,p=this._shadowPolylinePts;if(n!==this._shadowData||l!==this._shadowDim||r[0]!==i[0]||r[1]!==i[1]){var f=n.getDataExtent(l),c=(f[1]-f[0])*.3;f=[f[0]-c,f[1]+c];var h=[0,r[1]],v=[0,r[0]],d=[[r[0],0],[0,0]],m=[],g=v[1]/(n.count()-1),y=0,x=Math.round(n.count()/r[0]),S;n.each([l],function(C,D){if(x>0&&D%x){y+=g;return}var I=C==null||isNaN(C)||C==="",L=I?0:wt(C,f,h,!0);I&&!S&&D?(d.push([d[d.length-1][0],0]),m.push([m[m.length-1][0],0])):!I&&S&&(d.push([y,0]),m.push([y,0])),d.push([y,L]),m.push([y,L]),y+=g,S=I}),u=this._shadowPolygonPts=d,p=this._shadowPolylinePts=m}this._shadowData=n,this._shadowDim=l,this._shadowSize=[r[0],r[1]];var b=this.dataZoomModel;function _(C){var D=b.getModel(C?"selectedDataBackground":"dataBackground"),I=new Y,L=new ie({shape:{points:u},segmentIgnoreThreshold:1,style:D.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),P=new le({shape:{points:p},segmentIgnoreThreshold:1,style:D.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return I.add(L),I.add(P),I}for(var A=0;A<3;A++){var T=_(A===1);this._displayables.sliderGroup.add(T),this._displayables.dataShadowSegs.push(T)}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,r=t.get("showDataShadow");if(r!==!1){var i,o=this.ecModel;return t.eachTargetAxis(function(n,s){var l=t.getAxisProxy(n,s).getTargetSeriesModels();w(l,function(u){if(!i&&!(r!==!0&&yt(ZR,u.get("type"))<0)){var p=o.getComponent(mr(n),s).axis,f=KR(n),c,h=u.coordinateSystem;f!=null&&h.getOtherAxis&&(c=h.getOtherAxis(p).inverse),f=u.getData().mapDimension(f),i={thisAxis:p,series:u,thisDim:n,otherDim:f,otherAxisInverse:c}}},this)},this),i}},e.prototype._renderHandle=function(){var t=this.group,r=this._displayables,i=r.handles=[null,null],o=r.handleLabels=[null,null],n=this._displayables.sliderGroup,s=this._size,l=this.dataZoomModel,u=this.api,p=l.get("borderRadius")||0,f=l.get("brushSelect"),c=r.filler=new Fn({silent:f,style:{fill:l.get("fillerColor")},textConfig:{position:"inside"}});n.add(c),n.add(new Fn({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:s[0],height:s[1],r:p},style:{stroke:l.get("dataBackgroundColor")||l.get("borderColor"),lineWidth:HR,fill:"rgba(0,0,0,0)"}})),w([0,1],function(x){var S=l.get("handleIcon");!ng[S]&&S.indexOf("path://")<0&&S.indexOf("image://")<0&&(S="path://"+S);var b=zt(S,-1,0,2,2,null,!0);b.attr({cursor:nA(this._orient),draggable:!0,drift:F(this._onDragMove,this,x),ondragend:F(this._onDragEnd,this),onmouseover:F(this._showDataInfo,this,!0),onmouseout:F(this._showDataInfo,this,!1),z2:5});var _=b.getBoundingRect(),A=l.get("handleSize");this._handleHeight=Z(A,this._size[1]),this._handleWidth=_.width/_.height*this._handleHeight,b.setStyle(l.getModel("handleStyle").getItemStyle()),b.style.strokeNoScale=!0,b.rectHover=!0,b.ensureState("emphasis").style=l.getModel(["emphasis","handleStyle"]).getItemStyle(),ea(b);var T=l.get("handleColor");T!=null&&(b.style.fill=T),n.add(i[x]=b);var C=l.getModel("textStyle"),D=l.get("handleLabel")||{},I=D.show||!1;t.add(o[x]=new ut({silent:!0,invisible:!I,style:Ct(C,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:C.getTextColor(),font:C.getFont()}),z2:10}))},this);var h=c;if(f){var v=Z(l.get("moveHandleSize"),s[1]),d=r.moveHandle=new ct({style:l.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:s[1]-.5,height:v}}),m=v*.8,g=r.moveHandleIcon=zt(l.get("moveHandleIcon"),-m/2,-m/2,m,m,"#fff",!0);g.silent=!0,g.y=s[1]+v/2-.5,d.ensureState("emphasis").style=l.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var y=Math.min(s[1]/2,Math.max(v,10));h=r.moveZone=new ct({invisible:!0,shape:{y:s[1]-y,height:v+y}}),h.on("mouseover",function(){u.enterEmphasis(d)}).on("mouseout",function(){u.leaveEmphasis(d)}),n.add(d),n.add(g),n.add(h)}h.attr({draggable:!0,cursor:nA(this._orient),drift:F(this._onDragMove,this,"all"),ondragstart:F(this._showDataInfo,this,!0),ondragend:F(this._onDragEnd,this),onmouseover:F(this._showDataInfo,this,!0),onmouseout:F(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),r=this._getViewExtent();this._handleEnds=[wt(t[0],[0,100],r,!0),wt(t[1],[0,100],r,!0)]},e.prototype._updateInterval=function(t,r){var i=this.dataZoomModel,o=this._handleEnds,n=this._getViewExtent(),s=i.findRepresentativeAxisProxy().getMinMaxSpan(),l=[0,100];Ke(r,o,n,i.get("zoomLock")?"all":t,s.minSpan!=null?wt(s.minSpan,l,n,!0):null,s.maxSpan!=null?wt(s.maxSpan,l,n,!0):null);var u=this._range,p=this._range=me([wt(o[0],n,l,!0),wt(o[1],n,l,!0)]);return!u||u[0]!==p[0]||u[1]!==p[1]},e.prototype._updateView=function(t){var r=this._displayables,i=this._handleEnds,o=me(i.slice()),n=this._size;w([0,1],function(h){var v=r.handles[h],d=this._handleHeight;v.attr({scaleX:d/2,scaleY:d/2,x:i[h]+(h?-1:1),y:n[1]/2-d/2})},this),r.filler.setShape({x:o[0],y:0,width:o[1]-o[0],height:n[1]});var s={x:o[0],width:o[1]-o[0]};r.moveHandle&&(r.moveHandle.setShape(s),r.moveZone.setShape(s),r.moveZone.getBoundingRect(),r.moveHandleIcon&&r.moveHandleIcon.attr("x",s.x+s.width/2));for(var l=r.dataShadowSegs,u=[0,o[0],o[1],n[0]],p=0;pr[0]||i[1]<0||i[1]>r[1])){var o=this._handleEnds,n=(o[0]+o[1])/2,s=this._updateInterval("all",i[0]-n);this._updateView(),s&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var r=t.offsetX,i=t.offsetY;this._brushStart=new Le(r,i),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var r=this._displayables.brushRect;if(this._brushing=!1,!!r){r.attr("ignore",!0);var i=r.shape,o=+new Date;if(!(o-this._brushStartTime<200&&Math.abs(i.width)<5)){var n=this._getViewExtent(),s=[0,100];this._range=me([wt(i.x,n,s,!0),wt(i.x+i.width,n,s,!0)]),this._handleEnds=[i.x,i.x+i.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(or(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,r){var i=this._displayables,o=this.dataZoomModel,n=i.brushRect;n||(n=i.brushRect=new Fn({silent:!0,style:o.getModel("brushStyle").getItemStyle()}),i.sliderGroup.add(n)),n.attr("ignore",!1);var s=this._brushStart,l=this._displayables.sliderGroup,u=l.transformCoordToLocal(t,r),p=l.transformCoordToLocal(s.x,s.y),f=this._size;u[0]=Math.max(Math.min(f[0],u[0]),0),n.setShape({x:p[0],y:0,width:u[0]-p[0],height:f[1]})},e.prototype._dispatchZoomAction=function(t){var r=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?YR:null,start:r[0],end:r[1]})},e.prototype._findCoordRect=function(){var t,r=uu(this.dataZoomModel).infoList;if(!t&&r.length){var i=r[0].model.coordinateSystem;t=i.getRect&&i.getRect()}if(!t){var o=this.api.getWidth(),n=this.api.getHeight();t={x:o*.2,y:n*.2,width:o*.6,height:n*.6}}return t},e.type="dataZoom.slider",e})(Io);function KR(a){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[a]}function nA(a){return a==="vertical"?"ns-resize":"ew-resize"}var sA=XR;function Zn(a){a.registerComponentModel(aA),a.registerComponentView(sA),ki(a)}function td(a){nt(Hn),nt(Zn)}Ze();N();z();N();z();z();var jR={get:function(a,e,t){var r=ot((qR[a]||{})[e]);return t&&G(r)?r[r.length-1]:r}},qR={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},Iu=jR;lt();bt();de();var lA=ee.mapVisual,JR=ee.eachVisual,$R=G,uA=w,QR=me,tk=wt,ek=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t.stateList=["inRange","outOfRange"],t.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],t.layoutMode={type:"box",ignoreSize:!0},t.dataBound=[-1/0,1/0],t.targetVisuals={},t.controllerVisuals={},t}return e.prototype.init=function(t,r,i){this.mergeDefaultAndTheme(t,i)},e.prototype.optionUpdated=function(t,r){var i=this.option;!r&&du(i,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var r=this.stateList;t=F(t,this),this.controllerVisuals=On(this.option.controller,r,t),this.targetVisuals=On(this.option.target,r,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,r=[];return t==null||t==="all"?this.ecModel.eachSeries(function(i,o){r.push(o)}):r=ne(t),r},e.prototype.eachTargetSeries=function(t,r){w(this.getTargetSeriesIndices(),function(i){var o=this.ecModel.getSeriesByIndex(i);o&&t.call(r,o)},this)},e.prototype.isTargetSeries=function(t){var r=!1;return this.eachTargetSeries(function(i){i===t&&(r=!0)}),r},e.prototype.formatValueText=function(t,r,i){var o=this.option,n=o.precision,s=this.dataBound,l=o.formatter,u;i=i||["<",">"],G(t)&&(t=t.slice(),u=!0);var p=r?t:u?[f(t[0]),f(t[1])]:f(t);if(K(l))return l.replace("{value}",u?p[0]:p).replace("{value2}",u?p[1]:p);if(at(l))return u?l(t[0],t[1]):l(t);if(u)return t[0]===s[0]?i[0]+" "+p[1]:t[1]===s[1]?i[1]+" "+p[0]:p[0]+" - "+p[1];return p;function f(c){return c===s[0]?"min":c===s[1]?"max":(+c).toFixed(Math.min(n,20))}},e.prototype.resetExtent=function(){var t=this.option,r=QR([t.min,t.max]);this._dataExtent=r},e.prototype.getDataDimensionIndex=function(t){var r=this.option.dimension;if(r!=null)return t.getDimensionIndex(r);for(var i=t.dimensions,o=i.length-1;o>=0;o--){var n=i[o],s=t.getDimensionInfo(n);if(!s.isCalculationCoord)return s.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,r=this.option,i={inRange:r.inRange,outOfRange:r.outOfRange},o=r.target||(r.target={}),n=r.controller||(r.controller={});dt(o,i),dt(n,i);var s=this.isCategory();l.call(this,o),l.call(this,n),u.call(this,o,"inRange","outOfRange"),p.call(this,n);function l(f){$R(r.color)&&!f.inRange&&(f.inRange={color:r.color.slice().reverse()}),f.inRange=f.inRange||{color:t.get("gradientColor")}}function u(f,c,h){var v=f[c],d=f[h];v&&!d&&(d=f[h]={},uA(v,function(m,g){if(ee.isValidType(g)){var y=Iu.get(g,"inactive",s);y!=null&&(d[g]=y,g==="color"&&!d.hasOwnProperty("opacity")&&!d.hasOwnProperty("colorAlpha")&&(d.opacity=[0,0]))}}))}function p(f){var c=(f.inRange||{}).symbol||(f.outOfRange||{}).symbol,h=(f.inRange||{}).symbolSize||(f.outOfRange||{}).symbolSize,v=this.get("inactiveColor"),d=this.getItemSymbol(),m=d||"roundRect";uA(this.stateList,function(g){var y=this.itemSize,x=f[g];x||(x=f[g]={color:s?v:[v]}),x.symbol==null&&(x.symbol=c&&ot(c)||(s?m:[m])),x.symbolSize==null&&(x.symbolSize=h&&ot(h)||(s?y[0]:[y[0],y[0]])),x.symbol=lA(x.symbol,function(_){return _==="none"?m:_});var S=x.symbolSize;if(S!=null){var b=-1/0;JR(S,function(_){_>b&&(b=_)}),x.symbolSize=lA(S,function(_){return tk(_,[0,b],[0,y[0]],!0)})}},this)}},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e})(At),Ro=ek;bt();Or();var pA=[20,140],rk=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.optionUpdated=function(t,r){a.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(i){i.mappingMethod="linear",i.dataExtent=this.getExtent()}),this._resetRange()},e.prototype.resetItemSize=function(){a.prototype.resetItemSize.apply(this,arguments);var t=this.itemSize;(t[0]==null||isNaN(t[0]))&&(t[0]=pA[0]),(t[1]==null||isNaN(t[1]))&&(t[1]=pA[1])},e.prototype._resetRange=function(){var t=this.getExtent(),r=this.option.range;!r||r.auto?(t.auto=1,this.option.range=t):G(r)&&(r[0]>r[1]&&r.reverse(),r[0]=Math.max(r[0],t[0]),r[1]=Math.min(r[1],t[1]))},e.prototype.completeVisualOption=function(){a.prototype.completeVisualOption.apply(this,arguments),w(this.stateList,function(t){var r=this.option.controller[t].symbolSize;r&&r[0]!==r[1]&&(r[0]=r[1]/3)},this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),r=me((this.get("range")||[]).slice());return r[0]>t[1]&&(r[0]=t[1]),r[1]>t[1]&&(r[1]=t[1]),r[0]=i[1]||t<=r[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var r=[];return this.eachTargetSeries(function(i){var o=[],n=i.getData();n.each(this.getDataDimensionIndex(n),function(s,l){t[0]<=s&&s<=t[1]&&o.push(l)},this),r.push({seriesId:i.id,dataIndex:o})},this),r},e.prototype.getVisualMeta=function(t){var r=fA(this,"outOfRange",this.getExtent()),i=fA(this,"inRange",this.option.range.slice()),o=[];function n(h,v){o.push({value:h,color:t(h,v)})}for(var s=0,l=0,u=i.length,p=r.length;lt[1])break;o.push({color:this.getControllerVisual(l,"color",r),offset:s/i})}return o.push({color:this.getControllerVisual(t[1],"color",r),offset:1}),o},e.prototype._createBarPoints=function(t,r){var i=this.visualMapModel.itemSize;return[[i[0]-r[0],t[0]],[i[0],t[0]],[i[0],t[1]],[i[0]-r[1],t[1]]]},e.prototype._createBarGroup=function(t){var r=this._orient,i=this.visualMapModel.get("inverse");return new Y(r==="horizontal"&&!i?{scaleX:t==="bottom"?1:-1,rotation:Math.PI/2}:r==="horizontal"&&i?{scaleX:t==="bottom"?-1:1,rotation:-Math.PI/2}:r==="vertical"&&!i?{scaleX:t==="left"?1:-1,scaleY:-1}:{scaleX:t==="left"?1:-1})},e.prototype._updateHandle=function(t,r){if(this._useHandle){var i=this._shapes,o=this.visualMapModel,n=i.handleThumbs,s=i.handleLabels,l=o.itemSize,u=o.getExtent(),p=this._applyTransform("left",i.mainGroup);ik([0,1],function(f){var c=n[f];c.setStyle("fill",r.handlesColor[f]),c.y=t[f];var h=Jr(t[f],[0,l[1]],u,!0),v=this.getControllerVisual(h,"symbolSize");c.scaleX=c.scaleY=v/l[0],c.x=l[0]-v/2;var d=ke(i.handleLabelPoints[f],Nr(c,this.group));if(this._orient==="horizontal"){var m=p==="left"||p==="top"?(l[0]-v)/2:(l[0]-v)/-2;d[1]+=m}s[f].setStyle({x:d[0],y:d[1],text:o.formatValueText(this._dataInterval[f]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",i.mainGroup):"center"})},this)}},e.prototype._showIndicator=function(t,r,i,o){var n=this.visualMapModel,s=n.getExtent(),l=n.itemSize,u=[0,l[1]],p=this._shapes,f=p.indicator;if(f){f.attr("invisible",!1);var c={convertOpacityToAlpha:!0},h=this.getControllerVisual(t,"color",c),v=this.getControllerVisual(t,"symbolSize"),d=Jr(t,s,u,!0),m=l[0]-v/2,g={x:f.x,y:f.y};f.y=d,f.x=m;var y=ke(p.indicatorLabelPoint,Nr(f,this.group)),x=p.indicatorLabel;x.attr("invisible",!1);var S=this._applyTransform("left",p.mainGroup),b=this._orient,_=b==="horizontal";x.setStyle({text:(i||"")+n.formatValueText(r),verticalAlign:_?S:"middle",align:_?"center":S});var A={x:m,y:d,style:{fill:h}},T={style:{x:y[0],y:y[1]}};if(n.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var C={duration:100,easing:"cubicInOut",additive:!0};f.x=g.x,f.y=g.y,f.animateTo(A,C),x.animateTo(T,C)}else f.attr(A),x.attr(T);this._firstShowIndicator=!1;var D=this._shapes.handleLabels;if(D)for(var I=0;In[1]&&(f[1]=1/0),r&&(f[0]===-1/0?this._showIndicator(p,f[1],"< ",l):f[1]===1/0?this._showIndicator(p,f[0],"> ",l):this._showIndicator(p,p,"\u2248 ",l));var c=this._hoverLinkDataIndices,h=[];(r||gA(i))&&(h=this._hoverLinkDataIndices=i.findTargetDataIndices(f));var v=vm(c,h);this._dispatchHighDown("downplay",ko(v[0],i)),this._dispatchHighDown("highlight",ko(v[1],i))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var r;if($i(t.target,function(l){var u=Q(l);if(u.dataIndex!=null)return r=u,!0},!0),!!r){var i=this.ecModel.getSeriesByIndex(r.seriesIndex),o=this.visualMapModel;if(o.isTargetSeries(i)){var n=i.getData(r.dataType),s=n.getStore().get(o.getDataDimensionIndex(n),r.dataIndex);isNaN(s)||this._showIndicator(s,s)}}},e.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0);var r=this._shapes.handleLabels;if(r)for(var i=0;i=0&&(o.dimension=n,r.push(o))}}),a.getData().setVisual("visualMeta",r)}}];function uk(a,e,t,r){for(var i=e.targetVisuals[r],o=ee.prepareVisualTypes(i),n={color:Ia(a.getData(),"color")},s=0,l=o.length;s0:e.splitNumber>0)||e.calculable)?"continuous":"piecewise"}),a.registerAction(SA,bA),w(_A,function(e){a.registerVisual(a.PRIORITY.VISUAL.COMPONENT,e)}),a.registerPreprocessor(rd))}function Xn(a){a.registerComponentModel(cA),a.registerComponentView(xA),Yn(a)}N();z();bt();Or();var pk=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t._pieceList=[],t}return e.prototype.optionUpdated=function(t,r){a.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],fk[this._mode].call(this,this._pieceList),this._resetSelected(t,r);var o=this.option.categories;this.resetVisual(function(n,s){i==="categories"?(n.mappingMethod="category",n.categories=ot(o)):(n.dataExtent=this.getExtent(),n.mappingMethod="piecewise",n.pieceList=O(this._pieceList,function(l){return l=ot(l),s!=="inRange"&&(l.visual=null),l}))})},e.prototype.completeVisualOption=function(){var t=this.option,r={},i=ee.listVisualTypes(),o=this.isCategory();w(t.pieces,function(s){w(i,function(l){s.hasOwnProperty(l)&&(r[l]=1)})}),w(r,function(s,l){var u=!1;w(this.stateList,function(p){u=u||n(t,p,l)||n(t.target,p,l)},this),!u&&w(this.stateList,function(p){(t[p]||(t[p]={}))[l]=Iu.get(l,p==="inRange"?"active":"inactive",o)})},this);function n(s,l,u){return s&&s[l]&&s[l].hasOwnProperty(u)}a.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,r){var i=this.option,o=this._pieceList,n=(r?i:t).selected||{};if(i.selected=n,w(o,function(l,u){var p=this.getSelectedMapKey(l);n.hasOwnProperty(p)||(n[p]=!0)},this),i.selectedMode==="single"){var s=!1;w(o,function(l,u){var p=this.getSelectedMapKey(l);n[p]&&(s?n[p]=!1:s=!0)},this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return this._mode==="categories"?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=ot(t)},e.prototype.getValueState=function(t){var r=ee.findPieceIndex(t,this._pieceList);return r!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[r])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var r=[],i=this._pieceList;return this.eachTargetSeries(function(o){var n=[],s=o.getData();s.each(this.getDataDimensionIndex(s),function(l,u){var p=ee.findPieceIndex(l,i);p===t&&n.push(u)},this),r.push({seriesId:o.id,dataIndex:n})},this),r},e.prototype.getRepresentValue=function(t){var r;if(this.isCategory())r=t.value;else if(t.value!=null)r=t.value;else{var i=t.interval||[];r=i[0]===-1/0&&i[1]===1/0?0:(i[0]+i[1])/2}return r},e.prototype.getVisualMeta=function(t){if(this.isCategory())return;var r=[],i=["",""],o=this;function n(p,f){var c=o.getRepresentValue({interval:p});f||(f=o.getValueState(c));var h=t(c,f);p[0]===-1/0?i[0]=h:p[1]===1/0?i[1]=h:r.push({value:p[0],color:h},{value:p[1],color:h})}var s=this._pieceList.slice();if(!s.length)s.push({interval:[-1/0,1/0]});else{var l=s[0].interval[0];l!==-1/0&&s.unshift({interval:[-1/0,l]}),l=s[s.length-1].interval[1],l!==1/0&&s.push({interval:[l,1/0]})}var u=-1/0;return w(s,function(p){var f=p.interval;f&&(f[0]>u&&n([u,f[0]],"outOfRange"),n(f.slice()),u=f[1])},this),{stops:r,outerColors:i}},e.type="visualMap.piecewise",e.defaultOption=De(Ro.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e})(Ro),fk={splitNumber:function(a){var e=this.option,t=Math.min(e.precision,20),r=this.getExtent(),i=e.splitNumber;i=Math.max(parseInt(i,10),1),e.splitNumber=i;for(var o=(r[1]-r[0])/i;+o.toFixed(t)!==o&&t<5;)t++;e.precision=t,o=+o.toFixed(t),e.minOpen&&a.push({interval:[-1/0,r[0]],close:[0,0]});for(var n=0,s=r[0];n","\u2265"][r[0]]];t.text=t.text||this.formatValueText(t.value!=null?t.value:t.interval,!1,i)},this)}};function TA(a,e){var t=a.inverse;(a.orient==="vertical"?!t:t)&&e.reverse()}var CA=pk;N();z();tt();Me();Kt();Bt();var ck=(function(a){M(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.doRender=function(){var t=this.group;t.removeAll();var r=this.visualMapModel,i=r.get("textGap"),o=r.textStyleModel,n=o.getFont(),s=o.getTextColor(),l=this._getItemAlign(),u=r.itemSize,p=this._getViewData(),f=p.endsText,c=Wt(r.get("showLabel",!0),!f),h=!r.get("selectedMode");f&&this._renderEndsText(t,f[0],u,c,l),w(p.viewPieceList,function(v){var d=v.piece,m=new Y;m.onclick=F(this._onItemClick,this,d),this._enableHoverLink(m,v.indexInModelPieceList);var g=r.getRepresentValue(d);if(this._createItemSymbol(m,g,[0,0,u[0],u[1]],h),c){var y=this.visualMapModel.getValueState(g);m.add(new ut({style:{x:l==="right"?-i:u[0]+i,y:u[1]/2,text:d.text,verticalAlign:"middle",align:l,font:n,fill:s,opacity:y==="outOfRange"?.5:1},silent:h}))}t.add(m)},this),f&&this._renderEndsText(t,f[1],u,c,l),_r(r.get("orient"),t,r.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,r){var i=this;t.on("mouseover",function(){return o("highlight")}).on("mouseout",function(){return o("downplay")});var o=function(n){var s=i.visualMapModel;s.option.hoverLink&&i.api.dispatchAction({type:n,batch:ko(s.findTargetDataIndices(r),s)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,r=t.option;if(r.orient==="vertical")return Pu(t,this.api,t.itemSize);var i=r.align;return(!i||i==="auto")&&(i="left"),i},e.prototype._renderEndsText=function(t,r,i,o,n){if(r){var s=new Y,l=this.visualMapModel.textStyleModel;s.add(new ut({style:Ct(l,{x:o?n==="right"?i[0]:0:i[0]/2,y:i[1]/2,verticalAlign:"middle",align:o?n:"center",text:r})})),t.add(s)}},e.prototype._getViewData=function(){var t=this.visualMapModel,r=O(t.getPieceList(),function(s,l){return{piece:s,indexInModelPieceList:l}}),i=t.get("text"),o=t.get("orient"),n=t.get("inverse");return(o==="horizontal"?n:!n)?r.reverse():i&&(i=i.slice().reverse()),{viewPieceList:r,endsText:i}},e.prototype._createItemSymbol=function(t,r,i,o){var n=zt(this.getControllerVisual(r,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(r,"color"));n.silent=o,t.add(n)},e.prototype._onItemClick=function(t){var r=this.visualMapModel,i=r.option,o=i.selectedMode;if(o){var n=ot(i.selected),s=r.getSelectedMapKey(t);o==="single"||o===!0?(n[s]=!0,w(n,function(l,u){n[u]=u===s})):n[s]=!n[s],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:n})}},e.type="visualMap.piecewise",e})(Lu),DA=ck;function Kn(a){a.registerComponentModel(CA),a.registerComponentView(DA),Yn(a)}function ad(a){nt(Xn),nt(Kn)}z();lt();$m();var hk={label:{enabled:!0},decal:{show:!1}},MA=mt(),vk={};function id(a,e){var t=a.getModel("aria");if(!t.get("enabled"))return;var r=ot(hk);dt(r.label,a.getLocaleModel().get("aria"),!1),dt(t.option,r,!1),i(),o();function i(){var u=t.getModel("decal"),p=u.get("show");if(p){var f=et();a.eachSeries(function(c){if(!c.isColorBySeries()){var h=f.get(c.type);h||(h={},f.set(c.type,h)),MA(c).scope=h}}),a.eachRawSeries(function(c){if(a.isSeriesFiltered(c))return;if(at(c.enableAriaDecal)){c.enableAriaDecal();return}var h=c.getData();if(c.isColorBySeries()){var y=Jo(c.ecModel,c.name,vk,a.getSeriesCount()),x=h.getVisual("decal");h.setVisual("decal",S(x,y))}else{var v=c.getRawData(),d={},m=MA(c).scope;h.each(function(b){var _=h.getRawIndex(b);d[_]=b});var g=v.count();v.each(function(b){var _=d[b],A=v.getName(b)||b+"",T=Jo(c.ecModel,A,m,g),C=h.getItemVisual(_,"decal");h.setItemVisual(_,"decal",S(C,T))})}function S(b,_){var A=b?B(B({},_),b):_;return A.dirty=!0,A}})}}function o(){var u=e.getZr().dom;if(u){var p=a.getLocaleModel().get("aria"),f=t.getModel("label");if(f.option=$(f.option,p),!!f.get("enabled")){if(u.setAttribute("role","img"),f.get("description")){u.setAttribute("aria-label",f.get("description"));return}var c=a.getSeriesCount(),h=f.get(["data","maxCount"])||10,v=f.get(["series","maxCount"])||10,d=Math.min(c,v),m;if(!(c<1)){var g=s();if(g){var y=f.get(["general","withTitle"]);m=n(y,{title:g})}else m=f.get(["general","withoutTitle"]);var x=[],S=c>1?f.get(["series","multiple","prefix"]):f.get(["series","single","prefix"]);m+=n(S,{seriesCount:c}),a.eachSeries(function(T,C){if(C1?f.get(["series","multiple",L]):f.get(["series","single",L]),D=n(D,{seriesId:T.seriesIndex,seriesName:T.get("name"),seriesType:l(T.subType)});var P=T.getData();if(P.count()>h){var R=f.get(["data","partialData"]);D+=n(R,{displayCnt:h})}else D+=f.get(["data","allData"]);for(var E=f.get(["data","separator","middle"]),k=f.get(["data","separator","end"]),U=f.get(["data","excludeDimensionId"]),V=[],H=0;H":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},dk=(function(){function a(e){var t=this._condVal=K(e)?new RegExp(e):xd(e)?e:null;if(t==null){var r="";Yt(r)}}return a.prototype.evaluate=function(e){var t=typeof e;return K(t)?this._condVal.test(e):Rt(t)?this._condVal.test(e+""):!1},a})(),mk=(function(){function a(){}return a.prototype.evaluate=function(){return this.value},a})(),gk=(function(){function a(){}return a.prototype.evaluate=function(){for(var e=this.children,t=0;t2&&r.push(i),i=[P,R]}function p(P,R,E,k){No(P,E)&&No(R,k)||i.push(P,R,E,k,E,k)}function f(P,R,E,k,U,V){var H=Math.abs(R-P),X=Math.tan(H/4)*4/3,q=RT:I2&&r.push(i),r}function ud(a,e,t,r,i,o,n,s,l,u){if(No(a,t)&&No(e,r)&&No(i,n)&&No(o,s)){l.push(n,s);return}var p=2/u,f=p*p,c=n-a,h=s-e,v=Math.sqrt(c*c+h*h);c/=v,h/=v;var d=t-a,m=r-e,g=i-n,y=o-s,x=d*d+m*m,S=g*g+y*y;if(x=0&&T=0){l.push(n,s);return}var C=[],D=[];Hi(a,t,i,n,.5,C),Hi(e,r,o,s,.5,D),ud(C[0],D[0],C[1],D[1],C[2],D[2],C[3],D[3],l,u),ud(C[4],D[4],C[5],D[5],C[6],D[6],C[7],D[7],l,u)}function kA(a,e){var t=zu(a),r=[];e=e||1;for(var i=0;i0)for(var u=0;uMath.abs(u),f=UA([l,u],p?0:1,e),c=(p?s:u)/f.length,h=0;hi,n=UA([r,i],o?0:1,e),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",p=o?"y":"x",f=a[s]/n.length,c=0;c1?null:new Le(d*l+a,d*u+e)}function Ck(a,e,t){var r=new Le;Le.sub(r,t,e),r.normalize();var i=new Le;Le.sub(i,a,e);var o=i.dot(r);return o}function Oo(a,e){var t=a[a.length-1];t&&t[0]===e[0]&&t[1]===e[1]||a.push(e)}function Dk(a,e,t){for(var r=a.length,i=[],o=0;on?(u.x=p.x=s+o/2,u.y=l,p.y=l+n):(u.y=p.y=l+n/2,u.x=s,p.x=s+o),Dk(e,u,p)}function Eu(a,e,t,r){if(t===1)r.push(e);else{var i=Math.floor(t/2),o=a(e);Eu(a,o[0],i,r),Eu(a,o[1],t-i,r)}return r}function Mk(a,e){for(var t=[],r=0;r0)for(var b=r/t,_=-r/2;_<=r/2;_+=b){for(var A=Math.sin(_),T=Math.cos(_),C=0,x=0;x0;u/=2){var p=0,f=0;(a&u)>0&&(p=1),(e&u)>0&&(f=1),s+=u*u*(3*p^f),f===0&&(p===1&&(a=u-1-a,e=u-1-e),l=a,a=e,e=l)}return s}function ku(a){var e=1/0,t=1/0,r=-1/0,i=-1/0,o=O(a,function(s){var l=s.getBoundingRect(),u=s.getComputedTransform(),p=l.x+l.width/2+(u?u[4]:0),f=l.y+l.height/2+(u?u[5]:0);return e=Math.min(p,e),t=Math.min(f,t),r=Math.max(p,r),i=Math.max(f,i),[p,f]}),n=O(o,function(s,l){return{cp:s,z:Vk(s[0],s[1],e,t,r,i),path:a[l]}});return n.sort(function(s,l){return s.z-l.z}).map(function(s){return s.path})}function YA(a){return GA(a.path,a.count)}function pd(){return{fromIndividuals:[],toIndividuals:[],count:0}}function XA(a,e,t){var r=[];function i(b){for(var _=0;_=0;i--)if(!t[i].many.length){var l=t[s].many;if(l.length<=1)if(s)s=0;else return t;var o=l.length,u=Math.ceil(o/2);t[i].many=l.slice(u,o),t[s].many=l.slice(0,u),s++}return t}var Nk={clone:function(a){for(var e=[],t=1-Math.pow(1-a.path.style.opacity,1/a.count),r=0;r0))return;var s=r.getModel("universalTransition").get("delay"),l=Object.assign({setToFinal:!0},n),u,p;jA(a)&&(u=a,p=e),jA(e)&&(u=e,p=a);function f(g,y,x,S,b){var _=g.many,A=g.one;if(_.length===1&&!b){var T=y?_[0]:A,C=y?A:_[0];if(qn(T))f({many:[T],one:C},!0,x,S,!0);else{var D=s?$({delay:s(x,S)},l):l;Vu(T,C,D),o(T,C,T,C,D)}}else for(var I=$({dividePath:Nk[t],individualDelay:s&&function(U,V,H,X){return s(U+x,S)}},l),L=y?XA(_,A,I):KA(A,_,I),P=L.fromIndividuals,R=L.toIndividuals,E=P.length,k=0;ke.length,h=u?qA(p,u):qA(c?e:a,[c?a:e]),v=0,d=0;diT))for(var o=r.getIndices(),n=0;n0&&_.group.traverse(function(T){T instanceof Mt&&!T.animators.length&&T.animateFrom({style:{opacity:0}},A)})})}function eT(a){var e=a.getModel("universalTransition").get("seriesKey");return e||a.id}function rT(a){return G(a)?a.sort().join(","):a}function ti(a){if(a.hostModel)return a.hostModel.getModel("universalTransition").get("divideShape")}function Wk(a,e){var t=et(),r=et(),i=et();w(a.oldSeries,function(n,s){var l=a.oldDataGroupIds[s],u=a.oldData[s],p=eT(n),f=rT(p);r.set(f,{dataGroupId:l,data:u}),G(p)&&w(p,function(c){i.set(c,{key:f,dataGroupId:l,data:u})})});function o(n){t.get(n)&&um("Duplicated seriesKey in universalTransition "+n)}return w(e.updatedSeries,function(n){if(n.isUniversalTransitionEnabled()&&n.isAnimationEnabled()){var s=n.get("dataGroupId"),l=n.getData(),u=eT(n),p=rT(u),f=r.get(p);if(f)t.set(p,{oldSeries:[{dataGroupId:f.dataGroupId,divide:ti(f.data),data:f.data}],newSeries:[{dataGroupId:s,divide:ti(l),data:l}]});else if(G(u)){var c=[];w(u,function(d){var m=r.get(d);m.data&&c.push({dataGroupId:m.dataGroupId,divide:ti(m.data),data:m.data})}),c.length&&t.set(p,{oldSeries:c,newSeries:[{dataGroupId:s,data:l,divide:ti(l)}]})}else{var h=i.get(u);if(h){var v=t.get(h.key);v||(v={oldSeries:[{dataGroupId:h.dataGroupId,data:h.data,divide:ti(h.data)}],newSeries:[]},t.set(h.key,v)),v.newSeries.push({dataGroupId:s,data:l,divide:ti(l)})}}}}),t}function aT(a,e){for(var t=0;t=0&&i.push({dataGroupId:e.oldDataGroupIds[s],data:e.oldData[s],divide:ti(e.oldData[s]),groupIdDim:n.dimension})}),w(ne(a.to),function(n){var s=aT(t.updatedSeries,n);if(s>=0){var l=t.updatedSeries[s].getData();o.push({dataGroupId:e.oldDataGroupIds[s],data:l,divide:ti(l),groupIdDim:n.dimension})}}),i.length>0&&o.length>0&&oT(i,o,r)}function hd(a){a.registerUpdateLifecycle("series:beforeupdate",function(e,t,r){w(ne(r.seriesTransition),function(i){w(ne(i.to),function(o){for(var n=r.updatedSeries,s=0;s{"use strict";(function(t,i){typeof define=="function"&&define.amd?define([],i):typeof UC<"u"?i():(i(),t.FileSaver={})})(UC,function(){"use strict";function t(s,c){return typeof c>"u"?c={autoBom:!1}:typeof c!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),c={autoBom:!c}),c.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(s.type)?new Blob(["\uFEFF",s],{type:s.type}):s}function i(s,c,p){var g=new XMLHttpRequest;g.open("GET",s),g.responseType="blob",g.onload=function(){a(g.response,c,p)},g.onerror=function(){console.error("could not download file")},g.send()}function e(s){var c=new XMLHttpRequest;c.open("HEAD",s,!1);try{c.send()}catch{}return 200<=c.status&&299>=c.status}function n(s){try{s.dispatchEvent(new MouseEvent("click"))}catch{var c=document.createEvent("MouseEvents");c.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),s.dispatchEvent(c)}}var o=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:void 0,r=o.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),a=o.saveAs||(typeof window!="object"||window!==o?function(){}:"download"in HTMLAnchorElement.prototype&&!r?function(s,c,p){var g=o.URL||o.webkitURL,v=document.createElement("a");c=c||s.name||"download",v.download=c,v.rel="noopener",typeof s=="string"?(v.href=s,v.origin===location.origin?n(v):e(v.href)?i(s,c,p):n(v,v.target="_blank")):(v.href=g.createObjectURL(s),setTimeout(function(){g.revokeObjectURL(v.href)},4e4),setTimeout(function(){n(v)},0))}:"msSaveOrOpenBlob"in navigator?function(s,c,p){if(c=c||s.name||"download",typeof s!="string")navigator.msSaveOrOpenBlob(t(s,p),c);else if(e(s))i(s,c,p);else{var g=document.createElement("a");g.href=s,g.target="_blank",setTimeout(function(){n(g)})}}:function(s,c,p,g){if(g=g||open("","_blank"),g&&(g.document.title=g.document.body.innerText="downloading..."),typeof s=="string")return i(s,c,p);var v=s.type==="application/octet-stream",S=/constructor/i.test(o.HTMLElement)||o.safari,D=/CriOS\/[\d]+/.test(navigator.userAgent);if((D||v&&S||r)&&typeof FileReader<"u"){var I=new FileReader;I.onloadend=function(){var j=I.result;j=D?j:j.replace(/^data:[^;]*;/,"data:attachment/file;"),g?g.location.href=j:location=j,g=null},I.readAsDataURL(s)}else{var R=o.URL||o.webkitURL,Q=R.createObjectURL(s);g?g.location=Q:location.href=Q,g=null,setTimeout(function(){R.revokeObjectURL(Q)},4e4)}});o.saveAs=a.saveAs=a,typeof HC<"u"&&(HC.exports=a)})});var TP={};FP(TP,{Axis:()=>PF,ChartView:()=>QP,ComponentModel:()=>$P,ComponentView:()=>YP,List:()=>EF,Model:()=>WP,PRIORITY:()=>eF,SeriesModel:()=>qP,color:()=>UP,connect:()=>tF,dataTool:()=>xF,default:()=>IQ,dependencies:()=>JP,disConnect:()=>iF,disconnect:()=>nF,dispose:()=>oF,env:()=>LP,extendChartView:()=>VF,extendComponentModel:()=>FF,extendComponentView:()=>NF,extendSeriesModel:()=>LF,format:()=>RF,getCoordinateSystemDimensions:()=>fF,getInstanceByDom:()=>rF,getInstanceById:()=>aF,getMap:()=>CF,graphic:()=>AF,helper:()=>MF,init:()=>u_,innerDrawElementOnCanvas:()=>ZP,matrix:()=>zP,number:()=>TF,parseGeoJSON:()=>IF,parseGeoJson:()=>IF,registerAction:()=>pF,registerCoordinateSystem:()=>hF,registerLayout:()=>gF,registerLoading:()=>vF,registerLocale:()=>GP,registerMap:()=>yF,registerPostInit:()=>dF,registerPostUpdate:()=>uF,registerPreprocessor:()=>lF,registerProcessor:()=>cF,registerTheme:()=>sF,registerTransform:()=>wF,registerUpdateLifecycle:()=>mF,registerVisual:()=>_F,setCanvasCreator:()=>bF,setPlatformAPI:()=>VP,throttle:()=>KP,time:()=>kF,use:()=>Du,util:()=>OF,vector:()=>jP,version:()=>XP,zrUtil:()=>BP,zrender:()=>HP});var IQ,kP=PP(()=>{"use strict";jF();SF();DF();zF();UF();BF();Du([fx,gx]);IQ={init:function(){return u_.apply(null,arguments)}};Du(hx)});var AP=px(wu=>{"use strict";(function(t,i){typeof define=="function"&&define.amd?define(["exports","echarts"],i):typeof wu=="object"&&typeof wu.nodeName!="string"?i(wu,(kP(),NP(TP))):i({},t.echarts)})(wu,function(t,i){var e=function(s){typeof console<"u"&&console&&console.error&&console.error(s)};if(!i){e("ECharts is not Loaded");return}var n="#eee",o=function(){return{axisLine:{lineStyle:{color:n}},axisTick:{lineStyle:{color:n}},axisLabel:{color:n},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:n}}}},r=["#52656b","#ff3b77","#a3cc00","#ffffff","#b8b89f","#ffccdb","#e5ff80","#f4f4f0"],a={color:r,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:n},crossStyle:{color:n}}},legend:{textStyle:{color:n}},title:{textStyle:{color:n}},toolbox:{iconStyle:{borderColor:n}},dataZoom:{dataBackgroundColor:"#eee",fillerColor:"rgba(200,200,200,0.2)",handleColor:"#52656b"},timeline:{itemStyle:{color:r[1]},lineStyle:{color:n},controlStyle:{color:n,borderColor:n},label:{color:n}},timeAxis:o(),logAxis:o(),valueAxis:o(),categoryAxis:o(),line:{symbol:"circle"},graph:{color:r},gauge:{axisLine:{lineStyle:{color:[[.2,"#ff3b77"],[.8,"#52656b"],[1,"#b8b89f"]],width:8}}}};a.categoryAxis.splitLine.show=!1,i.registerTheme("dark-digerati",a)})});function f_(t,i){return Object.is(t,i)}var In=null,Su=!1,g_=1,gi=Symbol("SIGNAL");function ct(t){let i=In;return In=t,i}function __(){return In}var ks={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function dc(t){if(Su)throw new Error("");if(In===null)return;In.consumerOnSignalRead(t);let i=In.nextProducerIndex++;if(ku(In),it.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Iu(t){ku(t);for(let i=0;i0}function ku(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function bx(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function yx(t){return t.producerNode!==void 0}function Au(t,i){let e=Object.create(WF);e.computation=t,i!==void 0&&(e.equal=i);let n=()=>{if(v_(e),dc(e),e.value===Eu)throw e.error;return e.value};return n[gi]=e,n}var m_=Symbol("UNSET"),p_=Symbol("COMPUTING"),Eu=Symbol("ERRORED"),WF=qe(L({},ks),{value:m_,dirty:!0,error:null,equal:f_,kind:"computed",producerMustRecompute(t){return t.value===m_||t.value===p_},producerRecomputeValue(t){if(t.value===p_)throw new Error("Detected cycle in computations.");let i=t.value;t.value=p_;let e=uc(t),n,o=!1;try{n=t.computation(),ct(null),o=i!==m_&&i!==Eu&&n!==Eu&&t.equal(i,n)}catch(r){n=Eu,t.error=r}finally{Mu(t,e)}if(o){t.value=i;return}t.value=n,t.version++}});function GF(){throw new Error}var Cx=GF;function wx(t){Cx(t)}function C_(t){Cx=t}var $F=null;function w_(t,i){let e=Object.create(Ru);e.value=t,i!==void 0&&(e.equal=i);let n=()=>(dc(e),e.value);return n[gi]=e,n}function pc(t,i){y_()||wx(t),t.equal(t.value,i)||(t.value=i,qF(t))}function x_(t,i){y_()||wx(t),pc(t,i(t.value))}var Ru=qe(L({},ks),{equal:f_,value:void 0,kind:"signal"});function qF(t){t.version++,_x(),b_(t),$F?.()}function D_(t){let i=ct(null);try{return t()}finally{ct(i)}}var S_;function hc(){return S_}function ur(t){let i=S_;return S_=t,i}var Ou=Symbol("NotFound");function it(t){return typeof t=="function"}function Ur(t){let e=t(n=>{Error.call(n),n.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Pu=Ur(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription: +import{Ag as C2,Bg as w2,Bh as O2,Cg as x2,Ch as Mm,De as XF,Dg as D2,Dh as P2,Eg as E2,Ff as e2,Fg as S2,Gg as M2,Hf as t2,Hg as I2,Ig as T2,Jg as k2,Jh as N2,Ka as YF,Kg as A2,Lf as n2,Lh as F2,Mh as L2,Nb as KF,Nf as i2,Nh as V2,Oh as B2,Pg as R2,Ph as j2,Qh as z2,Sh as U2,Th as H2,Uh as G2,Vh as W2,_ as $F,_e as JF,a as L,b as Be,c as fv,d as zF,di as eE,e as JD,ei as $2,f as UF,fb as QF,fi as q2,g as nd,gg as o2,gi as tE,h as HF,hi as Y2,i as V,ii as nE,jg as r2,ji as Q2,kg as a2,l as GF,lg as s2,mg as gv,ng as l2,og as c2,pa as qF,pg as d2,q as WF,qg as u2,rg as m2,sg as p2,tg as h2,ug as f2,vg as g2,wg as _2,xg as v2,ye as ZF,yg as b2,zg as y2}from"./chunk-37LATD7Z.js";var um=JD((Ix,Tx)=>{"use strict";(function(t,i){typeof define=="function"&&define.amd?define([],i):typeof Ix<"u"?i():(i(),t.FileSaver={})})(Ix,function(){"use strict";function t(s,l){return typeof l>"u"?l={autoBom:!1}:typeof l!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),l={autoBom:!l}),l.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(s.type)?new Blob(["\uFEFF",s],{type:s.type}):s}function i(s,l,m){var f=new XMLHttpRequest;f.open("GET",s),f.responseType="blob",f.onload=function(){a(f.response,l,m)},f.onerror=function(){console.error("could not download file")},f.send()}function e(s){var l=new XMLHttpRequest;l.open("HEAD",s,!1);try{l.send()}catch{}return 200<=l.status&&299>=l.status}function n(s){try{s.dispatchEvent(new MouseEvent("click"))}catch{var l=document.createEvent("MouseEvents");l.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),s.dispatchEvent(l)}}var o=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:void 0,r=o.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),a=o.saveAs||(typeof window!="object"||window!==o?function(){}:"download"in HTMLAnchorElement.prototype&&!r?function(s,l,m){var f=o.URL||o.webkitURL,v=document.createElement("a");l=l||s.name||"download",v.download=l,v.rel="noopener",typeof s=="string"?(v.href=s,v.origin===location.origin?n(v):e(v.href)?i(s,l,m):n(v,v.target="_blank")):(v.href=f.createObjectURL(s),setTimeout(function(){f.revokeObjectURL(v.href)},4e4),setTimeout(function(){n(v)},0))}:"msSaveOrOpenBlob"in navigator?function(s,l,m){if(l=l||s.name||"download",typeof s!="string")navigator.msSaveOrOpenBlob(t(s,m),l);else if(e(s))i(s,l,m);else{var f=document.createElement("a");f.href=s,f.target="_blank",setTimeout(function(){n(f)})}}:function(s,l,m,f){if(f=f||open("","_blank"),f&&(f.document.title=f.document.body.innerText="downloading..."),typeof s=="string")return i(s,l,m);var v=s.type==="application/octet-stream",D=/constructor/i.test(o.HTMLElement)||o.safari,x=/CriOS\/[\d]+/.test(navigator.userAgent);if((x||v&&D||r)&&typeof FileReader<"u"){var I=new FileReader;I.onloadend=function(){var P=I.result;P=x?P:P.replace(/^data:[^;]*;/,"data:attachment/file;"),f?f.location.href=P:location=P,f=null},I.readAsDataURL(s)}else{var N=o.URL||o.webkitURL,q=N.createObjectURL(s);f?f.location=q:location.href=q,f=null,setTimeout(function(){N.revokeObjectURL(q)},4e4)}});o.saveAs=a.saveAs=a,typeof Tx<"u"&&(Tx.exports=a)})});var FF={};UF(FF,{Axis:()=>z2,ChartView:()=>n2,ComponentModel:()=>JF,ComponentView:()=>t2,List:()=>R2,Model:()=>ZF,PRIORITY:()=>s2,SeriesModel:()=>e2,color:()=>QF,connect:()=>l2,dataTool:()=>k2,default:()=>KK,dependencies:()=>a2,disConnect:()=>d2,disconnect:()=>c2,dispose:()=>u2,env:()=>GF,extendChartView:()=>W2,extendComponentModel:()=>U2,extendComponentView:()=>H2,extendSeriesModel:()=>G2,format:()=>B2,getCoordinateSystemDimensions:()=>w2,getInstanceByDom:()=>m2,getInstanceById:()=>p2,getMap:()=>I2,graphic:()=>V2,helper:()=>O2,init:()=>gv,innerDrawElementOnCanvas:()=>o2,matrix:()=>YF,number:()=>F2,parseGeoJSON:()=>N2,parseGeoJson:()=>N2,registerAction:()=>y2,registerCoordinateSystem:()=>C2,registerLayout:()=>x2,registerLoading:()=>E2,registerLocale:()=>XF,registerMap:()=>M2,registerPostInit:()=>_2,registerPostUpdate:()=>v2,registerPreprocessor:()=>f2,registerProcessor:()=>g2,registerTheme:()=>h2,registerTransform:()=>T2,registerUpdateLifecycle:()=>b2,registerVisual:()=>D2,setCanvasCreator:()=>S2,setPlatformAPI:()=>WF,throttle:()=>i2,time:()=>L2,use:()=>Mm,util:()=>j2,vector:()=>qF,version:()=>r2,zrUtil:()=>$F,zrender:()=>KF});var KK,LF=zF(()=>{"use strict";q2();P2();A2();Y2();Q2();$2();Mm([tE,nE]);KK={init:function(){return gv.apply(null,arguments)}};Mm(eE)});var VF=JD(Em=>{"use strict";(function(t,i){typeof define=="function"&&define.amd?define(["exports","echarts"],i):typeof Em=="object"&&typeof Em.nodeName!="string"?i(Em,(LF(),HF(FF))):i({},t.echarts)})(Em,function(t,i){var e=function(s){typeof console<"u"&&console&&console.error&&console.error(s)};if(!i){e("ECharts is not Loaded");return}var n="#eee",o=function(){return{axisLine:{lineStyle:{color:n}},axisTick:{lineStyle:{color:n}},axisLabel:{color:n},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:n}}}},r=["#52656b","#ff3b77","#a3cc00","#ffffff","#b8b89f","#ffccdb","#e5ff80","#f4f4f0"],a={color:r,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:n},crossStyle:{color:n}}},legend:{textStyle:{color:n}},title:{textStyle:{color:n}},toolbox:{iconStyle:{borderColor:n}},dataZoom:{dataBackgroundColor:"#eee",fillerColor:"rgba(200,200,200,0.2)",handleColor:"#52656b"},timeline:{itemStyle:{color:r[1]},lineStyle:{color:n},controlStyle:{color:n,borderColor:n},label:{color:n}},timeAxis:o(),logAxis:o(),valueAxis:o(),categoryAxis:o(),line:{symbol:"circle"},graph:{color:r},gauge:{axisLine:{lineStyle:{color:[[.2,"#ff3b77"],[.8,"#52656b"],[1,"#b8b89f"]],width:8}}}};a.categoryAxis.splitLine.show=!1,i.registerTheme("dark-digerati",a)})});var _v;function Im(){return _v}function rr(t){let i=_v;return _v=t,i}var iE=Symbol("NotFound");function vl(t){return t===iE||t?.name==="\u0275NotFound"}var ci=null,Tm=!1,vv=1,K2=null,Pn=Symbol("SIGNAL");function Qe(t){let i=ci;return ci=t,i}function Om(){return ci}var as={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function ss(t){if(Tm)throw new Error("");if(ci===null)return;ci.consumerOnSignalRead(t);let i=ci.producersTail;if(i!==void 0&&i.producer===t)return;let e,n=ci.recomputing;if(n&&(e=i!==void 0?i.nextProducer:ci.producers,e!==void 0&&e.producer===t)){ci.producersTail=e,e.lastReadVersion=t.version;return}let o=t.consumersTail;if(o!==void 0&&o.consumer===ci&&(!n||X2(o,ci)))return;let r=bl(ci),a={producer:t,consumer:ci,nextProducer:e,prevConsumer:o,lastReadVersion:t.version,nextConsumer:void 0};ci.producersTail=a,i!==void 0?i.nextProducer=a:ci.producers=a,r&&sE(t,a)}function oE(){vv++}function Pm(t){if(!(bl(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===vv)){if(!t.producerMustRecompute(t)&&!cs(t)){Rm(t);return}t.producerRecomputeValue(t),Rm(t)}}function bv(t){if(t.consumers===void 0)return;let i=Tm;Tm=!0;try{for(let e=t.consumers;e!==void 0;e=e.nextConsumer){let n=e.consumer;n.dirty||Z2(n)}}finally{Tm=i}}function yv(){return ci?.consumerAllowSignalWrites!==!1}function Z2(t){t.dirty=!0,bv(t),t.consumerMarkedDirty?.(t)}function Rm(t){t.dirty=!1,t.lastCleanEpoch=vv}function pa(t){return t&&rE(t),Qe(t)}function rE(t){t.producersTail=void 0,t.recomputing=!0}function ls(t,i){Qe(i),t&&aE(t)}function aE(t){t.recomputing=!1;let i=t.producersTail,e=i!==void 0?i.nextProducer:t.producers;if(e!==void 0){if(bl(t))do e=Cv(e);while(e!==void 0);i!==void 0?i.nextProducer=void 0:t.producers=void 0}}function cs(t){for(let i=t.producers;i!==void 0;i=i.nextProducer){let e=i.producer,n=i.lastReadVersion;if(n!==e.version||(Pm(e),n!==e.version))return!0}return!1}function ha(t){if(bl(t)){let i=t.producers;for(;i!==void 0;)i=Cv(i)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function sE(t,i){let e=t.consumersTail,n=bl(t);if(e!==void 0?(i.nextConsumer=e.nextConsumer,e.nextConsumer=i):(i.nextConsumer=void 0,t.consumers=i),i.prevConsumer=e,t.consumersTail=i,!n)for(let o=t.producers;o!==void 0;o=o.nextProducer)sE(o.producer,o)}function Cv(t){let i=t.producer,e=t.nextProducer,n=t.nextConsumer,o=t.prevConsumer;if(t.nextConsumer=void 0,t.prevConsumer=void 0,n!==void 0?n.prevConsumer=o:i.consumersTail=o,o!==void 0)o.nextConsumer=n;else if(i.consumers=n,!bl(i)){let r=i.producers;for(;r!==void 0;)r=Cv(r)}return e}function bl(t){return t.consumerIsAlwaysLive||t.consumers!==void 0}function Nm(t){K2?.(t)}function X2(t,i){let e=i.producersTail;if(e!==void 0){let n=i.producers;do{if(n===t)return!0;if(n===e)break;n=n.nextProducer}while(n!==void 0)}return!1}function Fm(t,i){return Object.is(t,i)}function od(t,i){let e=Object.create(J2);e.computation=t,i!==void 0&&(e.equal=i);let n=()=>{if(Pm(e),ss(e),e.value===id)throw e.error;return e.value};return n[Pn]=e,Nm(e),n}var km=Symbol("UNSET"),Am=Symbol("COMPUTING"),id=Symbol("ERRORED"),J2=Be(L({},as),{value:km,dirty:!0,error:null,equal:Fm,kind:"computed",producerMustRecompute(t){return t.value===km||t.value===Am},producerRecomputeValue(t){if(t.value===Am)throw new Error("");let i=t.value;t.value=Am;let e=pa(t),n,o=!1;try{n=t.computation(),Qe(null),o=i!==km&&i!==id&&n!==id&&t.equal(i,n)}catch(r){n=id,t.error=r}finally{ls(t,e)}if(o){t.value=i;return}t.value=n,t.version++}});function eL(){throw new Error}var lE=eL;function cE(t){lE(t)}function wv(t){lE=t}var tL=null;function xv(t,i){let e=Object.create(rd);e.value=t,i!==void 0&&(e.equal=i);let n=()=>dE(e);return n[Pn]=e,Nm(e),[n,a=>yl(e,a),a=>Dv(e,a)]}function dE(t){return ss(t),t.value}function yl(t,i){yv()||cE(t),t.equal(t.value,i)||(t.value=i,nL(t))}function Dv(t,i){yv()||cE(t),yl(t,i(t.value))}var rd=Be(L({},as),{equal:Fm,value:void 0,kind:"signal"});function nL(t){t.version++,oE(),bv(t),tL?.(t)}function at(t){return typeof t=="function"}function fa(t){let e=t(n=>{Error.call(n),n.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Lm=fa(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription: ${e.map((n,o)=>`${o+1}) ${n.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=e});function Ea(t,i){if(t){let e=t.indexOf(i);0<=e&&t.splice(e,1)}}var he=class t{constructor(i){this.initialTeardown=i,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let i;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let r of e)r.remove(this);else e.remove(this);let{initialTeardown:n}=this;if(it(n))try{n()}catch(r){i=r instanceof Pu?r.errors:[r]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let r of o)try{xx(r)}catch(a){i=i??[],a instanceof Pu?i=[...i,...a.errors]:i.push(a)}}if(i)throw new Pu(i)}}add(i){var e;if(i&&i!==this)if(this.closed)xx(i);else{if(i instanceof t){if(i.closed||i._hasParent(this))return;i._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(i)}}_hasParent(i){let{_parentage:e}=this;return e===i||Array.isArray(e)&&e.includes(i)}_addParent(i){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(i),e):e?[e,i]:i}_removeParent(i){let{_parentage:e}=this;e===i?this._parentage=null:Array.isArray(e)&&Ea(e,i)}remove(i){let{_finalizers:e}=this;e&&Ea(e,i),i instanceof t&&i._removeParent(this)}};he.EMPTY=(()=>{let t=new he;return t.closed=!0,t})();var E_=he.EMPTY;function Fu(t){return t instanceof he||t&&"closed"in t&&it(t.remove)&&it(t.add)&&it(t.unsubscribe)}function xx(t){it(t)?t():t.unsubscribe()}var fo={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var As={setTimeout(t,i,...e){let{delegate:n}=As;return n?.setTimeout?n.setTimeout(t,i,...e):setTimeout(t,i,...e)},clearTimeout(t){let{delegate:i}=As;return(i?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Nu(t){As.setTimeout(()=>{let{onUnhandledError:i}=fo;if(i)i(t);else throw t})}function Ma(){}var Dx=M_("C",void 0,void 0);function Sx(t){return M_("E",void 0,t)}function Ex(t){return M_("N",t,void 0)}function M_(t,i,e){return{kind:t,value:i,error:e}}var Ia=null;function Rs(t){if(fo.useDeprecatedSynchronousErrorHandling){let i=!Ia;if(i&&(Ia={errorThrown:!1,error:null}),t(),i){let{errorThrown:e,error:n}=Ia;if(Ia=null,e)throw n}}else t()}function Mx(t){fo.useDeprecatedSynchronousErrorHandling&&Ia&&(Ia.errorThrown=!0,Ia.error=t)}var Ta=class extends he{constructor(i){super(),this.isStopped=!1,i?(this.destination=i,Fu(i)&&i.add(this)):this.destination=JF}static create(i,e,n){return new go(i,e,n)}next(i){this.isStopped?T_(Ex(i),this):this._next(i)}error(i){this.isStopped?T_(Sx(i),this):(this.isStopped=!0,this._error(i))}complete(){this.isStopped?T_(Dx,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(i){this.destination.next(i)}_error(i){try{this.destination.error(i)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},ZF=Function.prototype.bind;function I_(t,i){return ZF.call(t,i)}var k_=class{constructor(i){this.partialObserver=i}next(i){let{partialObserver:e}=this;if(e.next)try{e.next(i)}catch(n){Lu(n)}}error(i){let{partialObserver:e}=this;if(e.error)try{e.error(i)}catch(n){Lu(n)}else Lu(i)}complete(){let{partialObserver:i}=this;if(i.complete)try{i.complete()}catch(e){Lu(e)}}},go=class extends Ta{constructor(i,e,n){super();let o;if(it(i)||!i)o={next:i??void 0,error:e??void 0,complete:n??void 0};else{let r;this&&fo.useDeprecatedNextContext?(r=Object.create(i),r.unsubscribe=()=>this.unsubscribe(),o={next:i.next&&I_(i.next,r),error:i.error&&I_(i.error,r),complete:i.complete&&I_(i.complete,r)}):o=i}this.destination=new k_(o)}};function Lu(t){fo.useDeprecatedSynchronousErrorHandling?Mx(t):Nu(t)}function XF(t){throw t}function T_(t,i){let{onStoppedNotification:e}=fo;e&&As.setTimeout(()=>e(t,i))}var JF={closed:!0,next:Ma,error:XF,complete:Ma};var Os=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ii(t){return t}function A_(...t){return R_(t)}function R_(t){return t.length===0?ii:t.length===1?t[0]:function(e){return t.reduce((n,o)=>o(n),e)}}var Le=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let n=new t;return n.source=this,n.operator=e,n}subscribe(e,n,o){let r=tN(e)?e:new go(e,n,o);return Rs(()=>{let{operator:a,source:s}=this;r.add(a?a.call(r,s):s?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(e){try{return this._subscribe(e)}catch(n){e.error(n)}}forEach(e,n){return n=Ix(n),new n((o,r)=>{let a=new go({next:s=>{try{e(s)}catch(c){r(c),a.unsubscribe()}},error:r,complete:o});this.subscribe(a)})}_subscribe(e){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(e)}[Os](){return this}pipe(...e){return R_(e)(this)}toPromise(e){return e=Ix(e),new e((n,o)=>{let r;this.subscribe(a=>r=a,a=>o(a),()=>n(r))})}}return t.create=i=>new t(i),t})();function Ix(t){var i;return(i=t??fo.Promise)!==null&&i!==void 0?i:Promise}function eN(t){return t&&it(t.next)&&it(t.error)&&it(t.complete)}function tN(t){return t&&t instanceof Ta||eN(t)&&Fu(t)}function O_(t){return it(t?.lift)}function Oe(t){return i=>{if(O_(i))return i.lift(function(e){try{return t(e,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function ke(t,i,e,n,o){return new P_(t,i,e,n,o)}var P_=class extends Ta{constructor(i,e,n,o,r,a){super(i),this.onFinalize=r,this.shouldUnsubscribe=a,this._next=e?function(s){try{e(s)}catch(c){i.error(c)}}:super._next,this._error=o?function(s){try{o(s)}catch(c){i.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(s){i.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var i;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((i=this.onFinalize)===null||i===void 0||i.call(this))}}};function Ps(){return Oe((t,i)=>{let e=null;t._refCount++;let n=ke(i,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let o=t._connection,r=e;e=null,o&&(!r||o===r)&&o.unsubscribe(),i.unsubscribe()});t.subscribe(n),n.closed||(e=t.connect())})}var Hr=class extends Le{constructor(i,e){super(),this.source=i,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,O_(i)&&(this.lift=i.lift)}_subscribe(i){return this.getSubject().subscribe(i)}getSubject(){let i=this._subject;return(!i||i.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:i}=this;this._subject=this._connection=null,i?.unsubscribe()}connect(){let i=this._connection;if(!i){i=this._connection=new he;let e=this.getSubject();i.add(this.source.subscribe(ke(e,void 0,()=>{this._teardown(),e.complete()},n=>{this._teardown(),e.error(n)},()=>this._teardown()))),i.closed&&(this._connection=null,i=he.EMPTY)}return i}refCount(){return Ps()(this)}};var Tx=Ur(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var B=(()=>{class t extends Le{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let n=new Vu(this,this);return n.operator=e,n}_throwIfClosed(){if(this.closed)throw new Tx}next(e){Rs(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(e)}})}error(e){Rs(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:n}=this;for(;n.length;)n.shift().error(e)}})}complete(){Rs(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:n,isStopped:o,observers:r}=this;return n||o?E_:(this.currentObservers=null,r.push(e),new he(()=>{this.currentObservers=null,Ea(r,e)}))}_checkFinalizedStatuses(e){let{hasError:n,thrownError:o,isStopped:r}=this;n?e.error(o):r&&e.complete()}asObservable(){let e=new Le;return e.source=this,e}}return t.create=(i,e)=>new Vu(i,e),t})(),Vu=class extends B{constructor(i,e){super(),this.destination=i,this.source=e}next(i){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.next)===null||n===void 0||n.call(e,i)}error(i){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.error)===null||n===void 0||n.call(e,i)}complete(){var i,e;(e=(i=this.destination)===null||i===void 0?void 0:i.complete)===null||e===void 0||e.call(i)}_subscribe(i){var e,n;return(n=(e=this.source)===null||e===void 0?void 0:e.subscribe(i))!==null&&n!==void 0?n:E_}};var zt=class extends B{constructor(i){super(),this._value=i}get value(){return this.getValue()}_subscribe(i){let e=super._subscribe(i);return!e.closed&&i.next(this._value),e}getValue(){let{hasError:i,thrownError:e,_value:n}=this;if(i)throw e;return this._throwIfClosed(),n}next(i){super.next(this._value=i)}};var fc={now(){return(fc.delegate||Date).now()},delegate:void 0};var qi=class extends B{constructor(i=1/0,e=1/0,n=fc){super(),this._bufferSize=i,this._windowTime=e,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,i),this._windowTime=Math.max(1,e)}next(i){let{isStopped:e,_buffer:n,_infiniteTimeWindow:o,_timestampProvider:r,_windowTime:a}=this;e||(n.push(i),!o&&n.push(r.now()+a)),this._trimBuffer(),super.next(i)}_subscribe(i){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(i),{_infiniteTimeWindow:n,_buffer:o}=this,r=o.slice();for(let a=0;at.complete());function Uu(t){return t&&it(t.schedule)}function N_(t){return t[t.length-1]}function Hu(t){return it(N_(t))?t.pop():void 0}function No(t){return Uu(N_(t))?t.pop():void 0}function kx(t,i){return typeof N_(t)=="number"?t.pop():i}function Rx(t,i,e,n){function o(r){return r instanceof e?r:new e(function(a){a(r)})}return new(e||(e=Promise))(function(r,a){function s(g){try{p(n.next(g))}catch(v){a(v)}}function c(g){try{p(n.throw(g))}catch(v){a(v)}}function p(g){g.done?r(g.value):o(g.value).then(s,c)}p((n=n.apply(t,i||[])).next())})}function Ax(t){var i=typeof Symbol=="function"&&Symbol.iterator,e=i&&t[i],n=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")}function ka(t){return this instanceof ka?(this.v=t,this):new ka(t)}function Ox(t,i,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e.apply(t,i||[]),o,r=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",a),o[Symbol.asyncIterator]=function(){return this},o;function a(D){return function(I){return Promise.resolve(I).then(D,v)}}function s(D,I){n[D]&&(o[D]=function(R){return new Promise(function(Q,j){r.push([D,R,Q,j])>1||c(D,R)})},I&&(o[D]=I(o[D])))}function c(D,I){try{p(n[D](I))}catch(R){S(r[0][3],R)}}function p(D){D.value instanceof ka?Promise.resolve(D.value.v).then(g,v):S(r[0][2],D)}function g(D){c("next",D)}function v(D){c("throw",D)}function S(D,I){D(I),r.shift(),r.length&&c(r[0][0],r[0][1])}}function Px(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=t[Symbol.asyncIterator],e;return i?i.call(t):(t=typeof Ax=="function"?Ax(t):t[Symbol.iterator](),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(r){e[r]=t[r]&&function(a){return new Promise(function(s,c){a=t[r](a),o(s,c,a.done,a.value)})}}function o(r,a,s,c){Promise.resolve(c).then(function(p){r({value:p,done:s})},a)}}var Wu=t=>t&&typeof t.length=="number"&&typeof t!="function";function Gu(t){return it(t?.then)}function $u(t){return it(t[Os])}function qu(t){return Symbol.asyncIterator&&it(t?.[Symbol.asyncIterator])}function Yu(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function nN(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Qu=nN();function Ku(t){return it(t?.[Qu])}function Zu(t){return Ox(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:n,done:o}=yield ka(e.read());if(o)return yield ka(void 0);yield yield ka(n)}}finally{e.releaseLock()}})}function Xu(t){return it(t?.getReader)}function Tt(t){if(t instanceof Le)return t;if(t!=null){if($u(t))return iN(t);if(Wu(t))return oN(t);if(Gu(t))return rN(t);if(qu(t))return Fx(t);if(Ku(t))return aN(t);if(Xu(t))return sN(t)}throw Yu(t)}function iN(t){return new Le(i=>{let e=t[Os]();if(it(e.subscribe))return e.subscribe(i);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function oN(t){return new Le(i=>{for(let e=0;e{t.then(e=>{i.closed||(i.next(e),i.complete())},e=>i.error(e)).then(null,Nu)})}function aN(t){return new Le(i=>{for(let e of t)if(i.next(e),i.closed)return;i.complete()})}function Fx(t){return new Le(i=>{lN(t,i).catch(e=>i.error(e))})}function sN(t){return Fx(Zu(t))}function lN(t,i){var e,n,o,r;return Rx(this,void 0,void 0,function*(){try{for(e=Px(t);n=yield e.next(),!n.done;){let a=n.value;if(i.next(a),i.closed)return}}catch(a){o={error:a}}finally{try{n&&!n.done&&(r=e.return)&&(yield r.call(e))}finally{if(o)throw o.error}}i.complete()})}function Qn(t,i,e,n=0,o=!1){let r=i.schedule(function(){e(),o?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(r),!o)return r}function Ju(t,i=0){return Oe((e,n)=>{e.subscribe(ke(n,o=>Qn(n,t,()=>n.next(o),i),()=>Qn(n,t,()=>n.complete(),i),o=>Qn(n,t,()=>n.error(o),i)))})}function em(t,i=0){return Oe((e,n)=>{n.add(t.schedule(()=>e.subscribe(n),i))})}function Nx(t,i){return Tt(t).pipe(em(i),Ju(i))}function Lx(t,i){return Tt(t).pipe(em(i),Ju(i))}function Vx(t,i){return new Le(e=>{let n=0;return i.schedule(function(){n===t.length?e.complete():(e.next(t[n++]),e.closed||this.schedule())})})}function Bx(t,i){return new Le(e=>{let n;return Qn(e,i,()=>{n=t[Qu](),Qn(e,i,()=>{let o,r;try{({value:o,done:r}=n.next())}catch(a){e.error(a);return}r?e.complete():e.next(o)},0,!0)}),()=>it(n?.return)&&n.return()})}function tm(t,i){if(!t)throw new Error("Iterable cannot be null");return new Le(e=>{Qn(e,i,()=>{let n=t[Symbol.asyncIterator]();Qn(e,i,()=>{n.next().then(o=>{o.done?e.complete():e.next(o.value)})},0,!0)})})}function jx(t,i){return tm(Zu(t),i)}function zx(t,i){if(t!=null){if($u(t))return Nx(t,i);if(Wu(t))return Vx(t,i);if(Gu(t))return Lx(t,i);if(qu(t))return tm(t,i);if(Ku(t))return Bx(t,i);if(Xu(t))return jx(t,i)}throw Yu(t)}function Ut(t,i){return i?zx(t,i):Tt(t)}function ie(...t){let i=No(t);return Ut(t,i)}function Lo(t,i){let e=it(t)?t:()=>t,n=o=>o.error(e());return new Le(i?o=>i.schedule(n,0,o):n)}function Ns(t){return!!t&&(t instanceof Le||it(t.lift)&&it(t.subscribe))}var _o=Ur(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function nm(t,i){let e=typeof i=="object";return new Promise((n,o)=>{let r=new go({next:a=>{n(a),r.unsubscribe()},error:o,complete:()=>{e?n(i.defaultValue):o(new _o)}});t.subscribe(r)})}function im(t){return t instanceof Date&&!isNaN(t)}var cN=Ur(t=>function(e=null){t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=e});function L_(t,i){let{first:e,each:n,with:o=dN,scheduler:r=i??Yn,meta:a=null}=im(t)?{first:t}:typeof t=="number"?{each:t}:t;if(e==null&&n==null)throw new TypeError("No timeout provided.");return Oe((s,c)=>{let p,g,v=null,S=0,D=I=>{g=Qn(c,r,()=>{try{p.unsubscribe(),Tt(o({meta:a,lastValue:v,seen:S})).subscribe(c)}catch(R){c.error(R)}},I)};p=s.subscribe(ke(c,I=>{g?.unsubscribe(),S++,c.next(v=I),n>0&&D(n)},void 0,void 0,()=>{g?.closed||g?.unsubscribe(),v=null})),!S&&D(e!=null?typeof e=="number"?e:+e-r.now():n)})}function dN(t){throw new cN(t)}function le(t,i){return Oe((e,n)=>{let o=0;e.subscribe(ke(n,r=>{n.next(t.call(i,r,o++))}))})}var{isArray:uN}=Array;function mN(t,i){return uN(i)?t(...i):t(i)}function om(t){return le(i=>mN(t,i))}var{isArray:pN}=Array,{getPrototypeOf:hN,prototype:fN,keys:gN}=Object;function rm(t){if(t.length===1){let i=t[0];if(pN(i))return{args:i,keys:null};if(_N(i)){let e=gN(i);return{args:e.map(n=>i[n]),keys:e}}}return{args:t,keys:null}}function _N(t){return t&&typeof t=="object"&&hN(t)===fN}function am(t,i){return t.reduce((e,n,o)=>(e[n]=i[o],e),{})}function Oi(...t){let i=No(t),e=Hu(t),{args:n,keys:o}=rm(t);if(n.length===0)return Ut([],i);let r=new Le(vN(n,i,o?a=>am(o,a):ii));return e?r.pipe(om(e)):r}function vN(t,i,e=ii){return n=>{Ux(i,()=>{let{length:o}=t,r=new Array(o),a=o,s=o;for(let c=0;c{let p=Ut(t[c],i),g=!1;p.subscribe(ke(n,v=>{r[c]=v,g||(g=!0,s--),s||n.next(e(r.slice()))},()=>{--a||n.complete()}))},n)},n)}}function Ux(t,i,e){t?Qn(e,t,i):i()}function Hx(t,i,e,n,o,r,a,s){let c=[],p=0,g=0,v=!1,S=()=>{v&&!c.length&&!p&&i.complete()},D=R=>p{r&&i.next(R),p++;let Q=!1;Tt(e(R,g++)).subscribe(ke(i,j=>{o?.(j),r?D(j):i.next(j)},()=>{Q=!0},void 0,()=>{if(Q)try{for(p--;c.length&&pI(j)):I(j)}S()}catch(j){i.error(j)}}))};return t.subscribe(ke(i,D,()=>{v=!0,S()})),()=>{s?.()}}function un(t,i,e=1/0){return it(i)?un((n,o)=>le((r,a)=>i(n,r,o,a))(Tt(t(n,o))),e):(typeof i=="number"&&(e=i),Oe((n,o)=>Hx(n,o,t,e)))}function Wr(t=1/0){return un(ii,t)}function Wx(){return Wr(1)}function Vo(...t){return Wx()(Ut(t,No(t)))}function Yi(t){return new Le(i=>{Tt(t()).subscribe(i)})}function _c(...t){let i=Hu(t),{args:e,keys:n}=rm(t),o=new Le(r=>{let{length:a}=e;if(!a){r.complete();return}let s=new Array(a),c=a,p=a;for(let g=0;g{v||(v=!0,p--),s[g]=S},()=>c--,void 0,()=>{(!c||!v)&&(p||r.next(n?am(n,s):s),r.complete())}))}});return i?o.pipe(om(i)):o}function vo(t=0,i,e=F_){let n=-1;return i!=null&&(Uu(i)?e=i:n=i),new Le(o=>{let r=im(t)?+t-e.now():t;r<0&&(r=0);let a=0;return e.schedule(function(){o.closed||(o.next(a++),0<=n?this.schedule(void 0,n):o.complete())},r)})}function V_(t=0,i=Yn){return t<0&&(t=0),vo(t,t,i)}function yt(...t){let i=No(t),e=kx(t,1/0),n=t;return n.length?n.length===1?Tt(n[0]):Wr(e)(Ut(n,i)):Cn}function Ye(t,i){return Oe((e,n)=>{let o=0;e.subscribe(ke(n,r=>t.call(i,r,o++)&&n.next(r)))})}function Gx(t){return Oe((i,e)=>{let n=!1,o=null,r=null,a=!1,s=()=>{if(r?.unsubscribe(),r=null,n){n=!1;let p=o;o=null,e.next(p)}a&&e.complete()},c=()=>{r=null,a&&e.complete()};i.subscribe(ke(e,p=>{n=!0,o=p,r||Tt(t(p)).subscribe(r=ke(e,s,c))},()=>{a=!0,(!n||!r||r.closed)&&e.complete()}))})}function sm(t,i=Yn){return Gx(()=>vo(t,i))}function Fn(t){return Oe((i,e)=>{let n=null,o=!1,r;n=i.subscribe(ke(e,void 0,void 0,a=>{r=Tt(t(a,Fn(t)(i))),n?(n.unsubscribe(),n=null,r.subscribe(e)):o=!0})),o&&(n.unsubscribe(),n=null,r.subscribe(e))})}function $x(t,i,e,n,o){return(r,a)=>{let s=e,c=i,p=0;r.subscribe(ke(a,g=>{let v=p++;c=s?t(c,g,v):(s=!0,g),n&&a.next(c)},o&&(()=>{s&&a.next(c),a.complete()})))}}function Bo(t,i){return it(i)?un(t,i,1):un(t,1)}function mr(t,i=Yn){return Oe((e,n)=>{let o=null,r=null,a=null,s=()=>{if(o){o.unsubscribe(),o=null;let p=r;r=null,n.next(p)}};function c(){let p=a+t,g=i.now();if(g{r=p,a=i.now(),o||(o=i.schedule(c,t),n.add(o))},()=>{s(),n.complete()},void 0,()=>{r=o=null}))})}function Gr(t){return Oe((i,e)=>{let n=!1;i.subscribe(ke(e,o=>{n=!0,e.next(o)},()=>{n||e.next(t),e.complete()}))})}function xt(t){return t<=0?()=>Cn:Oe((i,e)=>{let n=0;i.subscribe(ke(e,o=>{++n<=t&&(e.next(o),t<=n&&e.complete())}))})}function qx(){return Oe((t,i)=>{t.subscribe(ke(i,Ma))})}function Yx(t){return le(()=>t)}function B_(t,i){return i?e=>Vo(i.pipe(xt(1),qx()),e.pipe(B_(t))):un((e,n)=>Tt(t(e,n)).pipe(xt(1),Yx(e)))}function vc(t,i=Yn){let e=vo(t,i);return B_(()=>e)}function lm(t,i=ii){return t=t??bN,Oe((e,n)=>{let o,r=!0;e.subscribe(ke(n,a=>{let s=i(a);(r||!t(o,s))&&(r=!1,o=s,n.next(a))}))})}function bN(t,i){return t===i}function cm(t=yN){return Oe((i,e)=>{let n=!1;i.subscribe(ke(e,o=>{n=!0,e.next(o)},()=>n?e.complete():e.error(t())))})}function yN(){return new _o}function jo(t){return Oe((i,e)=>{try{i.subscribe(e)}finally{e.add(t)}})}function pr(t,i){let e=arguments.length>=2;return n=>n.pipe(t?Ye((o,r)=>t(o,r,n)):ii,xt(1),e?Gr(i):cm(()=>new _o))}function Ls(t){return t<=0?()=>Cn:Oe((i,e)=>{let n=[];i.subscribe(ke(e,o=>{n.push(o),t{for(let o of n)e.next(o);e.complete()},void 0,()=>{n=null}))})}function j_(t,i){let e=arguments.length>=2;return n=>n.pipe(t?Ye((o,r)=>t(o,r,n)):ii,Ls(1),e?Gr(i):cm(()=>new _o))}function dm(){return Oe((t,i)=>{let e,n=!1;t.subscribe(ke(i,o=>{let r=e;e=o,n&&i.next([r,o]),n=!0}))})}function z_(t,i){return Oe($x(t,i,arguments.length>=2,!0))}function bc(t={}){let{connector:i=()=>new B,resetOnError:e=!0,resetOnComplete:n=!0,resetOnRefCountZero:o=!0}=t;return r=>{let a,s,c,p=0,g=!1,v=!1,S=()=>{s?.unsubscribe(),s=void 0},D=()=>{S(),a=c=void 0,g=v=!1},I=()=>{let R=a;D(),R?.unsubscribe()};return Oe((R,Q)=>{p++,!v&&!g&&S();let j=c=c??i();Q.add(()=>{p--,p===0&&!v&&!g&&(s=U_(I,o))}),j.subscribe(Q),!a&&p>0&&(a=new go({next:Ke=>j.next(Ke),error:Ke=>{v=!0,S(),s=U_(D,e,Ke),j.error(Ke)},complete:()=>{g=!0,S(),s=U_(D,n),j.complete()}}),Tt(R).subscribe(a))})(r)}}function U_(t,i,...e){if(i===!0){t();return}if(i===!1)return;let n=new go({next:()=>{n.unsubscribe(),t()}});return Tt(i(...e)).subscribe(n)}function um(t,i,e){let n,o=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:i=1/0,refCount:o=!1,scheduler:e}=t:n=t??1/0,bc({connector:()=>new qi(n,i,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Aa(t){return Ye((i,e)=>t<=e)}function Dt(...t){let i=No(t);return Oe((e,n)=>{(i?Vo(t,e,i):Vo(t,e)).subscribe(n)})}function St(t,i){return Oe((e,n)=>{let o=null,r=0,a=!1,s=()=>a&&!o&&n.complete();e.subscribe(ke(n,c=>{o?.unsubscribe();let p=0,g=r++;Tt(t(c,g)).subscribe(o=ke(n,v=>n.next(i?i(c,v,g,p++):v),()=>{o=null,s()}))},()=>{a=!0,s()}))})}function Ee(t){return Oe((i,e)=>{Tt(t).subscribe(ke(e,()=>e.complete(),Ma)),!e.closed&&i.subscribe(e)})}function H_(t,i=!1){return Oe((e,n)=>{let o=0;e.subscribe(ke(n,r=>{let a=t(r,o++);(a||i)&&n.next(r),!a&&n.complete()}))})}function Ht(t,i,e){let n=it(t)||i||e?{next:t,error:i,complete:e}:t;return n?Oe((o,r)=>{var a;(a=n.subscribe)===null||a===void 0||a.call(n);let s=!0;o.subscribe(ke(r,c=>{var p;(p=n.next)===null||p===void 0||p.call(n,c),r.next(c)},()=>{var c;s=!1,(c=n.complete)===null||c===void 0||c.call(n),r.complete()},c=>{var p;s=!1,(p=n.error)===null||p===void 0||p.call(n,c),r.error(c)},()=>{var c,p;s&&((c=n.unsubscribe)===null||c===void 0||c.call(n)),(p=n.finalize)===null||p===void 0||p.call(n)}))}):ii}function Qx(t,i){return Oe((e,n)=>{let{leading:o=!0,trailing:r=!1}=i??{},a=!1,s=null,c=null,p=!1,g=()=>{c?.unsubscribe(),c=null,r&&(D(),p&&n.complete())},v=()=>{c=null,p&&n.complete()},S=I=>c=Tt(t(I)).subscribe(ke(n,g,v)),D=()=>{if(a){a=!1;let I=s;s=null,n.next(I),!p&&S(I)}};e.subscribe(ke(n,I=>{a=!0,s=I,!(c&&!c.closed)&&(o?D():S(I))},()=>{p=!0,!(r&&a&&c&&!c.closed)&&n.complete()}))})}function W_(t,i=Yn,e){let n=vo(t,i);return Qx(()=>n,e)}var UD="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",$=class extends Error{code;constructor(i,e){super(hb(i,e)),this.code=i}};function CN(t){return`NG0${Math.abs(t)}`}function hb(t,i){return`${CN(t)}${i?": "+i:""}`}var HD=Symbol("InputSignalNode#UNSET"),wN=qe(L({},Ru),{transformFn:void 0,applyValueToInputSignal(t,i){pc(t,i)}});function WD(t,i){let e=Object.create(wN);e.value=t,e.transformFn=i?.transform;function n(){if(dc(e),e.value===HD){let o=null;throw new $(-950,o)}return e.value}return n[gi]=e,n}function Ac(t){return{toString:t}.toString()}var mm="__parameters__";function xN(t){return function(...e){if(t){let n=t(...e);for(let o in n)this[o]=n[o]}}}function GD(t,i,e){return Ac(()=>{let n=xN(i);function o(...r){if(this instanceof o)return n.apply(this,r),this;let a=new o(...r);return s.annotation=a,s;function s(c,p,g){let v=c.hasOwnProperty(mm)?c[mm]:Object.defineProperty(c,mm,{value:[]})[mm];for(;v.length<=g;)v.push(null);return(v[g]=v[g]||[]).push(a),c}}return o.prototype.ngMetadataName=t,o.annotationCls=o,o})}var bi=globalThis;function $t(t){for(let i in t)if(t[i]===$t)return i;throw Error("Could not find renamed property on target object.")}function DN(t,i){for(let e in i)i.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=i[e])}function vi(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(vi).join(", ")}]`;if(t==null)return""+t;let i=t.overriddenName||t.name;if(i)return`${i}`;let e=t.toString();if(e==null)return""+e;let n=e.indexOf(` -`);return n>=0?e.slice(0,n):e}function rv(t,i){return t?i?`${t} ${i}`:t:i||""}var SN=$t({__forward_ref__:$t});function en(t){return t.__forward_ref__=en,t.toString=function(){return vi(this())},t}function Bn(t){return $D(t)?t():t}function $D(t){return typeof t=="function"&&t.hasOwnProperty(SN)&&t.__forward_ref__===en}function F(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Z(t){return{providers:t.providers||[],imports:t.imports||[]}}function ep(t){return Kx(t,YD)||Kx(t,QD)}function qD(t){return ep(t)!==null}function Kx(t,i){return t.hasOwnProperty(i)?t[i]:null}function EN(t){let i=t&&(t[YD]||t[QD]);return i||null}function Zx(t){return t&&(t.hasOwnProperty(Xx)||t.hasOwnProperty(MN))?t[Xx]:null}var YD=$t({\u0275prov:$t}),Xx=$t({\u0275inj:$t}),QD=$t({ngInjectableDef:$t}),MN=$t({ngInjectorDef:$t}),k=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(i,e){this._desc=i,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=F({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function KD(t){return t&&!!t.\u0275providers}var IN=$t({\u0275cmp:$t}),TN=$t({\u0275dir:$t}),kN=$t({\u0275pipe:$t}),AN=$t({\u0275mod:$t}),xm=$t({\u0275fac:$t}),xc=$t({__NG_ELEMENT_ID__:$t}),Jx=$t({__NG_ENV_ID__:$t});function Pa(t){return typeof t=="string"?t:t==null?"":String(t)}function RN(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Pa(t)}function ZD(t,i){throw new $(-200,t)}function fb(t,i){throw new $(-201,!1)}var lt=(function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t})(lt||{}),av;function XD(){return av}function _i(t){let i=av;return av=t,i}function JD(t,i,e){let n=ep(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(e<.Optional)return null;if(i!==void 0)return i;fb(t,"Injector")}var ON={},Ra=ON,sv="__NG_DI_FLAG__",Dm=class{injector;constructor(i){this.injector=i}retrieve(i,e){let n=e;return this.injector.get(i,n.optional?Ou:Ra,n)}},Sm="ngTempTokenPath",PN="ngTokenPath",FN=/\n/gm,NN="\u0275",eD="__source";function LN(t,i=lt.Default){if(hc()===void 0)throw new $(-203,!1);if(hc()===null)return JD(t,void 0,i);{let e=hc(),n;return e instanceof Dm?n=e.injector:n=e,n.get(t,i<.Optional?null:void 0,i)}}function oe(t,i=lt.Default){return(XD()||LN)(Bn(t),i)}function m(t,i=lt.Default){return oe(t,tp(i))}function tp(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function lv(t){let i=[];for(let e=0;e ");else if(typeof i=="object"){let r=[];for(let a in i)if(i.hasOwnProperty(a)){let s=i[a];r.push(a+":"+(typeof s=="string"?JSON.stringify(s):vi(s)))}o=`{${r.join(", ")}}`}return`${e}${n?"("+n+")":""}[${o}]: ${t.replace(FN,` - `)}`}var wo=eS(GD("Optional"),8);var vr=eS(GD("SkipSelf"),4);function Fa(t,i){let e=t.hasOwnProperty(xm);return e?t[xm]:null}function zN(t,i,e){if(t.length!==i.length)return!1;for(let n=0;nArray.isArray(e)?gb(e,i):i(e))}function tS(t,i,e){i>=t.length?t.push(e):t.splice(i,0,e)}function Em(t,i){return i>=t.length-1?t.pop():t.splice(i,1)[0]}function HN(t,i){let e=[];for(let n=0;ni;){let r=o-2;t[o]=t[r],o--}t[i]=e,t[i+1]=n}}function np(t,i,e){let n=Rc(t,i);return n>=0?t[n|1]=e:(n=~n,WN(t,n,i,e)),n}function G_(t,i){let e=Rc(t,i);if(e>=0)return t[e|1]}function Rc(t,i){return GN(t,i,1)}function GN(t,i,e){let n=0,o=t.length>>e;for(;o!==n;){let r=n+(o-n>>1),a=t[r<i?o=r:n=r+1}return~(o<{e.push(a)};return gb(i,a=>{let s=a;cv(s,r,[],n)&&(o||=[],o.push(s))}),o!==void 0&&sS(o,r),e}function sS(t,i){for(let e=0;e{i(r,n)})}}function cv(t,i,e,n){if(t=Bn(t),!t)return!1;let o=null,r=Zx(t),a=!r&&Yr(t);if(!r&&!a){let c=t.ngModule;if(r=Zx(c),r)o=c;else return!1}else{if(a&&!a.standalone)return!1;o=t}let s=n.has(o);if(a){if(s)return!1;if(n.add(o),a.dependencies){let c=typeof a.dependencies=="function"?a.dependencies():a.dependencies;for(let p of c)cv(p,i,e,n)}}else if(r){if(r.imports!=null&&!s){n.add(o);let p;gb(r.imports,g=>{cv(g,i,e,n)&&(p||=[],p.push(g))}),p!==void 0&&sS(p,i)}if(!s){let p=Fa(o)||(()=>new o);i({provide:o,useFactory:p,deps:oi},o),i({provide:iS,useValue:o,multi:!0},o),i({provide:Ws,useValue:()=>oe(o),multi:!0},o)}let c=r.providers;if(c!=null&&!s){let p=t;_b(c,g=>{i(g,p)})}}else return!1;return o!==t&&t.providers!==void 0}function _b(t,i){for(let e of t)KD(e)&&(e=e.\u0275providers),Array.isArray(e)?_b(e,i):i(e)}var YN=$t({provide:String,useValue:$t});function lS(t){return t!==null&&typeof t=="object"&&YN in t}function QN(t){return!!(t&&t.useExisting)}function KN(t){return!!(t&&t.useFactory)}function Gs(t){return typeof t=="function"}function ZN(t){return!!t.useClass}var ip=new k(""),vm={},tD={},$_;function op(){return $_===void 0&&($_=new Mm),$_}var an=class{},Dc=class extends an{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(i,e,n,o){super(),this.parent=e,this.source=n,this.scopes=o,uv(i,a=>this.processProvider(a)),this.records.set(nS,Vs(void 0,this)),o.has("environment")&&this.records.set(an,Vs(void 0,this));let r=this.records.get(ip);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(iS,oi,lt.Self))}retrieve(i,e){let n=e;return this.get(i,n.optional?Ou:Ra,n)}destroy(){Cc(this),this._destroyed=!0;let i=ct(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of e)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ct(i)}}onDestroy(i){return Cc(this),this._onDestroyHooks.push(i),()=>this.removeOnDestroy(i)}runInContext(i){Cc(this);let e=ur(this),n=_i(void 0),o;try{return i()}finally{ur(e),_i(n)}}get(i,e=Ra,n=lt.Default){if(Cc(this),i.hasOwnProperty(Jx))return i[Jx](this);n=tp(n);let o,r=ur(this),a=_i(void 0);try{if(!(n<.SkipSelf)){let c=this.records.get(i);if(c===void 0){let p=n2(i)&&ep(i);p&&this.injectableDefInScope(p)?c=Vs(dv(i),vm):c=null,this.records.set(i,c)}if(c!=null)return this.hydrate(i,c,n)}let s=n<.Self?op():this.parent;return e=n<.Optional&&e===Ra?null:e,s.get(i,e)}catch(s){if(s.name==="NullInjectorError"){if((s[Sm]=s[Sm]||[]).unshift(vi(i)),r)throw s;return BN(s,i,"R3InjectorError",this.source)}else throw s}finally{_i(a),ur(r)}}resolveInjectorInitializers(){let i=ct(null),e=ur(this),n=_i(void 0),o;try{let r=this.get(Ws,oi,lt.Self);for(let a of r)a()}finally{ur(e),_i(n),ct(i)}}toString(){let i=[],e=this.records;for(let n of e.keys())i.push(vi(n));return`R3Injector[${i.join(", ")}]`}processProvider(i){i=Bn(i);let e=Gs(i)?i:Bn(i&&i.provide),n=JN(i);if(!Gs(i)&&i.multi===!0){let o=this.records.get(e);o||(o=Vs(void 0,vm,!0),o.factory=()=>lv(o.multi),this.records.set(e,o)),e=i,o.multi.push(i)}this.records.set(e,n)}hydrate(i,e,n){let o=ct(null);try{return e.value===tD?ZD(vi(i)):e.value===vm&&(e.value=tD,e.value=e.factory(void 0,n)),typeof e.value=="object"&&e.value&&t2(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{ct(o)}}injectableDefInScope(i){if(!i.providedIn)return!1;let e=Bn(i.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(i){let e=this._onDestroyHooks.indexOf(i);e!==-1&&this._onDestroyHooks.splice(e,1)}};function dv(t){let i=ep(t),e=i!==null?i.factory:Fa(t);if(e!==null)return e;if(t instanceof k)throw new $(204,!1);if(t instanceof Function)return XN(t);throw new $(204,!1)}function XN(t){if(t.length>0)throw new $(204,!1);let e=EN(t);return e!==null?()=>e.factory(t):()=>new t}function JN(t){if(lS(t))return Vs(void 0,t.useValue);{let i=cS(t);return Vs(i,vm)}}function cS(t,i,e){let n;if(Gs(t)){let o=Bn(t);return Fa(o)||dv(o)}else if(lS(t))n=()=>Bn(t.useValue);else if(KN(t))n=()=>t.useFactory(...lv(t.deps||[]));else if(QN(t))n=(o,r)=>oe(Bn(t.useExisting),r!==void 0&&r<.Optional?lt.Optional:void 0);else{let o=Bn(t&&(t.useClass||t.provide));if(e2(t))n=()=>new o(...lv(t.deps));else return Fa(o)||dv(o)}return n}function Cc(t){if(t.destroyed)throw new $(205,!1)}function Vs(t,i,e=!1){return{factory:t,value:i,multi:e?[]:void 0}}function e2(t){return!!t.deps}function t2(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function n2(t){return typeof t=="function"||typeof t=="object"&&t instanceof k}function uv(t,i){for(let e of t)Array.isArray(e)?uv(e,i):e&&KD(e)?uv(e.\u0275providers,i):i(e)}function yi(t,i){let e;t instanceof Dc?(Cc(t),e=t):e=new Dm(t);let n,o=ur(e),r=_i(void 0);try{return i()}finally{ur(o),_i(r)}}function vb(){return XD()!==void 0||hc()!=null}function bb(t){if(!vb())throw new $(-203,!1)}function i2(t){let i=bi.ng;if(i&&i.\u0275compilerFacade)return i.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function o2(t){return typeof t=="function"}var br=0,tt=1,Ze=2,Zn=3,Co=4,Ci=5,$s=6,Im=7,Tn=8,qs=9,hr=10,sn=11,Sc=12,nD=13,Js=14,Pi=15,Na=16,Bs=17,fr=18,rp=19,dS=20,$r=21,q_=22,La=23,Qi=24,Us=25,wn=26,uS=1;var Va=7,Tm=8,Ys=9,Kn=10;function qr(t){return Array.isArray(t)&&typeof t[uS]=="object"}function yr(t){return Array.isArray(t)&&t[uS]===!0}function yb(t){return(t.flags&4)!==0}function el(t){return t.componentOffset>-1}function ap(t){return(t.flags&1)===1}function Ho(t){return!!t.template}function km(t){return(t[Ze]&512)!==0}function tl(t){return(t[Ze]&256)===256}var mv=class{previousValue;currentValue;firstChange;constructor(i,e,n){this.previousValue=i,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}};function mS(t,i,e,n){i!==null?i.applyValueToInputSignal(i,n):t[e]=n}var He=(()=>{let t=()=>pS;return t.ngInherit=!0,t})();function pS(t){return t.type.prototype.ngOnChanges&&(t.setInput=a2),r2}function r2(){let t=fS(this),i=t?.current;if(i){let e=t.previous;if(e===Uo)t.previous=i;else for(let n in i)e[n]=i[n];t.current=null,this.ngOnChanges(i)}}function a2(t,i,e,n,o){let r=this.declaredInputs[n],a=fS(t)||s2(t,{previous:Uo,current:null}),s=a.current||(a.current={}),c=a.previous,p=c[r];s[r]=new mv(p&&p.currentValue,e,c===Uo),mS(t,i,o,e)}var hS="__ngSimpleChanges__";function fS(t){return t[hS]||null}function s2(t,i){return t[hS]=i}var iD=null;var Zt=function(t,i=null,e){iD?.(t,i,e)},gS="svg",l2="math";function Wo(t){for(;Array.isArray(t);)t=t[br];return t}function _S(t,i){return Wo(i[t])}function Yo(t,i){return Wo(i[t.index])}function Cb(t,i){return t.data[i]}function wb(t,i){return t[i]}function vS(t,i,e,n){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),i[e]=n}function Go(t,i){let e=i[t];return qr(e)?e:e[br]}function c2(t){return(t[Ze]&4)===4}function xb(t){return(t[Ze]&128)===128}function d2(t){return yr(t[Zn])}function Qr(t,i){return i==null?null:t[i]}function bS(t){t[Bs]=0}function yS(t){t[Ze]&1024||(t[Ze]|=1024,xb(t)&&nl(t))}function u2(t,i){for(;t>0;)i=i[Js],t--;return i}function sp(t){return!!(t[Ze]&9216||t[Qi]?.dirty)}function pv(t){t[hr].changeDetectionScheduler?.notify(8),t[Ze]&64&&(t[Ze]|=1024),sp(t)&&nl(t)}function nl(t){t[hr].changeDetectionScheduler?.notify(0);let i=Ba(t);for(;i!==null&&!(i[Ze]&8192||(i[Ze]|=8192,!xb(i)));)i=Ba(i)}function CS(t,i){if(tl(t))throw new $(911,!1);t[$r]===null&&(t[$r]=[]),t[$r].push(i)}function m2(t,i){if(t[$r]===null)return;let e=t[$r].indexOf(i);e!==-1&&t[$r].splice(e,1)}function Ba(t){let i=t[Zn];return yr(i)?i[Zn]:i}function Db(t){return t[Im]??=[]}function Sb(t){return t.cleanup??=[]}function p2(t,i,e,n){let o=Db(i);o.push(e),t.firstCreatePass&&Sb(t).push(n,o.length-1)}var rt={lFrame:MS(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var hv=!1;function h2(){return rt.lFrame.elementDepthCount}function f2(){rt.lFrame.elementDepthCount++}function g2(){rt.lFrame.elementDepthCount--}function Eb(){return rt.bindingsEnabled}function wS(){return rt.skipHydrationRootTNode!==null}function _2(t){return rt.skipHydrationRootTNode===t}function v2(){rt.skipHydrationRootTNode=null}function Ue(){return rt.lFrame.lView}function tn(){return rt.lFrame.tView}function y(t){return rt.lFrame.contextLView=t,t[Tn]}function C(t){return rt.lFrame.contextLView=null,t}function Xn(){let t=xS();for(;t!==null&&t.type===64;)t=t.parent;return t}function xS(){return rt.lFrame.currentTNode}function b2(){let t=rt.lFrame,i=t.currentTNode;return t.isParent?i:i.parent}function Kr(t,i){let e=rt.lFrame;e.currentTNode=t,e.isParent=i}function Mb(){return rt.lFrame.isParent}function Ib(){rt.lFrame.isParent=!1}function y2(){return rt.lFrame.contextLView}function DS(){return hv}function Am(t){let i=hv;return hv=t,i}function Pc(){let t=rt.lFrame,i=t.bindingRootIndex;return i===-1&&(i=t.bindingRootIndex=t.tView.bindingStartIndex),i}function C2(){return rt.lFrame.bindingIndex}function w2(t){return rt.lFrame.bindingIndex=t}function $a(){return rt.lFrame.bindingIndex++}function Tb(t){let i=rt.lFrame,e=i.bindingIndex;return i.bindingIndex=i.bindingIndex+t,e}function x2(){return rt.lFrame.inI18n}function D2(t,i){let e=rt.lFrame;e.bindingIndex=e.bindingRootIndex=t,fv(i)}function S2(){return rt.lFrame.currentDirectiveIndex}function fv(t){rt.lFrame.currentDirectiveIndex=t}function E2(t){let i=rt.lFrame.currentDirectiveIndex;return i===-1?null:t[i]}function kb(){return rt.lFrame.currentQueryIndex}function lp(t){rt.lFrame.currentQueryIndex=t}function M2(t){let i=t[tt];return i.type===2?i.declTNode:i.type===1?t[Ci]:null}function SS(t,i,e){if(e<.SkipSelf){let o=i,r=t;for(;o=o.parent,o===null&&!(e<.Host);)if(o=M2(r),o===null||(r=r[Js],o.type&10))break;if(o===null)return!1;i=o,t=r}let n=rt.lFrame=ES();return n.currentTNode=i,n.lView=t,!0}function Ab(t){let i=ES(),e=t[tt];rt.lFrame=i,i.currentTNode=e.firstChild,i.lView=t,i.tView=e,i.contextLView=t,i.bindingIndex=e.bindingStartIndex,i.inI18n=!1}function ES(){let t=rt.lFrame,i=t===null?null:t.child;return i===null?MS(t):i}function MS(t){let i={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=i),i}function IS(){let t=rt.lFrame;return rt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var TS=IS;function Rb(){let t=IS();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function I2(t){return(rt.lFrame.contextLView=u2(t,rt.lFrame.contextLView))[Tn]}function Cr(){return rt.lFrame.selectedIndex}function ja(t){rt.lFrame.selectedIndex=t}function Fc(){let t=rt.lFrame;return Cb(t.tView,t.selectedIndex)}function nn(){rt.lFrame.currentNamespace=gS}function wr(){T2()}function T2(){rt.lFrame.currentNamespace=null}function kS(){return rt.lFrame.currentNamespace}var AS=!0;function cp(){return AS}function dp(t){AS=t}function k2(t,i,e){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:r}=i.type.prototype;if(n){let a=pS(i);(e.preOrderHooks??=[]).push(t,a),(e.preOrderCheckHooks??=[]).push(t,a)}o&&(e.preOrderHooks??=[]).push(0-t,o),r&&((e.preOrderHooks??=[]).push(t,r),(e.preOrderCheckHooks??=[]).push(t,r))}function Ob(t,i){for(let e=i.directiveStart,n=i.directiveEnd;e=n)break}else i[c]<0&&(t[Bs]+=65536),(s>14>16&&(t[Ze]&3)===i&&(t[Ze]+=16384,oD(s,r)):oD(s,r)}var Hs=-1,za=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(i,e,n){this.factory=i,this.canSeeViewProviders=e,this.injectImpl=n}};function R2(t){return(t.flags&8)!==0}function O2(t){return(t.flags&16)!==0}function P2(t,i,e){let n=0;for(;ni){a=r-1;break}}}for(;r>16}function Om(t,i){let e=N2(t),n=i;for(;e>0;)n=n[Js],e--;return n}var gv=!0;function Pm(t){let i=gv;return gv=t,i}var L2=256,FS=L2-1,NS=5,V2=0,zo={};function B2(t,i,e){let n;typeof e=="string"?n=e.charCodeAt(0)||0:e.hasOwnProperty(xc)&&(n=e[xc]),n==null&&(n=e[xc]=V2++);let o=n&FS,r=1<>NS)]|=r}function Fm(t,i){let e=LS(t,i);if(e!==-1)return e;let n=i[tt];n.firstCreatePass&&(t.injectorIndex=i.length,Q_(n.data,t),Q_(i,null),Q_(n.blueprint,null));let o=Pb(t,i),r=t.injectorIndex;if(PS(o)){let a=Rm(o),s=Om(o,i),c=s[tt].data;for(let p=0;p<8;p++)i[r+p]=s[a+p]|c[a+p]}return i[r+8]=o,r}function Q_(t,i){t.push(0,0,0,0,0,0,0,0,i)}function LS(t,i){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||i[t.injectorIndex+8]===null?-1:t.injectorIndex}function Pb(t,i){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,n=null,o=i;for(;o!==null;){if(n=US(o),n===null)return Hs;if(e++,o=o[Js],n.injectorIndex!==-1)return n.injectorIndex|e<<16}return Hs}function _v(t,i,e){B2(t,i,e)}function j2(t,i){if(i==="class")return t.classes;if(i==="style")return t.styles;let e=t.attrs;if(e){let n=e.length,o=0;for(;o>20,v=n?s:s+g,S=o?s+g:p;for(let D=v;D=c&&I.type===e)return D}if(o){let D=a[c];if(D&&Ho(D)&&D.type===e)return c}return null}function Ec(t,i,e,n,o){let r=t[e],a=i.data;if(r instanceof za){let s=r;s.resolving&&ZD(RN(a[e]));let c=Pm(s.canSeeViewProviders);s.resolving=!0;let p,g=s.injectImpl?_i(s.injectImpl):null,v=SS(t,n,lt.Default);try{r=t[e]=s.factory(void 0,o,a,t,n),i.firstCreatePass&&e>=n.directiveStart&&k2(e,a[e],i)}finally{g!==null&&_i(g),Pm(c),s.resolving=!1,TS()}}return r}function U2(t){if(typeof t=="string")return t.charCodeAt(0)||0;let i=t.hasOwnProperty(xc)?t[xc]:void 0;return typeof i=="number"?i>=0?i&FS:H2:i}function aD(t,i,e){let n=1<>NS)]&n)}function sD(t,i){return!(t<.Self)&&!(t<.Host&&i)}var Oa=class{_tNode;_lView;constructor(i,e){this._tNode=i,this._lView=e}get(i,e,n){return jS(this._tNode,this._lView,i,tp(n),e)}};function H2(){return new Oa(Xn(),Ue())}function nt(t){return Ac(()=>{let i=t.prototype.constructor,e=i[xm]||vv(i),n=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==n;){let r=o[xm]||vv(o);if(r&&r!==e)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function vv(t){return $D(t)?()=>{let i=vv(Bn(t));return i&&i()}:Fa(t)}function W2(t,i,e,n,o){let r=t,a=i;for(;r!==null&&a!==null&&a[Ze]&2048&&!km(a);){let s=zS(r,a,e,n|lt.Self,zo);if(s!==zo)return s;let c=r.parent;if(!c){let p=a[dS];if(p){let g=p.get(e,zo,n);if(g!==zo)return g}c=US(a),a=a[Js]}r=c}return o}function US(t){let i=t[tt],e=i.type;return e===2?i.declTNode:e===1?t[Ci]:null}function up(t){return j2(Xn(),t)}function lD(t,i=null,e=null,n){let o=HS(t,i,e,n);return o.resolveInjectorInitializers(),o}function HS(t,i=null,e=null,n,o=new Set){let r=[e||oi,qN(t)];return n=n||(typeof t=="object"?void 0:vi(t)),new Dc(r,i||op(),n||null,o)}var Me=class t{static THROW_IF_NOT_FOUND=Ra;static NULL=new Mm;static create(i,e){if(Array.isArray(i))return lD({name:""},e,i,"");{let n=i.name??"";return lD({name:n},i.parent,i.providers,n)}}static \u0275prov=F({token:t,providedIn:"any",factory:()=>oe(nS)});static __NG_ELEMENT_ID__=-1};var jn=class{attributeName;constructor(i){this.attributeName=i}__NG_ELEMENT_ID__=()=>up(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},G2=new k("");G2.__NG_ELEMENT_ID__=t=>{let i=Xn();if(i===null)throw new $(204,!1);if(i.type&2)return i.value;if(t<.Optional)return null;throw new $(204,!1)};var WS=!1,Zr=(()=>{class t{static __NG_ELEMENT_ID__=$2;static __NG_ENV_ID__=e=>e}return t})(),Nm=class extends Zr{_lView;constructor(i){super(),this._lView=i}onDestroy(i){let e=this._lView;return tl(e)?(i(),()=>{}):(CS(e,i),()=>m2(e,i))}};function $2(){return new Nm(Ue())}var Ua=class{},Fb=new k("",{providedIn:"root",factory:()=>!1});var GS=new k(""),$S=new k(""),xr=(()=>{class t{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new zt(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=F({token:t,providedIn:"root",factory:()=>new t})}return t})();var bv=class extends B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(i=!1){super(),this.__isAsync=i,vb()&&(this.destroyRef=m(Zr,{optional:!0})??void 0,this.pendingTasks=m(xr,{optional:!0})??void 0)}emit(i){let e=ct(null);try{super.next(i)}finally{ct(e)}}subscribe(i,e,n){let o=i,r=e||(()=>null),a=n;if(i&&typeof i=="object"){let c=i;o=c.next?.bind(c),r=c.error?.bind(c),a=c.complete?.bind(c)}this.__isAsync&&(r=this.wrapInTimeout(r),o&&(o=this.wrapInTimeout(o)),a&&(a=this.wrapInTimeout(a)));let s=super.subscribe({next:o,error:r,complete:a});return i instanceof he&&i.add(s),s}wrapInTimeout(i){return e=>{let n=this.pendingTasks?.add();setTimeout(()=>{try{i(e)}finally{n!==void 0&&this.pendingTasks?.remove(n)}})}}},T=bv;function Mc(...t){}function qS(t){let i,e;function n(){t=Mc;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),i!==void 0&&clearTimeout(i)}catch{}}return i=setTimeout(()=>{t(),n()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),n()})),()=>n()}function cD(t){return queueMicrotask(()=>t()),()=>{t=Mc}}var Nb="isAngularZone",Lm=Nb+"_ID",q2=0,ne=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new T(!1);onMicrotaskEmpty=new T(!1);onStable=new T(!1);onError=new T(!1);constructor(i){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:r=WS}=i;if(typeof Zone>"u")throw new $(908,!1);Zone.assertZonePatched();let a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!o&&n,a.shouldCoalesceRunChangeDetection=o,a.callbackScheduled=!1,a.scheduleInRootZone=r,K2(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Nb)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new $(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new $(909,!1)}run(i,e,n){return this._inner.run(i,e,n)}runTask(i,e,n,o){let r=this._inner,a=r.scheduleEventTask("NgZoneEvent: "+o,i,Y2,Mc,Mc);try{return r.runTask(a,e,n)}finally{r.cancelTask(a)}}runGuarded(i,e,n){return this._inner.runGuarded(i,e,n)}runOutsideAngular(i){return this._outer.run(i)}},Y2={};function Lb(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Q2(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function i(){qS(()=>{t.callbackScheduled=!1,yv(t),t.isCheckStableRunning=!0,Lb(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{i()}):t._outer.run(()=>{i()}),yv(t)}function K2(t){let i=()=>{Q2(t)},e=q2++;t._inner=t._inner.fork({name:"angular",properties:{[Nb]:!0,[Lm]:e,[Lm+e]:!0},onInvokeTask:(n,o,r,a,s,c)=>{if(Z2(c))return n.invokeTask(r,a,s,c);try{return dD(t),n.invokeTask(r,a,s,c)}finally{(t.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&i(),uD(t)}},onInvoke:(n,o,r,a,s,c,p)=>{try{return dD(t),n.invoke(r,a,s,c,p)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!X2(c)&&i(),uD(t)}},onHasTask:(n,o,r,a)=>{n.hasTask(r,a),o===r&&(a.change=="microTask"?(t._hasPendingMicrotasks=a.microTask,yv(t),Lb(t)):a.change=="macroTask"&&(t.hasPendingMacrotasks=a.macroTask))},onHandleError:(n,o,r,a)=>(n.handleError(r,a),t.runOutsideAngular(()=>t.onError.emit(a)),!1)})}function yv(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function dD(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function uD(t){t._nesting--,Lb(t)}var Vm=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new T;onMicrotaskEmpty=new T;onStable=new T;onError=new T;run(i,e,n){return i.apply(e,n)}runGuarded(i,e,n){return i.apply(e,n)}runOutsideAngular(i){return i()}runTask(i,e,n,o){return i.apply(e,n)}};function Z2(t){return YS(t,"__ignore_ng_zone__")}function X2(t){return YS(t,"__scheduler_tick__")}function YS(t,i){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[i]===!0}function J2(t="zone.js",i){return t==="noop"?new Vm:t==="zone.js"?new ne(i):t}var ri=class{_console=console;handleError(i){this._console.error("ERROR",i)}},eL=new k("",{providedIn:"root",factory:()=>{let t=m(ne),i=m(ri);return e=>t.runOutsideAngular(()=>i.handleError(e))}});function mD(t,i){return WD(t,i)}function tL(t){return WD(HD,t)}var QS=(mD.required=tL,mD);function nL(){return il(Xn(),Ue())}function il(t,i){return new K(Yo(t,i))}var K=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=nL}return t})();function KS(t){return t instanceof K?t.nativeElement:t}function Xr(t){return typeof t=="function"&&t[gi]!==void 0}function wi(t,i){let e=w_(t,i?.equal),n=e[gi];return e.set=o=>pc(n,o),e.update=o=>x_(n,o),e.asReadonly=iL.bind(e),e}function iL(){let t=this[gi];if(t.readonlyFn===void 0){let i=()=>this();i[gi]=t,t.readonlyFn=i}return t.readonlyFn}function ZS(t){return Xr(t)&&typeof t.set=="function"}function oL(){return this._results[Symbol.iterator]()}var Ki=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new B}constructor(i=!1){this._emitDistinctChangesOnly=i}get(i){return this._results[i]}map(i){return this._results.map(i)}filter(i){return this._results.filter(i)}find(i){return this._results.find(i)}reduce(i,e){return this._results.reduce(i,e)}forEach(i){this._results.forEach(i)}some(i){return this._results.some(i)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(i,e){this.dirty=!1;let n=UN(i);(this._changesDetected=!zN(this._results,n,e))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(i){this._onDirty=i}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=oL};function XS(t){return(t.flags&128)===128}var JS=(function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t})(JS||{}),eE=new Map,rL=0;function aL(){return rL++}function sL(t){eE.set(t[rp],t)}function Cv(t){eE.delete(t[rp])}var pD="__ngContext__";function ol(t,i){qr(i)?(t[pD]=i[rp],sL(i)):t[pD]=i}function tE(t){return iE(t[Sc])}function nE(t){return iE(t[Co])}function iE(t){for(;t!==null&&!yr(t);)t=t[Co];return t}var wv;function oE(t){wv=t}function rE(){if(wv!==void 0)return wv;if(typeof document<"u")return document;throw new $(210,!1)}var qa=new k("",{providedIn:"root",factory:()=>lL}),lL="ng",Vb=new k(""),Jr=new k("",{providedIn:"platform",factory:()=>"unknown"});var et=new k(""),Nc=new k("",{providedIn:"root",factory:()=>rE().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var cL="h",dL="b";var aE=!1,uL=new k("",{providedIn:"root",factory:()=>aE});var Bb=(function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t})(Bb||{}),rl=new k(""),hD=new Set;function Dr(t){hD.has(t)||(hD.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var jb=(()=>{class t{view;node;constructor(e,n){this.view=e,this.node=n}static __NG_ELEMENT_ID__=mL}return t})();function mL(){return new jb(Ue(),Xn())}var js=(function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t})(js||{}),sE=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=F({token:t,providedIn:"root",factory:()=>new t})}return t})(),pL=[js.EarlyRead,js.Write,js.MixedReadWrite,js.Read],hL=(()=>{class t{ngZone=m(ne);scheduler=m(Ua);errorHandler=m(ri,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){m(rl,{optional:!0})}execute(){let e=this.sequences.size>0;e&&Zt(16),this.executing=!0;for(let n of pL)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[n]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let r=o.hooks[n];return r(o.pipelinedValue)},o.snapshot))}catch(r){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&Zt(17)}register(e){let{view:n}=e;n!==void 0?((n[Us]??=[]).push(e),nl(n),n[Ze]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,n){return n?n.run(Bb.AFTER_NEXT_RENDER,e):e()}static \u0275prov=F({token:t,providedIn:"root",factory:()=>new t})}return t})(),xv=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(i,e,n,o,r,a=null){this.impl=i,this.hooks=e,this.view=n,this.once=o,this.snapshot=a,this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let i=this.view?.[Us];i&&(this.view[Us]=i.filter(e=>e!==this))}};function Ya(t,i){!i?.injector&&bb(Ya);let e=i?.injector??m(Me);return Dr("NgAfterRender"),lE(t,e,i,!1)}function Wt(t,i){!i?.injector&&bb(Wt);let e=i?.injector??m(Me);return Dr("NgAfterNextRender"),lE(t,e,i,!0)}function fL(t,i){if(t instanceof Function){let e=[void 0,void 0,void 0,void 0];return e[i]=t,e}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function lE(t,i,e,n){let o=i.get(sE);o.impl??=i.get(hL);let r=i.get(rl,null,{optional:!0}),a=e?.phase??js.MixedReadWrite,s=e?.manualCleanup!==!0?i.get(Zr):null,c=i.get(jb,null,{optional:!0}),p=new xv(o.impl,fL(t,a),c?.view,n,s,r?.snapshot(null));return o.impl.register(p),p}var gL=(t,i,e,n)=>{};function _L(t,i,e,n){gL(t,i,e,n)}var vL=()=>null;function cE(t,i,e=!1){return vL(t,i,e)}function dE(t,i){let e=t.contentQueries;if(e!==null){let n=ct(null);try{for(let o=0;ot,createScript:t=>t,createScriptURL:t=>t})}catch{}return pm}function mp(t){return bL()?.createHTML(t)||t}var hm;function uE(){if(hm===void 0&&(hm=null,bi.trustedTypes))try{hm=bi.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return hm}function fD(t){return uE()?.createHTML(t)||t}function gD(t){return uE()?.createScriptURL(t)||t}var gr=class{changingThisBreaksApplicationSecurity;constructor(i){this.changingThisBreaksApplicationSecurity=i}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${UD})`}},Sv=class extends gr{getTypeName(){return"HTML"}},Ev=class extends gr{getTypeName(){return"Style"}},Mv=class extends gr{getTypeName(){return"Script"}},Iv=class extends gr{getTypeName(){return"URL"}},Tv=class extends gr{getTypeName(){return"ResourceURL"}};function Xi(t){return t instanceof gr?t.changingThisBreaksApplicationSecurity:t}function Sr(t,i){let e=yL(t);if(e!=null&&e!==i){if(e==="ResourceURL"&&i==="URL")return!0;throw new Error(`Required a safe ${i}, got a ${e} (see ${UD})`)}return e===i}function yL(t){return t instanceof gr&&t.getTypeName()||null}function mE(t){return new Sv(t)}function pE(t){return new Ev(t)}function hE(t){return new Mv(t)}function fE(t){return new Iv(t)}function gE(t){return new Tv(t)}function CL(t){let i=new Av(t);return wL()?new kv(i):i}var kv=class{inertDocumentHelper;constructor(i){this.inertDocumentHelper=i}getInertBodyElement(i){i=""+i;try{let e=new window.DOMParser().parseFromString(mp(i),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(i):(e.firstChild?.remove(),e)}catch{return null}}},Av=class{defaultDoc;inertDocument;constructor(i){this.defaultDoc=i,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(i){let e=this.inertDocument.createElement("template");return e.innerHTML=mp(i),e}};function wL(){try{return!!new window.DOMParser().parseFromString(mp(""),"text/html")}catch{return!1}}var xL=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function pp(t){return t=String(t),t.match(xL)?t:"unsafe:"+t}function Er(t){let i={};for(let e of t.split(","))i[e]=!0;return i}function Lc(...t){let i={};for(let e of t)for(let n in e)e.hasOwnProperty(n)&&(i[n]=!0);return i}var _E=Er("area,br,col,hr,img,wbr"),vE=Er("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),bE=Er("rp,rt"),DL=Lc(bE,vE),SL=Lc(vE,Er("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),EL=Lc(bE,Er("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),_D=Lc(_E,SL,EL,DL),yE=Er("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ML=Er("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),IL=Er("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),TL=Lc(yE,ML,IL),kL=Er("script,style,template"),Rv=class{sanitizedSomething=!1;buf=[];sanitizeChildren(i){let e=i.firstChild,n=!0,o=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild){o.push(e),e=OL(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=RL(e);if(r){e=r;break}e=o.pop()}}return this.buf.join("")}startElement(i){let e=vD(i).toLowerCase();if(!_D.hasOwnProperty(e))return this.sanitizedSomething=!0,!kL.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let n=i.attributes;for(let o=0;o"),!0}endElement(i){let e=vD(i).toLowerCase();_D.hasOwnProperty(e)&&!_E.hasOwnProperty(e)&&(this.buf.push(""))}chars(i){this.buf.push(bD(i))}};function AL(t,i){return(t.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function RL(t){let i=t.nextSibling;if(i&&t!==i.previousSibling)throw CE(i);return i}function OL(t){let i=t.firstChild;if(i&&AL(t,i))throw CE(i);return i}function vD(t){let i=t.nodeName;return typeof i=="string"?i:"FORM"}function CE(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var PL=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,FL=/([^\#-~ |!])/g;function bD(t){return t.replace(/&/g,"&").replace(PL,function(i){let e=i.charCodeAt(0),n=i.charCodeAt(1);return"&#"+((e-55296)*1024+(n-56320)+65536)+";"}).replace(FL,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(//g,">")}var fm;function Ub(t,i){let e=null;try{fm=fm||CL(t);let n=i?String(i):"";e=fm.getInertBodyElement(n);let o=5,r=n;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,n=r,r=e.innerHTML,e=fm.getInertBodyElement(n)}while(n!==r);let s=new Rv().sanitizeChildren(yD(e)||e);return mp(s)}finally{if(e){let n=yD(e)||e;for(;n.firstChild;)n.firstChild.remove()}}}function yD(t){return"content"in t&&NL(t)?t.content:null}function NL(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var LL=/^>|^->||--!>|)/g,BL="\u200B$1\u200B";function jL(t){return t.replace(LL,i=>i.replace(VL,BL))}function zL(t,i){return t.createText(i)}function UL(t,i,e){t.setValue(i,e)}function HL(t,i){return t.createComment(jL(i))}function wE(t,i,e){return t.createElement(i,e)}function Bm(t,i,e,n,o){t.insertBefore(i,e,n,o)}function xE(t,i,e){t.appendChild(i,e)}function CD(t,i,e,n,o){n!==null?Bm(t,i,e,n,o):xE(t,i,e)}function WL(t,i,e){t.removeChild(null,i,e)}function GL(t,i,e){t.setAttribute(i,"style",e)}function $L(t,i,e){e===""?t.removeAttribute(i,"class"):t.setAttribute(i,"class",e)}function DE(t,i,e){let{mergedAttrs:n,classes:o,styles:r}=e;n!==null&&P2(t,i,n),o!==null&&$L(t,i,o),r!==null&&GL(t,i,r)}var zn=(function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t[t.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",t})(zn||{});function Gt(t){let i=Hb();return i?fD(i.sanitize(zn.HTML,t)||""):Sr(t,"HTML")?fD(Xi(t)):Ub(rE(),Pa(t))}function Ce(t){let i=Hb();return i?i.sanitize(zn.URL,t)||"":Sr(t,"URL")?Xi(t):pp(Pa(t))}function qL(t){let i=Hb();if(i)return gD(i.sanitize(zn.RESOURCE_URL,t)||"");if(Sr(t,"ResourceURL"))return gD(Xi(t));throw new $(904,!1)}var YL={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function QL(t,i){return YL[t.toLowerCase()]?.[i.toLowerCase()]===!0?qL:Ce}function SE(t,i,e){return QL(i,e)(t)}function KL(t){if(t.toLowerCase().startsWith("on"))throw new $(306,!1)}function Hb(){let t=Ue();return t&&t[hr].sanitizer}function hp(t){return t.ownerDocument.defaultView}function EE(t){return t.ownerDocument}function ME(t){return t instanceof Function?t():t}function ZL(t,i,e){let n=t.length;for(;;){let o=t.indexOf(i,e);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let r=i.length;if(o+r===n||t.charCodeAt(o+r)<=32)return o}e=o+1}}var IE="ng-template";function XL(t,i,e,n){let o=0;if(n){for(;o-1){let r;for(;++or?v="":v=o[g+1].toLowerCase(),n&2&&p!==v){if(bo(n))return!1;a=!0}}}}return bo(n)||a}function bo(t){return(t&1)===0}function tV(t,i,e,n){if(i===null)return-1;let o=0;if(n||!e){let r=!1;for(;o-1)for(e++;e0?'="'+s+'"':"")+"]"}else n&8?o+="."+a:n&4&&(o+=" "+a);else o!==""&&!bo(a)&&(i+=wD(r,o),o=""),n=a,r=r||!bo(n);e++}return o!==""&&(i+=wD(r,o)),i}function sV(t){return t.map(aV).join(",")}function lV(t){let i=[],e=[],n=1,o=2;for(;nwn&&RE(t,i,wn,!1),Zt(a?2:0,o),e(n,o)}finally{ja(r),Zt(a?3:1,o)}}function gp(t,i,e){_V(t,i,e),(e.flags&64)===64&&vV(t,i,e)}function Yb(t,i,e=Yo){let n=i.localNames;if(n!==null){let o=i.index+1;for(let r=0;rnull;function fV(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function _p(t,i,e,n,o,r,a,s){if(!s&&Kb(i,t,e,n,o)){el(i)&&gV(e,i.index);return}if(i.type&3){let c=Yo(i,e);n=fV(n),o=a!=null?a(o,i.value||"",n):o,r.setProperty(c,n,o)}else i.type&12}function gV(t,i){let e=Go(i,t);e[Ze]&16||(e[Ze]|=64)}function _V(t,i,e){let n=e.directiveStart,o=e.directiveEnd;el(e)&&uV(i,e,t.data[n+e.componentOffset]),t.firstCreatePass||Fm(e,i);let r=e.initialInputs;for(let a=n;a=0?n[s]():n[-s].unsubscribe(),a+=2}else{let s=n[e[a+1]];e[a].call(s)}n!==null&&(i[Im]=null);let o=i[$r];if(o!==null){i[$r]=null;for(let a=0;a{nl(t.lView)},consumerOnSignalRead(){this.lView[Qi]=this}});function WV(t){let i=t[Qi]??Object.create(GV);return i.lView=t,i}var GV=qe(L({},ks),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let i=Ba(t.lView);for(;i&&!zE(i[tt]);)i=Ba(i);i&&yS(i)},consumerOnSignalRead(){this.lView[Qi]=this}});function zE(t){return t.type!==2}function UE(t){if(t[La]===null)return;let i=!0;for(;i;){let e=!1;for(let n of t[La])n.dirty&&(e=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));i=e&&!!(t[Ze]&8192)}}var $V=100;function HE(t,i=!0,e=0){let o=t[hr].rendererFactory,r=!1;r||o.begin?.();try{qV(t,e)}catch(a){throw i&&xV(t,a),a}finally{r||o.end?.()}}function qV(t,i){let e=DS();try{Am(!0),Fv(t,i);let n=0;for(;sp(t);){if(n===$V)throw new $(103,!1);n++,Fv(t,1)}}finally{Am(e)}}function YV(t,i,e,n){if(tl(i))return;let o=i[Ze],r=!1,a=!1;Ab(i);let s=!0,c=null,p=null;r||(zE(t)?(p=jV(i),c=uc(p)):__()===null?(s=!1,p=WV(i),c=uc(p)):i[Qi]&&(mc(i[Qi]),i[Qi]=null));try{bS(i),w2(t.bindingStartIndex),e!==null&&OE(t,i,e,2,n);let g=(o&3)===3;if(!r)if(g){let D=t.preOrderCheckHooks;D!==null&&bm(i,D,null)}else{let D=t.preOrderHooks;D!==null&&ym(i,D,0,null),Y_(i,0)}if(a||QV(i),UE(i),WE(i,0),t.contentQueries!==null&&dE(t,i),!r)if(g){let D=t.contentCheckHooks;D!==null&&bm(i,D)}else{let D=t.contentHooks;D!==null&&ym(i,D,1),Y_(i,1)}ZV(t,i);let v=t.components;v!==null&&$E(i,v,0);let S=t.viewQuery;if(S!==null&&Dv(2,S,n),!r)if(g){let D=t.viewCheckHooks;D!==null&&bm(i,D)}else{let D=t.viewHooks;D!==null&&ym(i,D,2),Y_(i,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),i[q_]){for(let D of i[q_])D();i[q_]=null}r||(BE(i),i[Ze]&=-73)}catch(g){throw r||nl(i),g}finally{p!==null&&(Mu(p,c),s&&UV(p)),Rb()}}function WE(t,i){for(let e=tE(t);e!==null;e=nE(e))for(let n=Kn;n0&&(t[e-1][Co]=n[Co]);let r=Em(t,Kn+i);IV(n[tt],n);let a=r[fr];a!==null&&a.detachView(r[tt]),n[Zn]=null,n[Co]=null,n[Ze]&=-129}return n}function XV(t,i,e,n){let o=Kn+n,r=e.length;n>0&&(e[o-1][Co]=i),n-1&&(Ic(i,n),Em(e,n))}this._attachedToViewContainer=!1}vp(this._lView[tt],this._lView)}onDestroy(i){CS(this._lView,i)}markForCheck(){ny(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Ze]&=-129}reattach(){pv(this._lView),this._lView[Ze]|=128}detectChanges(){this._lView[Ze]|=1024,HE(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new $(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let i=km(this._lView),e=this._lView[Na];e!==null&&!i&&ey(e,this._lView),PE(this._lView[tt],this._lView)}attachToAppRef(i){if(this._attachedToViewContainer)throw new $(902,!1);this._appRef=i;let e=km(this._lView),n=this._lView[Na];n!==null&&!e&&KE(n,this._lView),pv(this._lView)}};var bt=(()=>{class t{static __NG_ELEMENT_ID__=tB}return t})(),JV=bt,eB=class extends JV{_declarationLView;_declarationTContainer;elementRef;constructor(i,e,n){super(),this._declarationLView=i,this._declarationTContainer=e,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(i,e){return this.createEmbeddedViewImpl(i,e)}createEmbeddedViewImpl(i,e,n){let o=Vc(this._declarationLView,this._declarationTContainer,i,{embeddedViewInjector:e,dehydratedView:n});return new Tc(o)}};function tB(){return Cp(Xn(),Ue())}function Cp(t,i){return t.type&4?new eB(i,t,il(t,i)):null}function al(t,i,e,n,o){let r=t.data[i];if(r===null)r=nB(t,i,e,n,o),x2()&&(r.flags|=32);else if(r.type&64){r.type=e,r.value=n,r.attrs=o;let a=b2();r.injectorIndex=a===null?-1:a.injectorIndex}return Kr(r,!0),r}function nB(t,i,e,n,o){let r=xS(),a=Mb(),s=a?r:r&&r.parent,c=t.data[i]=oB(t,s,e,i,n,o);return iB(t,c,r,a),c}function iB(t,i,e,n){t.firstChild===null&&(t.firstChild=i),e!==null&&(n?e.child==null&&i.parent!==null&&(e.child=i):e.next===null&&(e.next=i,i.prev=e))}function oB(t,i,e,n,o,r){let a=i?i.injectorIndex:-1,s=0;return wS()&&(s|=128),{type:e,index:n,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:s,providerIndexes:0,value:o,namespace:kS(),attrs:r,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:i,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var Vie=new RegExp(`^(\\d+)*(${dL}|${cL})*(.*)`);var rB=()=>null;function Zs(t,i){return rB(t,i)}var aB=class{},ZE=class{},Nv=class{resolveComponentFactory(i){throw Error(`No component factory found for ${vi(i)}.`)}},wp=class{static NULL=new Nv},_n=class{},At=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>sB()}return t})();function sB(){let t=Ue(),i=Xn(),e=Go(i.index,t);return(qr(e)?e:t)[sn]}var lB=(()=>{class t{static \u0275prov=F({token:t,providedIn:"root",factory:()=>null})}return t})();var Z_={},Lv=class{injector;parentInjector;constructor(i,e){this.injector=i,this.parentInjector=e}get(i,e,n){n=tp(n);let o=this.injector.get(i,Z_,n);return o!==Z_||e===Z_?o:this.parentInjector.get(i,e,n)}};function Vv(t,i,e){let n=e?t.styles:null,o=e?t.classes:null,r=0;if(i!==null)for(let a=0;a0&&(e.directiveToIndex=new Map);for(let S=0;S0;){let e=t[--i];if(typeof e=="number"&&e<0)return e}return 0}function vB(t,i,e){if(e){if(i.exportAs)for(let n=0;n{let[e,n,o]=t[i],r={propName:e,templateName:i,isSignal:(n&fp.SignalBased)!==0};return o&&(r.transform=o),r})}function CB(t){return Object.keys(t).map(i=>({propName:t[i],templateName:i}))}function wB(t,i,e){let n=i instanceof an?i:i?.injector;return n&&t.getStandaloneInjector!==null&&(n=t.getStandaloneInjector(n)||n),n?new Lv(e,n):e}function xB(t){let i=t.get(_n,null);if(i===null)throw new $(407,!1);let e=t.get(lB,null),n=t.get(Ua,null);return{rendererFactory:i,sanitizer:e,changeDetectionScheduler:n}}function DB(t,i){let e=(t.selectors[0][0]||"div").toLowerCase();return wE(i,e,e==="svg"?gS:e==="math"?l2:null)}var Ha=class extends ZE{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=yB(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=CB(this.componentDef.outputs),this.cachedOutputs}constructor(i,e){super(),this.componentDef=i,this.ngModule=e,this.componentType=i.type,this.selector=sV(i.selectors),this.ngContentSelectors=i.ngContentSelectors??[],this.isBoundToModule=!!e}create(i,e,n,o){Zt(22);let r=ct(null);try{let a=this.componentDef,s=n?["ng-version","19.2.25"]:lV(this.componentDef.selectors[0]),c=Gb(0,null,null,1,0,null,null,null,null,[s],null),p=wB(a,o||this.ngModule,i),g=xB(p),v=g.rendererFactory.createRenderer(null,a),S=n?mV(v,n,a.encapsulation,p):DB(a,v),D=$b(null,c,null,512|kE(a),null,null,g,v,p,null,cE(S,p,!0));D[wn]=S,Ab(D);let I=null;try{let R=JE(wn,c,D,"#host",()=>[this.componentDef],!0,0);S&&(DE(v,S,R),ol(S,D)),gp(c,D,R),zb(c,R,D),eM(c,R),e!==void 0&&SB(R,this.ngContentSelectors,e),I=Go(R.index,D),D[Tn]=I[Tn],Zb(c,D,null)}catch(R){throw I!==null&&Cv(I),Cv(D),R}finally{Zt(23),Rb()}return new Bv(this.componentType,D)}finally{ct(r)}}},Bv=class extends aB{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(i,e){super(),this._rootLView=e,this._tNode=Cb(e[tt],wn),this.location=il(this._tNode,e),this.instance=Go(this._tNode.index,e)[Tn],this.hostView=this.changeDetectorRef=new Tc(e,void 0,!1),this.componentType=i}setInput(i,e){let n=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(i)&&Object.is(this.previousInputValues.get(i),e))return;let o=this._rootLView,r=Kb(n,o[tt],o,i,e);this.previousInputValues.set(i,e);let a=Go(n.index,o);ny(a,1)}get injector(){return new Oa(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(i){this.hostView.onDestroy(i)}};function SB(t,i,e){let n=t.projection=[];for(let o=0;o{class t{static __NG_ELEMENT_ID__=EB}return t})();function EB(){let t=Xn();return nM(t,Ue())}var MB=Et,tM=class extends MB{_lContainer;_hostTNode;_hostLView;constructor(i,e,n){super(),this._lContainer=i,this._hostTNode=e,this._hostLView=n}get element(){return il(this._hostTNode,this._hostLView)}get injector(){return new Oa(this._hostTNode,this._hostLView)}get parentInjector(){let i=Pb(this._hostTNode,this._hostLView);if(PS(i)){let e=Om(i,this._hostLView),n=Rm(i),o=e[tt].data[n+8];return new Oa(o,e)}else return new Oa(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(i){let e=MD(this._lContainer);return e!==null&&e[i]||null}get length(){return this._lContainer.length-Kn}createEmbeddedView(i,e,n){let o,r;typeof n=="number"?o=n:n!=null&&(o=n.index,r=n.injector);let a=Zs(this._lContainer,i.ssrId),s=i.createEmbeddedViewImpl(e||{},r,a);return this.insertImpl(s,o,Ks(this._hostTNode,a)),s}createComponent(i,e,n,o,r){let a=i&&!o2(i),s;if(a)s=e;else{let I=e||{};s=I.index,n=I.injector,o=I.projectableNodes,r=I.environmentInjector||I.ngModuleRef}let c=a?i:new Ha(Yr(i)),p=n||this.parentInjector;if(!r&&c.ngModule==null){let R=(a?p:this.parentInjector).get(an,null);R&&(r=R)}let g=Yr(c.componentType??{}),v=Zs(this._lContainer,g?.id??null),S=v?.firstChild??null,D=c.create(p,o,S,r);return this.insertImpl(D.hostView,s,Ks(this._hostTNode,v)),D}insert(i,e){return this.insertImpl(i,e,!0)}insertImpl(i,e,n){let o=i._lView;if(d2(o)){let s=this.indexOf(i);if(s!==-1)this.detach(s);else{let c=o[Zn],p=new tM(c,c[Ci],c[Zn]);p.detach(p.indexOf(i))}}let r=this._adjustIndex(e),a=this._lContainer;return Bc(a,o,r,n),i.attachToViewContainerRef(),tS(X_(a),r,i),i}move(i,e){return this.insert(i,e)}indexOf(i){let e=MD(this._lContainer);return e!==null?e.indexOf(i):-1}remove(i){let e=this._adjustIndex(i,-1),n=Ic(this._lContainer,e);n&&(Em(X_(this._lContainer),e),vp(n[tt],n))}detach(i){let e=this._adjustIndex(i,-1),n=Ic(this._lContainer,e);return n&&Em(X_(this._lContainer),e)!=null?new Tc(n):null}_adjustIndex(i,e=0){return i??this.length+e}};function MD(t){return t[Tm]}function X_(t){return t[Tm]||(t[Tm]=[])}function nM(t,i){let e,n=i[t.index];return yr(n)?e=n:(e=qE(n,i,null,t),i[t.index]=e,qb(i,e)),TB(e,i,t,n),new tM(e,t,i)}function IB(t,i){let e=t[sn],n=e.createComment(""),o=Yo(i,t),r=e.parentNode(o);return Bm(e,r,n,e.nextSibling(o),!1),n}var TB=RB,kB=()=>!1;function AB(t,i,e){return kB(t,i,e)}function RB(t,i,e,n){if(t[Va])return;let o;e.type&8?o=Wo(n):o=IB(i,e),t[Va]=o}var jv=class t{queryList;matches=null;constructor(i){this.queryList=i}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},zv=class t{queries;constructor(i=[]){this.queries=i}createEmbeddedView(i){let e=i.queries;if(e!==null){let n=i.contentQueries!==null?i.contentQueries[0]:e.length,o=[];for(let r=0;r0)n.push(a[s/2]);else{let p=r[s+1],g=i[-c];for(let v=Kn;vi.trim())}function aM(t,i,e){t.queries===null&&(t.queries=new Uv),t.queries.track(new Hv(i,e))}function BB(t,i){let e=t.contentQueries||(t.contentQueries=[]),n=e.length?e[e.length-1]:-1;i!==n&&e.push(t.queries.length-1,i)}function ry(t,i){return t.queries.getByIndex(i)}function sM(t,i){let e=t[tt],n=ry(e,i);return n.crossesNgTemplate?Wv(e,t,i,[]):iM(e,t,n,i)}function lM(t,i,e){let n,o=Au(()=>{n._dirtyCounter();let r=HB(n,t);if(i&&r===void 0)throw new $(-951,!1);return r});return n=o[gi],n._dirtyCounter=wi(0),n._flatValue=void 0,o}function jB(t){return lM(!0,!1,t)}function zB(t){return lM(!0,!0,t)}function UB(t,i){let e=t[gi];e._lView=Ue(),e._queryIndex=i,e._queryList=oy(e._lView,i),e._queryList.onDirty(()=>e._dirtyCounter.update(n=>n+1))}function HB(t,i){let e=t._lView,n=t._queryIndex;if(e===void 0||n===void 0||e[Ze]&4)return i?void 0:oi;let o=oy(e,n),r=sM(e,n);return o.reset(r,KS),i?o.first:o._changesDetected||t._flatValue===void 0?t._flatValue=o.toArray():t._flatValue}function ID(t,i){return jB(i)}function WB(t,i){return zB(i)}var cM=(ID.required=WB,ID);function GB(t){let i=[],e=new Map;function n(o){let r=e.get(o);if(!r){let a=t(o);e.set(o,r=a.then(QB))}return r}return Hm.forEach((o,r)=>{let a=[];o.templateUrl&&a.push(n(o.templateUrl).then(p=>{o.template=p}));let s=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=s,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let p=o.styles.length,g=o.styleUrls;o.styleUrls.forEach((v,S)=>{s.push(""),a.push(n(v).then(D=>{s[p+S]=D,g.splice(g.indexOf(v),1),g.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&a.push(n(o.styleUrl).then(p=>{s.push(p),o.styleUrl=void 0}));let c=Promise.all(a).then(()=>KB(r));i.push(c)}),qB(),Promise.all(i).then(()=>{})}var Hm=new Map,$B=new Set;function qB(){let t=Hm;return Hm=new Map,t}function YB(){return Hm.size===0}function QB(t){return typeof t=="string"?t:t.text()}function KB(t){$B.delete(t)}var _r=class{},ay=class{};var Wm=class extends _r{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new zm(this);constructor(i,e,n,o=!0){super(),this.ngModuleType=i,this._parent=e;let r=oS(i);this._bootstrapComponents=ME(r.bootstrap),this._r3Injector=HS(i,e,[{provide:_r,useValue:this},{provide:wp,useValue:this.componentFactoryResolver},...n],vi(i),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let i=this._r3Injector;!i.destroyed&&i.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(i){this.destroyCbs.push(i)}},Gm=class extends ay{moduleType;constructor(i){super(),this.moduleType=i}create(i){return new Wm(this.moduleType,i,[])}};function ZB(t,i,e){return new Wm(t,i,e,!1)}var Gv=class extends _r{injector;componentFactoryResolver=new zm(this);instance=null;constructor(i){super();let e=new Dc([...i.providers,{provide:_r,useValue:this},{provide:wp,useValue:this.componentFactoryResolver}],i.parent||op(),i.debugName,new Set(["environment"]));this.injector=e,i.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(i){this.injector.onDestroy(i)}};function jc(t,i,e=null){return new Gv({providers:t,parent:i,debugName:e,runEnvironmentInitializers:!0}).injector}var XB=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let n=aS(!1,e.type),o=n.length>0?jc([n],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,o)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=F({token:t,providedIn:"environment",factory:()=>new t(oe(an))})}return t})();function E(t){return Ac(()=>{let i=dM(t),e=qe(L({},i),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===JS.OnPush,directiveDefs:null,pipeDefs:null,dependencies:i.standalone&&t.dependencies||null,getStandaloneInjector:i.standalone?o=>o.get(XB).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||$o.Emulated,styles:t.styles||oi,_:null,schemas:t.schemas||null,tView:null,id:""});i.standalone&&Dr("NgStandalone"),uM(e);let n=t.dependencies;return e.directiveDefs=$m(n,!1),e.pipeDefs=$m(n,!0),e.id=ij(e),e})}function JB(t){return Yr(t)||rS(t)}function ej(t){return t!==null}function X(t){return Ac(()=>({type:t.type,bootstrap:t.bootstrap||oi,declarations:t.declarations||oi,imports:t.imports||oi,exports:t.exports||oi,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function tj(t,i){if(t==null)return Uo;let e={};for(let n in t)if(t.hasOwnProperty(n)){let o=t[n],r,a,s,c;Array.isArray(o)?(s=o[0],r=o[1],a=o[2]??r,c=o[3]||null):(r=o,a=o,s=fp.None,c=null),e[r]=[n,s,c],i[r]=a}return e}function nj(t){if(t==null)return Uo;let i={};for(let e in t)t.hasOwnProperty(e)&&(i[t[e]]=e);return i}function N(t){return Ac(()=>{let i=dM(t);return uM(i),i})}function Qo(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function dM(t){let i={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:i,inputConfig:t.inputs||Uo,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||oi,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:tj(t.inputs,i),outputs:nj(t.outputs),debugInfo:null}}function uM(t){t.features?.forEach(i=>i(t))}function $m(t,i){if(!t)return null;let e=i?$N:JB;return()=>(typeof t=="function"?t():t).map(n=>e(n)).filter(ej)}function ij(t){let i=0,e=typeof t.consts=="function"?"":t.consts,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,e,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let r of n.join("|"))i=Math.imul(31,i)+r.charCodeAt(0)<<0;return i+=2147483648,"c"+i}function oj(t){return Object.getPrototypeOf(t.prototype).constructor}function pe(t){let i=oj(t.type),e=!0,n=[t];for(;i;){let o;if(Ho(t))o=i.\u0275cmp||i.\u0275dir;else{if(i.\u0275cmp)throw new $(903,!1);o=i.\u0275dir}if(o){if(e){n.push(o);let a=t;a.inputs=J_(t.inputs),a.declaredInputs=J_(t.declaredInputs),a.outputs=J_(t.outputs);let s=o.hostBindings;s&&cj(t,s);let c=o.viewQuery,p=o.contentQueries;if(c&&sj(t,c),p&&lj(t,p),rj(t,o),DN(t.outputs,o.outputs),Ho(o)&&o.data.animation){let g=t.data;g.animation=(g.animation||[]).concat(o.data.animation)}}let r=o.features;if(r)for(let a=0;a=0;n--){let o=t[n];o.hostVars=i+=o.hostVars,o.hostAttrs=Qs(o.hostAttrs,e=Qs(e,o.hostAttrs))}}function J_(t){return t===Uo?{}:t===oi?[]:t}function sj(t,i){let e=t.viewQuery;e?t.viewQuery=(n,o)=>{i(n,o),e(n,o)}:t.viewQuery=i}function lj(t,i){let e=t.contentQueries;e?t.contentQueries=(n,o,r)=>{i(n,o,r),e(n,o,r)}:t.contentQueries=i}function cj(t,i){let e=t.hostBindings;e?t.hostBindings=(n,o)=>{i(n,o),e(n,o)}:t.hostBindings=i}function mM(t){let i=e=>{let n=Array.isArray(t);e.hostDirectives===null?(e.findHostDirectiveDefs=pM,e.hostDirectives=n?t.map($v):[t]):n?e.hostDirectives.unshift(...t.map($v)):e.hostDirectives.unshift(t)};return i.ngInherit=!0,i}function pM(t,i,e){if(t.hostDirectives!==null)for(let n of t.hostDirectives)if(typeof n=="function"){let o=n();for(let r of o)TD($v(r),i,e)}else TD(n,i,e)}function TD(t,i,e){let n=rS(t.directive);dj(n.declaredInputs,t.inputs),pM(n,i,e),e.set(n,t),i.push(n)}function $v(t){return typeof t=="function"?{directive:Bn(t),inputs:Uo,outputs:Uo}:{directive:Bn(t.directive),inputs:kD(t.inputs),outputs:kD(t.outputs)}}function kD(t){if(t===void 0||t.length===0)return Uo;let i={};for(let e=0;e{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();var dy=new k(""),zc=new k(""),Dp=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(e,n,o){this._ngZone=e,this.registry=n,vb()&&(this._destroyRef=m(Zr,{optional:!0})??void 0),uy||(gj(o),o.addToWindow(n)),this._watchAngularEvents(),e.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let e=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),n=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{ne.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{e.unsubscribe(),n.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(n=>n.updateCb&&n.updateCb(e)?(clearTimeout(n.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,n,o){let r=-1;n&&n>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==r),e()},n)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:o})}whenStable(e,n,o){if(o&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,n,o),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,n,o){return[]}static \u0275fac=function(n){return new(n||t)(oe(ne),oe(Sp),oe(zc))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})(),Sp=(()=>{class t{_applications=new Map;registerApplication(e,n){this._applications.set(e,n)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,n=!0){return uy?.findTestabilityInTree(this,e,n)??null}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function gj(t){uy=t}var uy,gM=(()=>{class t{static \u0275prov=F({token:t,providedIn:"root",factory:()=>new qv})}return t})(),qv=class{queuedEffectCount=0;queues=new Map;schedule(i){this.enqueue(i)}remove(i){let e=i.zone,n=this.queues.get(e);n.has(i)&&(n.delete(i),this.queuedEffectCount--)}enqueue(i){let e=i.zone;this.queues.has(e)||this.queues.set(e,new Set);let n=this.queues.get(e);n.has(i)||(this.queuedEffectCount++,n.add(i))}flush(){for(;this.queuedEffectCount>0;)for(let[i,e]of this.queues)i===null?this.flushQueue(e):i.run(()=>this.flushQueue(e))}flushQueue(i){for(let e of i)i.delete(e),this.queuedEffectCount--,e.run()}};function ea(t){return!!t&&typeof t.then=="function"}function my(t){return!!t&&typeof t.subscribe=="function"}var _M=new k("");function py(t){return Oc([{provide:_M,multi:!0,useValue:t}])}var vM=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,n)=>{this.resolve=e,this.reject=n});appInits=m(_M,{optional:!0})??[];injector=m(Me);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let o of this.appInits){let r=yi(this.injector,o);if(ea(r))e.push(r);else if(my(r)){let a=new Promise((s,c)=>{r.subscribe({complete:s,error:c})});e.push(a)}}let n=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{n()}).catch(o=>{this.reject(o)}),e.length===0&&n(),this.initialized=!0}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),hy=new k("");function _j(){C_(()=>{throw new $(600,!1)})}function vj(t){return t.isBoundToModule}var bj=10;function bM(t,i){return Array.isArray(i)?i.reduce(bM,t):L(L({},t),i)}var ai=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=m(eL);afterRenderManager=m(sE);zonelessEnabled=m(Fb);rootEffectScheduler=m(gM);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new B;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=m(xr).hasPendingTasks.pipe(le(e=>!e));constructor(){m(rl,{optional:!0})}whenStable(){let e;return new Promise(n=>{e=this.isStable.subscribe({next:o=>{o&&n()}})}).finally(()=>{e.unsubscribe()})}_injector=m(an);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,n){return this.bootstrapImpl(e,n)}bootstrapImpl(e,n,o=Me.NULL){Zt(10);let r=e instanceof ZE;if(!this._injector.get(vM).done){let D="";throw new $(405,D)}let s;r?s=e:s=this._injector.get(wp).resolveComponentFactory(e),this.componentTypes.push(s.componentType);let c=vj(s)?void 0:this._injector.get(_r),p=n||s.selector,g=s.create(o,[],p,c),v=g.location.nativeElement,S=g.injector.get(dy,null);return S?.registerApplication(v),g.onDestroy(()=>{this.detachView(g.hostView),wm(this.components,g),S?.unregisterApplication(v)}),this._loadComponent(g),Zt(11,g),g}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Zt(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Bb.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new $(101,!1);let e=ct(null);try{this._runningTick=!0,this.synchronize()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,ct(e),this.afterTick.next(),Zt(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(_n,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++sp(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let n=e;this._views.push(n),n.attachToAppRef(this)}detachView(e){let n=e;wm(this._views,n),n.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(hy,[]).forEach(o=>o(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>wm(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new $(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function wm(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}function yj(t,i,e,n){if(!e&&!sp(t))return;HE(t,i,e&&!n?0:1)}function ee(t,i,e,n){let o=Ue(),r=$a();if(Zi(o,r,i)){let a=tn(),s=Fc();yV(s,o,t,i,e,n)}return ee}function fy(t,i,e,n){return Zi(t,$a(),e)?i+Pa(e)+n:xi}function Cj(t,i,e,n,o,r){let a=C2(),s=fM(t,a,e,o);return Tb(2),s?i+Pa(e)+n+Pa(o)+r:xi}function gm(t,i){return t<<17|i<<2}function Wa(t){return t>>17&32767}function wj(t){return(t&2)==2}function xj(t,i){return t&131071|i<<17}function Yv(t){return t|2}function Xs(t){return(t&131068)>>2}function ev(t,i){return t&-131069|i<<2}function Dj(t){return(t&1)===1}function Qv(t){return t|1}function Sj(t,i,e,n,o,r){let a=r?i.classBindings:i.styleBindings,s=Wa(a),c=Xs(a);t[n]=e;let p=!1,g;if(Array.isArray(e)){let v=e;g=v[1],(g===null||Rc(v,g)>0)&&(p=!0)}else g=e;if(o)if(c!==0){let S=Wa(t[s+1]);t[n+1]=gm(S,s),S!==0&&(t[S+1]=ev(t[S+1],n)),t[s+1]=xj(t[s+1],n)}else t[n+1]=gm(s,0),s!==0&&(t[s+1]=ev(t[s+1],n)),s=n;else t[n+1]=gm(c,0),s===0?s=n:t[c+1]=ev(t[c+1],n),c=n;p&&(t[n+1]=Yv(t[n+1])),AD(t,g,n,!0),AD(t,g,n,!1),Ej(i,g,t,n,r),a=gm(s,c),r?i.classBindings=a:i.styleBindings=a}function Ej(t,i,e,n,o){let r=o?t.residualClasses:t.residualStyles;r!=null&&typeof i=="string"&&Rc(r,i)>=0&&(e[n+1]=Qv(e[n+1]))}function AD(t,i,e,n){let o=t[e+1],r=i===null,a=n?Wa(o):Xs(o),s=!1;for(;a!==0&&(s===!1||r);){let c=t[a],p=t[a+1];Mj(c,i)&&(s=!0,t[a+1]=n?Qv(p):Yv(p)),a=n?Wa(p):Xs(p)}s&&(t[e+1]=n?Yv(o):Qv(o))}function Mj(t,i){return t===null||i==null||(Array.isArray(t)?t[1]:t)===i?!0:Array.isArray(t)&&typeof i=="string"?Rc(t,i)>=0:!1}var yo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ij(t){return t.substring(yo.key,yo.keyEnd)}function Tj(t){return kj(t),yM(t,CM(t,0,yo.textEnd))}function yM(t,i){let e=yo.textEnd;return e===i?-1:(i=yo.keyEnd=Aj(t,yo.key=i,e),CM(t,i,e))}function kj(t){yo.key=0,yo.keyEnd=0,yo.value=0,yo.valueEnd=0,yo.textEnd=t.length}function CM(t,i,e){for(;i32;)i++;return i}function h(t,i,e){let n=Ue(),o=$a();if(Zi(n,o,i)){let r=tn(),a=Fc();_p(r,a,n,t,i,n[sn],e,!1)}return h}function Kv(t,i,e,n,o){Kb(i,t,e,o?"class":"style",n)}function Un(t,i,e){return xM(t,i,e,!1),Un}function te(t,i){return xM(t,i,null,!0),te}function Vt(t){DM(Lj,wM,t,!0)}function wM(t,i){for(let e=Tj(i);e>=0;e=yM(i,e))np(t,Ij(i),!0)}function xM(t,i,e,n){let o=Ue(),r=tn(),a=Tb(2);if(r.firstUpdatePass&&EM(r,t,a,n),i!==xi&&Zi(o,a,i)){let s=r.data[Cr()];MM(r,s,o,o[sn],t,o[a+1]=Bj(i,e),n,a)}}function DM(t,i,e,n){let o=tn(),r=Tb(2);o.firstUpdatePass&&EM(o,null,r,n);let a=Ue();if(e!==xi&&Zi(a,r,e)){let s=o.data[Cr()];if(IM(s,n)&&!SM(o,r)){let c=n?s.classesWithoutHost:s.stylesWithoutHost;c!==null&&(e=rv(c,e||"")),Kv(o,s,a,e,n)}else Vj(o,s,a,a[sn],a[r+1],a[r+1]=Nj(t,i,e),n,r)}}function SM(t,i){return i>=t.expandoStartIndex}function EM(t,i,e,n){let o=t.data;if(o[e+1]===null){let r=o[Cr()],a=SM(t,e);IM(r,n)&&i===null&&!a&&(i=!1),i=Rj(o,r,i,n),Sj(o,r,i,e,a,n)}}function Rj(t,i,e,n){let o=E2(t),r=n?i.residualClasses:i.residualStyles;if(o===null)(n?i.classBindings:i.styleBindings)===0&&(e=tv(null,t,i,e,n),e=kc(e,i.attrs,n),r=null);else{let a=i.directiveStylingLast;if(a===-1||t[a]!==o)if(e=tv(o,t,i,e,n),r===null){let c=Oj(t,i,n);c!==void 0&&Array.isArray(c)&&(c=tv(null,t,i,c[1],n),c=kc(c,i.attrs,n),Pj(t,i,n,c))}else r=Fj(t,i,n)}return r!==void 0&&(n?i.residualClasses=r:i.residualStyles=r),e}function Oj(t,i,e){let n=e?i.classBindings:i.styleBindings;if(Xs(n)!==0)return t[Wa(n)]}function Pj(t,i,e,n){let o=e?i.classBindings:i.styleBindings;t[Wa(o)]=n}function Fj(t,i,e){let n,o=i.directiveEnd;for(let r=1+i.directiveStylingLast;r0;){let c=t[o],p=Array.isArray(c),g=p?c[1]:c,v=g===null,S=e[o+1];S===xi&&(S=v?oi:void 0);let D=v?G_(S,n):g===n?S:void 0;if(p&&!Ym(D)&&(D=G_(c,n)),Ym(D)&&(s=D,a))return s;let I=t[o+1];o=a?Wa(I):Xs(I)}if(i!==null){let c=r?i.residualClasses:i.residualStyles;c!=null&&(s=G_(c,n))}return s}function Ym(t){return t!==void 0}function Bj(t,i){return t==null||t===""||(typeof i=="string"?t=t+i:typeof t=="object"&&(t=vi(Xi(t)))),t}function IM(t,i){return(t.flags&(i?8:16))!==0}function TM(t,i,e){let n=Ue(),o=fy(n,t,i,e);DM(np,wM,o,!0)}var Zv=class{destroy(i){}updateValue(i,e){}swap(i,e){let n=Math.min(i,e),o=Math.max(i,e),r=this.detach(o);if(o-n>1){let a=this.detach(n);this.attach(n,r),this.attach(o,a)}else this.attach(n,r)}move(i,e){this.attach(e,this.detach(i))}};function nv(t,i,e,n,o){return t===e&&Object.is(i,n)?1:Object.is(o(t,i),o(e,n))?-1:0}function jj(t,i,e){let n,o,r=0,a=t.length-1,s=void 0;if(Array.isArray(i)){let c=i.length-1;for(;r<=a&&r<=c;){let p=t.at(r),g=i[r],v=nv(r,p,r,g,e);if(v!==0){v<0&&t.updateValue(r,g),r++;continue}let S=t.at(a),D=i[c],I=nv(a,S,c,D,e);if(I!==0){I<0&&t.updateValue(a,D),a--,c--;continue}let R=e(r,p),Q=e(a,S),j=e(r,g);if(Object.is(j,Q)){let Ke=e(c,D);Object.is(Ke,R)?(t.swap(r,a),t.updateValue(a,D),c--,a--):t.move(a,r),t.updateValue(r,g),r++;continue}if(n??=new Qm,o??=PD(t,r,a,e),Xv(t,n,r,j))t.updateValue(r,g),r++,a++;else if(o.has(j))n.set(R,t.detach(r)),a--;else{let Ke=t.create(r,i[r]);t.attach(r,Ke),r++,a++}}for(;r<=c;)OD(t,n,e,r,i[r]),r++}else if(i!=null){let c=i[Symbol.iterator](),p=c.next();for(;!p.done&&r<=a;){let g=t.at(r),v=p.value,S=nv(r,g,r,v,e);if(S!==0)S<0&&t.updateValue(r,v),r++,p=c.next();else{n??=new Qm,o??=PD(t,r,a,e);let D=e(r,v);if(Xv(t,n,r,D))t.updateValue(r,v),r++,a++,p=c.next();else if(!o.has(D))t.attach(r,t.create(r,v)),r++,a++,p=c.next();else{let I=e(r,g);n.set(I,t.detach(r)),a--}}}for(;!p.done;)OD(t,n,e,t.length,p.value),p=c.next()}for(;r<=a;)t.destroy(t.detach(a--));n?.forEach(c=>{t.destroy(c)})}function Xv(t,i,e,n){return i!==void 0&&i.has(n)?(t.attach(e,i.get(n)),i.delete(n),!0):!1}function OD(t,i,e,n,o){if(Xv(t,i,n,e(n,o)))t.updateValue(n,o);else{let r=t.create(n,o);t.attach(n,r)}}function PD(t,i,e,n){let o=new Set;for(let r=i;r<=e;r++)o.add(n(r,t.at(r)));return o}var Qm=class{kvMap=new Map;_vMap=void 0;has(i){return this.kvMap.has(i)}delete(i){if(!this.has(i))return!1;let e=this.kvMap.get(i);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(i,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(i),!0}get(i){return this.kvMap.get(i)}set(i,e){if(this.kvMap.has(i)){let n=this.kvMap.get(i);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(n);)n=o.get(n);o.set(n,e)}else this.kvMap.set(i,e)}forEach(i){for(let[e,n]of this.kvMap)if(i(n,e),this._vMap!==void 0){let o=this._vMap;for(;o.has(n);)n=o.get(n),i(n,e)}}};function we(t,i){Dr("NgControlFlow");let e=Ue(),n=$a(),o=e[n]!==xi?e[n]:-1,r=o!==-1?Km(e,wn+o):void 0,a=0;if(Zi(e,n,t)){let s=ct(null);try{if(r!==void 0&&QE(r,a),t!==-1){let c=wn+t,p=Km(e,c),g=nb(e[tt],c),v=Zs(p,g.tView.ssrId),S=Vc(e,g,i,{dehydratedView:v});Bc(p,S,a,Ks(g,v))}}finally{ct(s)}}else if(r!==void 0){let s=YE(r,a);s!==void 0&&(s[Tn]=i)}}var Jv=class{lContainer;$implicit;$index;constructor(i,e,n){this.lContainer=i,this.$implicit=e,this.$index=n}get $count(){return this.lContainer.length-Kn}};function Uc(t,i){return i}var eb=class{hasEmptyBlock;trackByFn;liveCollection;constructor(i,e,n){this.hasEmptyBlock=i,this.trackByFn=e,this.liveCollection=n}};function Mr(t,i,e,n,o,r,a,s,c,p,g,v,S){Dr("NgControlFlow");let D=Ue(),I=tn(),R=c!==void 0,Q=Ue(),j=s?a.bind(Q[Pi][Tn]):a,Ke=new eb(R,j);Q[wn+t]=Ke,qm(D,I,t+1,i,e,n,o,Qr(I.consts,r)),R&&qm(D,I,t+2,c,p,g,v,Qr(I.consts,S))}var tb=class extends Zv{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(i,e,n){super(),this.lContainer=i,this.hostLView=e,this.templateTNode=n}get length(){return this.lContainer.length-Kn}at(i){return this.getLView(i)[Tn].$implicit}attach(i,e){let n=e[$s];this.needsIndexUpdate||=i!==this.length,Bc(this.lContainer,e,i,Ks(this.templateTNode,n))}detach(i){return this.needsIndexUpdate||=i!==this.length-1,zj(this.lContainer,i)}create(i,e){let n=Zs(this.lContainer,this.templateTNode.tView.ssrId),o=Vc(this.hostLView,this.templateTNode,new Jv(this.lContainer,e,i),{dehydratedView:n});return this.operationsCounter?.recordCreate(),o}destroy(i){vp(i[tt],i),this.operationsCounter?.recordDestroy()}updateValue(i,e){this.getLView(i)[Tn].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let i=0;i(dp(!0),wE(n,o,kS()));function Wj(t,i,e,n,o){let r=i.consts,a=Qr(r,n),s=al(i,t,8,"ng-container",a);a!==null&&Vv(s,a,!0);let c=Qr(r,o);return Eb()&&iy(i,e,s,c,Qb),s.mergedAttrs=Qs(s.mergedAttrs,s.attrs),i.queries!==null&&i.queries.elementStart(i,s),s}function dt(t,i,e){let n=Ue(),o=tn(),r=t+wn,a=o.firstCreatePass?Wj(r,o,n,i,e):o.data[r];Kr(a,!0);let s=Gj(o,n,a,t);return n[r]=s,cp()&&bp(o,n,s,a),ol(s,n),ap(a)&&(gp(o,n,a),zb(o,a,n)),e!=null&&Yb(n,a),dt}function ut(){let t=Xn(),i=tn();return Mb()?Ib():(t=t.parent,Kr(t,!1)),i.firstCreatePass&&(Ob(i,t),yb(t)&&i.queries.elementEnd(t)),ut}function vn(t,i,e){return dt(t,i,e),ut(),vn}var Gj=(t,i,e,n)=>(dp(!0),HL(i[sn],""));function A(){return Ue()}function xn(t,i,e){let n=Ue(),o=$a();if(Zi(n,o,i)){let r=tn(),a=Fc();_p(r,a,n,t,i,n[sn],e,!0)}return xn}var Zm="en-US";var $j=Zm;function qj(t){typeof t=="string"&&($j=t.toLowerCase().replace(/_/g,"-"))}function FD(t,i,e){return function n(o){if(o===Function)return e;let r=el(t)?Go(t.index,i):i;ny(r,5);let a=i[Tn],s=ND(i,a,e,o),c=n.__ngNextListenerFn__;for(;c;)s=ND(i,a,c,o)&&s,c=c.__ngNextListenerFn__;return s}}function ND(t,i,e,n){let o=ct(null);try{return Zt(6,i,e),e(n)!==!1}catch(r){return Yj(t,r),!1}finally{Zt(7,i,e),ct(o)}}function Yj(t,i){let e=t[qs],n=e?e.get(ri,null):null;n&&n.handleError(i)}function LD(t,i,e,n,o,r){let a=i[e],s=i[tt],p=s.data[e].outputs[n],g=a[p],v=s.firstCreatePass?Sb(s):null,S=Db(i),D=g.subscribe(r),I=S.length;S.push(r,D),v&&v.push(o,t.index,I,-(I+1))}function b(t,i,e,n){let o=Ue(),r=tn(),a=Xn();return kM(r,o,o[sn],a,t,i,n),b}function Qj(t,i,e,n){let o=t.cleanup;if(o!=null)for(let r=0;rc?s[c]:null}typeof a=="string"&&(r+=2)}return null}function kM(t,i,e,n,o,r,a){let s=ap(n),p=t.firstCreatePass?Sb(t):null,g=Db(i),v=!0;if(n.type&3||a){let S=Yo(n,i),D=a?a(S):S,I=g.length,R=a?j=>a(Wo(j[n.index])):n.index,Q=null;if(!a&&s&&(Q=Qj(t,i,o,n.index)),Q!==null){let j=Q.__ngLastListenerFn__||Q;j.__ngNextListenerFn__=r,Q.__ngLastListenerFn__=r,v=!1}else{r=FD(n,i,r),_L(i,D,o,r);let j=e.listen(D,o,r);g.push(r,j),p&&p.push(o,R,I,I+1)}}else r=FD(n,i,r);if(v){let S=n.outputs?.[o],D=n.hostDirectiveOutputs?.[o];if(D&&D.length)for(let I=0;I(dp(!0),zL(i[sn],n));function Ve(t){return P("",t,""),Ve}function P(t,i,e){let n=Ue(),o=fy(n,t,i,e);return o!==xi&&PM(n,Cr(),o),P}function Ji(t,i,e,n,o){let r=Ue(),a=Cj(r,t,i,e,n,o);return a!==xi&&PM(r,Cr(),a),Ji}function PM(t,i,e){let n=_S(i,t);UL(t[sn],n,e)}function U(t,i,e){ZS(i)&&(i=i());let n=Ue(),o=$a();if(Zi(n,o,i)){let r=tn(),a=Fc();_p(r,a,n,t,i,n[sn],e,!1)}return U}function W(t,i){let e=ZS(t);return e&&t.set(i),e}function H(t,i){let e=Ue(),n=tn(),o=Xn();return kM(n,e,e[sn],o,t,i),H}var Jj={};function gy(t){let i=tn(),e=Ue(),n=t+wn,o=al(i,n,128,null,null);return Kr(o,!1),vS(i,e,n,Jj),gy}function e3(t,i,e){let n=tn();if(n.firstCreatePass){let o=Ho(t);ib(e,n.data,n.blueprint,o,!0),ib(i,n.data,n.blueprint,o,!1)}}function ib(t,i,e,n,o){if(t=Bn(t),Array.isArray(t))for(let r=0;r>20;if(Gs(t)||!t.multi){let D=new za(p,o,w),I=ov(c,i,o?g:g+S,v);I===-1?(_v(Fm(s,a),r,c),iv(r,t,i.length),i.push(c),s.directiveStart++,s.directiveEnd++,o&&(s.providerIndexes+=1048576),e.push(D),a.push(D)):(e[I]=D,a[I]=D)}else{let D=ov(c,i,g+S,v),I=ov(c,i,g,g+S),R=D>=0&&e[D],Q=I>=0&&e[I];if(o&&!Q||!o&&!R){_v(Fm(s,a),r,c);let j=i3(o?n3:t3,e.length,o,n,p);!o&&Q&&(e[I].providerFactory=j),iv(r,t,i.length,0),i.push(c),s.directiveStart++,s.directiveEnd++,o&&(s.providerIndexes+=1048576),e.push(j),a.push(j)}else{let j=FM(e[o?I:D],p,!o&&n);iv(r,t,D>-1?D:I,j)}!o&&n&&Q&&e[I].componentProviders++}}}function iv(t,i,e,n){let o=Gs(i),r=ZN(i);if(o||r){let c=(r?Bn(i.useClass):i).prototype.ngOnDestroy;if(c){let p=t.destroyHooks||(t.destroyHooks=[]);if(!o&&i.multi){let g=p.indexOf(e);g===-1?p.push(e,[n,c]):p[g+1].push(n,c)}else p.push(e,c)}}}function FM(t,i,e){return e&&t.componentProviders++,t.multi.push(i)-1}function ov(t,i,e,n){for(let o=e;o{e.providersResolver=(n,o)=>e3(n,o?o(t):t,i)}}function NM(t,i,e){let n=t.\u0275cmp;n.directiveDefs=$m(i,!1),n.pipeDefs=$m(e,!0)}function sl(t,i,e){let n=Pc()+t,o=Ue();return o[n]===xi?ly(o,n,e?i.call(e):i()):mj(o,n)}function Jn(t,i,e,n){return VM(Ue(),Pc(),t,i,e,n)}function Ep(t,i,e,n,o){return BM(Ue(),Pc(),t,i,e,n,o)}function LM(t,i){let e=t[i];return e===xi?void 0:e}function VM(t,i,e,n,o,r){let a=i+e;return Zi(t,a,o)?ly(t,a+1,r?n.call(r,o):n(o)):LM(t,a+1)}function BM(t,i,e,n,o,r,a){let s=i+e;return fM(t,s,o,r)?ly(t,s+2,a?n.call(a,o,r):n(o,r)):LM(t,s+2)}function _t(t,i){let e=tn(),n,o=t+wn;e.firstCreatePass?(n=o3(i,e.pipeRegistry),e.data[o]=n,n.onDestroy&&(e.destroyHooks??=[]).push(o,n.onDestroy)):n=e.data[o];let r=n.factory||(n.factory=Fa(n.type,!0)),a,s=_i(w);try{let c=Pm(!1),p=r();return Pm(c),vS(e,Ue(),o,p),p}finally{_i(s)}}function o3(t,i){if(i)for(let e=i.length-1;e>=0;e--){let n=i[e];if(t===n.name)return n}}function Ct(t,i,e){let n=t+wn,o=Ue(),r=wb(o,n);return jM(o,n)?VM(o,Pc(),i,r.transform,e,r):r.transform(e)}function _y(t,i,e,n){let o=t+wn,r=Ue(),a=wb(r,o);return jM(r,o)?BM(r,Pc(),i,a.transform,e,n,a):a.transform(e,n)}function jM(t,i){return t[tt].data[i].pure}function mn(t,i){return Cp(t,i)}var _m=null;function r3(t){_m!==null&&(t.defaultEncapsulation!==_m.defaultEncapsulation||t.preserveWhitespaces!==_m.preserveWhitespaces)||(_m=t)}var Ga=class{full;major;minor;patch;constructor(i){this.full=i;let e=i.split(".");this.major=e[0],this.minor=e[1],this.patch=e.slice(2).join(".")}},vy=new Ga("19.2.25"),rb=class{ngModuleFactory;componentFactories;constructor(i,e){this.ngModuleFactory=i,this.componentFactories=e}},zM=(()=>{class t{compileModuleSync(e){return new Gm(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let n=this.compileModuleSync(e),o=oS(e),r=ME(o.declarations).reduce((a,s)=>{let c=Yr(s);return c&&a.push(new Ha(c)),a},[]);return new rb(n,r)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),a3=new k("");function s3(t,i,e){let n=new Gm(e);return Promise.resolve(n)}function VD(t){for(let i=t.length-1;i>=0;i--)if(t[i]!==void 0)return t[i]}var l3=(()=>{class t{zone=m(ne);changeDetectionScheduler=m(Ua);applicationRef=m(ai);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function c3({ngZoneFactory:t,ignoreChangesOutsideZone:i,scheduleInRootZone:e}){return t??=()=>new ne(qe(L({},UM()),{scheduleInRootZone:e})),[{provide:ne,useFactory:t},{provide:Ws,multi:!0,useFactory:()=>{let n=m(l3,{optional:!0});return()=>n.initialize()}},{provide:Ws,multi:!0,useFactory:()=>{let n=m(d3);return()=>{n.initialize()}}},i===!0?{provide:GS,useValue:!0}:[],{provide:$S,useValue:e??WS}]}function UM(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var d3=(()=>{class t{subscription=new he;initialized=!1;zone=m(ne);pendingTasks=m(xr);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ne.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ne.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var u3=(()=>{class t{appRef=m(ai);taskService=m(xr);ngZone=m(ne);zonelessEnabled=m(Fb);tracing=m(rl,{optional:!0});disableScheduling=m(GS,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new he;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Lm):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(m($S,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Vm||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;let n=!1;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,n=!0;break}case 12:{this.appRef.dirtyFlags|=16,n=!0;break}case 13:{this.appRef.dirtyFlags|=2,n=!0;break}case 11:{n=!0;break}default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(n))return;let o=this.useMicrotaskScheduler?cD:qS;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(e){return!(this.disableScheduling&&!e||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Lm+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(n){throw this.taskService.remove(e),n}finally{this.cleanup()}this.useMicrotaskScheduler=!0,cD(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function m3(){return typeof $localize<"u"&&$localize.locale||Zm}var Hc=new k("",{providedIn:"root",factory:()=>m(Hc,lt.Optional|lt.SkipSelf)||m3()});var Xm=new k(""),p3=new k("");function yc(t){return!t.moduleRef}function h3(t){let i=yc(t)?t.r3Injector:t.moduleRef.injector,e=i.get(ne);return e.run(()=>{yc(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let n=i.get(ri,null),o;if(e.runOutsideAngular(()=>{o=e.onError.subscribe({next:r=>{n.handleError(r)}})}),yc(t)){let r=()=>i.destroy(),a=t.platformInjector.get(Xm);a.add(r),i.onDestroy(()=>{o.unsubscribe(),a.delete(r)})}else{let r=()=>t.moduleRef.destroy(),a=t.platformInjector.get(Xm);a.add(r),t.moduleRef.onDestroy(()=>{wm(t.allPlatformModules,t.moduleRef),o.unsubscribe(),a.delete(r)})}return g3(n,e,()=>{let r=i.get(vM);return r.runInitializers(),r.donePromise.then(()=>{let a=i.get(Hc,Zm);if(qj(a||Zm),!i.get(p3,!0))return yc(t)?i.get(ai):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(yc(t)){let c=i.get(ai);return t.rootComponent!==void 0&&c.bootstrap(t.rootComponent),c}else return f3(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function f3(t,i){let e=t.injector.get(ai);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(n=>e.bootstrap(n));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new $(-403,!1);i.push(t)}function g3(t,i,e){try{let n=e();return ea(n)?n.catch(o=>{throw i.runOutsideAngular(()=>t.handleError(o)),o}):n}catch(n){throw i.runOutsideAngular(()=>t.handleError(n)),n}}var HM=(()=>{class t{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(e){this._injector=e}bootstrapModuleFactory(e,n){let o=n?.scheduleInRootZone,r=()=>J2(n?.ngZone,qe(L({},UM({eventCoalescing:n?.ngZoneEventCoalescing,runCoalescing:n?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),a=n?.ignoreChangesOutsideZone,s=[c3({ngZoneFactory:r,ignoreChangesOutsideZone:a}),{provide:Ua,useExisting:u3}],c=ZB(e.moduleType,this.injector,s);return h3({moduleRef:c,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,n=[]){let o=bM({},n);return s3(this.injector,o,e).then(r=>this.bootstrapModuleFactory(r,o))}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new $(404,!1);this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n());let e=this._injector.get(Xm,null);e&&(e.forEach(n=>n()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(n){return new(n||t)(oe(Me))};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),by=null;function _3(t){if(Cy())throw new $(400,!1);_j(),by=t;let i=t.get(HM);return y3(t),i}function yy(t,i,e=[]){let n=`Platform: ${i}`,o=new k(n);return(r=[])=>{let a=Cy();if(!a){let s=[...e,...r,{provide:o,useValue:!0}];a=t?.(s)??_3(v3(s,n))}return b3(o)}}function v3(t=[],i){return Me.create({name:i,providers:[{provide:ip,useValue:"platform"},{provide:Xm,useValue:new Set([()=>by=null])},...t]})}function b3(t){let i=Cy();if(!i)throw new $(401,!1);return i}function Cy(){return by?.get(HM)??null}function y3(t){let i=t.get(Vb,null);yi(t,()=>{i?.forEach(e=>e())})}var De=(()=>{class t{static __NG_ELEMENT_ID__=C3}return t})();function C3(t){return w3(Xn(),Ue(),(t&16)===16)}function w3(t,i,e){if(el(t)&&!e){let n=Go(t.index,i);return new Tc(n,n)}else if(t.type&175){let n=i[Pi];return new Tc(n,i)}return null}var ab=class{constructor(){}supports(i){return hM(i)}create(i){return new sb(i)}},x3=(t,i)=>i,sb=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(i){this._trackByFn=i||x3}forEachItem(i){let e;for(e=this._itHead;e!==null;e=e._next)i(e)}forEachOperation(i){let e=this._itHead,n=this._removalsHead,o=0,r=null;for(;e||n;){let a=!n||e&&e.currentIndex{a=this._trackByFn(o,s),e===null||!Object.is(e.trackById,a)?(e=this._mismatch(e,s,a,o),n=!0):(n&&(e=this._verifyReinsertion(e,s,a,o)),Object.is(e.item,s)||this._addIdentityChange(e,s)),e=e._next,o++}),this.length=o;return this._truncate(e),this.collection=i,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let i;for(i=this._previousItHead=this._itHead;i!==null;i=i._next)i._nextPrevious=i._next;for(i=this._additionsHead;i!==null;i=i._nextAdded)i.previousIndex=i.currentIndex;for(this._additionsHead=this._additionsTail=null,i=this._movesHead;i!==null;i=i._nextMoved)i.previousIndex=i.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(i,e,n,o){let r;return i===null?r=this._itTail:(r=i._prev,this._remove(i)),i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),i!==null?(Object.is(i.item,e)||this._addIdentityChange(i,e),this._reinsertAfter(i,r,o)):(i=this._linkedRecords===null?null:this._linkedRecords.get(n,o),i!==null?(Object.is(i.item,e)||this._addIdentityChange(i,e),this._moveAfter(i,r,o)):i=this._addAfter(new lb(e,n),r,o)),i}_verifyReinsertion(i,e,n,o){let r=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return r!==null?i=this._reinsertAfter(r,i._prev,o):i.currentIndex!=o&&(i.currentIndex=o,this._addToMoves(i,o)),i}_truncate(i){for(;i!==null;){let e=i._next;this._addToRemovals(this._unlink(i)),i=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(i,e,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(i);let o=i._prevRemoved,r=i._nextRemoved;return o===null?this._removalsHead=r:o._nextRemoved=r,r===null?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(i,e,n),this._addToMoves(i,n),i}_moveAfter(i,e,n){return this._unlink(i),this._insertAfter(i,e,n),this._addToMoves(i,n),i}_addAfter(i,e,n){return this._insertAfter(i,e,n),this._additionsTail===null?this._additionsTail=this._additionsHead=i:this._additionsTail=this._additionsTail._nextAdded=i,i}_insertAfter(i,e,n){let o=e===null?this._itHead:e._next;return i._next=o,i._prev=e,o===null?this._itTail=i:o._prev=i,e===null?this._itHead=i:e._next=i,this._linkedRecords===null&&(this._linkedRecords=new Jm),this._linkedRecords.put(i),i.currentIndex=n,i}_remove(i){return this._addToRemovals(this._unlink(i))}_unlink(i){this._linkedRecords!==null&&this._linkedRecords.remove(i);let e=i._prev,n=i._next;return e===null?this._itHead=n:e._next=n,n===null?this._itTail=e:n._prev=e,i}_addToMoves(i,e){return i.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=i:this._movesTail=this._movesTail._nextMoved=i),i}_addToRemovals(i){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Jm),this._unlinkedRecords.put(i),i.currentIndex=null,i._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=i,i._prevRemoved=null):(i._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=i),i}_addIdentityChange(i,e){return i.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=i:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=i,i}},lb=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(i,e){this.item=i,this.trackById=e}},cb=class{_head=null;_tail=null;add(i){this._head===null?(this._head=this._tail=i,i._nextDup=null,i._prevDup=null):(this._tail._nextDup=i,i._prevDup=this._tail,i._nextDup=null,this._tail=i)}get(i,e){let n;for(n=this._head;n!==null;n=n._nextDup)if((e===null||e<=n.currentIndex)&&Object.is(n.trackById,i))return n;return null}remove(i){let e=i._prevDup,n=i._nextDup;return e===null?this._head=n:e._nextDup=n,n===null?this._tail=e:n._prevDup=e,this._head===null}},Jm=class{map=new Map;put(i){let e=i.trackById,n=this.map.get(e);n||(n=new cb,this.map.set(e,n)),n.add(i)}get(i,e){let n=i,o=this.map.get(n);return o?o.get(i,e):null}remove(i){let e=i.trackById;return this.map.get(e).remove(i)&&this.map.delete(e),i}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function BD(t,i,e){let n=t.previousIndex;if(n===null)return n;let o=0;return e&&n{if(e&&e.key===o)this._maybeAddToChanges(e,n),this._appendAfter=e,e=e._next;else{let r=this._getOrCreateRecordForKey(o,n);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let n=e;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(i,e){if(i){let n=i._prev;return e._next=i,e._prev=n,i._prev=e,n&&(n._next=e),i===this._mapHead&&(this._mapHead=e),this._appendAfter=i,i}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(i,e){if(this._records.has(i)){let o=this._records.get(i);this._maybeAddToChanges(o,e);let r=o._prev,a=o._next;return r&&(r._next=a),a&&(a._prev=r),o._next=null,o._prev=null,o}let n=new mb(i);return this._records.set(i,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let i;for(this._previousMapHead=this._mapHead,i=this._previousMapHead;i!==null;i=i._next)i._nextPrevious=i._next;for(i=this._changesHead;i!==null;i=i._nextChanged)i.previousValue=i.currentValue;for(i=this._additionsHead;i!=null;i=i._nextAdded)i.previousValue=i.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(i,e){Object.is(e,i.currentValue)||(i.previousValue=i.currentValue,i.currentValue=e,this._addToChanges(i))}_addToAdditions(i){this._additionsHead===null?this._additionsHead=this._additionsTail=i:(this._additionsTail._nextAdded=i,this._additionsTail=i)}_addToChanges(i){this._changesHead===null?this._changesHead=this._changesTail=i:(this._changesTail._nextChanged=i,this._changesTail=i)}_forEach(i,e){i instanceof Map?i.forEach(e):Object.keys(i).forEach(n=>e(i[n],n))}},mb=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(i){this.key=i}};function jD(){return new Ko([new ab])}var Ko=(()=>{class t{factories;static \u0275prov=F({token:t,providedIn:"root",factory:jD});constructor(e){this.factories=e}static create(e,n){if(n!=null){let o=n.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||jD()),deps:[[t,new vr,new wo]]}}find(e){let n=this.factories.find(o=>o.supports(e));if(n!=null)return n;throw new $(901,!1)}}return t})();function zD(){return new Mp([new db])}var Mp=(()=>{class t{static \u0275prov=F({token:t,providedIn:"root",factory:zD});factories;constructor(e){this.factories=e}static create(e,n){if(n){let o=n.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||zD()),deps:[[t,new vr,new wo]]}}find(e){let n=this.factories.find(o=>o.supports(e));if(n)return n;throw new $(901,!1)}}return t})();var WM=yy(null,"core",[]),GM=(()=>{class t{constructor(e){}static \u0275fac=function(n){return new(n||t)(oe(ai))};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();function G(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Xt(t,i=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):i}function Di(t){return D_(t)}function Zo(t,i){return Au(t,i?.equal)}var pb=class{[gi];constructor(i){this[gi]=i}destroy(){this[gi].destroy()}};function Wc(t,i){!i?.injector&&bb(Wc);let e=i?.injector??m(Me),n=i?.manualCleanup!==!0?e.get(Zr):null,o,r=e.get(jb,null,{optional:!0}),a=e.get(Ua);return r!==null&&!i?.forceRoot?(o=E3(r.view,a,t),n instanceof Nm&&n._lView===r.view&&(n=null)):o=M3(t,e.get(gM),a),o.injector=e,n!==null&&(o.onDestroyFn=n.onDestroy(()=>o.destroy())),new pb(o)}var $M=qe(L({},ks),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Mc,run(){if(this.dirty=!1,this.hasRun&&!Iu(this))return;this.hasRun=!0;let t=n=>(this.cleanupFns??=[]).push(n),i=uc(this),e=Am(!1);try{this.maybeCleanup(),this.fn(t)}finally{Am(e),Mu(this,i)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),D3=qe(L({},$M),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){mc(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),S3=qe(L({},$M),{consumerMarkedDirty(){this.view[Ze]|=8192,nl(this.view),this.notifier.notify(13)},destroy(){mc(this),this.onDestroyFn(),this.maybeCleanup(),this.view[La]?.delete(this)}});function E3(t,i,e){let n=Object.create(S3);return n.view=t,n.zone=typeof Zone<"u"?Zone.current:null,n.notifier=i,n.fn=e,t[La]??=new Set,t[La].add(n),n.consumerMarkedDirty(n),n}function M3(t,i,e){let n=Object.create(D3);return n.fn=t,n.scheduler=i,n.notifier=e,n.zone=typeof Zone<"u"?Zone.current:null,n.scheduler.schedule(n),n.notifier.notify(12),n}function Ip(t,i){let e=Yr(t),n=i.elementInjector||op();return new Ha(e).create(n,i.projectableNodes,i.hostElement,i.environmentInjector)}function qM(t){let i=Yr(t);if(!i)return null;let e=new Ha(i);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return i.standalone},get isSignal(){return i.signals}}}var ce=new k("");var KM=null;function Fi(){return KM}function wy(t){KM??=t}var Gc=class{},$c=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:()=>m(ZM),providedIn:"platform"})}return t})(),xy=new k(""),ZM=(()=>{class t extends $c{_location;_history;_doc=m(ce);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Fi().getBaseHref(this._doc)}onPopState(e){let n=Fi().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",e,!1),()=>n.removeEventListener("popstate",e)}onHashChange(e){let n=Fi().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",e,!1),()=>n.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,n,o){this._history.pushState(e,n,o)}replaceState(e,n,o){this._history.replaceState(e,n,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function Tp(t,i){return t?i?t.endsWith("/")?i.startsWith("/")?t+i.slice(1):t+i:i.startsWith("/")?t+i:`${t}/${i}`:t:i}function YM(t){let i=t.search(/#|\?|$/);return t[i-1]==="/"?t.slice(0,i-1)+t.slice(i):t}function xo(t){return t&&t[0]!=="?"?`?${t}`:t}var Do=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:()=>m(Ap),providedIn:"root"})}return t})(),kp=new k(""),Ap=(()=>{class t extends Do{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??m(ce).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Tp(this._baseHref,e)}path(e=!1){let n=this._platformLocation.pathname+xo(this._platformLocation.search),o=this._platformLocation.hash;return o&&e?`${n}${o}`:n}pushState(e,n,o,r){let a=this.prepareExternalUrl(o+xo(r));this._platformLocation.pushState(e,n,a)}replaceState(e,n,o,r){let a=this.prepareExternalUrl(o+xo(r));this._platformLocation.replaceState(e,n,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(n){return new(n||t)(oe($c),oe(kp,8))};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Xo=(()=>{class t{_subject=new B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let n=this._locationStrategy.getBaseHref();this._basePath=k3(YM(QM(n))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,n=""){return this.path()==this.normalize(e+xo(n))}normalize(e){return t.stripTrailingSlash(T3(this._basePath,QM(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,n="",o=null){this._locationStrategy.pushState(o,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+xo(n)),o)}replaceState(e,n="",o=null){this._locationStrategy.replaceState(o,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+xo(n)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)}),()=>{let n=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",n){this._urlChangeListeners.forEach(o=>o(e,n))}subscribe(e,n,o){return this._subject.subscribe({next:e,error:n??void 0,complete:o??void 0})}static normalizeQueryParams=xo;static joinWithSlash=Tp;static stripTrailingSlash=YM;static \u0275fac=function(n){return new(n||t)(oe(Do))};static \u0275prov=F({token:t,factory:()=>I3(),providedIn:"root"})}return t})();function I3(){return new Xo(oe(Do))}function T3(t,i){if(!t||!i.startsWith(t))return i;let e=i.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:i}function QM(t){return t.replace(/\/index.html$/,"")}function k3(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var My=(()=>{class t extends Do{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,n!=null&&(this._baseHref=n)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let n=this._platformLocation.hash??"#";return n.length>0?n.substring(1):n}prepareExternalUrl(e){let n=Tp(this._baseHref,e);return n.length>0?"#"+n:n}pushState(e,n,o,r){let a=this.prepareExternalUrl(o+xo(r))||this._platformLocation.pathname;this._platformLocation.pushState(e,n,a)}replaceState(e,n,o,r){let a=this.prepareExternalUrl(o+xo(r))||this._platformLocation.pathname;this._platformLocation.replaceState(e,n,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(n){return new(n||t)(oe($c),oe(kp,8))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})();var Dy=/\s+/,XM=[],si=(()=>{class t{_ngEl;_renderer;initialClasses=XM;rawClass;stateMap=new Map;constructor(e,n){this._ngEl=e,this._renderer=n}set klass(e){this.initialClasses=e!=null?e.trim().split(Dy):XM}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(Dy):e}ngDoCheck(){for(let n of this.initialClasses)this._updateState(n,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let n of e)this._updateState(n,!0);else if(e!=null)for(let n of Object.keys(e))this._updateState(n,!!e[n]);this._applyStateDiff()}_updateState(e,n){let o=this.stateMap.get(e);o!==void 0?(o.enabled!==n&&(o.changed=!0,o.enabled=n),o.touched=!0):this.stateMap.set(e,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let n=e[0],o=e[1];o.changed?(this._toggleClass(n,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),o.touched=!1}}_toggleClass(e,n){e=e.trim(),e.length>0&&e.split(Dy).forEach(o=>{n?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(n){return new(n||t)(w(K),w(At))};static \u0275dir=N({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var Rp=class{$implicit;ngForOf;index;count;constructor(i,e,n,o){this.$implicit=i,this.ngForOf=e,this.index=n,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Fe=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,n,o){this._viewContainer=e,this._template=n,this._differs=o}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let n=this._viewContainer;e.forEachOperation((o,r,a)=>{if(o.previousIndex==null)n.createEmbeddedView(this._template,new Rp(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)n.remove(r===null?void 0:r);else if(r!==null){let s=n.get(r);n.move(s,a),JM(s,o)}});for(let o=0,r=n.length;o{let r=n.get(o.currentIndex);JM(r,o)})}static ngTemplateContextGuard(e,n){return!0}static \u0275fac=function(n){return new(n||t)(w(Et),w(bt),w(Ko))};static \u0275dir=N({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function JM(t,i){t.context.$implicit=i.item}var de=(()=>{class t{_viewContainer;_context=new Op;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,n){this._viewContainer=e,this._thenTemplateRef=n}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){eI(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){eI(e,!1),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,n){return!0}static \u0275fac=function(n){return new(n||t)(w(Et),w(bt))};static \u0275dir=N({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),Op=class{$implicit=null;ngIf=null};function eI(t,i){if(t&&!t.createEmbeddedView)throw new $(2020,!1)}var Pp=class{_viewContainerRef;_templateRef;_created=!1;constructor(i,e){this._viewContainerRef=i,this._templateRef=e}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(i){i&&!this._created?this.create():!i&&this._created&&this.destroy()}},Qa=(()=>{class t{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(e){this._ngSwitch=e,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){let n=e===this._ngSwitch;return this._lastCasesMatched||=n,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),n}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(let n of this._defaultViews)n.enforceState(e)}}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return t})(),qc=(()=>{class t{ngSwitch;_view;ngSwitchCase;constructor(e,n,o){this.ngSwitch=o,o._addCase(),this._view=new Pp(e,n)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(n){return new(n||t)(w(Et),w(bt),w(Qa,9))};static \u0275dir=N({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return t})(),Iy=(()=>{class t{constructor(e,n,o){o._addDefault(new Pp(e,n))}static \u0275fac=function(n){return new(n||t)(w(Et),w(bt),w(Qa,9))};static \u0275dir=N({type:t,selectors:[["","ngSwitchDefault",""]]})}return t})();var Ty=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,n,o){this._ngEl=e,this._differs=n,this._renderer=o}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,n){let[o,r]=e.split("."),a=o.indexOf("-")===-1?void 0:qo.DashCase;n!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,r?`${n}${r}`:n,a):this._renderer.removeStyle(this._ngEl.nativeElement,o,a)}_applyChanges(e){e.forEachRemovedItem(n=>this._setStyle(n.key,null)),e.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),e.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}static \u0275fac=function(n){return new(n||t)(w(K),w(Mp),w(At))};static \u0275dir=N({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),Yc=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,n,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,o):!1,get:(e,n,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,o)}})}static \u0275fac=function(n){return new(n||t)(w(Et))};static \u0275dir=N({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[He]})}return t})();function A3(t,i){return new $(2100,!1)}var Sy=class{createSubscription(i,e){return Di(()=>i.subscribe({next:e,error:n=>{throw n}}))}dispose(i){Di(()=>i.unsubscribe())}},Ey=class{createSubscription(i,e){return i.then(n=>e?.(n),n=>{throw n}),{unsubscribe:()=>{e=null}}}dispose(i){i.unsubscribe()}},R3=new Ey,O3=new Sy,ky=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,n=>this._updateLatestValue(e,n))}_selectStrategy(e){if(ea(e))return R3;if(my(e))return O3;throw A3(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,n){e===this._obj&&(this._latestValue=n,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(n){return new(n||t)(w(De,16))};static \u0275pipe=Qo({name:"async",type:t,pure:!1})}return t})();function P3(t,i){return{key:t,value:i}}var Ay=(()=>{class t{differs;constructor(e){this.differs=e}differ;keyValues=[];compareFn=tI;transform(e,n=tI){if(!e||!(e instanceof Map)&&typeof e!="object")return null;this.differ??=this.differs.find(e).create();let o=this.differ.diff(e),r=n!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(a=>{this.keyValues.push(P3(a.key,a.currentValue))})),(o||r)&&(n&&this.keyValues.sort(n),this.compareFn=n),this.keyValues}static \u0275fac=function(n){return new(n||t)(w(Mp,16))};static \u0275pipe=Qo({name:"keyvalue",type:t,pure:!1})}return t})();function tI(t,i){let e=t.key,n=i.key;if(e===n)return 0;if(e==null)return 1;if(n==null)return-1;if(typeof e=="string"&&typeof n=="string")return e{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();function Qc(t,i){i=encodeURIComponent(i);for(let e of t.split(";")){let n=e.indexOf("="),[o,r]=n==-1?[e,""]:[e.slice(0,n),e.slice(n+1)];if(o.trim()===i)return decodeURIComponent(r)}return null}var Fp="browser",nI="server";function Ry(t){return t===Fp}function Np(t){return t===nI}var Za=class{};var iI=(()=>{class t{static \u0275prov=F({token:t,providedIn:"root",factory:()=>new Oy(m(ce),window)})}return t})(),Oy=class{document;window;offset=()=>[0,0];constructor(i,e){this.document=i,this.window=e}setOffset(i){Array.isArray(i)?this.offset=()=>i:this.offset=i}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(i){this.window.scrollTo(i[0],i[1])}scrollToAnchor(i){let e=F3(this.document,i);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(i){this.window.history.scrollRestoration=i}scrollToElement(i){let e=i.getBoundingClientRect(),n=e.left+this.window.pageXOffset,o=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],o-r[1])}};function F3(t,i){let e=t.getElementById(i)||t.getElementsByName(i)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),o=n.currentNode;for(;o;){let r=o.shadowRoot;if(r){let a=r.getElementById(i)||r.querySelector(`[name="${i}"]`);if(a)return a}o=n.nextNode()}}return null}var Bp=new k(""),Ly=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,n){this._zone=n,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,n,o,r){return this._findPluginFor(n).addEventListener(e,n,o,r)}getZone(){return this._zone}_findPluginFor(e){let n=this._eventNameToPlugin.get(e);if(n)return n;if(n=this._plugins.find(r=>r.supports(e)),!n)throw new $(5101,!1);return this._eventNameToPlugin.set(e,n),n}static \u0275fac=function(n){return new(n||t)(oe(Bp),oe(ne))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})(),Kc=class{_doc;constructor(i){this._doc=i}manager},Lp="ng-app-id";function oI(t){for(let i of t)i.remove()}function rI(t,i){let e=i.createElement("style");return e.textContent=t,e}function N3(t,i,e,n){let o=t.head?.querySelectorAll(`style[${Lp}="${i}"],link[${Lp}="${i}"]`);if(o)for(let r of o)r.removeAttribute(Lp),r instanceof HTMLLinkElement?n.set(r.href.slice(r.href.lastIndexOf("/")+1),{usage:0,elements:[r]}):r.textContent&&e.set(r.textContent,{usage:0,elements:[r]})}function Fy(t,i){let e=i.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var Vy=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,n,o,r={}){this.doc=e,this.appId=n,this.nonce=o,this.isServer=Np(r),N3(e,n,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,n){for(let o of e)this.addUsage(o,this.inline,rI);n?.forEach(o=>this.addUsage(o,this.external,Fy))}removeStyles(e,n){for(let o of e)this.removeUsage(o,this.inline);n?.forEach(o=>this.removeUsage(o,this.external))}addUsage(e,n,o){let r=n.get(e);r?r.usage++:n.set(e,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,o(e,this.doc)))})}removeUsage(e,n){let o=n.get(e);o&&(o.usage--,o.usage<=0&&(oI(o.elements),n.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])oI(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[n,{elements:o}]of this.inline)o.push(this.addElement(e,rI(n,this.doc)));for(let[n,{elements:o}]of this.external)o.push(this.addElement(e,Fy(n,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,n){return this.nonce&&n.setAttribute("nonce",this.nonce),this.isServer&&n.setAttribute(Lp,this.appId),e.appendChild(n)}static \u0275fac=function(n){return new(n||t)(oe(ce),oe(qa),oe(Nc,8),oe(Jr))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})(),Py={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},By=/%COMP%/g;var sI="%COMP%",L3=`_nghost-${sI}`,V3=`_ngcontent-${sI}`,B3=!0,j3=new k("",{providedIn:"root",factory:()=>B3});function z3(t){return V3.replace(By,t)}function U3(t){return L3.replace(By,t)}function lI(t,i){return i.map(e=>e.replace(By,t))}var Jc=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,n,o,r,a,s,c,p=null,g=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=o,this.removeStylesOnCompDestroy=r,this.doc=a,this.platformId=s,this.ngZone=c,this.nonce=p,this.tracingService=g,this.platformIsServer=Np(s),this.defaultRenderer=new Zc(e,a,c,this.platformIsServer,this.tracingService)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===$o.ShadowDom&&(n=qe(L({},n),{encapsulation:$o.Emulated}));let o=this.getOrCreateRenderer(e,n);return o instanceof Vp?o.applyToHost(e):o instanceof Xc&&o.applyStyles(),o}getOrCreateRenderer(e,n){let o=this.rendererByCompId,r=o.get(n.id);if(!r){let a=this.doc,s=this.ngZone,c=this.eventManager,p=this.sharedStylesHost,g=this.removeStylesOnCompDestroy,v=this.platformIsServer,S=this.tracingService;switch(n.encapsulation){case $o.Emulated:r=new Vp(c,p,n,this.appId,g,a,s,v,S);break;case $o.ShadowDom:return new Ny(c,p,e,n,a,s,this.nonce,v,S);default:r=new Xc(c,p,n,g,a,s,v,S);break}o.set(n.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(n){return new(n||t)(oe(Ly),oe(Vy),oe(qa),oe(j3),oe(ce),oe(Jr),oe(ne),oe(Nc),oe(rl,8))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})(),Zc=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(i,e,n,o,r){this.eventManager=i,this.doc=e,this.ngZone=n,this.platformIsServer=o,this.tracingService=r}destroy(){}destroyNode=null;createElement(i,e){return e?this.doc.createElementNS(Py[e]||e,i):this.doc.createElement(i)}createComment(i){return this.doc.createComment(i)}createText(i){return this.doc.createTextNode(i)}appendChild(i,e){(aI(i)?i.content:i).appendChild(e)}insertBefore(i,e,n){i&&(aI(i)?i.content:i).insertBefore(e,n)}removeChild(i,e){e.remove()}selectRootElement(i,e){let n=typeof i=="string"?this.doc.querySelector(i):i;if(!n)throw new $(-5104,!1);return e||(n.textContent=""),n}parentNode(i){return i.parentNode}nextSibling(i){return i.nextSibling}setAttribute(i,e,n,o){if(o){e=o+":"+e;let r=Py[o];r?i.setAttributeNS(r,e,n):i.setAttribute(e,n)}else i.setAttribute(e,n)}removeAttribute(i,e,n){if(n){let o=Py[n];o?i.removeAttributeNS(o,e):i.removeAttribute(`${n}:${e}`)}else i.removeAttribute(e)}addClass(i,e){i.classList.add(e)}removeClass(i,e){i.classList.remove(e)}setStyle(i,e,n,o){o&(qo.DashCase|qo.Important)?i.style.setProperty(e,n,o&qo.Important?"important":""):i.style[e]=n}removeStyle(i,e,n){n&qo.DashCase?i.style.removeProperty(e):i.style[e]=""}setProperty(i,e,n){i!=null&&(i[e]=n)}setValue(i,e){i.nodeValue=e}listen(i,e,n,o){if(typeof i=="string"&&(i=Fi().getGlobalEventTarget(this.doc,i),!i))throw new $(5102,!1);let r=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(r=this.tracingService.wrapEventListener(i,e,r)),this.eventManager.addEventListener(i,e,r,o)}decoratePreventDefault(i){return e=>{if(e==="__ngUnwrap__")return i;(this.platformIsServer?this.ngZone.runGuarded(()=>i(e)):i(e))===!1&&e.preventDefault()}}};function aI(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Ny=class extends Zc{sharedStylesHost;hostEl;shadowRoot;constructor(i,e,n,o,r,a,s,c,p){super(i,r,a,c,p),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let g=o.styles;g=lI(o.id,g);for(let S of g){let D=document.createElement("style");s&&D.setAttribute("nonce",s),D.textContent=S,this.shadowRoot.appendChild(D)}let v=o.getExternalStyles?.();if(v)for(let S of v){let D=Fy(S,r);s&&D.setAttribute("nonce",s),this.shadowRoot.appendChild(D)}}nodeOrShadowRoot(i){return i===this.hostEl?this.shadowRoot:i}appendChild(i,e){return super.appendChild(this.nodeOrShadowRoot(i),e)}insertBefore(i,e,n){return super.insertBefore(this.nodeOrShadowRoot(i),e,n)}removeChild(i,e){return super.removeChild(null,e)}parentNode(i){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(i)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Xc=class extends Zc{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(i,e,n,o,r,a,s,c,p){super(i,r,a,s,c),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o;let g=n.styles;this.styles=p?lI(p,g):g,this.styleUrls=n.getExternalStyles?.(p)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Vp=class extends Xc{contentAttr;hostAttr;constructor(i,e,n,o,r,a,s,c,p){let g=o+"-"+n.id;super(i,e,n,r,a,s,c,p,g),this.contentAttr=z3(g),this.hostAttr=U3(g)}applyToHost(i){this.applyStyles(),this.setAttribute(i,this.hostAttr,"")}createElement(i,e){let n=super.createElement(i,e);return super.setAttribute(n,this.contentAttr,""),n}};var jp=class t extends Gc{supportsDOMEvents=!0;static makeCurrent(){wy(new t)}onAndCancel(i,e,n,o){return i.addEventListener(e,n,o),()=>{i.removeEventListener(e,n,o)}}dispatchEvent(i,e){i.dispatchEvent(e)}remove(i){i.remove()}createElement(i,e){return e=e||this.getDefaultDocument(),e.createElement(i)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(i){return i.nodeType===Node.ELEMENT_NODE}isShadowRoot(i){return i instanceof DocumentFragment}getGlobalEventTarget(i,e){return e==="window"?window:e==="document"?i:e==="body"?i.body:null}getBaseHref(i){let e=H3();return e==null?null:W3(e)}resetBaseElement(){ed=null}getUserAgent(){return window.navigator.userAgent}getCookie(i){return Qc(document.cookie,i)}},ed=null;function H3(){return ed=ed||document.head.querySelector("base"),ed?ed.getAttribute("href"):null}function W3(t){return new URL(t,document.baseURI).pathname}var zp=class{addToWindow(i){bi.getAngularTestability=(n,o=!0)=>{let r=i.findTestabilityInTree(n,o);if(r==null)throw new $(5103,!1);return r},bi.getAllAngularTestabilities=()=>i.getAllTestabilities(),bi.getAllAngularRootElements=()=>i.getAllRootElements();let e=n=>{let o=bi.getAllAngularTestabilities(),r=o.length,a=function(){r--,r==0&&n()};o.forEach(s=>{s.whenStable(a)})};bi.frameworkStabilizers||(bi.frameworkStabilizers=[]),bi.frameworkStabilizers.push(e)}findTestabilityInTree(i,e,n){if(e==null)return null;let o=i.getTestability(e);return o??(n?Fi().isShadowRoot(e)?this.findTestabilityInTree(i,e.host,!0):this.findTestabilityInTree(i,e.parentElement,!0):null)}},G3=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})(),dI=(()=>{class t extends Kc{constructor(e){super(e)}supports(e){return!0}addEventListener(e,n,o,r){return e.addEventListener(n,o,r),()=>this.removeEventListener(e,n,o,r)}removeEventListener(e,n,o,r){return e.removeEventListener(n,o,r)}static \u0275fac=function(n){return new(n||t)(oe(ce))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})(),cI=["alt","control","meta","shift"],$3={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},q3={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},uI=(()=>{class t extends Kc{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,n,o,r){let a=t.parseEventName(n),s=t.eventCallback(a.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Fi().onAndCancel(e,a.domEventName,s,r))}static parseEventName(e){let n=e.toLowerCase().split("."),o=n.shift();if(n.length===0||!(o==="keydown"||o==="keyup"))return null;let r=t._normalizeKey(n.pop()),a="",s=n.indexOf("code");if(s>-1&&(n.splice(s,1),a="code."),cI.forEach(p=>{let g=n.indexOf(p);g>-1&&(n.splice(g,1),a+=p+".")}),a+=r,n.length!=0||r.length===0)return null;let c={};return c.domEventName=o,c.fullKey=a,c}static matchEventFullKeyCode(e,n){let o=$3[e.key]||e.key,r="";return n.indexOf("code.")>-1&&(o=e.code,r="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),cI.forEach(a=>{if(a!==o){let s=q3[a];s(e)&&(r+=a+".")}}),r+=o,r===n)}static eventCallback(e,n,o){return r=>{t.matchEventFullKeyCode(r,e)&&o.runGuarded(()=>n(r))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(n){return new(n||t)(oe(ce))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})();function Y3(){jp.makeCurrent()}function Q3(){return new ri}function K3(){return oE(document),document}var Z3=[{provide:Jr,useValue:Fp},{provide:Vb,useValue:Y3,multi:!0},{provide:ce,useFactory:K3}],jy=yy(WM,"browser",Z3);var X3=[{provide:zc,useClass:zp},{provide:dy,useClass:Dp,deps:[ne,Sp,zc]},{provide:Dp,useClass:Dp,deps:[ne,Sp,zc]}],J3=[{provide:ip,useValue:"root"},{provide:ri,useFactory:Q3},{provide:Bp,useClass:dI,multi:!0,deps:[ce]},{provide:Bp,useClass:uI,multi:!0,deps:[ce]},Jc,Vy,Ly,{provide:_n,useExisting:Jc},{provide:Za,useClass:G3},[]],td=(()=>{class t{constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[...J3,...X3],imports:[Ka,GM]})}return t})();var cl=class{},nd=class{},Jo=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(i){i?typeof i=="string"?this.lazyInit=()=>{this.headers=new Map,i.split(` -`).forEach(e=>{let n=e.indexOf(":");if(n>0){let o=e.slice(0,n),r=e.slice(n+1).trim();this.addHeaderEntry(o,r)}})}:typeof Headers<"u"&&i instanceof Headers?(this.headers=new Map,i.forEach((e,n)=>{this.addHeaderEntry(n,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(i).forEach(([e,n])=>{this.setHeaderEntries(e,n)})}:this.headers=new Map}has(i){return this.init(),this.headers.has(i.toLowerCase())}get(i){this.init();let e=this.headers.get(i.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(i){return this.init(),this.headers.get(i.toLowerCase())||null}append(i,e){return this.clone({name:i,value:e,op:"a"})}set(i,e){return this.clone({name:i,value:e,op:"s"})}delete(i,e){return this.clone({name:i,value:e,op:"d"})}maybeSetNormalizedName(i,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,i)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(i=>this.applyUpdate(i)),this.lazyUpdate=null))}copyFrom(i){i.init(),Array.from(i.headers.keys()).forEach(e=>{this.headers.set(e,i.headers.get(e)),this.normalizedNames.set(e,i.normalizedNames.get(e))})}clone(i){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([i]),e}applyUpdate(i){let e=i.name.toLowerCase();switch(i.op){case"a":case"s":let n=i.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(i.name,e);let o=(i.op==="a"?this.headers.get(e):void 0)||[];o.push(...n),this.headers.set(e,o);break;case"d":let r=i.value;if(!r)this.headers.delete(e),this.normalizedNames.delete(e);else{let a=this.headers.get(e);if(!a)return;a=a.filter(s=>r.indexOf(s)===-1),a.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}break}}addHeaderEntry(i,e){let n=i.toLowerCase();this.maybeSetNormalizedName(i,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e])}setHeaderEntries(i,e){let n=(Array.isArray(e)?e:[e]).map(r=>r.toString()),o=i.toLowerCase();this.headers.set(o,n),this.maybeSetNormalizedName(i,o)}forEach(i){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>i(this.normalizedNames.get(e),this.headers.get(e)))}};var Hp=class{encodeKey(i){return mI(i)}encodeValue(i){return mI(i)}decodeKey(i){return decodeURIComponent(i)}decodeValue(i){return decodeURIComponent(i)}};function ez(t,i){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{let r=o.indexOf("="),[a,s]=r==-1?[i.decodeKey(o),""]:[i.decodeKey(o.slice(0,r)),i.decodeValue(o.slice(r+1))],c=e.get(a)||[];c.push(s),e.set(a,c)}),e}var tz=/%(\d[a-f0-9])/gi,nz={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function mI(t){return encodeURIComponent(t).replace(tz,(i,e)=>nz[e]??i)}function Up(t){return`${t}`}var Tr=class t{map;encoder;updates=null;cloneFrom=null;constructor(i={}){if(this.encoder=i.encoder||new Hp,i.fromString){if(i.fromObject)throw new $(2805,!1);this.map=ez(i.fromString,this.encoder)}else i.fromObject?(this.map=new Map,Object.keys(i.fromObject).forEach(e=>{let n=i.fromObject[e],o=Array.isArray(n)?n.map(Up):[Up(n)];this.map.set(e,o)})):this.map=null}has(i){return this.init(),this.map.has(i)}get(i){this.init();let e=this.map.get(i);return e?e[0]:null}getAll(i){return this.init(),this.map.get(i)||null}keys(){return this.init(),Array.from(this.map.keys())}append(i,e){return this.clone({param:i,value:e,op:"a"})}appendAll(i){let e=[];return Object.keys(i).forEach(n=>{let o=i[n];Array.isArray(o)?o.forEach(r=>{e.push({param:n,value:r,op:"a"})}):e.push({param:n,value:o,op:"a"})}),this.clone(e)}set(i,e){return this.clone({param:i,value:e,op:"s"})}delete(i,e){return this.clone({param:i,value:e,op:"d"})}toString(){return this.init(),this.keys().map(i=>{let e=this.encoder.encodeKey(i);return this.map.get(i).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(i=>i!=="").join("&")}clone(i){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(i),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(i=>this.map.set(i,this.cloneFrom.map.get(i))),this.updates.forEach(i=>{switch(i.op){case"a":case"s":let e=(i.op==="a"?this.map.get(i.param):void 0)||[];e.push(Up(i.value)),this.map.set(i.param,e);break;case"d":if(i.value!==void 0){let n=this.map.get(i.param)||[],o=n.indexOf(Up(i.value));o!==-1&&n.splice(o,1),n.length>0?this.map.set(i.param,n):this.map.delete(i.param)}else{this.map.delete(i.param);break}}}),this.cloneFrom=this.updates=null)}};var Wp=class{map=new Map;set(i,e){return this.map.set(i,e),this}get(i){return this.map.has(i)||this.map.set(i,i.defaultValue()),this.map.get(i)}delete(i){return this.map.delete(i),this}has(i){return this.map.has(i)}keys(){return this.map.keys()}};function iz(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function pI(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function hI(t){return typeof Blob<"u"&&t instanceof Blob}function fI(t){return typeof FormData<"u"&&t instanceof FormData}function oz(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var gI="Content-Type",_I="Accept",bI="X-Request-URL",yI="text/plain",CI="application/json",rz=`${CI}, ${yI}, */*`,ll=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(i,e,n,o){this.url=e,this.method=i.toUpperCase();let r;if(iz(this.method)||o?(this.body=n!==void 0?n:null,r=o):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers??=new Jo,this.context??=new Wp,!this.params)this.params=new Tr,this.urlWithParams=e;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=e;else{let s=e.indexOf("?"),c=s===-1?"?":sS.set(D,i.setHeaders[D]),p)),i.setParams&&(g=Object.keys(i.setParams).reduce((S,D)=>S.set(D,i.setParams[D]),g)),new t(e,n,a,{params:g,headers:p,context:v,reportProgress:c,responseType:o,withCredentials:s,transferCache:r})}},Xa=(function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t})(Xa||{}),dl=class{headers;status;statusText;url;ok;type;constructor(i,e=200,n="OK"){this.headers=i.headers||new Jo,this.status=i.status!==void 0?i.status:e,this.statusText=i.statusText||n,this.url=i.url||null,this.ok=this.status>=200&&this.status<300}},Gp=class t extends dl{constructor(i={}){super(i)}type=Xa.ResponseHeader;clone(i={}){return new t({headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},id=class t extends dl{body;constructor(i={}){super(i),this.body=i.body!==void 0?i.body:null}type=Xa.Response;clone(i={}){return new t({body:i.body!==void 0?i.body:this.body,headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},od=class extends dl{name="HttpErrorResponse";message;error;ok=!1;constructor(i){super(i,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${i.url||"(unknown url)"}`:this.message=`Http failure response for ${i.url||"(unknown url)"}: ${i.status} ${i.statusText}`,this.error=i.error||null}},az=200,sz=204;function zy(t,i){return{body:i,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var ul=(()=>{class t{handler;constructor(e){this.handler=e}request(e,n,o={}){let r;if(e instanceof ll)r=e;else{let c;o.headers instanceof Jo?c=o.headers:c=new Jo(o.headers);let p;o.params&&(o.params instanceof Tr?p=o.params:p=new Tr({fromObject:o.params})),r=new ll(e,n,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:p,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=ie(r).pipe(Bo(c=>this.handler.handle(c)));if(e instanceof ll||o.observe==="events")return a;let s=a.pipe(Ye(c=>c instanceof id));switch(o.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return s.pipe(le(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new $(2806,!1);return c.body}));case"blob":return s.pipe(le(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new $(2807,!1);return c.body}));case"text":return s.pipe(le(c=>{if(c.body!==null&&typeof c.body!="string")throw new $(2808,!1);return c.body}));default:return s.pipe(le(c=>c.body))}case"response":return s;default:throw new $(2809,!1)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:new Tr().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,o={}){return this.request("PATCH",e,zy(o,n))}post(e,n,o={}){return this.request("POST",e,zy(o,n))}put(e,n,o={}){return this.request("PUT",e,zy(o,n))}static \u0275fac=function(n){return new(n||t)(oe(cl))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})();var lz=new k("");function wI(t,i){return i(t)}function cz(t,i){return(e,n)=>i.intercept(e,{handle:o=>t(o,n)})}function dz(t,i,e){return(n,o)=>yi(e,()=>i(n,r=>t(r,o)))}var xI=new k(""),Hy=new k(""),DI=new k(""),Wy=new k("",{providedIn:"root",factory:()=>!0});function uz(){let t=null;return(i,e)=>{t===null&&(t=(m(xI,{optional:!0})??[]).reduceRight(cz,wI));let n=m(xr);if(m(Wy)){let r=n.add();return t(i,e).pipe(jo(()=>n.remove(r)))}else return t(i,e)}}var $p=(()=>{class t extends cl{backend;injector;chain=null;pendingTasks=m(xr);contributeToStability=m(Wy);constructor(e,n){super(),this.backend=e,this.injector=n}handle(e){if(this.chain===null){let n=Array.from(new Set([...this.injector.get(Hy),...this.injector.get(DI,[])]));this.chain=n.reduceRight((o,r)=>dz(o,r,this.injector),wI)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(jo(()=>this.pendingTasks.remove(n)))}else return this.chain(e,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||t)(oe(nd),oe(an))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})();var mz=/^\)\]\}',?\n/,pz=RegExp(`^${bI}:`,"m");function hz(t){return"responseURL"in t&&t.responseURL?t.responseURL:pz.test(t.getAllResponseHeaders())?t.getResponseHeader(bI):null}var Uy=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new $(-2800,!1);let n=this.xhrFactory;return(n.\u0275loadImpl?Ut(n.\u0275loadImpl()):ie(null)).pipe(St(()=>new Le(r=>{let a=n.build();if(a.open(e.method,e.urlWithParams),e.withCredentials&&(a.withCredentials=!0),e.headers.forEach((R,Q)=>a.setRequestHeader(R,Q.join(","))),e.headers.has(_I)||a.setRequestHeader(_I,rz),!e.headers.has(gI)){let R=e.detectContentTypeHeader();R!==null&&a.setRequestHeader(gI,R)}if(e.responseType){let R=e.responseType.toLowerCase();a.responseType=R!=="json"?R:"text"}let s=e.serializeBody(),c=null,p=()=>{if(c!==null)return c;let R=a.statusText||"OK",Q=new Jo(a.getAllResponseHeaders()),j=hz(a)||e.url;return c=new Gp({headers:Q,status:a.status,statusText:R,url:j}),c},g=()=>{let{headers:R,status:Q,statusText:j,url:Ke}=p(),gt=null;Q!==sz&&(gt=typeof a.response>"u"?a.responseText:a.response),Q===0&&(Q=gt?az:0);let gn=Q>=200&&Q<300;if(e.responseType==="json"&&typeof gt=="string"){let jr=gt;gt=gt.replace(mz,"");try{gt=gt!==""?JSON.parse(gt):null}catch(Gi){gt=jr,gn&&(gn=!1,gt={error:Gi,text:gt})}}gn?(r.next(new id({body:gt,headers:R,status:Q,statusText:j,url:Ke||void 0})),r.complete()):r.error(new od({error:gt,headers:R,status:Q,statusText:j,url:Ke||void 0}))},v=R=>{let{url:Q}=p(),j=new od({error:R,status:a.status||0,statusText:a.statusText||"Unknown Error",url:Q||void 0});r.error(j)},S=!1,D=R=>{S||(r.next(p()),S=!0);let Q={type:Xa.DownloadProgress,loaded:R.loaded};R.lengthComputable&&(Q.total=R.total),e.responseType==="text"&&a.responseText&&(Q.partialText=a.responseText),r.next(Q)},I=R=>{let Q={type:Xa.UploadProgress,loaded:R.loaded};R.lengthComputable&&(Q.total=R.total),r.next(Q)};return a.addEventListener("load",g),a.addEventListener("error",v),a.addEventListener("timeout",v),a.addEventListener("abort",v),e.reportProgress&&(a.addEventListener("progress",D),s!==null&&a.upload&&a.upload.addEventListener("progress",I)),a.send(s),r.next({type:Xa.Sent}),()=>{a.removeEventListener("error",v),a.removeEventListener("abort",v),a.removeEventListener("load",g),a.removeEventListener("timeout",v),e.reportProgress&&(a.removeEventListener("progress",D),s!==null&&a.upload&&a.upload.removeEventListener("progress",I)),a.readyState!==a.DONE&&a.abort()}})))}static \u0275fac=function(n){return new(n||t)(oe(Za))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})(),SI=new k(""),fz="XSRF-TOKEN",gz=new k("",{providedIn:"root",factory:()=>fz}),_z="X-XSRF-TOKEN",vz=new k("",{providedIn:"root",factory:()=>_z}),rd=class{},bz=(()=>{class t{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,n){this.doc=e,this.cookieName=n}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Qc(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(n){return new(n||t)(oe(ce),oe(gz))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})(),yz=/^(?:https?:)?\/\//i;function Cz(t,i){if(!m(SI)||t.method==="GET"||t.method==="HEAD"||yz.test(t.url))return i(t);let e=m(rd).getToken(),n=m(vz);return e!=null&&!t.headers.has(n)&&(t=t.clone({headers:t.headers.set(n,e)})),i(t)}var Gy=(function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t})(Gy||{});function wz(t,i){return{\u0275kind:t,\u0275providers:i}}function $y(...t){let i=[ul,Uy,$p,{provide:cl,useExisting:$p},{provide:nd,useFactory:()=>m(lz,{optional:!0})??m(Uy)},{provide:Hy,useValue:Cz,multi:!0},{provide:SI,useValue:!0},{provide:rd,useClass:bz}];for(let e of t)i.push(...e.\u0275providers);return Oc(i)}var vI=new k("");function qy(){return wz(Gy.LegacyInterceptors,[{provide:vI,useFactory:uz},{provide:Hy,useExisting:vI,multi:!0}])}var MI=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(n){return new(n||t)(oe(ce))};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ja=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:function(n){let o=null;return n?o=new(n||t):o=oe(xz),o},providedIn:"root"})}return t})(),xz=(()=>{class t extends Ja{_doc;constructor(e){super(),this._doc=e}sanitize(e,n){if(n==null)return null;switch(e){case zn.NONE:return n;case zn.HTML:return Sr(n,"HTML")?Xi(n):Ub(this._doc,String(n)).toString();case zn.STYLE:return Sr(n,"Style")?Xi(n):n;case zn.SCRIPT:if(Sr(n,"Script"))return Xi(n);throw new $(5200,!1);case zn.URL:return Sr(n,"URL")?Xi(n):pp(String(n));case zn.RESOURCE_URL:if(Sr(n,"ResourceURL"))return Xi(n);throw new $(5201,!1);default:throw new $(5202,!1)}}bypassSecurityTrustHtml(e){return mE(e)}bypassSecurityTrustStyle(e){return pE(e)}bypassSecurityTrustScript(e){return hE(e)}bypassSecurityTrustUrl(e){return fE(e)}bypassSecurityTrustResourceUrl(e){return gE(e)}static \u0275fac=function(n){return new(n||t)(oe(ce))};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var at="primary",bd=Symbol("RouteTitle"),Xy=class{params;constructor(i){this.params=i||{}}has(i){return Object.prototype.hasOwnProperty.call(this.params,i)}get(i){if(this.has(i)){let e=this.params[i];return Array.isArray(e)?e[0]:e}return null}getAll(i){if(this.has(i)){let e=this.params[i];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function ns(t){return new Xy(t)}function FI(t,i,e){let n=e.path.split("/");if(n.length>t.length||e.pathMatch==="full"&&(i.hasChildren()||n.lengthn[r]===o)}else return t===i}function LI(t){return t.length>0?t[t.length-1]:null}function aa(t){return Ns(t)?t:ea(t)?Ut(Promise.resolve(t)):ie(t)}var Sz={exact:BI,subset:jI},VI={exact:Ez,subset:Mz,ignored:()=>!0};function II(t,i,e){return Sz[e.paths](t.root,i.root,e.matrixParams)&&VI[e.queryParams](t.queryParams,i.queryParams)&&!(e.fragment==="exact"&&t.fragment!==i.fragment)}function Ez(t,i){return er(t,i)}function BI(t,i,e){if(!es(t.segments,i.segments)||!Qp(t.segments,i.segments,e)||t.numberOfChildren!==i.numberOfChildren)return!1;for(let n in i.children)if(!t.children[n]||!BI(t.children[n],i.children[n],e))return!1;return!0}function Mz(t,i){return Object.keys(i).length<=Object.keys(t).length&&Object.keys(i).every(e=>NI(t[e],i[e]))}function jI(t,i,e){return zI(t,i,i.segments,e)}function zI(t,i,e,n){if(t.segments.length>e.length){let o=t.segments.slice(0,e.length);return!(!es(o,e)||i.hasChildren()||!Qp(o,e,n))}else if(t.segments.length===e.length){if(!es(t.segments,e)||!Qp(t.segments,e,n))return!1;for(let o in i.children)if(!t.children[o]||!jI(t.children[o],i.children[o],n))return!1;return!0}else{let o=e.slice(0,t.segments.length),r=e.slice(t.segments.length);return!es(t.segments,o)||!Qp(t.segments,o,n)||!t.children[at]?!1:zI(t.children[at],i,r,n)}}function Qp(t,i,e){return i.every((n,o)=>VI[e](t[o].parameters,n.parameters))}var nr=class{root;queryParams;fragment;_queryParamMap;constructor(i=new Pt([],{}),e={},n=null){this.root=i,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap??=ns(this.queryParams),this._queryParamMap}toString(){return kz.serialize(this)}},Pt=class{segments;children;parent=null;constructor(i,e){this.segments=i,this.children=e,Object.values(e).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Kp(this)}},na=class{path;parameters;_parameterMap;constructor(i,e){this.path=i,this.parameters=e}get parameterMap(){return this._parameterMap??=ns(this.parameters),this._parameterMap}toString(){return HI(this)}};function Iz(t,i){return es(t,i)&&t.every((e,n)=>er(e.parameters,i[n].parameters))}function es(t,i){return t.length!==i.length?!1:t.every((e,n)=>e.path===i[n].path)}function Tz(t,i){let e=[];return Object.entries(t.children).forEach(([n,o])=>{n===at&&(e=e.concat(i(o,n)))}),Object.entries(t.children).forEach(([n,o])=>{n!==at&&(e=e.concat(i(o,n)))}),e}var is=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:()=>new ia,providedIn:"root"})}return t})(),ia=class{parse(i){let e=new t0(i);return new nr(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(i){let e=`/${sd(i.root,!0)}`,n=Oz(i.queryParams),o=typeof i.fragment=="string"?`#${Az(i.fragment)}`:"";return`${e}${n}${o}`}},kz=new ia;function Kp(t){return t.segments.map(i=>HI(i)).join("/")}function sd(t,i){if(!t.hasChildren())return Kp(t);if(i){let e=t.children[at]?sd(t.children[at],!1):"",n=[];return Object.entries(t.children).forEach(([o,r])=>{o!==at&&n.push(`${o}:${sd(r,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}else{let e=Tz(t,(n,o)=>o===at?[sd(t.children[at],!1)]:[`${o}:${sd(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[at]!=null?`${Kp(t)}/${e[0]}`:`${Kp(t)}/(${e.join("//")})`}}function UI(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function qp(t){return UI(t).replace(/%3B/gi,";")}function Az(t){return encodeURI(t)}function e0(t){return UI(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Zp(t){return decodeURIComponent(t)}function TI(t){return Zp(t.replace(/\+/g,"%20"))}function HI(t){return`${e0(t.path)}${Rz(t.parameters)}`}function Rz(t){return Object.entries(t).map(([i,e])=>`;${e0(i)}=${e0(e)}`).join("")}function Oz(t){let i=Object.entries(t).map(([e,n])=>Array.isArray(n)?n.map(o=>`${qp(e)}=${qp(o)}`).join("&"):`${qp(e)}=${qp(n)}`).filter(e=>e);return i.length?`?${i.join("&")}`:""}var Pz=/^[^\/()?;#]+/;function Yy(t){let i=t.match(Pz);return i?i[0]:""}var Fz=/^[^\/()?;=#]+/;function Nz(t){let i=t.match(Fz);return i?i[0]:""}var Lz=/^[^=?&#]+/;function Vz(t){let i=t.match(Lz);return i?i[0]:""}var Bz=/^[^&#]+/;function jz(t){let i=t.match(Bz);return i?i[0]:""}var t0=class{url;remaining;constructor(i){this.url=i,this.remaining=i}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Pt([],{}):new Pt([],this.parseChildren())}parseQueryParams(){let i={};if(this.consumeOptional("?"))do this.parseQueryParam(i);while(this.consumeOptional("&"));return i}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let i=[];for(this.peekStartsWith("(")||i.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),i.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(i.length>0||Object.keys(e).length>0)&&(n[at]=new Pt(i,e)),n}parseSegment(){let i=Yy(this.remaining);if(i===""&&this.peekStartsWith(";"))throw new $(4009,!1);return this.capture(i),new na(Zp(i),this.parseMatrixParams())}parseMatrixParams(){let i={};for(;this.consumeOptional(";");)this.parseParam(i);return i}parseParam(i){let e=Nz(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let o=Yy(this.remaining);o&&(n=o,this.capture(n))}i[Zp(e)]=Zp(n)}parseQueryParam(i){let e=Vz(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let a=jz(this.remaining);a&&(n=a,this.capture(n))}let o=TI(e),r=TI(n);if(i.hasOwnProperty(o)){let a=i[o];Array.isArray(a)||(a=[a],i[o]=a),a.push(r)}else i[o]=r}parseParens(i){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Yy(this.remaining),o=this.remaining[n.length];if(o!=="/"&&o!==")"&&o!==";")throw new $(4010,!1);let r;n.indexOf(":")>-1?(r=n.slice(0,n.indexOf(":")),this.capture(r),this.capture(":")):i&&(r=at);let a=this.parseChildren();e[r]=Object.keys(a).length===1?a[at]:new Pt([],a),this.consumeOptional("//")}return e}peekStartsWith(i){return this.remaining.startsWith(i)}consumeOptional(i){return this.peekStartsWith(i)?(this.remaining=this.remaining.substring(i.length),!0):!1}capture(i){if(!this.consumeOptional(i))throw new $(4011,!1)}};function WI(t){return t.segments.length>0?new Pt([],{[at]:t}):t}function GI(t){let i={};for(let[n,o]of Object.entries(t.children)){let r=GI(o);if(n===at&&r.segments.length===0&&r.hasChildren())for(let[a,s]of Object.entries(r.children))i[a]=s;else(r.segments.length>0||r.hasChildren())&&(i[n]=r)}let e=new Pt(t.segments,i);return zz(e)}function zz(t){if(t.numberOfChildren===1&&t.children[at]){let i=t.children[at];return new Pt(t.segments.concat(i.segments),i.children)}return t}function oa(t){return t instanceof nr}function $I(t,i,e=null,n=null){let o=qI(t);return YI(o,i,e,n)}function qI(t){let i;function e(r){let a={};for(let c of r.children){let p=e(c);a[c.outlet]=p}let s=new Pt(r.url,a);return r===t&&(i=s),s}let n=e(t.root),o=WI(n);return i??o}function YI(t,i,e,n){let o=t;for(;o.parent;)o=o.parent;if(i.length===0)return Qy(o,o,o,e,n);let r=Uz(i);if(r.toRoot())return Qy(o,o,new Pt([],{}),e,n);let a=Hz(r,o,t),s=a.processChildren?cd(a.segmentGroup,a.index,r.commands):KI(a.segmentGroup,a.index,r.commands);return Qy(o,a.segmentGroup,s,e,n)}function Jp(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function ud(t){return typeof t=="object"&&t!=null&&t.outlets}function Qy(t,i,e,n,o){let r={};n&&Object.entries(n).forEach(([c,p])=>{r[c]=Array.isArray(p)?p.map(g=>`${g}`):`${p}`});let a;t===i?a=e:a=QI(t,i,e);let s=WI(GI(a));return new nr(s,r,o)}function QI(t,i,e){let n={};return Object.entries(t.children).forEach(([o,r])=>{r===i?n[o]=e:n[o]=QI(r,i,e)}),new Pt(t.segments,n)}var eh=class{isAbsolute;numberOfDoubleDots;commands;constructor(i,e,n){if(this.isAbsolute=i,this.numberOfDoubleDots=e,this.commands=n,i&&n.length>0&&Jp(n[0]))throw new $(4003,!1);let o=n.find(ud);if(o&&o!==LI(n))throw new $(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Uz(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new eh(!0,0,t);let i=0,e=!1,n=t.reduce((o,r,a)=>{if(typeof r=="object"&&r!=null){if(r.outlets){let s={};return Object.entries(r.outlets).forEach(([c,p])=>{s[c]=typeof p=="string"?p.split("/"):p}),[...o,{outlets:s}]}if(r.segmentPath)return[...o,r.segmentPath]}return typeof r!="string"?[...o,r]:a===0?(r.split("/").forEach((s,c)=>{c==0&&s==="."||(c==0&&s===""?e=!0:s===".."?i++:s!=""&&o.push(s))}),o):[...o,r]},[]);return new eh(e,i,n)}var hl=class{segmentGroup;processChildren;index;constructor(i,e,n){this.segmentGroup=i,this.processChildren=e,this.index=n}};function Hz(t,i,e){if(t.isAbsolute)return new hl(i,!0,0);if(!e)return new hl(i,!1,NaN);if(e.parent===null)return new hl(e,!0,0);let n=Jp(t.commands[0])?0:1,o=e.segments.length-1+n;return Wz(e,o,t.numberOfDoubleDots)}function Wz(t,i,e){let n=t,o=i,r=e;for(;r>o;){if(r-=o,n=n.parent,!n)throw new $(4005,!1);o=n.segments.length}return new hl(n,!1,o-r)}function Gz(t){return ud(t[0])?t[0].outlets:{[at]:t}}function KI(t,i,e){if(t??=new Pt([],{}),t.segments.length===0&&t.hasChildren())return cd(t,i,e);let n=$z(t,i,e),o=e.slice(n.commandIndex);if(n.match&&n.pathIndexr!==at)&&t.children[at]&&t.numberOfChildren===1&&t.children[at].segments.length===0){let r=cd(t.children[at],i,e);return new Pt(t.segments,r.children)}return Object.entries(n).forEach(([r,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(o[r]=KI(t.children[r],i,a))}),Object.entries(t.children).forEach(([r,a])=>{n[r]===void 0&&(o[r]=a)}),new Pt(t.segments,o)}}function $z(t,i,e){let n=0,o=i,r={match:!1,pathIndex:0,commandIndex:0};for(;o=e.length)return r;let a=t.segments[o],s=e[n];if(ud(s))break;let c=`${s}`,p=n0&&c===void 0)break;if(c&&p&&typeof p=="object"&&p.outlets===void 0){if(!AI(c,p,a))return r;n+=2}else{if(!AI(c,{},a))return r;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}function n0(t,i,e){let n=t.segments.slice(0,i),o=0;for(;o{typeof n=="string"&&(n=[n]),n!==null&&(i[e]=n0(new Pt([],{}),0,n))}),i}function kI(t){let i={};return Object.entries(t).forEach(([e,n])=>i[e]=`${n}`),i}function AI(t,i,e){return t==e.path&&er(i,e.parameters)}var Xp="imperative",kn=(function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t})(kn||{}),Li=class{id;url;constructor(i,e){this.id=i,this.url=e}},ra=class extends Li{type=kn.NavigationStart;navigationTrigger;restoredState;constructor(i,e,n="imperative",o=null){super(i,e),this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},eo=class extends Li{urlAfterRedirects;type=kn.NavigationEnd;constructor(i,e,n){super(i,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Si=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t})(Si||{}),gl=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(gl||{}),tr=class extends Li{reason;code;type=kn.NavigationCancel;constructor(i,e,n,o){super(i,e),this.reason=n,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},ir=class extends Li{reason;code;type=kn.NavigationSkipped;constructor(i,e,n,o){super(i,e),this.reason=n,this.code=o}},_l=class extends Li{error;target;type=kn.NavigationError;constructor(i,e,n,o){super(i,e),this.error=n,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},md=class extends Li{urlAfterRedirects;state;type=kn.RoutesRecognized;constructor(i,e,n,o){super(i,e),this.urlAfterRedirects=n,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},th=class extends Li{urlAfterRedirects;state;type=kn.GuardsCheckStart;constructor(i,e,n,o){super(i,e),this.urlAfterRedirects=n,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},nh=class extends Li{urlAfterRedirects;state;shouldActivate;type=kn.GuardsCheckEnd;constructor(i,e,n,o,r){super(i,e),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},ih=class extends Li{urlAfterRedirects;state;type=kn.ResolveStart;constructor(i,e,n,o){super(i,e),this.urlAfterRedirects=n,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},oh=class extends Li{urlAfterRedirects;state;type=kn.ResolveEnd;constructor(i,e,n,o){super(i,e),this.urlAfterRedirects=n,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},rh=class{route;type=kn.RouteConfigLoadStart;constructor(i){this.route=i}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},ah=class{route;type=kn.RouteConfigLoadEnd;constructor(i){this.route=i}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},sh=class{snapshot;type=kn.ChildActivationStart;constructor(i){this.snapshot=i}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},lh=class{snapshot;type=kn.ChildActivationEnd;constructor(i){this.snapshot=i}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ch=class{snapshot;type=kn.ActivationStart;constructor(i){this.snapshot=i}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},dh=class{snapshot;type=kn.ActivationEnd;constructor(i){this.snapshot=i}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},vl=class{routerEvent;position;anchor;type=kn.Scroll;constructor(i,e,n){this.routerEvent=i,this.position=e,this.anchor=n}toString(){let i=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${i}')`}},pd=class{},bl=class{url;navigationBehaviorOptions;constructor(i,e){this.url=i,this.navigationBehaviorOptions=e}};function Yz(t,i){return t.providers&&!t._injector&&(t._injector=jc(t.providers,i,`Route: ${t.path}`)),t._injector??i}function So(t){return t.outlet||at}function Qz(t,i){let e=t.filter(n=>So(n)===i);return e.push(...t.filter(n=>So(n)!==i)),e}function yd(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let i=t.parent;i;i=i.parent){let e=i.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var uh=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return yd(this.route?.snapshot)??this.rootInjector}constructor(i){this.rootInjector=i,this.children=new os(this.rootInjector)}},os=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,n){let o=this.getOrCreateContext(e);o.outlet=n,this.contexts.set(e,o)}onChildOutletDestroyed(e){let n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new uh(this.rootInjector),this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(n){return new(n||t)(oe(an))};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),mh=class{_root;constructor(i){this._root=i}get root(){return this._root.value}parent(i){let e=this.pathFromRoot(i);return e.length>1?e[e.length-2]:null}children(i){let e=i0(i,this._root);return e?e.children.map(n=>n.value):[]}firstChild(i){let e=i0(i,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(i){let e=o0(i,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==i)}pathFromRoot(i){return o0(i,this._root).map(e=>e.value)}};function i0(t,i){if(t===i.value)return i;for(let e of i.children){let n=i0(t,e);if(n)return n}return null}function o0(t,i){if(t===i.value)return[i];for(let e of i.children){let n=o0(t,e);if(n.length)return n.unshift(i),n}return[]}var Ni=class{value;children;constructor(i,e){this.value=i,this.children=e}toString(){return`TreeNode(${this.value})`}};function pl(t){let i={};return t&&t.children.forEach(e=>i[e.value.outlet]=e),i}var hd=class extends mh{snapshot;constructor(i,e){super(i),this.snapshot=e,m0(this,i)}toString(){return this.snapshot.toString()}};function ZI(t){let i=Kz(t),e=new zt([new na("",{})]),n=new zt({}),o=new zt({}),r=new zt({}),a=new zt(""),s=new Ie(e,n,r,a,o,at,t,i.root);return s.snapshot=i.root,new hd(new Ni(s,[]),i)}function Kz(t){let i={},e={},n={},r=new ts([],i,n,"",e,at,t,null,{});return new fd("",new Ni(r,[]))}var Ie=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(i,e,n,o,r,a,s,c){this.urlSubject=i,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=r,this.outlet=a,this.component=s,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(le(p=>p[bd]))??ie(void 0),this.url=i,this.params=e,this.queryParams=n,this.fragment=o,this.data=r}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(le(i=>ns(i))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(le(i=>ns(i))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function ph(t,i,e="emptyOnly"){let n,{routeConfig:o}=t;return i!==null&&(e==="always"||o?.path===""||!i.component&&!i.routeConfig?.loadComponent)?n={params:L(L({},i.params),t.params),data:L(L({},i.data),t.data),resolve:L(L(L(L({},t.data),i.data),o?.data),t._resolvedData)}:n={params:L({},t.params),data:L({},t.data),resolve:L(L({},t.data),t._resolvedData??{})},o&&JI(o)&&(n.resolve[bd]=o.title),n}var ts=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[bd]}constructor(i,e,n,o,r,a,s,c,p){this.url=i,this.params=e,this.queryParams=n,this.fragment=o,this.data=r,this.outlet=a,this.component=s,this.routeConfig=c,this._resolve=p}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ns(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ns(this.queryParams),this._queryParamMap}toString(){let i=this.url.map(n=>n.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${i}', path:'${e}')`}},fd=class extends mh{url;constructor(i,e){super(e),this.url=i,m0(this,e)}toString(){return XI(this._root)}};function m0(t,i){i.value._routerState=t,i.children.forEach(e=>m0(t,e))}function XI(t){let i=t.children.length>0?` { ${t.children.map(XI).join(", ")} } `:"";return`${t.value}${i}`}function Ky(t){if(t.snapshot){let i=t.snapshot,e=t._futureSnapshot;t.snapshot=e,er(i.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),i.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),er(i.params,e.params)||t.paramsSubject.next(e.params),Dz(i.url,e.url)||t.urlSubject.next(e.url),er(i.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function r0(t,i){let e=er(t.params,i.params)&&Iz(t.url,i.url),n=!t.parent!=!i.parent;return e&&!n&&(!t.parent||r0(t.parent,i.parent))}function JI(t){return typeof t.title=="string"||t.title===null}var eT=new k(""),Cd=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=at;activateEvents=new T;deactivateEvents=new T;attachEvents=new T;detachEvents=new T;routerOutletData=QS(void 0);parentContexts=m(os);location=m(Et);changeDetector=m(De);inputBinder=m(wd,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:n,previousValue:o}=e.name;if(n)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new $(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new $(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new $(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,n){this.activated=e,this._activatedRoute=n,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,n){if(this.isActivated)throw new $(4013,!1);this._activatedRoute=e;let o=this.location,a=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,c=new a0(e,s,o.injector,this.routerOutletData);this.activated=o.createComponent(a,{index:o.length,injector:c,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[He]})}return t})(),a0=class{route;childContexts;parent;outletData;constructor(i,e,n,o){this.route=i,this.childContexts=e,this.parent=n,this.outletData=o}get(i,e){return i===Ie?this.route:i===os?this.childContexts:i===eT?this.outletData:this.parent.get(i,e)}},wd=new k(""),p0=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:n}=e,o=Oi([n.queryParams,n.params,n.data]).pipe(St(([r,a,s],c)=>(s=L(L(L({},r),a),s),c===0?ie(s):Promise.resolve(s)))).subscribe(r=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(e);return}let a=qM(n.component);if(!a){this.unsubscribeFromRouteData(e);return}for(let{templateName:s}of a.inputs)e.activatedComponentRef.setInput(s,r[s])});this.outletDataSubscriptions.set(e,o)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})(),h0=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(n,o){n&1&&M(0,"router-outlet")},dependencies:[Cd],encapsulation:2})}return t})();function f0(t){let i=t.children&&t.children.map(f0),e=i?qe(L({},t),{children:i}):L({},t);return!e.component&&!e.loadComponent&&(i||e.loadChildren)&&e.outlet&&e.outlet!==at&&(e.component=h0),e}function Zz(t,i,e){let n=gd(t,i._root,e?e._root:void 0);return new hd(n,i)}function gd(t,i,e){if(e&&t.shouldReuseRoute(i.value,e.value.snapshot)){let n=e.value;n._futureSnapshot=i.value;let o=Xz(t,i,e);return new Ni(n,o)}else{if(t.shouldAttach(i.value)){let r=t.retrieve(i.value);if(r!==null){let a=r.route;return a.value._futureSnapshot=i.value,a.children=i.children.map(s=>gd(t,s)),a}}let n=Jz(i.value),o=i.children.map(r=>gd(t,r));return new Ni(n,o)}}function Xz(t,i,e){return i.children.map(n=>{for(let o of e.children)if(t.shouldReuseRoute(n.value,o.value.snapshot))return gd(t,n,o);return gd(t,n)})}function Jz(t){return new Ie(new zt(t.url),new zt(t.params),new zt(t.queryParams),new zt(t.fragment),new zt(t.data),t.outlet,t.component,t)}var yl=class{redirectTo;navigationBehaviorOptions;constructor(i,e){this.redirectTo=i,this.navigationBehaviorOptions=e}},tT="ngNavigationCancelingError";function hh(t,i){let{redirectTo:e,navigationBehaviorOptions:n}=oa(i)?{redirectTo:i,navigationBehaviorOptions:void 0}:i,o=nT(!1,Si.Redirect);return o.url=e,o.navigationBehaviorOptions=n,o}function nT(t,i){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[tT]=!0,e.cancellationCode=i,e}function e4(t){return iT(t)&&oa(t.url)}function iT(t){return!!t&&t[tT]}var t4=(t,i,e,n)=>le(o=>(new s0(i,o.targetRouterState,o.currentRouterState,e,n).activate(t),o)),s0=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(i,e,n,o,r){this.routeReuseStrategy=i,this.futureState=e,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=r}activate(i){let e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,i),Ky(this.futureState.root),this.activateChildRoutes(e,n,i)}deactivateChildRoutes(i,e,n){let o=pl(e);i.children.forEach(r=>{let a=r.value.outlet;this.deactivateRoutes(r,o[a],n),delete o[a]}),Object.values(o).forEach(r=>{this.deactivateRouteAndItsChildren(r,n)})}deactivateRoutes(i,e,n){let o=i.value,r=e?e.value:null;if(o===r)if(o.component){let a=n.getContext(o.outlet);a&&this.deactivateChildRoutes(i,e,a.children)}else this.deactivateChildRoutes(i,e,n);else r&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(i,e){i.value.component&&this.routeReuseStrategy.shouldDetach(i.value.snapshot)?this.detachAndStoreRouteSubtree(i,e):this.deactivateRouteAndOutlet(i,e)}detachAndStoreRouteSubtree(i,e){let n=e.getContext(i.value.outlet),o=n&&i.value.component?n.children:e,r=pl(i);for(let a of Object.values(r))this.deactivateRouteAndItsChildren(a,o);if(n&&n.outlet){let a=n.outlet.detach(),s=n.children.onOutletDeactivated();this.routeReuseStrategy.store(i.value.snapshot,{componentRef:a,route:i,contexts:s})}}deactivateRouteAndOutlet(i,e){let n=e.getContext(i.value.outlet),o=n&&i.value.component?n.children:e,r=pl(i);for(let a of Object.values(r))this.deactivateRouteAndItsChildren(a,o);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(i,e,n){let o=pl(e);i.children.forEach(r=>{this.activateRoutes(r,o[r.value.outlet],n),this.forwardEvent(new dh(r.value.snapshot))}),i.children.length&&this.forwardEvent(new lh(i.value.snapshot))}activateRoutes(i,e,n){let o=i.value,r=e?e.value:null;if(Ky(o),o===r)if(o.component){let a=n.getOrCreateContext(o.outlet);this.activateChildRoutes(i,e,a.children)}else this.activateChildRoutes(i,e,n);else if(o.component){let a=n.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let s=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),Ky(s.route.value),this.activateChildRoutes(i,null,a.children)}else a.attachRef=null,a.route=o,a.outlet&&a.outlet.activateWith(o,a.injector),this.activateChildRoutes(i,null,a.children)}else this.activateChildRoutes(i,null,n)}},fh=class{path;route;constructor(i){this.path=i,this.route=this.path[this.path.length-1]}},fl=class{component;route;constructor(i,e){this.component=i,this.route=e}};function n4(t,i,e){let n=t._root,o=i?i._root:null;return ld(n,o,e,[n.value])}function i4(t){let i=t.routeConfig?t.routeConfig.canActivateChild:null;return!i||i.length===0?null:{node:t,guards:i}}function wl(t,i){let e=Symbol(),n=i.get(t,e);return n===e?typeof t=="function"&&!qD(t)?t:i.get(t):n}function ld(t,i,e,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let r=pl(i);return t.children.forEach(a=>{o4(a,r[a.value.outlet],e,n.concat([a.value]),o),delete r[a.value.outlet]}),Object.entries(r).forEach(([a,s])=>dd(s,e.getContext(a),o)),o}function o4(t,i,e,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let r=t.value,a=i?i.value:null,s=e?e.getContext(t.value.outlet):null;if(a&&r.routeConfig===a.routeConfig){let c=r4(a,r,r.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new fh(n)):(r.data=a.data,r._resolvedData=a._resolvedData),r.component?ld(t,i,s?s.children:null,n,o):ld(t,i,e,n,o),c&&s&&s.outlet&&s.outlet.isActivated&&o.canDeactivateChecks.push(new fl(s.outlet.component,a))}else a&&dd(i,s,o),o.canActivateChecks.push(new fh(n)),r.component?ld(t,null,s?s.children:null,n,o):ld(t,null,e,n,o);return o}function r4(t,i,e){if(typeof e=="function")return e(t,i);switch(e){case"pathParamsChange":return!es(t.url,i.url);case"pathParamsOrQueryParamsChange":return!es(t.url,i.url)||!er(t.queryParams,i.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!r0(t,i)||!er(t.queryParams,i.queryParams);default:return!r0(t,i)}}function dd(t,i,e){let n=pl(t),o=t.value;Object.entries(n).forEach(([r,a])=>{o.component?i?dd(a,i.children.getContext(r),e):dd(a,null,e):dd(a,i,e)}),o.component?i&&i.outlet&&i.outlet.isActivated?e.canDeactivateChecks.push(new fl(i.outlet.component,o)):e.canDeactivateChecks.push(new fl(null,o)):e.canDeactivateChecks.push(new fl(null,o))}function xd(t){return typeof t=="function"}function a4(t){return typeof t=="boolean"}function s4(t){return t&&xd(t.canLoad)}function l4(t){return t&&xd(t.canActivate)}function c4(t){return t&&xd(t.canActivateChild)}function d4(t){return t&&xd(t.canDeactivate)}function u4(t){return t&&xd(t.canMatch)}function oT(t){return t instanceof _o||t?.name==="EmptyError"}var Yp=Symbol("INITIAL_VALUE");function Cl(){return St(t=>Oi(t.map(i=>i.pipe(xt(1),Dt(Yp)))).pipe(le(i=>{for(let e of i)if(e!==!0){if(e===Yp)return Yp;if(e===!1||m4(e))return e}return!0}),Ye(i=>i!==Yp),xt(1)))}function m4(t){return oa(t)||t instanceof yl}function p4(t,i){return un(e=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:r,canDeactivateChecks:a}}=e;return a.length===0&&r.length===0?ie(qe(L({},e),{guardsResult:!0})):h4(a,n,o,t).pipe(un(s=>s&&a4(s)?f4(n,r,t,i):ie(s)),le(s=>qe(L({},e),{guardsResult:s})))})}function h4(t,i,e,n){return Ut(t).pipe(un(o=>y4(o.component,o.route,e,i,n)),pr(o=>o!==!0,!0))}function f4(t,i,e,n){return Ut(i).pipe(Bo(o=>Vo(_4(o.route.parent,n),g4(o.route,n),b4(t,o.path,e),v4(t,o.route,e))),pr(o=>o!==!0,!0))}function g4(t,i){return t!==null&&i&&i(new ch(t)),ie(!0)}function _4(t,i){return t!==null&&i&&i(new sh(t)),ie(!0)}function v4(t,i,e){let n=i.routeConfig?i.routeConfig.canActivate:null;if(!n||n.length===0)return ie(!0);let o=n.map(r=>Yi(()=>{let a=yd(i)??e,s=wl(r,a),c=l4(s)?s.canActivate(i,t):yi(a,()=>s(i,t));return aa(c).pipe(pr())}));return ie(o).pipe(Cl())}function b4(t,i,e){let n=i[i.length-1],r=i.slice(0,i.length-1).reverse().map(a=>i4(a)).filter(a=>a!==null).map(a=>Yi(()=>{let s=a.guards.map(c=>{let p=yd(a.node)??e,g=wl(c,p),v=c4(g)?g.canActivateChild(n,t):yi(p,()=>g(n,t));return aa(v).pipe(pr())});return ie(s).pipe(Cl())}));return ie(r).pipe(Cl())}function y4(t,i,e,n,o){let r=i&&i.routeConfig?i.routeConfig.canDeactivate:null;if(!r||r.length===0)return ie(!0);let a=r.map(s=>{let c=yd(i)??o,p=wl(s,c),g=d4(p)?p.canDeactivate(t,i,e,n):yi(c,()=>p(t,i,e,n));return aa(g).pipe(pr())});return ie(a).pipe(Cl())}function C4(t,i,e,n){let o=i.canLoad;if(o===void 0||o.length===0)return ie(!0);let r=o.map(a=>{let s=wl(a,t),c=s4(s)?s.canLoad(i,e):yi(t,()=>s(i,e));return aa(c)});return ie(r).pipe(Cl(),rT(n))}function rT(t){return A_(Ht(i=>{if(typeof i!="boolean")throw hh(t,i)}),le(i=>i===!0))}function w4(t,i,e,n){let o=i.canMatch;if(!o||o.length===0)return ie(!0);let r=o.map(a=>{let s=wl(a,t),c=u4(s)?s.canMatch(i,e):yi(t,()=>s(i,e));return aa(c)});return ie(r).pipe(Cl(),rT(n))}var _d=class{segmentGroup;constructor(i){this.segmentGroup=i||null}},vd=class extends Error{urlTree;constructor(i){super(),this.urlTree=i}};function ml(t){return Lo(new _d(t))}function x4(t){return Lo(new $(4e3,!1))}function D4(t){return Lo(nT(!1,Si.GuardRejected))}var l0=class{urlSerializer;urlTree;constructor(i,e){this.urlSerializer=i,this.urlTree=e}lineralizeSegments(i,e){let n=[],o=e.root;for(;;){if(n=n.concat(o.segments),o.numberOfChildren===0)return ie(n);if(o.numberOfChildren>1||!o.children[at])return x4(`${i.redirectTo}`);o=o.children[at]}}applyRedirectCommands(i,e,n,o,r){if(typeof e!="string"){let s=e,{queryParams:c,fragment:p,routeConfig:g,url:v,outlet:S,params:D,data:I,title:R}=o,Q=yi(r,()=>s({params:D,data:I,queryParams:c,fragment:p,routeConfig:g,url:v,outlet:S,title:R}));if(Q instanceof nr)throw new vd(Q);e=Q}let a=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),i,n);if(e[0]==="/")throw new vd(a);return a}applyRedirectCreateUrlTree(i,e,n,o){let r=this.createSegmentGroup(i,e.root,n,o);return new nr(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(i,e){let n={};return Object.entries(i).forEach(([o,r])=>{if(typeof r=="string"&&r[0]===":"){let s=r.substring(1);n[o]=e[s]}else n[o]=r}),n}createSegmentGroup(i,e,n,o){let r=this.createSegments(i,e.segments,n,o),a={};return Object.entries(e.children).forEach(([s,c])=>{a[s]=this.createSegmentGroup(i,c,n,o)}),new Pt(r,a)}createSegments(i,e,n,o){return e.map(r=>r.path[0]===":"?this.findPosParam(i,r,o):this.findOrReturn(r,n))}findPosParam(i,e,n){let o=n[e.path.substring(1)];if(!o)throw new $(4001,!1);return o}findOrReturn(i,e){let n=0;for(let o of e){if(o.path===i.path)return e.splice(n),o;n++}return i}},c0={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function S4(t,i,e,n,o){let r=aT(t,i,e);return r.matched?(n=Yz(i,n),w4(n,i,e,o).pipe(le(a=>a===!0?r:L({},c0)))):ie(r)}function aT(t,i,e){if(i.path==="**")return E4(e);if(i.path==="")return i.pathMatch==="full"&&(t.hasChildren()||e.length>0)?L({},c0):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let o=(i.matcher||FI)(e,t,i);if(!o)return L({},c0);let r={};Object.entries(o.posParams??{}).forEach(([s,c])=>{r[s]=c.path});let a=o.consumed.length>0?L(L({},r),o.consumed[o.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:o.consumed,remainingSegments:e.slice(o.consumed.length),parameters:a,positionalParamSegments:o.posParams??{}}}function E4(t){return{matched:!0,parameters:t.length>0?LI(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function RI(t,i,e,n){return e.length>0&&T4(t,e,n)?{segmentGroup:new Pt(i,I4(n,new Pt(e,t.children))),slicedSegments:[]}:e.length===0&&k4(t,e,n)?{segmentGroup:new Pt(t.segments,M4(t,e,n,t.children)),slicedSegments:e}:{segmentGroup:new Pt(t.segments,t.children),slicedSegments:e}}function M4(t,i,e,n){let o={};for(let r of e)if(_h(t,i,r)&&!n[So(r)]){let a=new Pt([],{});o[So(r)]=a}return L(L({},n),o)}function I4(t,i){let e={};e[at]=i;for(let n of t)if(n.path===""&&So(n)!==at){let o=new Pt([],{});e[So(n)]=o}return e}function T4(t,i,e){return e.some(n=>_h(t,i,n)&&So(n)!==at)}function k4(t,i,e){return e.some(n=>_h(t,i,n))}function _h(t,i,e){return(t.hasChildren()||i.length>0)&&e.pathMatch==="full"?!1:e.path===""}function A4(t,i,e){return i.length===0&&!t.children[e]}var d0=class{};function R4(t,i,e,n,o,r,a="emptyOnly"){return new u0(t,i,e,n,o,a,r).recognize()}var O4=31,u0=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(i,e,n,o,r,a,s){this.injector=i,this.configLoader=e,this.rootComponentType=n,this.config=o,this.urlTree=r,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.applyRedirects=new l0(this.urlSerializer,this.urlTree)}noMatchError(i){return new $(4002,`'${i.segmentGroup}'`)}recognize(){let i=RI(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(i).pipe(le(({children:e,rootSnapshot:n})=>{let o=new Ni(n,e),r=new fd("",o),a=$I(n,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,r.url=this.urlSerializer.serialize(a),{state:r,tree:a}}))}match(i){let e=new ts([],Object.freeze({}),Object.freeze(L({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),at,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,i,at,e).pipe(le(n=>({children:n,rootSnapshot:e})),Fn(n=>{if(n instanceof vd)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof _d?this.noMatchError(n):n}))}processSegmentGroup(i,e,n,o,r){return n.segments.length===0&&n.hasChildren()?this.processChildren(i,e,n,r):this.processSegment(i,e,n,n.segments,o,!0,r).pipe(le(a=>a instanceof Ni?[a]:[]))}processChildren(i,e,n,o){let r=[];for(let a of Object.keys(n.children))a==="primary"?r.unshift(a):r.push(a);return Ut(r).pipe(Bo(a=>{let s=n.children[a],c=Qz(e,a);return this.processSegmentGroup(i,c,s,a,o)}),z_((a,s)=>(a.push(...s),a)),Gr(null),j_(),un(a=>{if(a===null)return ml(n);let s=sT(a);return P4(s),ie(s)}))}processSegment(i,e,n,o,r,a,s){return Ut(e).pipe(Bo(c=>this.processSegmentAgainstRoute(c._injector??i,e,c,n,o,r,a,s).pipe(Fn(p=>{if(p instanceof _d)return ie(null);throw p}))),pr(c=>!!c),Fn(c=>{if(oT(c))return A4(n,o,r)?ie(new d0):ml(n);throw c}))}processSegmentAgainstRoute(i,e,n,o,r,a,s,c){return So(n)!==a&&(a===at||!_h(o,r,n))?ml(o):n.redirectTo===void 0?this.matchSegmentAgainstRoute(i,o,n,r,a,c):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(i,o,e,n,r,a,c):ml(o)}expandSegmentAgainstRouteUsingRedirect(i,e,n,o,r,a,s){let{matched:c,parameters:p,consumedSegments:g,positionalParamSegments:v,remainingSegments:S}=aT(e,o,r);if(!c)return ml(e);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>O4&&(this.allowRedirects=!1));let D=new ts(r,p,Object.freeze(L({},this.urlTree.queryParams)),this.urlTree.fragment,OI(o),So(o),o.component??o._loadedComponent??null,o,PI(o)),I=ph(D,s,this.paramsInheritanceStrategy);D.params=Object.freeze(I.params),D.data=Object.freeze(I.data);let R=this.applyRedirects.applyRedirectCommands(g,o.redirectTo,v,D,i);return this.applyRedirects.lineralizeSegments(o,R).pipe(un(Q=>this.processSegment(i,n,e,Q.concat(S),a,!1,s)))}matchSegmentAgainstRoute(i,e,n,o,r,a){let s=S4(e,n,o,i,this.urlSerializer);return n.path==="**"&&(e.children={}),s.pipe(St(c=>c.matched?(i=n._injector??i,this.getChildConfig(i,n,o).pipe(St(({routes:p})=>{let g=n._loadedInjector??i,{parameters:v,consumedSegments:S,remainingSegments:D}=c,I=new ts(S,v,Object.freeze(L({},this.urlTree.queryParams)),this.urlTree.fragment,OI(n),So(n),n.component??n._loadedComponent??null,n,PI(n)),R=ph(I,a,this.paramsInheritanceStrategy);I.params=Object.freeze(R.params),I.data=Object.freeze(R.data);let{segmentGroup:Q,slicedSegments:j}=RI(e,S,D,p);if(j.length===0&&Q.hasChildren())return this.processChildren(g,p,Q,I).pipe(le(gt=>new Ni(I,gt)));if(p.length===0&&j.length===0)return ie(new Ni(I,[]));let Ke=So(n)===r;return this.processSegment(g,p,Q,j,Ke?at:r,!0,I).pipe(le(gt=>new Ni(I,gt instanceof Ni?[gt]:[])))}))):ml(e)))}getChildConfig(i,e,n){return e.children?ie({routes:e.children,injector:i}):e.loadChildren?e._loadedRoutes!==void 0?ie({routes:e._loadedRoutes,injector:e._loadedInjector}):C4(i,e,n,this.urlSerializer).pipe(un(o=>o?this.configLoader.loadChildren(i,e).pipe(Ht(r=>{e._loadedRoutes=r.routes,e._loadedInjector=r.injector})):D4(e))):ie({routes:[],injector:i})}};function P4(t){t.sort((i,e)=>i.value.outlet===at?-1:e.value.outlet===at?1:i.value.outlet.localeCompare(e.value.outlet))}function F4(t){let i=t.value.routeConfig;return i&&i.path===""}function sT(t){let i=[],e=new Set;for(let n of t){if(!F4(n)){i.push(n);continue}let o=i.find(r=>n.value.routeConfig===r.value.routeConfig);o!==void 0?(o.children.push(...n.children),e.add(o)):i.push(n)}for(let n of e){let o=sT(n.children);i.push(new Ni(n.value,o))}return i.filter(n=>!e.has(n))}function OI(t){return t.data||{}}function PI(t){return t.resolve||{}}function N4(t,i,e,n,o,r){return un(a=>R4(t,i,e,n,a.extractedUrl,o,r).pipe(le(({state:s,tree:c})=>qe(L({},a),{targetSnapshot:s,urlAfterRedirects:c}))))}function L4(t,i){return un(e=>{let{targetSnapshot:n,guards:{canActivateChecks:o}}=e;if(!o.length)return ie(e);let r=new Set(o.map(c=>c.route)),a=new Set;for(let c of r)if(!a.has(c))for(let p of lT(c))a.add(p);let s=0;return Ut(a).pipe(Bo(c=>r.has(c)?V4(c,n,t,i):(c.data=ph(c,c.parent,t).resolve,ie(void 0))),Ht(()=>s++),Ls(1),un(c=>s===a.size?ie(e):Cn))})}function lT(t){let i=t.children.map(e=>lT(e)).flat();return[t,...i]}function V4(t,i,e,n){let o=t.routeConfig,r=t._resolve;return o?.title!==void 0&&!JI(o)&&(r[bd]=o.title),B4(r,t,i,n).pipe(le(a=>(t._resolvedData=a,t.data=ph(t,t.parent,e).resolve,null)))}function B4(t,i,e,n){let o=Jy(t);if(o.length===0)return ie({});let r={};return Ut(o).pipe(un(a=>j4(t[a],i,e,n).pipe(pr(),Ht(s=>{if(s instanceof yl)throw hh(new ia,s);r[a]=s}))),Ls(1),le(()=>r),Fn(a=>oT(a)?Cn:Lo(a)))}function j4(t,i,e,n){let o=yd(i)??n,r=wl(t,o),a=r.resolve?r.resolve(i,e):yi(o,()=>r(i,e));return aa(a)}function Zy(t){return St(i=>{let e=t(i);return e?Ut(e).pipe(le(()=>i)):ie(i)})}var g0=(()=>{class t{buildTitle(e){let n,o=e.root;for(;o!==void 0;)n=this.getResolvedTitleForRoute(o)??n,o=o.children.find(r=>r.outlet===at);return n}getResolvedTitleForRoute(e){return e.data[bd]}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:()=>m(cT),providedIn:"root"})}return t})(),cT=(()=>{class t extends g0{title;constructor(e){super(),this.title=e}updateTitle(e){let n=this.buildTitle(e);n!==void 0&&this.title.setTitle(n)}static \u0275fac=function(n){return new(n||t)(oe(MI))};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),rs=new k("",{providedIn:"root",factory:()=>({})}),xl=new k(""),vh=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=m(zM);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return ie(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let n=aa(e.loadComponent()).pipe(le(uT),Ht(r=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=r}),jo(()=>{this.componentLoaders.delete(e)})),o=new Hr(n,()=>new B).pipe(Ps());return this.componentLoaders.set(e,o),o}loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return ie({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let r=dT(n,this.compiler,e,this.onLoadEndListener).pipe(jo(()=>{this.childrenLoaders.delete(n)})),a=new Hr(r,()=>new B).pipe(Ps());return this.childrenLoaders.set(n,a),a}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function dT(t,i,e,n){return aa(t.loadChildren()).pipe(le(uT),un(o=>o instanceof ay||Array.isArray(o)?ie(o):Ut(i.compileModuleAsync(o))),le(o=>{n&&n(t);let r,a,s=!1;return Array.isArray(o)?(a=o,s=!0):(r=o.create(e).injector,a=r.get(xl,[],{optional:!0,self:!0}).flat()),{routes:a.map(f0),injector:r}}))}function z4(t){return t&&typeof t=="object"&&"default"in t}function uT(t){return z4(t)?t.default:t}var bh=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:()=>m(U4),providedIn:"root"})}return t})(),U4=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),_0=new k(""),v0=new k("");function mT(t,i,e){let n=t.get(v0),o=t.get(ce);return t.get(ne).runOutsideAngular(()=>{if(!o.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(p=>setTimeout(p));let r,a=new Promise(p=>{r=p}),s=o.startViewTransition(()=>(r(),H4(t))),{onViewTransitionCreated:c}=n;return c&&yi(t,()=>c({transition:s,from:i,to:e})),a})}function H4(t){return new Promise(i=>{Wt({read:()=>setTimeout(i)},{injector:t})})}var b0=new k(""),yh=(()=>{class t{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new B;transitionAbortSubject=new B;configLoader=m(vh);environmentInjector=m(an);destroyRef=m(Zr);urlSerializer=m(is);rootContexts=m(os);location=m(Xo);inputBindingEnabled=m(wd,{optional:!0})!==null;titleStrategy=m(g0);options=m(rs,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=m(bh);createViewTransition=m(_0,{optional:!0});navigationErrorHandler=m(b0,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>ie(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=o=>this.events.next(new rh(o)),n=o=>this.events.next(new ah(o));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let n=++this.navigationId;this.transitions?.next(qe(L({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:n}))}setupNavigations(e){return this.transitions=new zt(null),this.transitions.pipe(Ye(n=>n!==null),St(n=>{let o=!1,r=!1;return ie(n).pipe(St(a=>{if(this.navigationId>n.id)return this.cancelNavigationTransition(n,"",Si.SupersededByNewNavigation),Cn;this.currentTransition=n,this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?qe(L({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let s=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),c=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!s&&c!=="reload")return this.events.next(new ir(a.id,this.urlSerializer.serialize(a.rawUrl),"",gl.IgnoredSameUrlNavigation)),a.resolve(!1),Cn;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return ie(a).pipe(St(p=>(this.events.next(new ra(p.id,this.urlSerializer.serialize(p.extractedUrl),p.source,p.restoredState)),p.id!==this.navigationId?Cn:Promise.resolve(p))),N4(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),Ht(p=>{n.targetSnapshot=p.targetSnapshot,n.urlAfterRedirects=p.urlAfterRedirects,this.currentNavigation=qe(L({},this.currentNavigation),{finalUrl:p.urlAfterRedirects});let g=new md(p.id,this.urlSerializer.serialize(p.extractedUrl),this.urlSerializer.serialize(p.urlAfterRedirects),p.targetSnapshot);this.events.next(g)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:p,extractedUrl:g,source:v,restoredState:S,extras:D}=a,I=new ra(p,this.urlSerializer.serialize(g),v,S);this.events.next(I);let R=ZI(this.rootComponentType).snapshot;return this.currentTransition=n=qe(L({},a),{targetSnapshot:R,urlAfterRedirects:g,extras:qe(L({},D),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=g,ie(n)}else return this.events.next(new ir(a.id,this.urlSerializer.serialize(a.extractedUrl),"",gl.IgnoredByUrlHandlingStrategy)),a.resolve(!1),Cn}),Ht(a=>{let s=new th(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(s)}),le(a=>(this.currentTransition=n=qe(L({},a),{guards:n4(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),n)),p4(this.environmentInjector,a=>this.events.next(a)),Ht(a=>{if(n.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw hh(this.urlSerializer,a.guardsResult);let s=new nh(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(s)}),Ye(a=>a.guardsResult?!0:(this.cancelNavigationTransition(a,"",Si.GuardRejected),!1)),Zy(a=>{if(a.guards.canActivateChecks.length!==0)return ie(a).pipe(Ht(s=>{let c=new ih(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(c)}),St(s=>{let c=!1;return ie(s).pipe(L4(this.paramsInheritanceStrategy,this.environmentInjector),Ht({next:()=>c=!0,complete:()=>{c||this.cancelNavigationTransition(s,"",Si.NoDataFromResolver)}}))}),Ht(s=>{let c=new oh(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(c)}))}),Zy(a=>{let s=c=>{let p=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&p.push(this.configLoader.loadComponent(c.routeConfig).pipe(Ht(g=>{c.component=g}),le(()=>{})));for(let g of c.children)p.push(...s(g));return p};return Oi(s(a.targetSnapshot.root)).pipe(Gr(null),xt(1))}),Zy(()=>this.afterPreactivation()),St(()=>{let{currentSnapshot:a,targetSnapshot:s}=n,c=this.createViewTransition?.(this.environmentInjector,a.root,s.root);return c?Ut(c).pipe(le(()=>n)):ie(n)}),le(a=>{let s=Zz(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=n=qe(L({},a),{targetRouterState:s}),this.currentNavigation.targetRouterState=s,n}),Ht(()=>{this.events.next(new pd)}),t4(this.rootContexts,e.routeReuseStrategy,a=>this.events.next(a),this.inputBindingEnabled),xt(1),Ht({next:a=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new eo(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)},complete:()=>{o=!0}}),Ee(this.transitionAbortSubject.pipe(Ht(a=>{throw a}))),jo(()=>{!o&&!r&&this.cancelNavigationTransition(n,"",Si.SupersededByNewNavigation),this.currentTransition?.id===n.id&&(this.currentNavigation=null,this.currentTransition=null)}),Fn(a=>{if(this.destroyed)return n.resolve(!1),Cn;if(r=!0,iT(a))this.events.next(new tr(n.id,this.urlSerializer.serialize(n.extractedUrl),a.message,a.cancellationCode)),e4(a)?this.events.next(new bl(a.url,a.navigationBehaviorOptions)):n.resolve(!1);else{let s=new _l(n.id,this.urlSerializer.serialize(n.extractedUrl),a,n.targetSnapshot??void 0);try{let c=yi(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(c instanceof yl){let{message:p,cancellationCode:g}=hh(this.urlSerializer,c);this.events.next(new tr(n.id,this.urlSerializer.serialize(n.extractedUrl),p,g)),this.events.next(new bl(c.redirectTo,c.navigationBehaviorOptions))}else throw this.events.next(s),a}catch(c){this.options.resolveNavigationPromiseOnError?n.resolve(!1):n.reject(c)}}return Cn}))}))}cancelNavigationTransition(e,n,o){let r=new tr(e.id,this.urlSerializer.serialize(e.extractedUrl),n,o);this.events.next(r),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),n=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==n?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function W4(t){return t!==Xp}var pT=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:()=>m(G4),providedIn:"root"})}return t})(),gh=class{shouldDetach(i){return!1}store(i,e){}shouldAttach(i){return!1}retrieve(i){return null}shouldReuseRoute(i,e){return i.routeConfig===e.routeConfig}},G4=(()=>{class t extends gh{static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),hT=(()=>{class t{urlSerializer=m(is);options=m(rs,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=m(Xo);urlHandlingStrategy=m(bh);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new nr;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:n,targetBrowserUrl:o}){let r=e!==void 0?this.urlHandlingStrategy.merge(e,n):n,a=o??r;return a instanceof nr?this.urlSerializer.serialize(a):a}commitTransition({targetRouterState:e,finalUrl:n,initialUrl:o}){n&&e?(this.currentUrlTree=n,this.rawUrlTree=this.urlHandlingStrategy.merge(n,o),this.routerState=e):this.rawUrlTree=o}routerState=ZI(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:()=>m($4),providedIn:"root"})}return t})(),$4=(()=>{class t extends hT{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(n=>{n.type==="popstate"&&setTimeout(()=>{e(n.url,n.state,"popstate")})})}handleRouterEvent(e,n){e instanceof ra?this.updateStateMemento():e instanceof ir?this.commitTransition(n):e instanceof md?this.urlUpdateStrategy==="eager"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof pd?(this.commitTransition(n),this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof tr&&(e.code===Si.GuardRejected||e.code===Si.NoDataFromResolver)?this.restoreHistory(n):e instanceof _l?this.restoreHistory(n,!0):e instanceof eo&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:n,id:o}){let{replaceUrl:r,state:a}=n;if(this.location.isCurrentPathEqualTo(e)||r){let s=this.browserPageId,c=L(L({},a),this.generateNgRouterState(o,s));this.location.replaceState(e,"",c)}else{let s=L(L({},a),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(e,"",s)}}restoreHistory(e,n=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,r=this.currentPageId-o;r!==0?this.location.historyGo(r):this.getCurrentUrlTree()===e.finalUrl&&r===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,n){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:n}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ch(t,i){t.events.pipe(Ye(e=>e instanceof eo||e instanceof tr||e instanceof _l||e instanceof ir),le(e=>e instanceof eo||e instanceof ir?0:(e instanceof tr?e.code===Si.Redirect||e.code===Si.SupersededByNewNavigation:!1)?2:1),Ye(e=>e!==2),xt(1)).subscribe(()=>{i()})}var q4={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Y4={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Eo=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=m(cy);stateManager=m(hT);options=m(rs,{optional:!0})||{};pendingTasks=m(xr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=m(yh);urlSerializer=m(is);location=m(Xo);urlHandlingStrategy=m(bh);_events=new B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=m(pT);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=m(xl,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!m(wd,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new he;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(n=>{try{let o=this.navigationTransitions.currentTransition,r=this.navigationTransitions.currentNavigation;if(o!==null&&r!==null){if(this.stateManager.handleRouterEvent(n,r),n instanceof tr&&n.code!==Si.Redirect&&n.code!==Si.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof eo)this.navigated=!0;else if(n instanceof bl){let a=n.navigationBehaviorOptions,s=this.urlHandlingStrategy.merge(n.url,o.currentRawUrl),c=L({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||W4(o.source)},a);this.scheduleNavigation(s,Xp,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}K4(n)&&this._events.next(n)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Xp,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,n,o)=>{this.navigateToSyncWithBrowser(e,o,n)})}navigateToSyncWithBrowser(e,n,o){let r={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let c=L({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(r.state=c)}let s=this.parseUrl(e);this.scheduleNavigation(s,n,a,r)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(f0),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,n={}){let{relativeTo:o,queryParams:r,fragment:a,queryParamsHandling:s,preserveFragment:c}=n,p=c?this.currentUrlTree.fragment:a,g=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":g=L(L({},this.currentUrlTree.queryParams),r);break;case"preserve":g=this.currentUrlTree.queryParams;break;default:g=r||null}g!==null&&(g=this.removeEmptyProps(g));let v;try{let S=o?o.snapshot:this.routerState.snapshot.root;v=qI(S)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),v=this.currentUrlTree.root}return YI(v,e,g,p??null)}navigateByUrl(e,n={skipLocationChange:!1}){let o=oa(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(r,Xp,null,n)}navigate(e,n={skipLocationChange:!1}){return Q4(e),this.navigateByUrl(this.createUrlTree(e,n),n)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,n){let o;if(n===!0?o=L({},q4):n===!1?o=L({},Y4):o=n,oa(e))return II(this.currentUrlTree,e,o);let r=this.parseUrl(e);return II(this.currentUrlTree,r,o)}removeEmptyProps(e){return Object.entries(e).reduce((n,[o,r])=>(r!=null&&(n[o]=r),n),{})}scheduleNavigation(e,n,o,r,a){if(this.disposed)return Promise.resolve(!1);let s,c,p;a?(s=a.resolve,c=a.reject,p=a.promise):p=new Promise((v,S)=>{s=v,c=S});let g=this.pendingTasks.add();return Ch(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(g))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:r,resolve:s,reject:c,promise:p,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),p.catch(v=>Promise.reject(v))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Q4(t){for(let i=0;i{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new B;constructor(e,n,o,r,a,s){this.router=e,this.route=n,this.tabIndexAttribute=o,this.renderer=r,this.el=a,this.locationStrategy=s;let c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=e.events.subscribe(p=>{p instanceof eo&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(oa(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,n,o,r,a){let s=this.urlTree;if(s===null||this.isAnchorElement&&(e!==0||n||o||r||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(s,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let n=this.href===null?null:SE(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(e,n){let o=this.renderer,r=this.el.nativeElement;n!==null?o.setAttribute(r,e,n):o.removeAttribute(r,e)}get urlTree(){return this.routerLinkInput===null?null:oa(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(n){return new(n||t)(w(Eo),w(Ie),up("tabindex"),w(At),w(K),w(Do))};static \u0275dir=N({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,o){n&1&&b("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),n&2&&ee("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",G],skipLocationChange:[2,"skipLocationChange","skipLocationChange",G],replaceUrl:[2,"replaceUrl","replaceUrl",G],routerLink:"routerLink"},features:[He]})}return t})();var Dd=class{};var fT=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,n,o,r){this.router=e,this.injector=n,this.preloadingStrategy=o,this.loader=r}setUpPreloading(){this.subscription=this.router.events.pipe(Ye(e=>e instanceof eo),Bo(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,n){let o=[];for(let r of n){r.providers&&!r._injector&&(r._injector=jc(r.providers,e,`Route: ${r.path}`));let a=r._injector??e,s=r._loadedInjector??a;(r.loadChildren&&!r._loadedRoutes&&r.canLoad===void 0||r.loadComponent&&!r._loadedComponent)&&o.push(this.preloadConfig(a,r)),(r.children||r._loadedRoutes)&&o.push(this.processRoutes(s,r.children??r._loadedRoutes))}return Ut(o).pipe(Wr())}preloadConfig(e,n){return this.preloadingStrategy.preload(n,()=>{let o;n.loadChildren&&n.canLoad===void 0?o=this.loader.loadChildren(e,n):o=ie(null);let r=o.pipe(un(a=>a===null?ie(void 0):(n._loadedRoutes=a.routes,n._loadedInjector=a.injector,this.processRoutes(a.injector??e,a.routes))));if(n.loadComponent&&!n._loadedComponent){let a=this.loader.loadComponent(n);return Ut([r,a]).pipe(Wr())}else return r})}static \u0275fac=function(n){return new(n||t)(oe(Eo),oe(an),oe(Dd),oe(vh))};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),gT=new k(""),Z4=(()=>{class t{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(e,n,o,r,a={}){this.urlSerializer=e,this.transitions=n,this.viewportScroller=o,this.zone=r,this.options=a,a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof ra?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof eo?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof ir&&e.code===gl.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof vl&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,n){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new vl(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,n))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(n){xp()};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})();function X4(t){return t.routerState.root}function Sd(t,i){return{\u0275kind:t,\u0275providers:i}}function J4(){let t=m(Me);return i=>{let e=t.get(ai);if(i!==e.components[0])return;let n=t.get(Eo),o=t.get(_T);t.get(C0)===1&&n.initialNavigation(),t.get(yT,null,lt.Optional)?.setUpPreloading(),t.get(gT,null,lt.Optional)?.init(),n.resetRootComponentType(e.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var _T=new k("",{factory:()=>new B}),C0=new k("",{providedIn:"root",factory:()=>1});function vT(){let t=[{provide:C0,useValue:0},py(()=>{let i=m(Me);return i.get(xy,Promise.resolve()).then(()=>new Promise(n=>{let o=i.get(Eo),r=i.get(_T);Ch(o,()=>{n(!0)}),i.get(yh).afterPreactivation=()=>(n(!0),r.closed?ie(void 0):r),o.initialNavigation()}))})];return Sd(2,t)}function bT(){let t=[py(()=>{m(Eo).setUpLocationChangeListener()}),{provide:C0,useValue:2}];return Sd(3,t)}var yT=new k("");function CT(t){return Sd(0,[{provide:yT,useExisting:fT},{provide:Dd,useExisting:t}])}function wT(){return Sd(8,[p0,{provide:wd,useExisting:p0}])}function xT(t){Dr("NgRouterViewTransitions");let i=[{provide:_0,useValue:mT},{provide:v0,useValue:L({skipNextTransition:!!t?.skipInitialTransition},t)}];return Sd(9,i)}var DT=[Xo,{provide:is,useClass:ia},Eo,os,{provide:Ie,useFactory:X4,deps:[Eo]},vh,[]],wh=(()=>{class t{constructor(){}static forRoot(e,n){return{ngModule:t,providers:[DT,[],{provide:xl,multi:!0,useValue:e},[],n?.errorHandler?{provide:b0,useValue:n.errorHandler}:[],{provide:rs,useValue:n||{}},n?.useHash?tU():nU(),eU(),n?.preloadingStrategy?CT(n.preloadingStrategy).\u0275providers:[],n?.initialNavigation?iU(n):[],n?.bindToComponentInputs?wT().\u0275providers:[],n?.enableViewTransitions?xT().\u0275providers:[],oU()]}}static forChild(e){return{ngModule:t,providers:[{provide:xl,multi:!0,useValue:e}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();function eU(){return{provide:gT,useFactory:()=>{let t=m(iI),i=m(ne),e=m(rs),n=m(yh),o=m(is);return e.scrollOffset&&t.setOffset(e.scrollOffset),new Z4(o,n,t,i,e)}}}function tU(){return{provide:Do,useClass:My}}function nU(){return{provide:Do,useClass:Ap}}function iU(t){return[t.initialNavigation==="disabled"?bT().\u0275providers:[],t.initialNavigation==="enabledBlocking"?vT().\u0275providers:[]]}var y0=new k("");function oU(){return[{provide:y0,useFactory:J4},{provide:hy,multi:!0,useExisting:y0}]}var xh=class{constructor(i){this.user=i.user,this.role=i.role,this.admin=i.admin}get isStaff(){return this.role==="staff"||this.role==="admin"}get isAdmin(){return this.role==="admin"}get isLogged(){return this.user!=null}};var Dl=class{_attachedHost;attach(i){return this._attachedHost=i,i.attach(this)}detach(){let i=this._attachedHost;i!=null&&(this._attachedHost=null,i.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(i){this._attachedHost=i}},li=class extends Dl{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(i,e,n,o,r){super(),this.component=i,this.viewContainerRef=e,this.injector=n,this.projectableNodes=r}},Dn=class extends Dl{templateRef;viewContainerRef;context;injector;constructor(i,e,n,o){super(),this.templateRef=i,this.viewContainerRef=e,this.context=n,this.injector=o}get origin(){return this.templateRef.elementRef}attach(i,e=this.context){return this.context=e,super.attach(i)}detach(){return this.context=void 0,super.detach()}},Dh=class extends Dl{element;constructor(i){super(),this.element=i instanceof K?i.nativeElement:i}},kr=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(i){if(i instanceof li)return this._attachedPortal=i,this.attachComponentPortal(i);if(i instanceof Dn)return this._attachedPortal=i,this.attachTemplatePortal(i);if(this.attachDomPortal&&i instanceof Dh)return this._attachedPortal=i,this.attachDomPortal(i)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(i){this._disposeFn=i}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var as=class extends kr{outletElement;_appRef;_defaultInjector;_document;constructor(i,e,n,o,r){super(),this.outletElement=i,this._appRef=n,this._defaultInjector=o,this._document=r}attachComponentPortal(i){let e;if(i.viewContainerRef){let n=i.injector||i.viewContainerRef.injector,o=n.get(_r,null,{optional:!0})||void 0;e=i.viewContainerRef.createComponent(i.component,{index:i.viewContainerRef.length,injector:n,ngModuleRef:o,projectableNodes:i.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else{let n=this._appRef,o=i.injector||this._defaultInjector||Me.NULL,r=o.get(an,n.injector);e=Ip(i.component,{elementInjector:o,environmentInjector:r,projectableNodes:i.projectableNodes||void 0}),n.attachView(e.hostView),this.setDisposeFn(()=>{n.viewCount>0&&n.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=i,e}attachTemplatePortal(i){let e=i.viewContainerRef,n=e.createEmbeddedView(i.templateRef,i.context,{injector:i.injector});return n.rootNodes.forEach(o=>this.outletElement.appendChild(o)),n.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(n);o!==-1&&e.remove(o)}),this._attachedPortal=i,n}attachDomPortal=i=>{let e=i.element;e.parentNode;let n=this._document.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),this._attachedPortal=i,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(i){return i.hostView.rootNodes[0]}};var w0=(()=>{class t extends Dn{constructor(){let e=m(bt),n=m(Et);super(e,n)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[pe]})}return t})();var ei=(()=>{class t extends kr{_moduleRef=m(_r,{optional:!0});_document=m(ce);_viewContainerRef=m(Et);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new T;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let n=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,o=n.createComponent(e.component,{index:n.length,injector:e.injector||n.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return n!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(e){e.setAttachedHost(this);let n=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=n,this.attached.emit(n),n}attachDomPortal=e=>{let n=e.element;n.parentNode;let o=this._document.createComment("dom-portal");e.setAttachedHost(this),n.parentNode.insertBefore(o,n),this._getRootNode().appendChild(n),this._attachedPortal=e,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(n,o)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[pe]})}return t})();var Ei=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();function ss(t){return t.buttons===0||t.detail===0}function ls(t){let i=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!i&&i.identifier===-1&&(i.radiusX==null||i.radiusX===1)&&(i.radiusY==null||i.radiusY===1)}var x0;function ST(){if(x0==null){let t=typeof document<"u"?document.head:null;x0=!!(t&&(t.createShadowRoot||t.attachShadow))}return x0}function D0(t){if(ST()){let i=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&i instanceof ShadowRoot)return i}return null}function to(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let i=t.shadowRoot.activeElement;if(i===t)break;t=i}return t}function Hn(t){return t.composedPath?t.composedPath()[0]:t.target}function qt(t,i,e,n,o){let r=parseInt(vy.major),a=parseInt(vy.minor);return r>19||r===19&&a>0||r===0&&a===0?t.listen(i,e,n,o):(i.addEventListener(e,n,o),()=>{i.removeEventListener(e,n,o)})}var S0;try{S0=typeof Intl<"u"&&Intl.v8BreakIterator}catch{S0=!1}var Je=(()=>{class t{_platformId=m(Jr);isBrowser=this._platformId?Ry(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||S0)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ed;function ET(){if(Ed==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ed=!0}))}finally{Ed=Ed||!1}return Ed}function sa(t){return ET()?t:!!t.capture}function Mo(t,i=0){return Sh(t)?Number(t):arguments.length===2?i:0}function Sh(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function ci(t){return t instanceof K?t.nativeElement:t}var MT=new k("cdk-input-modality-detector-options"),IT={ignoreKeys:[18,17,224,91,16]},TT=650,E0={passive:!0,capture:!0},kT=(()=>{class t{_platform=m(Je);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new zt(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(n=>n===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Hn(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs{if(ls(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Hn(e)};constructor(){let e=m(ne),n=m(ce),o=m(MT,{optional:!0});if(this._options=L(L({},IT),o),this.modalityDetected=this._modality.pipe(Aa(1)),this.modalityChanged=this.modalityDetected.pipe(lm()),this._platform.isBrowser){let r=m(_n).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[qt(r,n,"keydown",this._onKeydown,E0),qt(r,n,"mousedown",this._onMousedown,E0),qt(r,n,"touchstart",this._onTouchstart,E0)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Md=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})(Md||{}),AT=new k("cdk-focus-monitor-default-options"),Eh=sa({passive:!0,capture:!0}),Sn=(()=>{class t{_ngZone=m(ne);_platform=m(Je);_inputModalityDetector=m(kT);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=m(ce,{optional:!0});_stopInputModalityDetector=new B;constructor(){let e=m(AT,{optional:!0});this._detectionMode=e?.detectionMode||Md.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let n=Hn(e);for(let o=n;o;o=o.parentElement)e.type==="focus"?this._onFocus(e,o):this._onBlur(e,o)};monitor(e,n=!1){let o=ci(e);if(!this._platform.isBrowser||o.nodeType!==1)return ie();let r=D0(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return n&&(a.checkChildren=!0),a.subject;let s={checkChildren:n,subject:new B,rootNode:r};return this._elementInfo.set(o,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let n=ci(e),o=this._elementInfo.get(n);o&&(o.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(o))}focusVia(e,n,o){let r=ci(e),a=this._getDocument().activeElement;r===a?this._getClosestElementsInfo(r).forEach(([s,c])=>this._originChanged(s,n,c)):(this._setOrigin(n),typeof r.focus=="function"&&r.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,n)=>this.stopMonitoring(n))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Md.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,n){e.classList.toggle("cdk-focused",!!n),e.classList.toggle("cdk-touch-focused",n==="touch"),e.classList.toggle("cdk-keyboard-focused",n==="keyboard"),e.classList.toggle("cdk-mouse-focused",n==="mouse"),e.classList.toggle("cdk-program-focused",n==="program")}_setOrigin(e,n=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&n,this._detectionMode===Md.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?TT:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(e,n){let o=this._elementInfo.get(n),r=Hn(e);!o||!o.checkChildren&&n!==r||this._originChanged(n,this._getFocusOrigin(r),o)}_onBlur(e,n){let o=this._elementInfo.get(n);!o||o.checkChildren&&e.relatedTarget instanceof Node&&n.contains(e.relatedTarget)||(this._setClasses(n),this._emitOrigin(o,null))}_emitOrigin(e,n){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(n))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let n=e.rootNode,o=this._rootNodeFocusListenerCount.get(n)||0;o||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,Eh),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,Eh)}),this._rootNodeFocusListenerCount.set(n,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ee(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){let n=e.rootNode;if(this._rootNodeFocusListenerCount.has(n)){let o=this._rootNodeFocusListenerCount.get(n);o>1?this._rootNodeFocusListenerCount.set(n,o-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Eh),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Eh),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,n,o){this._setClasses(e,n),this._emitOrigin(o,n),this._lastFocusOrigin=n}_getClosestElementsInfo(e){let n=[];return this._elementInfo.forEach((o,r)=>{(r===e||o.checkChildren&&r.contains(e))&&n.push([r,o])}),n}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:n,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!n||n===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let r=e.labels;if(r){for(let a=0;a{class t{_elementRef=m(K);_focusMonitor=m(Sn);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new T;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(n=>{this._focusOrigin=n,this.cdkFocusChange.emit(n)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();var Mh=new WeakMap,wt=(()=>{class t{_appRef;_injector=m(Me);_environmentInjector=m(an);load(e){let n=this._appRef=this._appRef||this._injector.get(ai),o=Mh.get(n);o||(o={loaders:new Set,refs:[]},Mh.set(n,o),n.onDestroy(()=>{Mh.get(n)?.refs.forEach(r=>r.destroy()),Mh.delete(n)})),o.loaders.has(e)||(o.loaders.add(e),o.refs.push(Ip(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var no=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(n,o){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0} -`],encapsulation:2,changeDetection:0})}return t})();function Sl(t){return Array.isArray(t)?t:[t]}var RT=new Set,cs,PT=(()=>{class t{_platform=m(Je);_nonce=m(Nc,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):aU}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&rU(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function rU(t,i){if(!RT.has(t))try{cs||(cs=document.createElement("style"),i&&cs.setAttribute("nonce",i),cs.setAttribute("type","text/css"),document.head.appendChild(cs)),cs.sheet&&(cs.sheet.insertRule(`@media ${t} {body{ }}`,0),RT.add(t))}catch(e){console.error(e)}}function aU(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var ds=(()=>{class t{_mediaMatcher=m(PT);_zone=m(ne);_queries=new Map;_destroySubject=new B;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return OT(Sl(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let o=OT(Sl(e)).map(a=>this._registerQuery(a).observable),r=Oi(o);return r=Vo(r.pipe(xt(1)),r.pipe(Aa(1),mr(0))),r.pipe(le(a=>{let s={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:p})=>{s.matches=s.matches||c,s.breakpoints[p]=c}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let n=this._mediaMatcher.matchMedia(e),r={observable:new Le(a=>{let s=c=>this._zone.run(()=>a.next(c));return n.addListener(s),()=>{n.removeListener(s)}}).pipe(Dt(n),le(({matches:a})=>({query:e,matches:a})),Ee(this._destroySubject)),mql:n};return this._queries.set(e,r),r}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function OT(t){return t.map(i=>i.split(",")).reduce((i,e)=>i.concat(e)).map(i=>i.trim())}function sU(t){if(t.type==="characterData"&&t.target instanceof Comment)return!0;if(t.type==="childList"){for(let i=0;i{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),NT=(()=>{class t{_mutationObserverFactory=m(FT);_observedElements=new Map;_ngZone=m(ne);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,n)=>this._cleanupObserver(n))}observe(e){let n=ci(e);return new Le(o=>{let a=this._observeElement(n).pipe(le(s=>s.filter(c=>!sU(c))),Ye(s=>!!s.length)).subscribe(s=>{this._ngZone.run(()=>{o.next(s)})});return()=>{a.unsubscribe(),this._unobserveElement(n)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let n=new B,o=this._mutationObserverFactory.create(r=>n.next(r));o&&o.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:o,stream:n,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:n,stream:o}=this._observedElements.get(e);n&&n.disconnect(),o.complete(),this._observedElements.delete(e)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),LT=(()=>{class t{_contentObserver=m(NT);_elementRef=m(K);event=new T;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(e){this._debounce=Mo(e),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(mr(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",G],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return t})(),Ih=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[FT]})}return t})();var T0=(()=>{class t{_platform=m(Je);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return cU(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let n=lU(_U(e));if(n&&(VT(n)===-1||!this.isVisible(n)))return!1;let o=e.nodeName.toLowerCase(),r=VT(e);return e.hasAttribute("contenteditable")?r!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!fU(e)?!1:o==="audio"?e.hasAttribute("controls")?r!==-1:!1:o==="video"?r===-1?!1:r!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,n){return gU(e)&&!this.isDisabled(e)&&(n?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function lU(t){try{return t.frameElement}catch{return null}}function cU(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function dU(t){let i=t.nodeName.toLowerCase();return i==="input"||i==="select"||i==="button"||i==="textarea"}function uU(t){return pU(t)&&t.type=="hidden"}function mU(t){return hU(t)&&t.hasAttribute("href")}function pU(t){return t.nodeName.toLowerCase()=="input"}function hU(t){return t.nodeName.toLowerCase()=="a"}function zT(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let i=t.getAttribute("tabindex");return!!(i&&!isNaN(parseInt(i,10)))}function VT(t){if(!zT(t))return null;let i=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}function fU(t){let i=t.nodeName.toLowerCase(),e=i==="input"&&t.type;return e==="text"||e==="password"||i==="select"||i==="textarea"}function gU(t){return uU(t)?!1:dU(t)||mU(t)||t.hasAttribute("contenteditable")||zT(t)}function _U(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var I0=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(i){this._enabled=i,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_enabled=!0;constructor(i,e,n,o,r=!1,a){this._element=i,this._checker=e,this._ngZone=n,this._document=o,this._injector=a,r||this.attachAnchors()}destroy(){let i=this._startAnchor,e=this._endAnchor;i&&(i.removeEventListener("focus",this.startAnchorListener),i.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(i)))})}focusFirstTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(i)))})}focusLastTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(i)))})}_getRegionBoundary(i){let e=this._element.querySelectorAll(`[cdk-focus-region-${i}], [cdkFocusRegion${i}], [cdk-focus-${i}]`);return i=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(i){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let n=this._getFirstTabbableElement(e);return n?.focus(i),!!n}return e.focus(i),!0}return this.focusFirstTabbableElement(i)}focusFirstTabbableElement(i){let e=this._getRegionBoundary("start");return e&&e.focus(i),!!e}focusLastTabbableElement(i){let e=this._getRegionBoundary("end");return e&&e.focus(i),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(i){if(this._checker.isFocusable(i)&&this._checker.isTabbable(i))return i;let e=i.children;for(let n=0;n=0;n--){let o=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(o)return o}return null}_createAnchor(){let i=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,i),i.classList.add("cdk-visually-hidden"),i.classList.add("cdk-focus-trap-anchor"),i.setAttribute("aria-hidden","true"),i}_toggleAnchorTabIndex(i,e){i?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(i){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_executeOnStable(i){this._injector?Wt(i,{injector:this._injector}):setTimeout(i)}},Th=(()=>{class t{_checker=m(T0);_ngZone=m(ne);_document=m(ce);_injector=m(Me);constructor(){m(wt).load(no)}create(e,n=!1){return new I0(e,this._checker,this._ngZone,this._document,n,this._injector)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),k0=(()=>{class t{_elementRef=m(K);_focusTrapFactory=m(Th);focusTrap;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}autoCapture;constructor(){m(Je).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(e){let n=e.autoCapture;n&&!n.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=to(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",G],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",G]},exportAs:["cdkTrapFocus"],features:[He]})}return t})(),UT=new k("liveAnnouncerElement",{providedIn:"root",factory:HT});function HT(){return null}var WT=new k("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),vU=0,Td=(()=>{class t{_ngZone=m(ne);_defaultOptions=m(WT,{optional:!0});_liveElement;_document=m(ce);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=m(UT,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...n){let o=this._defaultOptions,r,a;return n.length===1&&typeof n[0]=="number"?a=n[0]:[r,a]=n,this.clear(),clearTimeout(this._previousTimeout),r||(r=o&&o.politeness?o.politeness:"polite"),a==null&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",r),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",n=this._document.getElementsByClassName(e),o=this._document.createElement("div");for(let r=0;r .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{class t{_platform=m(Je);_hasCheckedHighContrastMode;_document=m(ce);_breakpointSubscription;constructor(){this._breakpointSubscription=m(ds).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return la.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let n=this._document.defaultView||window,o=n&&n.getComputedStyle?n.getComputedStyle(e):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return la.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return la.BLACK_ON_WHITE}return la.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(M0,BT,jT),this._hasCheckedHighContrastMode=!0;let n=this.getHighContrastMode();n===la.BLACK_ON_WHITE?e.add(M0,BT):n===la.WHITE_ON_BLACK&&e.add(M0,jT)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),us=(()=>{class t{constructor(){m(kh)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[Ih]})}return t})();function A0(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function bn(t){return t==null?"":typeof t=="string"?t:`${t}px`}var bU=new k("cdk-dir-doc",{providedIn:"root",factory:yU});function yU(){return m(ce)}var CU=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function GT(t){let i=t?.toLowerCase()||"";return i==="auto"&&typeof navigator<"u"&&navigator?.language?CU.test(navigator.language)?"rtl":"ltr":i==="rtl"?"rtl":"ltr"}var Ft=(()=>{class t{value="ltr";change=new T;constructor(){let e=m(bU,{optional:!0});if(e){let n=e.body?e.body.dir:null,o=e.documentElement?e.documentElement.dir:null;this.value=GT(n||o||"ltr")}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Io=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(Io||{}),Ah,ms;function Rh(){if(ms==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return ms=!1,ms;if("scrollBehavior"in document.documentElement.style)ms=!0;else{let t=Element.prototype.scrollTo;t?ms=!/\{\s*\[native code\]\s*\}/.test(t.toString()):ms=!1}}return ms}function El(){if(typeof document!="object"||!document)return Io.NORMAL;if(Ah==null){let t=document.createElement("div"),i=t.style;t.dir="rtl",i.width="1px",i.overflow="auto",i.visibility="hidden",i.pointerEvents="none",i.position="absolute";let e=document.createElement("div"),n=e.style;n.width="2px",n.height="1px",t.appendChild(e),document.body.appendChild(t),Ah=Io.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,Ah=t.scrollLeft===0?Io.NEGATED:Io.INVERTED),t.remove()}return Ah}var ca=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();var kd=class{};function Ad(t){return t&&typeof t.connect=="function"&&!(t instanceof Hr)}var da=(function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t})(da||{}),Ml=new k("_ViewRepeater");var wU=20,Il=(()=>{class t{_ngZone=m(ne);_platform=m(Je);_renderer=m(_n).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new B;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let n=this.scrollContainers.get(e);n&&(n.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=wU){return this._platform.isBrowser?new Le(n=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let o=e>0?this._scrolled.pipe(sm(e)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):ie()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(e,n){let o=this.getAncestorScrollContainers(e);return this.scrolled(n).pipe(Ye(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(e){let n=[];return this.scrollContainers.forEach((o,r)=>{this._scrollableContainsElement(r,e)&&n.push(r)}),n}_scrollableContainsElement(e,n){let o=ci(n),r=e.getElementRef().nativeElement;do if(o==r)return!0;while(o=o.parentElement);return!1}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Rd=(()=>{class t{elementRef=m(K);scrollDispatcher=m(Il);ngZone=m(ne);dir=m(Ft,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new B;_renderer=m(At);_cleanupScroll;_elementScrolled=new B;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let n=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=o?e.end:e.start),e.right==null&&(e.right=o?e.start:e.end),e.bottom!=null&&(e.top=n.scrollHeight-n.clientHeight-e.bottom),o&&El()!=Io.NORMAL?(e.left!=null&&(e.right=n.scrollWidth-n.clientWidth-e.left),El()==Io.INVERTED?e.left=e.right:El()==Io.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=n.scrollWidth-n.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let n=this.elementRef.nativeElement;Rh()?n.scrollTo(e):(e.top!=null&&(n.scrollTop=e.top),e.left!=null&&(n.scrollLeft=e.left))}measureScrollOffset(e){let n="left",o="right",r=this.elementRef.nativeElement;if(e=="top")return r.scrollTop;if(e=="bottom")return r.scrollHeight-r.clientHeight-r.scrollTop;let a=this.dir&&this.dir.value=="rtl";return e=="start"?e=a?o:n:e=="end"&&(e=a?n:o),a&&El()==Io.INVERTED?e==n?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:a&&El()==Io.NEGATED?e==n?r.scrollLeft+r.scrollWidth-r.clientWidth:-r.scrollLeft:e==n?r.scrollLeft:r.scrollWidth-r.clientWidth-r.scrollLeft}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return t})(),xU=20,Mi=(()=>{class t{_platform=m(Je);_listeners;_viewportSize;_change=new B;_document=m(ce,{optional:!0});constructor(){let e=m(ne),n=m(_n).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let o=r=>this._change.next(r);this._listeners=[n.listen("window","resize",o),n.listen("window","orientationchange",o)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:n,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+n,height:o,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,n=this._getWindow(),o=e.documentElement,r=o.getBoundingClientRect(),a=-r.top||e.body.scrollTop||n.scrollY||o.scrollTop||0,s=-r.left||e.body.scrollLeft||n.scrollX||o.scrollLeft||0;return{top:a,left:s}}change(e=xU){return e>0?this._change.pipe(sm(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Vi=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})(),Od=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[ca,Vi,ca,Vi]})}return t})();var R0={},mt=(()=>{class t{_appId=m(qa);getId(e){return this._appId!=="ng"&&(e+=this._appId),R0.hasOwnProperty(e)||(R0[e]=0),`${e}${R0[e]++}`}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Mt(t,...i){return i.length?i.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var qT=Rh(),Oh=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(i,e){this._viewportRuler=i,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let i=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=i.style.left||"",this._previousHTMLStyles.top=i.style.top||"",i.style.left=bn(-this._previousScrollPosition.left),i.style.top=bn(-this._previousScrollPosition.top),i.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let i=this._document.documentElement,e=this._document.body,n=i.style,o=e.style,r=n.scrollBehavior||"",a=o.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,i.classList.remove("cdk-global-scrollblock"),qT&&(n.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),qT&&(n.scrollBehavior=r,o.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,n=this._viewportRuler.getViewportSize();return e.scrollHeight>n.height||e.scrollWidth>n.width}};var Ph=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(i,e,n,o){this._scrollDispatcher=i,this._ngZone=e,this._viewportRuler=n,this._config=o}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(this._scrollSubscription)return;let i=this._scrollDispatcher.scrolled(0).pipe(Ye(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=i.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=i.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}},Pd=class{enable(){}disable(){}attach(){}};function O0(t,i){return i.some(e=>{let n=t.bottome.bottom,r=t.righte.right;return n||o||r||a})}function YT(t,i){return i.some(e=>{let n=t.tope.bottom,r=t.lefte.right;return n||o||r||a})}var Fh=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(i,e,n,o){this._scrollDispatcher=i,this._viewportRuler=e,this._ngZone=n,this._config=o}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(!this._scrollSubscription){let i=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(i).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:o}=this._viewportRuler.getViewportSize();O0(e,[{width:n,height:o,bottom:o,right:n,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},e1=(()=>{class t{_scrollDispatcher=m(Il);_viewportRuler=m(Mi);_ngZone=m(ne);_document=m(ce);constructor(){}noop=()=>new Pd;close=e=>new Ph(this._scrollDispatcher,this._ngZone,this._viewportRuler,e);block=()=>new Oh(this._viewportRuler,this._document);reposition=e=>new Fh(this._scrollDispatcher,this._viewportRuler,this._ngZone,e);static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),di=class{positionStrategy;scrollStrategy=new Pd;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(i){if(i){let e=Object.keys(i);for(let n of e)i[n]!==void 0&&(this[n]=i[n])}}};var Nh=class{connectionPair;scrollableViewProperties;constructor(i,e){this.connectionPair=i,this.scrollableViewProperties=e}};var t1=(()=>{class t{_attachedOverlays=[];_document=m(ce);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let n=this._attachedOverlays.indexOf(e);n>-1&&this._attachedOverlays.splice(n,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),n1=(()=>{class t extends t1{_ngZone=m(ne);_renderer=m(_n).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let n=this._attachedOverlays;for(let o=n.length-1;o>-1;o--)if(n[o]._keydownEvents.observers.length>0){this._ngZone.run(()=>n[o]._keydownEvents.next(e));break}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),i1=(()=>{class t extends t1{_platform=m(Je);_ngZone=m(ne);_renderer=m(_n).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){let n=this._document.body,o={capture:!0};this._cleanups=this._ngZone.runOutsideAngular(()=>[qt(this._renderer,n,"pointerdown",this._pointerDownListener,o),qt(this._renderer,n,"click",this._clickListener,o),qt(this._renderer,n,"auxclick",this._clickListener,o),qt(this._renderer,n,"contextmenu",this._clickListener,o)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=Hn(e)};_clickListener=e=>{let n=Hn(e),o=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:n;this._pointerDownEventTarget=null;let r=this._attachedOverlays.slice();for(let a=r.length-1;a>-1;a--){let s=r[a];if(s._outsidePointerEvents.observers.length<1||!s.hasAttached())continue;if(QT(s.overlayElement,n)||QT(s.overlayElement,o))break;let c=s._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>c.next(e)):c.next(e)}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function QT(t,i){let e=typeof ShadowRoot<"u"&&ShadowRoot,n=i;for(;n;){if(n===t)return!0;n=e&&n instanceof ShadowRoot?n.host:n.parentNode}return!1}var o1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(n,o){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll} -`],encapsulation:2,changeDetection:0})}return t})(),Vh=(()=>{class t{_platform=m(Je);_containerElement;_document=m(ce);_styleLoader=m(wt);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||A0()){let o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;r{let i=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(i,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),i.style.pointerEvents="none",i.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}},hs=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new B;_attachments=new B;_detachments=new B;_positionStrategy;_scrollStrategy;_locationChanges=he.EMPTY;_backdropRef=null;_previousHostParent;_keydownEvents=new B;_outsidePointerEvents=new B;_renders=new B;_afterRenderRef;_afterNextRenderRef;constructor(i,e,n,o,r,a,s,c,p,g=!1,v,S){this._portalOutlet=i,this._host=e,this._pane=n,this._config=o,this._ngZone=r,this._keyboardDispatcher=a,this._document=s,this._location=c,this._outsideClickDispatcher=p,this._animationsDisabled=g,this._injector=v,this._renderer=S,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy,this._afterRenderRef=Di(()=>Ya(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(i){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(i);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Wt(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let i=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),i}dispose(){let i=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,i&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(i){i!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=i,this.hasAttached()&&(i.attach(this),this.updatePosition()))}updateSize(i){this._config=L(L({},this._config),i),this._updateElementSize()}setDirection(i){this._config=qe(L({},this._config),{direction:i}),this._updateElementDirection()}addPanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!0)}removePanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!1)}getDirection(){let i=this._config.direction;return i?typeof i=="string"?i:i.value:"ltr"}updateScrollStrategy(i){i!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=i,this.hasAttached()&&(i.attach(this),i.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let i=this._pane.style;i.width=bn(this._config.width),i.height=bn(this._config.height),i.minWidth=bn(this._config.minWidth),i.minHeight=bn(this._config.minHeight),i.maxWidth=bn(this._config.maxWidth),i.maxHeight=bn(this._config.maxHeight)}_togglePointerEvents(i){this._pane.style.pointerEvents=i?"":"none"}_attachBackdrop(){let i="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new P0(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(i))}):this._backdropRef.element.classList.add(i)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(i,e,n){let o=Sl(e||[]).filter(r=>!!r);o.length&&(n?i.classList.add(...o):i.classList.remove(...o))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let i=this._renders.pipe(Ee(yt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),i.unsubscribe())})})}_disposeScrollStrategy(){let i=this._scrollStrategy;i?.disable(),i?.detach?.()}},KT="cdk-overlay-connected-position-bounding-box",DU=/([A-Za-z%]+)$/,Tl=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new B;_resizeSubscription=he.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(i,e,n,o,r){this._viewportRuler=e,this._document=n,this._platform=o,this._overlayContainer=r,this.setOrigin(i)}attach(i){this._overlayRef&&this._overlayRef,this._validatePositions(),i.hostElement.classList.add(KT),this._overlayRef=i,this._boundingBox=i.hostElement,this._pane=i.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let i=this._originRect,e=this._overlayRect,n=this._viewportRect,o=this._containerRect,r=[],a;for(let s of this._preferredPositions){let c=this._getOriginPoint(i,o,s),p=this._getOverlayPoint(c,e,s),g=this._getOverlayFit(p,e,n,s);if(g.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,c);return}if(this._canFitWithFlexibleDimensions(g,p,n)){r.push({position:s,origin:c,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(c,s)});continue}(!a||a.overlayFit.visibleAreac&&(c=g,s=p)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ps(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(KT),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let i=this._lastPosition;if(i){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,i);this._applyPosition(i,e)}else this.apply()}withScrollableContainers(i){return this._scrollables=i,this}withPositions(i){return this._preferredPositions=i,i.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(i){return this._viewportMargin=i,this}withFlexibleDimensions(i=!0){return this._hasFlexibleDimensions=i,this}withGrowAfterOpen(i=!0){return this._growAfterOpen=i,this}withPush(i=!0){return this._canPush=i,this}withLockedPosition(i=!0){return this._positionLocked=i,this}setOrigin(i){return this._origin=i,this}withDefaultOffsetX(i){return this._offsetX=i,this}withDefaultOffsetY(i){return this._offsetY=i,this}withTransformOriginOn(i){return this._transformOriginSelector=i,this}_getOriginPoint(i,e,n){let o;if(n.originX=="center")o=i.left+i.width/2;else{let a=this._isRtl()?i.right:i.left,s=this._isRtl()?i.left:i.right;o=n.originX=="start"?a:s}e.left<0&&(o-=e.left);let r;return n.originY=="center"?r=i.top+i.height/2:r=n.originY=="top"?i.top:i.bottom,e.top<0&&(r-=e.top),{x:o,y:r}}_getOverlayPoint(i,e,n){let o;n.overlayX=="center"?o=-e.width/2:n.overlayX==="start"?o=this._isRtl()?-e.width:0:o=this._isRtl()?0:-e.width;let r;return n.overlayY=="center"?r=-e.height/2:r=n.overlayY=="top"?0:-e.height,{x:i.x+o,y:i.y+r}}_getOverlayFit(i,e,n,o){let r=XT(e),{x:a,y:s}=i,c=this._getOffset(o,"x"),p=this._getOffset(o,"y");c&&(a+=c),p&&(s+=p);let g=0-a,v=a+r.width-n.width,S=0-s,D=s+r.height-n.height,I=this._subtractOverflows(r.width,g,v),R=this._subtractOverflows(r.height,S,D),Q=I*R;return{visibleArea:Q,isCompletelyWithinViewport:r.width*r.height===Q,fitsInViewportVertically:R===r.height,fitsInViewportHorizontally:I==r.width}}_canFitWithFlexibleDimensions(i,e,n){if(this._hasFlexibleDimensions){let o=n.bottom-e.y,r=n.right-e.x,a=ZT(this._overlayRef.getConfig().minHeight),s=ZT(this._overlayRef.getConfig().minWidth),c=i.fitsInViewportVertically||a!=null&&a<=o,p=i.fitsInViewportHorizontally||s!=null&&s<=r;return c&&p}return!1}_pushOverlayOnScreen(i,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:i.x+this._previousPushAmount.x,y:i.y+this._previousPushAmount.y};let o=XT(e),r=this._viewportRect,a=Math.max(i.x+o.width-r.width,0),s=Math.max(i.y+o.height-r.height,0),c=Math.max(r.top-n.top-i.y,0),p=Math.max(r.left-n.left-i.x,0),g=0,v=0;return o.width<=r.width?g=p||-a:g=i.xI&&!this._isInitialRender&&!this._growAfterOpen&&(a=i.y-I/2)}let c=e.overlayX==="start"&&!o||e.overlayX==="end"&&o,p=e.overlayX==="end"&&!o||e.overlayX==="start"&&o,g,v,S;if(p)S=n.width-i.x+this._viewportMargin*2,g=i.x-this._viewportMargin;else if(c)v=i.x,g=n.right-i.x;else{let D=Math.min(n.right-i.x+n.left,i.x),I=this._lastBoundingBoxSize.width;g=D*2,v=i.x-D,g>I&&!this._isInitialRender&&!this._growAfterOpen&&(v=i.x-I/2)}return{top:a,left:v,bottom:s,right:S,width:g,height:r}}_setBoundingBoxStyles(i,e){let n=this._calculateBoundingBoxRect(i,e);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));let o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{let r=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;o.height=bn(n.height),o.top=bn(n.top),o.bottom=bn(n.bottom),o.width=bn(n.width),o.left=bn(n.left),o.right=bn(n.right),e.overlayX==="center"?o.alignItems="center":o.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?o.justifyContent="center":o.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",r&&(o.maxHeight=bn(r)),a&&(o.maxWidth=bn(a))}this._lastBoundingBoxSize=n,ps(this._boundingBox.style,o)}_resetBoundingBoxStyles(){ps(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ps(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(i,e){let n={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(o){let g=this._viewportRuler.getViewportScrollPosition();ps(n,this._getExactOverlayY(e,i,g)),ps(n,this._getExactOverlayX(e,i,g))}else n.position="static";let s="",c=this._getOffset(e,"x"),p=this._getOffset(e,"y");c&&(s+=`translateX(${c}px) `),p&&(s+=`translateY(${p}px)`),n.transform=s.trim(),a.maxHeight&&(o?n.maxHeight=bn(a.maxHeight):r&&(n.maxHeight="")),a.maxWidth&&(o?n.maxWidth=bn(a.maxWidth):r&&(n.maxWidth="")),ps(this._pane.style,n)}_getExactOverlayY(i,e,n){let o={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,i);if(this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),i.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;o.bottom=`${a-(r.y+this._overlayRect.height)}px`}else o.top=bn(r.y);return o}_getExactOverlayX(i,e,n){let o={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,i);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));let a;if(this._isRtl()?a=i.overlayX==="end"?"left":"right":a=i.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;o.right=`${s-(r.x+this._overlayRect.width)}px`}else o.left=bn(r.x);return o}_getScrollVisibility(){let i=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:YT(i,n),isOriginOutsideView:O0(i,n),isOverlayClipped:YT(e,n),isOverlayOutsideView:O0(e,n)}}_subtractOverflows(i,...e){return e.reduce((n,o)=>n-Math.max(o,0),i)}_getNarrowedViewportRect(){let i=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+i-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:i-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(i,e){return e==="x"?i.offsetX==null?this._offsetX:i.offsetX:i.offsetY==null?this._offsetY:i.offsetY}_validatePositions(){}_addPanelClasses(i){this._pane&&Sl(i).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(i=>{this._pane.classList.remove(i)}),this._appliedPanelClasses=[])}_getOriginRect(){let i=this._origin;if(i instanceof K)return i.nativeElement.getBoundingClientRect();if(i instanceof Element)return i.getBoundingClientRect();let e=i.width||0,n=i.height||0;return{top:i.y,bottom:i.y+n,left:i.x,right:i.x+e,height:n,width:e}}};function ps(t,i){for(let e in i)i.hasOwnProperty(e)&&(t[e]=i[e]);return t}function ZT(t){if(typeof t!="number"&&t!=null){let[i,e]=t.split(DU);return!e||e==="px"?parseFloat(i):null}return t||null}function XT(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function SU(t,i){return t===i?!0:t.isOriginClipped===i.isOriginClipped&&t.isOriginOutsideView===i.isOriginOutsideView&&t.isOverlayClipped===i.isOverlayClipped&&t.isOverlayOutsideView===i.isOverlayOutsideView}var JT="cdk-global-overlay-wrapper",Lh=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(i){let e=i.getConfig();this._overlayRef=i,this._width&&!e.width&&i.updateSize({width:this._width}),this._height&&!e.height&&i.updateSize({height:this._height}),i.hostElement.classList.add(JT),this._isDisposed=!1}top(i=""){return this._bottomOffset="",this._topOffset=i,this._alignItems="flex-start",this}left(i=""){return this._xOffset=i,this._xPosition="left",this}bottom(i=""){return this._topOffset="",this._bottomOffset=i,this._alignItems="flex-end",this}right(i=""){return this._xOffset=i,this._xPosition="right",this}start(i=""){return this._xOffset=i,this._xPosition="start",this}end(i=""){return this._xOffset=i,this._xPosition="end",this}width(i=""){return this._overlayRef?this._overlayRef.updateSize({width:i}):this._width=i,this}height(i=""){return this._overlayRef?this._overlayRef.updateSize({height:i}):this._height=i,this}centerHorizontally(i=""){return this.left(i),this._xPosition="center",this}centerVertically(i=""){return this.top(i),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:o,height:r,maxWidth:a,maxHeight:s}=n,c=(o==="100%"||o==="100vw")&&(!a||a==="100%"||a==="100vw"),p=(r==="100%"||r==="100vh")&&(!s||s==="100%"||s==="100vh"),g=this._xPosition,v=this._xOffset,S=this._overlayRef.getConfig().direction==="rtl",D="",I="",R="";c?R="flex-start":g==="center"?(R="center",S?I=v:D=v):S?g==="left"||g==="end"?(R="flex-end",D=v):(g==="right"||g==="start")&&(R="flex-start",I=v):g==="left"||g==="start"?(R="flex-start",D=v):(g==="right"||g==="end")&&(R="flex-end",I=v),i.position=this._cssPosition,i.marginLeft=c?"0":D,i.marginTop=p?"0":this._topOffset,i.marginBottom=this._bottomOffset,i.marginRight=c?"0":I,e.justifyContent=R,e.alignItems=p?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(JT),n.justifyContent=n.alignItems=i.marginTop=i.marginBottom=i.marginLeft=i.marginRight=i.position="",this._overlayRef=null,this._isDisposed=!0}},r1=(()=>{class t{_viewportRuler=m(Mi);_document=m(ce);_platform=m(Je);_overlayContainer=m(Vh);constructor(){}global(){return new Lh}flexibleConnectedTo(e){return new Tl(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Rt=(()=>{class t{scrollStrategies=m(e1);_overlayContainer=m(Vh);_positionBuilder=m(r1);_keyboardDispatcher=m(n1);_injector=m(Me);_ngZone=m(ne);_document=m(ce);_directionality=m(Ft);_location=m(Xo);_outsideClickDispatcher=m(i1);_animationsModuleType=m(et,{optional:!0});_idGenerator=m(mt);_renderer=m(_n).createRenderer(null,null);_appRef;_styleLoader=m(wt);constructor(){}create(e){this._styleLoader.load(o1);let n=this._createHostElement(),o=this._createPaneElement(n),r=this._createPortalOutlet(o),a=new di(e);return a.direction=a.direction||this._directionality.value,new hs(r,n,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(an),this._renderer)}position(){return this._positionBuilder}_createPaneElement(e){let n=this._document.createElement("div");return n.id=this._idGenerator.getId("cdk-overlay-"),n.classList.add("cdk-overlay-pane"),e.appendChild(n),n}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(ai)),new as(e,null,this._appRef,this._injector,this._document)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),EU=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],a1=new k("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(Rt);return()=>t.scrollStrategies.reposition()}}),kl=(()=>{class t{elementRef=m(K);constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),Bh=(()=>{class t{_overlay=m(Rt);_dir=m(Ft,{optional:!0});_overlayRef;_templatePortal;_backdropSubscription=he.EMPTY;_attachSubscription=he.EMPTY;_detachSubscription=he.EMPTY;_positionSubscription=he.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=m(a1);_disposeOnNavigation=!1;_ngZone=m(ne);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}backdropClick=new T;positionChange=new T;attach=new T;detach=new T;overlayKeydown=new T;overlayOutsideClick=new T;constructor(){let e=m(bt),n=m(Et);this._templatePortal=new Dn(e,n),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=EU);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(n=>{this.overlayKeydown.next(n),n.keyCode===27&&!this.disableClose&&!Mt(n)&&(n.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(n=>{let o=this._getOriginElement(),r=Hn(n);(!o||o!==r&&!o.contains(r))&&this.overlayOutsideClick.next(n)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),n=new di({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(n.width=this.width),(this.height||this.height===0)&&(n.height=this.height),(this.minWidth||this.minWidth===0)&&(n.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(n.minHeight=this.minHeight),this.backdropClass&&(n.backdropClass=this.backdropClass),this.panelClass&&(n.panelClass=this.panelClass),n}_updatePositionStrategy(e){let n=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof kl?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof kl?this.origin.elementRef.nativeElement:this.origin instanceof K?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(H_(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",G],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",G],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",G],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",G],push:[2,"cdkConnectedOverlayPush","push",G],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",G]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[He]})}return t})();function MU(t){return()=>t.scrollStrategies.reposition()}var IU={provide:a1,deps:[Rt],useFactory:MU},Wn=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[Rt,IU],imports:[ca,Ei,Od,Od]})}return t})();function TU(t,i){}var ua=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;componentFactoryResolver;providers;container;templateContext};var N0=(()=>{class t extends kr{_elementRef=m(K);_focusTrapFactory=m(Th);_config;_interactivityChecker=m(T0);_ngZone=m(ne);_overlayRef=m(hs);_focusMonitor=m(Sn);_renderer=m(At);_changeDetectorRef=m(De);_injector=m(Me);_platform=m(Je);_document=m(ce,{optional:!0});_portalOutlet;_focusTrapped=new B;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=m(ua,{optional:!0})||new ua,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let n=this._ariaLabelledByQueue.indexOf(e);n>-1&&(this._ariaLabelledByQueue.splice(n,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let n=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),n}attachTemplatePortal(e){this._portalOutlet.hasAttached();let n=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),n}attachDomPortal=e=>{this._portalOutlet.hasAttached();let n=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),n};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,n){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{r(),a(),e.removeAttribute("tabindex")},r=this._renderer.listen(e,"blur",o),a=this._renderer.listen(e,"mousedown",o)})),e.focus(n)}_focusByCssSelector(e,n){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,n)}_trapFocus(e){this._isDestroyed||Wt(()=>{let n=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||n.focus(e);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,n=null;if(typeof e=="string"?n=this._document.querySelector(e):typeof e=="boolean"?n=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(n=e),this._config.restoreFocus&&n&&typeof n.focus=="function"){let o=to(),r=this._elementRef.nativeElement;(!o||o===this._document.body||o===r||r.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(n,this._closeInteractionType),this._closeInteractionType=null):n.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(e){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus(e)}_containsFocus(){let e=this._elementRef.nativeElement,n=to();return e===n||e.contains(n)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=to()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(n,o){if(n&1&&se(ei,7),n&2){let r;q(r=Y())&&(o._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(n,o){n&2&&ee("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},features:[pe],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(n,o){n&1&&x(0,TU,0,0,"ng-template",0)},dependencies:[ei],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit} -`],encapsulation:2})}return t})(),Fd=class{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new B;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(i,e){this.overlayRef=i,this.config=e,this.disableClose=e.disableClose,this.backdropClick=i.backdropClick(),this.keydownEvents=i.keydownEvents(),this.outsidePointerEvents=i.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(n=>{n.keyCode===27&&!this.disableClose&&!Mt(n)&&(n.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=i.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(i,e){if(this.containerInstance){let n=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),n.next(i),n.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(i="",e=""){return this.overlayRef.updateSize({width:i,height:e}),this}addPanelClass(i){return this.overlayRef.addPanelClass(i),this}removePanelClass(i){return this.overlayRef.removePanelClass(i),this}},kU=new k("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=m(Rt);return()=>t.scrollStrategies.block()}}),AU=new k("DialogData"),RU=new k("DefaultDialogConfig");var L0=(()=>{class t{_overlay=m(Rt);_injector=m(Me);_defaultOptions=m(RU,{optional:!0});_parentDialog=m(t,{optional:!0,skipSelf:!0});_overlayContainer=m(Vh);_idGenerator=m(mt);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new B;_afterOpenedAtThisLevel=new B;_ariaHiddenElements=new Map;_scrollStrategy=m(kU);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=Yi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Dt(void 0)));constructor(){}open(e,n){let o=this._defaultOptions||new ua;n=L(L({},o),n),n.id=n.id||this._idGenerator.getId("cdk-dialog-"),n.id&&this.getDialogById(n.id);let r=this._getOverlayConfig(n),a=this._overlay.create(r),s=new Fd(a,n),c=this._attachContainer(a,s,n);if(s.containerInstance=c,!this.openDialogs.length){let p=this._overlayContainer.getContainerElement();c._focusTrapped?c._focusTrapped.pipe(xt(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(p)}):this._hideNonDialogContentFromAssistiveTechnology(p)}return this._attachDialogContent(e,s,c,n),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s}closeAll(){F0(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(n=>n.id===e)}ngOnDestroy(){F0(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),F0(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let n=new di({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(n.backdropClass=e.backdropClass),n}_attachContainer(e,n,o){let r=o.injector||o.viewContainerRef?.injector,a=[{provide:ua,useValue:o},{provide:Fd,useValue:n},{provide:hs,useValue:e}],s;o.container?typeof o.container=="function"?s=o.container:(s=o.container.type,a.push(...o.container.providers(o))):s=N0;let c=new li(s,o.viewContainerRef,Me.create({parent:r||this._injector,providers:a}));return e.attach(c).instance}_attachDialogContent(e,n,o,r){if(e instanceof bt){let a=this._createInjector(r,n,o,void 0),s={$implicit:r.data,dialogRef:n};r.templateContext&&(s=L(L({},s),typeof r.templateContext=="function"?r.templateContext():r.templateContext)),o.attachTemplatePortal(new Dn(e,null,s,a))}else{let a=this._createInjector(r,n,o,this._injector),s=o.attachComponentPortal(new li(e,r.viewContainerRef,a));n.componentRef=s,n.componentInstance=s.instance}}_createInjector(e,n,o,r){let a=e.injector||e.viewContainerRef?.injector,s=[{provide:AU,useValue:e.data},{provide:Fd,useValue:n}];return e.providers&&(typeof e.providers=="function"?s.push(...e.providers(n,e,o)):s.push(...e.providers)),e.direction&&(!a||!a.get(Ft,null,{optional:!0}))&&s.push({provide:Ft,useValue:{value:e.direction,change:ie()}}),Me.create({parent:a||r,providers:s})}_removeOpenDialog(e,n){let o=this.openDialogs.indexOf(e);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((r,a)=>{r?a.setAttribute("aria-hidden",r):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),n&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let n=e.parentElement.children;for(let o=n.length-1;o>-1;o--){let r=n[o];r!==e&&r.nodeName!=="SCRIPT"&&r.nodeName!=="STYLE"&&!r.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function F0(t,i){let e=t.length;for(;e--;)i(t[e])}var s1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[L0],imports:[Wn,Ei,us,Ei]})}return t})();function Bi(t){return t!=null&&`${t}`!="false"}function l1(t,i=/\s+/){let e=[];if(t!=null){let n=Array.isArray(t)?t:`${t}`.split(i);for(let o of n){let r=`${o}`.trim();r&&e.push(r)}}return e}var OU=200,jh=class{_letterKeyStream=new B;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new B;selectedItem=this._selectedItem;constructor(i,e){let n=typeof e?.debounceInterval=="number"?e.debounceInterval:OU;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(i),this._setupKeyHandler(n)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(i){this._selectedItemIndex=i}setItems(i){this._items=i}handleKey(i){let e=i.keyCode;i.key&&i.key.length===1?this._letterKeyStream.next(i.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(i){this._letterKeyStream.pipe(Ht(e=>this._pressedLetters.push(e)),mr(i),Ye(()=>this._pressedLetters.length>0),le(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let n=1;ni.disabled;constructor(i,e){this._items=i,i instanceof Ki?this._itemChangesSubscription=i.changes.subscribe(n=>this._itemsChanged(n.toArray())):Xr(i)&&(this._effectRef=Wc(()=>this._itemsChanged(i()),{injector:e}))}tabOut=new B;change=new B;skipPredicate(i){return this._skipPredicateFn=i,this}withWrap(i=!0){return this._wrap=i,this}withVerticalOrientation(i=!0){return this._vertical=i,this}withHorizontalOrientation(i){return this._horizontal=i,this}withAllowedModifierKeys(i){return this._allowedModifierKeys=i,this}withTypeAhead(i=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new jh(e,{debounceInterval:typeof i=="number"?i:void 0,skipPredicate:n=>this._skipPredicateFn(n)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(n=>{this.setActiveItem(n)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(i=!0){return this._homeAndEnd=i,this}withPageUpDown(i=!0,e=10){return this._pageUpAndDown={enabled:i,delta:e},this}setActiveItem(i){let e=this._activeItem();this.updateActiveItem(i),this._activeItem()!==e&&this.change.next(this._activeItemIndex)}onKeydown(i){let e=i.keyCode,o=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!i[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&o){this.setNextItemActive();break}else return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&o){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&o){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&o){let r=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&o){let r=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(r-1&&n!==this._activeItemIndex&&(this._activeItemIndex=n,this._typeahead?.setCurrentSelectedItemIndex(n))}}};var fs=class extends Al{setActiveItem(i){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(i),this.activeItem&&this.activeItem.setActiveStyles()}};var Ar=class extends Al{_origin="program";setFocusOrigin(i){return this._origin=i,this}setActiveItem(i){super.setActiveItem(i),this.activeItem&&this.activeItem.focus(this._origin)}};var u1=" ";function Pl(t,i,e){let n=Hh(t,i);e=e.trim(),!n.some(o=>o.trim()===e)&&(n.push(e),t.setAttribute(i,n.join(u1)))}function ma(t,i,e){let n=Hh(t,i);e=e.trim();let o=n.filter(r=>r!==e);o.length?t.setAttribute(i,o.join(u1)):t.removeAttribute(i)}function Hh(t,i){return t.getAttribute(i)?.match(/\S+/g)??[]}var m1="cdk-describedby-message",Uh="cdk-describedby-host",B0=0,Wh=(()=>{class t{_platform=m(Je);_document=m(ce);_messageRegistry=new Map;_messagesContainer=null;_id=`${B0++}`;constructor(){m(wt).load(no),this._id=m(qa)+"-"+B0++}describe(e,n,o){if(!this._canBeDescribed(e,n))return;let r=V0(n,o);typeof n!="string"?(d1(n,this._id),this._messageRegistry.set(r,{messageElement:n,referenceCount:0})):this._messageRegistry.has(r)||this._createMessageElement(n,o),this._isElementDescribedByMessage(e,r)||this._addMessageReference(e,r)}removeDescription(e,n,o){if(!n||!this._isElementNode(e))return;let r=V0(n,o);if(this._isElementDescribedByMessage(e,r)&&this._removeMessageReference(e,r),typeof n=="string"){let a=this._messageRegistry.get(r);a&&a.referenceCount===0&&this._deleteMessageElement(r)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${Uh}="${this._id}"]`);for(let n=0;no.indexOf(m1)!=0);e.setAttribute("aria-describedby",n.join(" "))}_addMessageReference(e,n){let o=this._messageRegistry.get(n);Pl(e,"aria-describedby",o.messageElement.id),e.setAttribute(Uh,this._id),o.referenceCount++}_removeMessageReference(e,n){let o=this._messageRegistry.get(n);o.referenceCount--,ma(e,"aria-describedby",o.messageElement.id),e.removeAttribute(Uh)}_isElementDescribedByMessage(e,n){let o=Hh(e,"aria-describedby"),r=this._messageRegistry.get(n),a=r&&r.messageElement.id;return!!a&&o.indexOf(a)!=-1}_canBeDescribed(e,n){if(!this._isElementNode(e))return!1;if(n&&typeof n=="object")return!0;let o=n==null?"":`${n}`.trim(),r=e.getAttribute("aria-label");return o?!r||r.trim()!==o:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function V0(t,i){return typeof t=="string"?`${i||""}/${t}`:t}function d1(t,i){t.id||(t.id=`${m1}-${i}-${B0++}`)}var ue=(()=>{class t{constructor(){m(kh)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[ca,ca]})}return t})();function PU(t,i){}var Bd=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;componentFactoryResolver;enterAnimationDuration;exitAnimationDuration},j0="mdc-dialog--open",p1="mdc-dialog--opening",h1="mdc-dialog--closing",FU=150,NU=75,_1=(()=>{class t extends N0{_animationMode=m(et,{optional:!0});_animationStateChanged=new T;_animationsEnabled=this._animationMode!=="NoopAnimations";_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?g1(this._config.enterAnimationDuration)??FU:0;_exitAnimationDuration=this._animationsEnabled?g1(this._config.exitAnimationDuration)??NU:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(f1,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(p1,j0)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(j0),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(j0),this._animationsEnabled?(this._hostElement.style.setProperty(f1,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(h1)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(p1,h1)}_waitForAnimationToComplete(e,n){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(n,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let n=super.attachComponentPortal(e);return n.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),n}static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275cmp=E({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(n,o){n&2&&(xn("id",o._config.id),ee("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),te("_mat-animation-noopable",!o._animationsEnabled)("mat-mdc-dialog-container-with-actions",o._actionSectionCount>0))},features:[pe],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(n,o){n&1&&(l(0,"div",0)(1,"div",1),x(2,PU,0,0,"ng-template",2),d()())},dependencies:[ei],styles:[`.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mdc-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents} -`],encapsulation:2})}return t})(),f1="--mat-dialog-transition-duration";function g1(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?Mo(t.substring(0,t.length-2)):t.endsWith("s")?Mo(t.substring(0,t.length-1))*1e3:t==="0"?0:null}var Vd=(function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t})(Vd||{}),Ae=class{_ref;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new B;_beforeClosed=new B;_result;_closeFallbackTimeout;_state=Vd.OPEN;_closeInteractionType;constructor(i,e,n){this._ref=i,this._containerInstance=n,this.disableClose=e.disableClose,this.id=i.id,i.addPanelClass("mat-mdc-dialog-panel"),n._animationStateChanged.pipe(Ye(o=>o.state==="opened"),xt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(Ye(o=>o.state==="closed"),xt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),i.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),yt(this.backdropClick(),this.keydownEvents().pipe(Ye(o=>o.keyCode===27&&!this.disableClose&&!Mt(o)))).subscribe(o=>{this.disableClose||(o.preventDefault(),z0(this,o.type==="keydown"?"keyboard":"mouse"))})}close(i){this._result=i,this._containerInstance._animationStateChanged.pipe(Ye(e=>e.state==="closing"),xt(1)).subscribe(e=>{this._beforeClosed.next(i),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=Vd.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(i){let e=this._ref.config.positionStrategy;return i&&(i.left||i.right)?i.left?e.left(i.left):e.right(i.right):e.centerHorizontally(),i&&(i.top||i.bottom)?i.top?e.top(i.top):e.bottom(i.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(i="",e=""){return this._ref.updateSize(i,e),this}addPanelClass(i){return this._ref.addPanelClass(i),this}removePanelClass(i){return this._ref.removePanelClass(i),this}getState(){return this._state}_finishDialogClose(){this._state=Vd.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function z0(t,i,e){return t._closeInteractionType=i,t.close(e)}var Be=new k("MatMdcDialogData"),v1=new k("mat-mdc-dialog-default-options"),b1=new k("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(Rt);return()=>t.scrollStrategies.block()}});var Fl=(()=>{class t{_overlay=m(Rt);_defaultOptions=m(v1,{optional:!0});_scrollStrategy=m(b1);_parentDialog=m(t,{optional:!0,skipSelf:!0});_idGenerator=m(mt);_dialog=m(L0);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new B;_afterOpenedAtThisLevel=new B;dialogConfigClass=Bd;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=Yi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Dt(void 0)));constructor(){this._dialogRefConstructor=Ae,this._dialogContainerType=_1,this._dialogDataToken=Be}open(e,n){let o;n=L(L({},this._defaultOptions||new Bd),n),n.id=n.id||this._idGenerator.getId("mat-mdc-dialog-"),n.scrollStrategy=n.scrollStrategy||this._scrollStrategy();let r=this._dialog.open(e,qe(L({},n),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:n},{provide:ua,useValue:n}]},templateContext:()=>({dialogRef:o}),providers:(a,s,c)=>(o=new this._dialogRefConstructor(a,n,c),o.updatePosition(n?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=r.componentRef,o.componentInstance=r.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{let a=this.openDialogs.indexOf(o);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(n=>n.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let n=e.length;for(;n--;)e[n].close()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),jt=(()=>{class t{dialogRef=m(Ae,{optional:!0});_elementRef=m(K);_dialog=m(Fl);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=C1(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let n=e._matDialogClose||e._matDialogCloseResult;n&&(this.dialogResult=n.currentValue)}_onButtonClick(e){z0(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(n,o){n&1&&b("click",function(a){return o._onButtonClick(a)}),n&2&&ee("aria-label",o.ariaLabel||null)("type",o.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[He]})}return t})(),y1=(()=>{class t{_dialogRef=m(Ae,{optional:!0});_elementRef=m(K);_dialog=m(Fl);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=C1(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t})}return t})(),We=(()=>{class t extends y1{id=m(mt).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275dir=N({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(n,o){n&2&&xn("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[pe]})}return t})(),Ge=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[mM([Rd])]})}return t})(),$e=(()=>{class t extends y1{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275dir=N({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(n,o){n&2&&te("mat-mdc-dialog-actions-align-start",o.align==="start")("mat-mdc-dialog-actions-align-center",o.align==="center")("mat-mdc-dialog-actions-align-end",o.align==="end")},inputs:{align:"align"},features:[pe]})}return t})();function C1(t,i){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?i.find(n=>n.id===e.id):null}var U0=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[Fl],imports:[s1,Wn,Ei,ue,ue]})}return t})();var w1,x1=[django.gettext("Sunday"),django.gettext("Monday"),django.gettext("Tuesday"),django.gettext("Wednesday"),django.gettext("Thursday"),django.gettext("Friday"),django.gettext("Saturday")],D1=[django.gettext("January"),django.gettext("February"),django.gettext("March"),django.gettext("April"),django.gettext("May"),django.gettext("June"),django.gettext("July"),django.gettext("August"),django.gettext("September"),django.gettext("October"),django.gettext("November"),django.gettext("December")];var S1=t=>{let i=[];return t.forEach(e=>{i.push(e.substring(0,3))}),i},pa=(t,i,e)=>(typeof i>"u"&&(i=new Date),gs(t,i,e));var gs=(t,i,e,n)=>{n=n||{},i=i||new Date;let o=e||BU;o.formats=o.formats||{};let r=i.getTime();return(n.utc||typeof n.timezone=="number")&&(i=LU(i)),typeof n.timezone=="number"&&(i=new Date(i.getTime()+n.timezone*6e4)),t.replace(/%([-_0]?.)/g,(a,s)=>{let c,p,g,v,S,D,I,R;if(g=null,S=null,s.length===2){if(g=s[0],g==="-")S="";else if(g==="_")S=" ";else if(g==="0")S="0";else return a;s=s[1]}switch(s){case"A":return o.days[i.getDay()];case"a":return o.shortDays[i.getDay()];case"B":return o.months[i.getMonth()];case"b":return o.shortMonths[i.getMonth()];case"C":return pi(Math.floor(i.getFullYear()/100),S);case"D":return gs(o.formats.D||"%m/%d/%y",i,o);case"d":return pi(i.getDate(),S);case"e":return i.getDate();case"F":return gs(o.formats.F||"%Y-%m-%d",i,o);case"H":return pi(i.getHours(),S);case"h":return o.shortMonths[i.getMonth()];case"I":return pi(E1(i),S);case"j":return I=new Date(i.getFullYear(),0,1),c=Math.ceil((i.getTime()-I.getTime())/(1e3*60*60*24)),pi(c,3);case"k":return pi(i.getHours(),S===void 0?" ":S);case"L":return pi(Math.floor(r%1e3),3);case"l":return pi(E1(i),S===void 0?" ":S);case"M":return pi(i.getMinutes(),S);case"m":return pi(i.getMonth()+1,S);case"n":return` -`;case"o":return String(i.getDate())+VU(i.getDate());case"P":return"";case"p":return"";case"R":return gs(o.formats.R||"%H:%M",i,o);case"r":return gs(o.formats.r||"%I:%M:%S %p",i,o);case"S":return pi(i.getSeconds(),S);case"s":return Math.floor(r/1e3);case"T":return gs(o.formats.T||"%H:%M:%S",i,o);case"t":return" ";case"U":return pi(M1(i,"sunday"),S);case"u":return p=i.getDay(),p===0?7:p;case"v":return gs(o.formats.v||"%e-%b-%Y",i,o);case"W":return pi(M1(i,"monday"),S);case"w":return i.getDay();case"Y":return i.getFullYear();case"y":return R=String(i.getFullYear()),R.slice(R.length-2);case"Z":return n.utc?"GMT":(D=i.toString().match(/\((\w+)\)/),D&&D[1]||"");case"z":return n.utc?"+0000":(v=typeof n.timezone=="number"?n.timezone:-i.getTimezoneOffset(),(v<0?"-":"+")+pi(Math.abs(v/60))+pi(v%60));default:return s}})},LU=t=>{let i=(t.getTimezoneOffset()||0)*6e4;return new Date(t.getTime()+i)},pi=(t,i,e)=>{typeof i=="number"&&(e=i,i="0"),i=i??"0",e=e??2;let n=String(t);if(i)for(;n.length{let i;return i=t.getHours(),i===0?i=12:i>12&&(i-=12),i},VU=t=>{let i=t%10,e=t%100;if(e>=11&&e<=13||i===0||i>=4)return"th";switch(i){case 1:return"st";case 2:return"nd";case 3:return"rd"}return"th"},M1=(t,i)=>{i=i||"sunday";let e=t.getDay();i==="monday"&&(e===0?e=6:e--);let n=new Date(t.getFullYear(),0,1),o=Math.floor((t.getTime()-n.getTime())/864e5);return Math.floor((o+7-e)/7)},H0=t=>t.replace(/./g,i=>{switch(i){case"a":case"A":return"%p";case"b":case"d":case"m":case"w":case"W":case"y":case"Y":return"%"+i;case"c":return"%FT%TZ";case"D":return"%a";case"e":return"%z";case"f":return"%I:%M";case"F":return"%F";case"h":case"g":return"%I";case"H":case"G":return"%H";case"i":return"%M";case"I":return"";case"j":return"%d";case"l":return"%A";case"L":return"";case"M":return"%b";case"n":return"%m";case"N":return"%b";case"o":return"%W";case"O":return"%z";case"P":return"%R %p";case"r":return"%a, %d %b %Y %T %z";case"s":return"%S";case"S":return"";case"t":return"";case"T":return"%Z";case"u":return"0";case"U":return"";case"z":return"%j";case"Z":return"z";default:return i}}),Nn=(t,i,e=null)=>{let n;if(i==="None"||i===null||i===void 0)i=7226578800,n=django.gettext("Never");else{let o=django.get_format(t);e&&(o+=e),n=pa(H0(o),new Date(i*1e3))}return n},I1=t=>({1e4:"OTHER",2e4:"DEBUG",3e4:"INFO",4e4:"WARN",5e4:"ERROR",6e4:"FATAL"})[t]||"OTHER",W0=t=>!!(t==null||typeof t=="object"&&Object.keys(t).length===0&&t.constructor===Object||Array.isArray(t)&&t.length===0||typeof t=="string"&&t.trim()===""),T1=t=>t===""||t===null||t===void 0,Gh=t=>t==="yes"||t===!0||t==="true"||t===1,BU={days:x1,shortDays:S1(x1),months:D1,shortMonths:S1(D1),AM:"AM",PM:"PM",am:"am",pm:"pm"},or=(t,i)=>{let e;if(t instanceof Promise)e=t;else if(t instanceof Yt)e=t;else{if(i)return nm(t.pipe(L_(i)));e=nm(t)}return e},Yt=class{static{w1=Symbol.toStringTag}constructor(){this[w1]="Future",this.resolve=()=>{},this.reject=()=>{},this.promise=new Promise((i,e)=>{this.resolve=i,this.reject=e})}then(i,e){return this.promise.then(i,e)}catch(i){return this.promise.catch(i)}finally(i){return this.promise.finally(i)}};var Nl,k1=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function G0(){if(Nl)return Nl;if(typeof document!="object"||!document)return Nl=new Set(k1),Nl;let t=document.createElement("input");return Nl=new Set(k1.filter(i=>(t.setAttribute("type",i),t.type===i))),Nl}var ro=(function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t})(ro||{}),$0=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=ro.HIDDEN;constructor(i,e,n,o=!1){this._renderer=i,this.element=e,this.config=n,this._animationForciblyDisabledThroughCss=o}fadeOut(){this._renderer.fadeOutRipple(this)}},A1=sa({passive:!0,capture:!0}),q0=class{_events=new Map;addHandler(i,e,n,o){let r=this._events.get(e);if(r){let a=r.get(n);a?a.add(o):r.set(n,new Set([o]))}else this._events.set(e,new Map([[n,new Set([o])]])),i.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,A1)})}removeHandler(i,e,n){let o=this._events.get(i);if(!o)return;let r=o.get(e);r&&(r.delete(n),r.size===0&&o.delete(e),o.size===0&&(this._events.delete(i),document.removeEventListener(i,this._delegateEventHandler,A1)))}_delegateEventHandler=i=>{let e=Hn(i);e&&this._events.get(i.type)?.forEach((n,o)=>{(o===e||o.contains(e))&&n.forEach(r=>r.handleEvent(i))})}},jd={enterDuration:225,exitDuration:150},jU=800,R1=sa({passive:!0,capture:!0}),O1=["mousedown","touchstart"],P1=["mouseup","mouseleave","touchend","touchcancel"],zU=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(n,o){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none} -`],encapsulation:2,changeDetection:0})}return t})(),zd=class t{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new q0;constructor(i,e,n,o,r){this._target=i,this._ngZone=e,this._platform=o,o.isBrowser&&(this._containerElement=ci(n)),r&&r.get(wt).load(zU)}fadeInRipple(i,e,n={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=L(L({},jd),n.animation);n.centered&&(i=o.left+o.width/2,e=o.top+o.height/2);let a=n.radius||UU(i,e,o),s=i-o.left,c=e-o.top,p=r.enterDuration,g=document.createElement("div");g.classList.add("mat-ripple-element"),g.style.left=`${s-a}px`,g.style.top=`${c-a}px`,g.style.height=`${a*2}px`,g.style.width=`${a*2}px`,n.color!=null&&(g.style.backgroundColor=n.color),g.style.transitionDuration=`${p}ms`,this._containerElement.appendChild(g);let v=window.getComputedStyle(g),S=v.transitionProperty,D=v.transitionDuration,I=S==="none"||D==="0s"||D==="0s, 0s"||o.width===0&&o.height===0,R=new $0(this,g,n,I);g.style.transform="scale3d(1, 1, 1)",R.state=ro.FADING_IN,n.persistent||(this._mostRecentTransientRipple=R);let Q=null;return!I&&(p||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let j=()=>{Q&&(Q.fallbackTimer=null),clearTimeout(gt),this._finishRippleTransition(R)},Ke=()=>this._destroyRipple(R),gt=setTimeout(Ke,p+100);g.addEventListener("transitionend",j),g.addEventListener("transitioncancel",Ke),Q={onTransitionEnd:j,onTransitionCancel:Ke,fallbackTimer:gt}}),this._activeRipples.set(R,Q),(I||!p)&&this._finishRippleTransition(R),R}fadeOutRipple(i){if(i.state===ro.FADING_OUT||i.state===ro.HIDDEN)return;let e=i.element,n=L(L({},jd),i.config.animation);e.style.transitionDuration=`${n.exitDuration}ms`,e.style.opacity="0",i.state=ro.FADING_OUT,(i._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(i)}fadeOutAll(){this._getActiveRipples().forEach(i=>i.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(i=>{i.config.persistent||i.fadeOut()})}setupTriggerEvents(i){let e=ci(i);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,O1.forEach(n=>{t._eventManager.addHandler(this._ngZone,n,e,this)}))}handleEvent(i){i.type==="mousedown"?this._onMousedown(i):i.type==="touchstart"?this._onTouchStart(i):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{P1.forEach(e=>{this._triggerElement.addEventListener(e,this,R1)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(i){i.state===ro.FADING_IN?this._startFadeOutTransition(i):i.state===ro.FADING_OUT&&this._destroyRipple(i)}_startFadeOutTransition(i){let e=i===this._mostRecentTransientRipple,{persistent:n}=i.config;i.state=ro.VISIBLE,!n&&(!e||!this._isPointerDown)&&i.fadeOut()}_destroyRipple(i){let e=this._activeRipples.get(i)??null;this._activeRipples.delete(i),this._activeRipples.size||(this._containerRect=null),i===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),i.state=ro.HIDDEN,e!==null&&(i.element.removeEventListener("transitionend",e.onTransitionEnd),i.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),i.element.remove()}_onMousedown(i){let e=ss(i),n=this._lastTouchStartEvent&&Date.now(){let e=i.state===ro.VISIBLE||i.config.terminateOnPointerUp&&i.state===ro.FADING_IN;!i.config.persistent&&e&&i.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let i=this._triggerElement;i&&(O1.forEach(e=>t._eventManager.removeHandler(e,i,this)),this._pointerUpEventsRegistered&&(P1.forEach(e=>i.removeEventListener(e,this,R1)),this._pointerUpEventsRegistered=!1))}};function UU(t,i,e){let n=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),o=Math.max(Math.abs(i-e.top),Math.abs(i-e.bottom));return Math.sqrt(n*n+o*o)}var Ll=new k("mat-ripple-global-options"),ji=(()=>{class t{_elementRef=m(K);_animationMode=m(et,{optional:!0});color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=m(ne),n=m(Je),o=m(Ll,{optional:!0}),r=m(Me);this._globalOptions=o||{},this._rippleRenderer=new zd(this,e,this._elementRef,n,r)}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:L(L(L({},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,n=0,o){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,n,L(L({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,L(L({},this.rippleConfig),e))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(n,o){n&2&&te("mat-ripple-unbounded",o.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return t})();var HU={capture:!0},WU=["focus","mousedown","mouseenter","touchstart"],Y0="mat-ripple-loader-uninitialized",Q0="mat-ripple-loader-class-name",F1="mat-ripple-loader-centered",$h="mat-ripple-loader-disabled",qh=(()=>{class t{_document=m(ce);_animationMode=m(et,{optional:!0});_globalRippleOptions=m(Ll,{optional:!0});_platform=m(Je);_ngZone=m(ne);_injector=m(Me);_eventCleanups;_hosts=new Map;constructor(){let e=m(_n).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>WU.map(n=>qt(e,this._document,n,this._onInteraction,HU)))}ngOnDestroy(){let e=this._hosts.keys();for(let n of e)this.destroyRipple(n);this._eventCleanups.forEach(n=>n())}configureRipple(e,n){e.setAttribute(Y0,this._globalRippleOptions?.namespace??""),(n.className||!e.hasAttribute(Q0))&&e.setAttribute(Q0,n.className||""),n.centered&&e.setAttribute(F1,""),n.disabled&&e.setAttribute($h,"")}setDisabled(e,n){let o=this._hosts.get(e);o?(o.target.rippleDisabled=n,!n&&!o.hasSetUpEvents&&(o.hasSetUpEvents=!0,o.renderer.setupTriggerEvents(e))):n?e.setAttribute($h,""):e.removeAttribute($h)}_onInteraction=e=>{let n=Hn(e);if(n instanceof HTMLElement){let o=n.closest(`[${Y0}="${this._globalRippleOptions?.namespace??""}"]`);o&&this._createRipple(o)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let n=this._document.createElement("span");n.classList.add("mat-ripple",e.getAttribute(Q0)),e.append(n);let o=this._animationMode==="NoopAnimations",r=this._globalRippleOptions,a=o?0:r?.animation?.enterDuration??jd.enterDuration,s=o?0:r?.animation?.exitDuration??jd.exitDuration,c={rippleDisabled:o||r?.disabled||e.hasAttribute($h),rippleConfig:{centered:e.hasAttribute(F1),terminateOnPointerUp:r?.terminateOnPointerUp,animation:{enterDuration:a,exitDuration:s}}},p=new zd(c,this._ngZone,n,this._platform,this._injector),g=!c.rippleDisabled;g&&p.setupTriggerEvents(e),this._hosts.set(e,{target:c,renderer:p,hasSetUpEvents:g}),e.removeAttribute(Y0)}destroyRipple(e){let n=this._hosts.get(e);n&&(n.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var yn=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(n,o){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}} -`],encapsulation:2,changeDetection:0})}return t})();var N1=["mat-icon-button",""],L1=["*"],GU=`.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1} -`,$U=`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}} -`,qU=new k("MAT_BUTTON_CONFIG");var YU=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Yh=(()=>{class t{_elementRef=m(K);_ngZone=m(ne);_animationMode=m(et,{optional:!0});_focusMonitor=m(Sn);_rippleLoader=m(qh);_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;constructor(){m(wt).load(yn);let e=m(qU,{optional:!0}),n=this._elementRef.nativeElement,o=n.classList;this.disabledInteractive=e?.disabledInteractive??!1,this.color=e?.color??null,this._rippleLoader?.configureRipple(n,{className:"mat-mdc-button-ripple"});for(let{attribute:r,mdcClasses:a}of YU)n.hasAttribute(r)&&o.add(...a)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",n){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,n):this._elementRef.nativeElement.focus(n)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",G],disabled:[2,"disabled","disabled",G],ariaDisabled:[2,"aria-disabled","ariaDisabled",G],disabledInteractive:[2,"disabledInteractive","disabledInteractive",G]}})}return t})();var K0=(()=>{class t extends Yh{_renderer=m(At);_cleanupClick;tabIndex;ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupClick=this._renderer.listen(this._elementRef.nativeElement,"click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._cleanupClick?.()}_haltDisabledEvents=e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())};_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled||null}static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275dir=N({type:t,inputs:{tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:Xt(e)]},features:[pe]})}return t})(),Ln=(()=>{class t extends Yh{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(n,o){n&2&&(ee("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Vt(o.color?"mat-"+o.color:""),te("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[pe],attrs:N1,ngContentSelectors:L1,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&(Pe(),M(0,"span",0),re(1),M(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1} -`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}} -`],encapsulation:2,changeDetection:0})}return t})(),Ud=(()=>{class t extends K0{static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275cmp=E({type:t,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(n,o){n&2&&(ee("disabled",o._getDisabledAttribute())("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-disabled",o._getAriaDisabled()),Vt(o.color?"mat-"+o.color:""),te("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[pe],attrs:N1,ngContentSelectors:L1,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&(Pe(),M(0,"span",0),re(1),M(2,"span",1)(3,"span",2))},styles:[GU,$U],encapsulation:2,changeDetection:0})}return t})();var rr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[ue,ue]})}return t})();var V1=["mat-button",""],B1=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],j1=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],QU=`.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)} -`,KU=`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}} -`;var Se=(()=>{class t extends Yh{static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275cmp=E({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(n,o){n&2&&(ee("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Vt(o.color?"mat-"+o.color:""),te("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[pe],attrs:V1,ngContentSelectors:j1,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&(Pe(B1),M(0,"span",0),re(1),l(2,"span",1),re(3,1),d(),re(4,2),M(5,"span",2)(6,"span",3)),n&2&&te("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[`.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)} -`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}} -`],encapsulation:2,changeDetection:0})}return t})(),ha=(()=>{class t extends K0{static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275cmp=E({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(n,o){n&2&&(ee("disabled",o._getDisabledAttribute())("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-disabled",o._getAriaDisabled()),Vt(o.color?"mat-"+o.color:""),te("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[pe],attrs:V1,ngContentSelectors:j1,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&(Pe(B1),M(0,"span",0),re(1),l(2,"span",1),re(3,1),d(),re(4,2),M(5,"span",2)(6,"span",3)),n&2&&te("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[QU,KU],encapsulation:2,changeDetection:0})}return t})();var ar=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[ue,rr,ue]})}return t})();var ae=(()=>{class t{constructor(e){this.el=e}ngOnInit(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim().replaceAll("&","&"))}static{this.\u0275fac=function(n){return new(n||t)(w(K))}}static{this.\u0275dir=N({type:t,selectors:[["uds-translate"]],standalone:!1})}}return t})();var Qh=(()=>{class t{constructor(e){this.sanitizer=e}transform(e,n){return e=e.replace(/<\s*script\s*/gi,""),e=e.replace(/onclick|onmouseover|onmouseout|onmousemove|onmouseenter|onmouseleave|onmouseup|onmousedown|onkeyup|onkeydown|onkeypress|onkeydown|onkeypress|onkeyup|onchange|onfocus|onblur|onload|onunload|onabort|onerror|onresize|onscroll/gi,""),e=e.replace(/javascript\s*\:/gi,""),this.sanitizer.bypassSecurityTrustHtml(e)}static{this.\u0275fac=function(n){return new(n||t)(w(Ja,16))}}static{this.\u0275pipe=Qo({name:"safeHtml",type:t,pure:!0,standalone:!1})}}return t})();function ZU(t,i){if(t&1){let e=A();l(0,"button",4),b("click",function(){y(e);let o=_();return C(o.resolveAndClose(!1))}),l(1,"uds-translate"),f(2,"Close"),d(),f(3),d()}if(t&2){let e=_();u(3),Ve(e.extra)}}function XU(t,i){if(t&1){let e=A();l(0,"button",5),b("click",function(){y(e);let o=_();return C(o.resolveAndClose(!0))}),l(1,"uds-translate"),f(2,"Yes"),d()()}if(t&2){let e=_();h("color",e.yesColor)}}function JU(t,i){if(t&1){let e=A();l(0,"button",5),b("click",function(){y(e);let o=_();return C(o.resolveAndClose(!1))}),l(1,"uds-translate"),f(2,"No"),d()()}if(t&2){let e=_();h("color",e.noColor)}}var Hd=(function(t){return t[t.alert=0]="alert",t[t.question=1]="question",t})(Hd||{}),Z0=(()=>{class t{constructor(e,n){this.dialogRef=e,this.data=n,this.yesColor="primary",this.noColor="warn",this.extra="",this.subscription={},this.acceptance=new Yt}resolveAndClose(e){this.acceptance.resolve(e),this.close()}close(){this.dialogRef.close()}closed(){this.subscription!==null&&this.subscription.unsubscribe()}setExtra(e){this.extra=" ("+Math.floor(e/1e3)+" "+django.gettext("seconds")+") "}initAlert(){return V(this,null,function*(){let e=this.data.autoclose||0;e>0&&(this.dialogRef.afterClosed().subscribe(n=>{this.closed()}),this.setExtra(e),this.subscription=V_(1e3).subscribe(n=>{let o=e-(n+1)*1e3;this.setExtra(o),o<=0&&this.close()}))})}ngOnInit(){this.data.warnOnYes===!0&&(this.yesColor="warn",this.noColor="primary"),this.data.type===Hd.alert&&this.initAlert()}static{this.\u0275fac=function(n){return new(n||t)(w(Ae),w(Be))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-modal"]],standalone:!1,decls:8,vars:9,consts:[["mat-dialog-title","",3,"innerHtml"],[3,"innerHTML"],["mat-raised-button","","mat-dialog-close","",3,"click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","",3,"color","click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","",3,"click"],["mat-raised-button","","mat-dialog-close","",3,"click","color"]],template:function(n,o){n&1&&(M(0,"h4",0),_t(1,"safeHtml"),M(2,"mat-dialog-content",1),_t(3,"safeHtml"),l(4,"mat-dialog-actions"),x(5,ZU,4,1,"button",2)(6,XU,3,1,"button",3)(7,JU,3,1,"button",3),d()),n&2&&(h("innerHtml",Ct(1,5,o.data.title),Gt),u(2),h("innerHTML",Ct(3,7,o.data.body),Gt),u(3),h("ngIf",o.data.type===0),u(),h("ngIf",o.data.type===1),u(),h("ngIf",o.data.type===1))},dependencies:[de,Se,jt,We,$e,Ge,ae,Qh],styles:[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]})}}return t})();var $n=(function(t){return t.TEXT="text",t.TEXT_AUTOCOMPLETE="text-autocomplete",t.TEXTBOX="textbox",t.NUMERIC="numeric",t.PASSWORD="password",t.HIDDEN="hidden",t.CHOICE="choice",t.MULTI_CHOICE="multichoice",t.EDITLIST="editlist",t.CHECKBOX="checkbox",t.IMAGECHOICE="imgchoice",t.DATE="date",t.DATETIME="datetime",t.TAGLIST="taglist",t.INFO="internal-info",t})($n||{}),Wd=class{static locateChoice(i,e){let n=e.gui.choices;if(n===void 0)return{id:"",img:"",text:""};let o=n.find(r=>r.id===i);if(o===void 0)try{o=n[0]}catch{o={id:"",img:"",text:""}}return o}};var Y1=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,n){this._renderer=e,this._elementRef=n}setProperty(e,n){this._renderer.setProperty(this._elementRef.nativeElement,e,n)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(n){return new(n||t)(w(At),w(K))};static \u0275dir=N({type:t})}return t})(),Q1=(()=>{class t extends Y1{static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275dir=N({type:t,features:[pe]})}return t})(),hi=new k("");var eH={provide:hi,useExisting:en(()=>st),multi:!0};function tH(){let t=Fi()?Fi().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var nH=new k(""),st=(()=>{class t extends Y1{_compositionMode;_composing=!1;constructor(e,n,o){super(e,n),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!tH())}writeValue(e){let n=e??"";this.setProperty("value",n)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(n){return new(n||t)(w(At),w(K),w(nH,8))};static \u0275dir=N({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,o){n&1&&b("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},standalone:!1,features:[_e([eH]),pe]})}return t})();function J0(t){return t==null||eC(t)===0}function eC(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var ao=new k(""),df=new k(""),iH=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,sr=class{static min(i){return oH(i)}static max(i){return rH(i)}static required(i){return K1(i)}static requiredTrue(i){return aH(i)}static email(i){return sH(i)}static minLength(i){return lH(i)}static maxLength(i){return Z1(i)}static pattern(i){return cH(i)}static nullValidator(i){return Zh()}static compose(i){return ik(i)}static composeAsync(i){return ok(i)}};function oH(t){return i=>{if(i.value==null||t==null)return null;let e=parseFloat(i.value);return!isNaN(e)&&e{if(i.value==null||t==null)return null;let e=parseFloat(i.value);return!isNaN(e)&&e>t?{max:{max:t,actual:i.value}}:null}}function K1(t){return J0(t.value)?{required:!0}:null}function aH(t){return t.value===!0?null:{required:!0}}function sH(t){return J0(t.value)||iH.test(t.value)?null:{email:!0}}function lH(t){return i=>{let e=i.value?.length??eC(i.value);return e===null||e===0?null:e{let e=i.value?.length??eC(i.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function cH(t){if(!t)return Zh;let i,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),i=new RegExp(e)):(e=t.toString(),i=t),n=>{if(J0(n.value))return null;let o=n.value;return i.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}function Zh(t){return null}function X1(t){return t!=null}function J1(t){return ea(t)?Ut(t):t}function ek(t){let i={};return t.forEach(e=>{i=e!=null?L(L({},i),e):i}),Object.keys(i).length===0?null:i}function tk(t,i){return i.map(e=>e(t))}function dH(t){return!t.validate}function nk(t){return t.map(i=>dH(i)?i:e=>i.validate(e))}function ik(t){if(!t)return null;let i=t.filter(X1);return i.length==0?null:function(e){return ek(tk(e,i))}}function tC(t){return t!=null?ik(nk(t)):null}function ok(t){if(!t)return null;let i=t.filter(X1);return i.length==0?null:function(e){let n=tk(e,i).map(J1);return _c(n).pipe(le(ek))}}function nC(t){return t!=null?ok(nk(t)):null}function U1(t,i){return t===null?[i]:Array.isArray(t)?[...t,i]:[t,i]}function rk(t){return t._rawValidators}function ak(t){return t._rawAsyncValidators}function X0(t){return t?Array.isArray(t)?t:[t]:[]}function Xh(t,i){return Array.isArray(t)?t.includes(i):t===i}function H1(t,i){let e=X0(i);return X0(t).forEach(o=>{Xh(e,o)||e.push(o)}),e}function W1(t,i){return X0(i).filter(e=>!Xh(t,e))}var Jh=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(i){this._rawValidators=i||[],this._composedValidatorFn=tC(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=nC(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(i){this._onDestroyCallbacks.push(i)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(i=>i()),this._onDestroyCallbacks=[]}reset(i=void 0){this.control&&this.control.reset(i)}hasError(i,e){return this.control?this.control.hasError(i,e):!1}getError(i,e){return this.control?this.control.getError(i,e):null}},Rr=class extends Jh{name;get formDirective(){return null}get path(){return null}},Ii=class extends Jh{_parent=null;name=null;valueAccessor=null},ef=class{_cd;constructor(i){this._cd=i}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},uH={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},_pe=qe(L({},uH),{"[class.ng-submitted]":"isSubmitted"}),ve=(()=>{class t extends ef{constructor(e){super(e)}static \u0275fac=function(n){return new(n||t)(w(Ii,2))};static \u0275dir=N({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,o){n&2&&te("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[pe]})}return t})(),uf=(()=>{class t extends ef{constructor(e){super(e)}static \u0275fac=function(n){return new(n||t)(w(Rr,10))};static \u0275dir=N({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,o){n&2&&te("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},standalone:!1,features:[pe]})}return t})();var Gd="VALID",Kh="INVALID",Vl="PENDING",$d="DISABLED",fa=class{},tf=class extends fa{value;source;constructor(i,e){super(),this.value=i,this.source=e}},Yd=class extends fa{pristine;source;constructor(i,e){super(),this.pristine=i,this.source=e}},Qd=class extends fa{touched;source;constructor(i,e){super(),this.touched=i,this.source=e}},Bl=class extends fa{status;source;constructor(i,e){super(),this.status=i,this.source=e}},nf=class extends fa{source;constructor(i){super(),this.source=i}},of=class extends fa{source;constructor(i){super(),this.source=i}};function sk(t){return(mf(t)?t.validators:t)||null}function mH(t){return Array.isArray(t)?tC(t):t||null}function lk(t,i){return(mf(i)?i.asyncValidators:t)||null}function pH(t){return Array.isArray(t)?nC(t):t||null}function mf(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function hH(t,i,e){let n=t.controls;if(!(i?Object.keys(n):n).length)throw new $(1e3,"");if(!n[e])throw new $(1001,"")}function fH(t,i,e){t._forEachChild((n,o)=>{if(e[o]===void 0)throw new $(1002,"")})}var rf=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(i,e){this._assignValidators(i),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(i){this._rawValidators=this._composedValidatorFn=i}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(i){this._rawAsyncValidators=this._composedAsyncValidatorFn=i}get parent(){return this._parent}get status(){return Di(this.statusReactive)}set status(i){Di(()=>this.statusReactive.set(i))}_status=Zo(()=>this.statusReactive());statusReactive=wi(void 0);get valid(){return this.status===Gd}get invalid(){return this.status===Kh}get pending(){return this.status==Vl}get disabled(){return this.status===$d}get enabled(){return this.status!==$d}errors;get pristine(){return Di(this.pristineReactive)}set pristine(i){Di(()=>this.pristineReactive.set(i))}_pristine=Zo(()=>this.pristineReactive());pristineReactive=wi(!0);get dirty(){return!this.pristine}get touched(){return Di(this.touchedReactive)}set touched(i){Di(()=>this.touchedReactive.set(i))}_touched=Zo(()=>this.touchedReactive());touchedReactive=wi(!1);get untouched(){return!this.touched}_events=new B;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(i){this._assignValidators(i)}setAsyncValidators(i){this._assignAsyncValidators(i)}addValidators(i){this.setValidators(H1(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(H1(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(W1(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(W1(i,this._rawAsyncValidators))}hasValidator(i){return Xh(this._rawValidators,i)}hasAsyncValidator(i){return Xh(this._rawAsyncValidators,i)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(i={}){let e=this.touched===!1;this.touched=!0;let n=i.sourceControl??this;this._parent&&!i.onlySelf&&this._parent.markAsTouched(qe(L({},i),{sourceControl:n})),e&&i.emitEvent!==!1&&this._events.next(new Qd(!0,n))}markAllAsTouched(i={}){this.markAsTouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(i))}markAsUntouched(i={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=i.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:n})}),this._parent&&!i.onlySelf&&this._parent._updateTouched(i,n),e&&i.emitEvent!==!1&&this._events.next(new Qd(!1,n))}markAsDirty(i={}){let e=this.pristine===!0;this.pristine=!1;let n=i.sourceControl??this;this._parent&&!i.onlySelf&&this._parent.markAsDirty(qe(L({},i),{sourceControl:n})),e&&i.emitEvent!==!1&&this._events.next(new Yd(!1,n))}markAsPristine(i={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=i.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:i.emitEvent})}),this._parent&&!i.onlySelf&&this._parent._updatePristine(i,n),e&&i.emitEvent!==!1&&this._events.next(new Yd(!0,n))}markAsPending(i={}){this.status=Vl;let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Bl(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.markAsPending(qe(L({},i),{sourceControl:e}))}disable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=$d,this.errors=null,this._forEachChild(o=>{o.disable(qe(L({},i),{onlySelf:!0}))}),this._updateValue();let n=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new tf(this.value,n)),this._events.next(new Bl(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(qe(L({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=Gd,this._forEachChild(n=>{n.enable(qe(L({},i),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent}),this._updateAncestors(qe(L({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(i,e){this._parent&&!i.onlySelf&&(this._parent.updateValueAndValidity(i),i.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(i){this._parent=i}getRawValue(){return this.value}updateValueAndValidity(i={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Gd||this.status===Vl)&&this._runAsyncValidator(n,i.emitEvent)}let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new tf(this.value,e)),this._events.next(new Bl(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.updateValueAndValidity(qe(L({},i),{sourceControl:e}))}_updateTreeValidity(i={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(i)),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?$d:Gd}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i,e){if(this.asyncValidator){this.status=Vl,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let n=J1(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:e,shouldHaveEmitted:i})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let i=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,i}return!1}setErrors(i,e={}){this.errors=i,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(i){let e=i;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((n,o)=>n&&n._find(o),this)}getError(i,e){let n=e?this.get(e):this;return n&&n.errors?n.errors[i]:null}hasError(i,e){return!!this.getError(i,e)}get root(){let i=this;for(;i._parent;)i=i._parent;return i}_updateControlsErrors(i,e,n){this.status=this._calculateStatus(),i&&this.statusChanges.emit(this.status),(i||n)&&this._events.next(new Bl(this.status,e)),this._parent&&this._parent._updateControlsErrors(i,e,n)}_initObservables(){this.valueChanges=new T,this.statusChanges=new T}_calculateStatus(){return this._allControlsDisabled()?$d:this.errors?Kh:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Vl)?Vl:this._anyControlsHaveStatus(Kh)?Kh:Gd}_anyControlsHaveStatus(i){return this._anyControls(e=>e.status===i)}_anyControlsDirty(){return this._anyControls(i=>i.dirty)}_anyControlsTouched(){return this._anyControls(i=>i.touched)}_updatePristine(i,e){let n=!this._anyControlsDirty(),o=this.pristine!==n;this.pristine=n,this._parent&&!i.onlySelf&&this._parent._updatePristine(i,e),o&&this._events.next(new Yd(this.pristine,e))}_updateTouched(i={},e){this.touched=this._anyControlsTouched(),this._events.next(new Qd(this.touched,e)),this._parent&&!i.onlySelf&&this._parent._updateTouched(i,e)}_onDisabledChange=[];_registerOnCollectionChange(i){this._onCollectionChange=i}_setUpdateStrategy(i){mf(i)&&i.updateOn!=null&&(this._updateOn=i.updateOn)}_parentMarkedDirty(i){let e=this._parent&&this._parent.dirty;return!i&&!!e&&!this._parent._anyControlsDirty()}_find(i){return null}_assignValidators(i){this._rawValidators=Array.isArray(i)?i.slice():i,this._composedValidatorFn=mH(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=pH(this._rawAsyncValidators)}},af=class extends rf{constructor(i,e,n){super(sk(e),lk(n,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(i,e){return this.controls[i]?this.controls[i]:(this.controls[i]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(i,e,n={}){this.registerControl(i,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(i,e={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(i,e,n={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],e&&this.registerControl(i,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(i){return this.controls.hasOwnProperty(i)&&this.controls[i].enabled}setValue(i,e={}){fH(this,!0,i),Object.keys(i).forEach(n=>{hH(this,!0,n),this.controls[n].setValue(i[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(i,e={}){i!=null&&(Object.keys(i).forEach(n=>{let o=this.controls[n];o&&o.patchValue(i[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(i={},e={}){this._forEachChild((n,o)=>{n.reset(i?i[o]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(i,e,n)=>(i[n]=e.getRawValue(),i))}_syncPendingControls(){let i=this._reduceChildren(!1,(e,n)=>n._syncPendingControls()?!0:e);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){Object.keys(this.controls).forEach(e=>{let n=this.controls[e];n&&i(n,e)})}_setUpControls(){this._forEachChild(i=>{i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(i){for(let[e,n]of Object.entries(this.controls))if(this.contains(e)&&i(n))return!0;return!1}_reduceValue(){let i={};return this._reduceChildren(i,(e,n,o)=>((n.enabled||this.disabled)&&(e[o]=n.value),e))}_reduceChildren(i,e){let n=i;return this._forEachChild((o,r)=>{n=e(n,o,r)}),n}_allControlsDisabled(){for(let i of Object.keys(this.controls))if(this.controls[i].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(i){return this.controls.hasOwnProperty(i)?this.controls[i]:null}};var jl=new k("",{providedIn:"root",factory:()=>pf}),pf="always";function gH(t,i){return[...i.path,t]}function Kd(t,i,e=pf){iC(t,i),i.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&i.valueAccessor.setDisabledState?.(t.disabled),vH(t,i),yH(t,i),bH(t,i),_H(t,i)}function sf(t,i,e=!0){let n=()=>{};i.valueAccessor&&(i.valueAccessor.registerOnChange(n),i.valueAccessor.registerOnTouched(n)),cf(t,i),t&&(i._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function lf(t,i){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(i)})}function _H(t,i){if(i.valueAccessor.setDisabledState){let e=n=>{i.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(e),i._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function iC(t,i){let e=rk(t);i.validator!==null?t.setValidators(U1(e,i.validator)):typeof e=="function"&&t.setValidators([e]);let n=ak(t);i.asyncValidator!==null?t.setAsyncValidators(U1(n,i.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let o=()=>t.updateValueAndValidity();lf(i._rawValidators,o),lf(i._rawAsyncValidators,o)}function cf(t,i){let e=!1;if(t!==null){if(i.validator!==null){let o=rk(t);if(Array.isArray(o)&&o.length>0){let r=o.filter(a=>a!==i.validator);r.length!==o.length&&(e=!0,t.setValidators(r))}}if(i.asyncValidator!==null){let o=ak(t);if(Array.isArray(o)&&o.length>0){let r=o.filter(a=>a!==i.asyncValidator);r.length!==o.length&&(e=!0,t.setAsyncValidators(r))}}}let n=()=>{};return lf(i._rawValidators,n),lf(i._rawAsyncValidators,n),e}function vH(t,i){i.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&ck(t,i)})}function bH(t,i){i.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&ck(t,i),t.updateOn!=="submit"&&t.markAsTouched()})}function ck(t,i){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function yH(t,i){let e=(n,o)=>{i.valueAccessor.writeValue(n),o&&i.viewToModelUpdate(n)};t.registerOnChange(e),i._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function dk(t,i){t==null,iC(t,i)}function CH(t,i){return cf(t,i)}function uk(t,i){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(i,e.currentValue)}function wH(t){return Object.getPrototypeOf(t.constructor)===Q1}function mk(t,i){t._syncPendingControls(),i.forEach(e=>{let n=e.control;n.updateOn==="submit"&&n._pendingChange&&(e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function pk(t,i){if(!i)return null;Array.isArray(i);let e,n,o;return i.forEach(r=>{r.constructor===st?e=r:wH(r)?n=r:o=r}),o||n||e||null}function xH(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}var DH={provide:Rr,useExisting:en(()=>so)},qd=Promise.resolve(),so=(()=>{class t extends Rr{callSetDisabledState;get submitted(){return Di(this.submittedReactive)}_submitted=Zo(()=>this.submittedReactive());submittedReactive=wi(!1);_directives=new Set;form;ngSubmit=new T;options;constructor(e,n,o){super(),this.callSetDisabledState=o,this.form=new af({},tC(e),nC(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){qd.then(()=>{let n=this._findContainer(e.path);e.control=n.registerControl(e.name,e.control),Kd(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){qd.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){qd.then(()=>{let n=this._findContainer(e.path),o=new af({});dk(o,e),n.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){qd.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,n){qd.then(()=>{this.form.get(e.path).setValue(n)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),mk(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new nf(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1),this.form._events.next(new of(this.form))}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(n){return new(n||t)(w(ao,10),w(df,10),w(jl,8))};static \u0275dir=N({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,o){n&1&&b("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[_e([DH]),pe]})}return t})();function G1(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}function $1(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var hf=class extends rf{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(i=null,e,n){super(sk(e),lk(n,e)),this._applyFormState(i),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),mf(e)&&(e.nonNullable||e.initialValueIsDefault)&&($1(i)?this.defaultValue=i.value:this.defaultValue=i)}setValue(i,e={}){this.value=this._pendingValue=i,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(i,e={}){this.setValue(i,e)}reset(i=this.defaultValue,e={}){this._applyFormState(i),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(i){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(i){this._onChange.push(i)}_unregisterOnChange(i){G1(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){G1(this._onDisabledChange,i)}_forEachChild(i){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(i){$1(i)?(this.value=this._pendingValue=i.value,i.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=i}};var SH=t=>t instanceof hf;var EH={provide:Ii,useExisting:en(()=>be)},q1=Promise.resolve(),be=(()=>{class t extends Ii{_changeDetectorRef;callSetDisabledState;control=new hf;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new T;constructor(e,n,o,r,a,s){super(),this._changeDetectorRef=a,this.callSetDisabledState=s,this._parent=e,this._setValidators(n),this._setAsyncValidators(o),this.valueAccessor=pk(this,r)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let n=e.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),uk(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Kd(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){q1.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let n=e.isDisabled.currentValue,o=n!==0&&G(n);q1.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?gH(e,this._parent):[e]}static \u0275fac=function(n){return new(n||t)(w(Rr,9),w(ao,10),w(df,10),w(hi,10),w(De,8),w(jl,8))};static \u0275dir=N({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[_e([EH]),pe,He]})}return t})();var ff=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})(),MH={provide:hi,useExisting:en(()=>zi),multi:!0},zi=(()=>{class t extends Q1{writeValue(e){let n=e??"";this.setProperty("value",n)}registerOnChange(e){this.onChange=n=>{e(n==""?null:parseFloat(n))}}static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275dir=N({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,o){n&1&&b("input",function(a){return o.onChange(a.target.value)})("blur",function(){return o.onTouched()})},standalone:!1,features:[_e([MH]),pe]})}return t})();var hk=new k(""),IH={provide:Ii,useExisting:en(()=>oC)},oC=(()=>{class t extends Ii{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new T;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,n,o,r,a){super(),this._ngModelWarningConfig=r,this.callSetDisabledState=a,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=pk(this,o)}ngOnChanges(e){if(this._isControlChanged(e)){let n=e.form.previousValue;n&&sf(n,this,!1),Kd(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}uk(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&sf(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(n){return new(n||t)(w(ao,10),w(df,10),w(hi,10),w(hk,8),w(jl,8))};static \u0275dir=N({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[_e([IH]),pe,He]})}return t})(),TH={provide:Rr,useExisting:en(()=>ga)},ga=(()=>{class t extends Rr{callSetDisabledState;get submitted(){return Di(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Zo(()=>this._submittedReactive());_submittedReactive=wi(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new T;constructor(e,n,o){super(),this.callSetDisabledState=o,this._setValidators(e),this._setAsyncValidators(n)}ngOnChanges(e){e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(cf(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let n=this.form.get(e.path);return Kd(n,e,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),n}getControl(e){return this.form.get(e.path)}removeControl(e){sf(e.control||null,e,!1),xH(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,n){this.form.get(e.path).setValue(n)}onSubmit(e){return this._submittedReactive.set(!0),mk(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new nf(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new of(this.form))}_updateDomValue(){this.directives.forEach(e=>{let n=e.control,o=this.form.get(e.path);n!==o&&(sf(n||null,e),SH(o)&&(Kd(o,e,this.callSetDisabledState),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let n=this.form.get(e.path);dk(n,e),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let n=this.form.get(e.path);n&&CH(n,e)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){iC(this.form,this),this._oldForm&&cf(this._oldForm,this)}static \u0275fac=function(n){return new(n||t)(w(ao,10),w(df,10),w(jl,8))};static \u0275dir=N({type:t,selectors:[["","formGroup",""]],hostBindings:function(n,o){n&1&&b("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[_e([TH]),pe,He]})}return t})();function kH(t){return typeof t=="number"?t:parseInt(t,10)}var fk=(()=>{class t{_validator=Zh;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let n=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):Zh,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,features:[He]})}return t})();var AH={provide:ao,useExisting:en(()=>An),multi:!0};var An=(()=>{class t extends fk{required;inputName="required";normalizeInput=G;createValidator=e=>K1;enabled(e){return e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275dir=N({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,o){n&2&&ee("required",o._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[_e([AH]),pe]})}return t})();var RH={provide:ao,useExisting:en(()=>_s),multi:!0},_s=(()=>{class t extends fk{maxlength;inputName="maxlength";normalizeInput=e=>kH(e);createValidator=e=>Z1(e);static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275dir=N({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(n,o){n&2&&ee("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[_e([RH]),pe]})}return t})();var gk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();var _k=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:jl,useValue:e.callSetDisabledState??pf}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[gk]})}return t})(),gf=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:hk,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:jl,useValue:e.callSetDisabledState??pf}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[gk]})}return t})();var rC=class{_box;_destroyed=new B;_resizeSubject=new B;_resizeObserver;_elementObservables=new Map;constructor(i){this._box=i,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(i){return this._elementObservables.has(i)||this._elementObservables.set(i,new Le(e=>{let n=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(i,{box:this._box}),()=>{this._resizeObserver?.unobserve(i),n.unsubscribe(),this._elementObservables.delete(i)}}).pipe(Ye(e=>e.some(n=>n.target===i)),um({bufferSize:1,refCount:!0}),Ee(this._destroyed))),this._elementObservables.get(i)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},_f=(()=>{class t{_cleanupErrorListener;_observers=new Map;_ngZone=m(ne);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,n){let o=n?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new rC(o)),this._observers.get(o).observe(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var dC=["*"];function OH(t,i){t&1&&re(0)}var PH=["tabListContainer"],FH=["tabList"],NH=["tabListInner"],LH=["nextPaginator"],VH=["previousPaginator"],BH=["content"];function jH(t,i){}var zH=["tabBodyWrapper"],UH=["tabHeader"];function HH(t,i){}function WH(t,i){if(t&1&&x(0,HH,0,0,"ng-template",12),t&2){let e=_().$implicit;h("cdkPortalOutlet",e.templateLabel)}}function GH(t,i){if(t&1&&f(0),t&2){let e=_().$implicit;Ve(e.textLabel)}}function $H(t,i){if(t&1){let e=A();l(0,"div",7,2),b("click",function(){let o=y(e),r=o.$implicit,a=o.$index,s=_(),c=ge(1);return C(s._handleClick(r,c,a))})("cdkFocusChange",function(o){let r=y(e).$index,a=_();return C(a._tabFocusChanged(o,r))}),M(2,"span",8)(3,"div",9),l(4,"span",10)(5,"span",11),x(6,WH,1,1,null,12)(7,GH,1,1),d()()()}if(t&2){let e=i.$implicit,n=i.$index,o=ge(1),r=_();Vt(e.labelClass),te("mdc-tab--active",r.selectedIndex===n),h("id",r._getTabLabelId(e,n))("disabled",e.disabled)("fitInkBarToContent",r.fitInkBarToContent),ee("tabIndex",r._getTabIndex(n))("aria-posinset",n+1)("aria-setsize",r._tabs.length)("aria-controls",r._getTabContentId(n))("aria-selected",r.selectedIndex===n)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),u(3),h("matRippleTrigger",o)("matRippleDisabled",e.disabled||r.disableRipple),u(3),we(e.templateLabel?6:7)}}function qH(t,i){t&1&&re(0)}function YH(t,i){if(t&1){let e=A();l(0,"mat-tab-body",13),b("_onCentered",function(){y(e);let o=_();return C(o._removeTabBodyWrapperHeight())})("_onCentering",function(o){y(e);let r=_();return C(r._setTabBodyWrapperHeight(o))})("_beforeCentering",function(o){y(e);let r=_();return C(r._bodyCentered(o))}),d()}if(t&2){let e=i.$implicit,n=i.$index,o=_();Vt(e.bodyClass),h("id",o._getTabContentId(n))("content",e.content)("position",e.position)("animationDuration",o.animationDuration)("preserveContent",o.preserveContent),ee("tabindex",o.contentTabIndex!=null&&o.selectedIndex===n?o.contentTabIndex:null)("aria-labelledby",o._getTabLabelId(e,n))("aria-hidden",o.selectedIndex!==n)}}var QH=new k("MatTabContent"),KH=(()=>{class t{template=m(bt);constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matTabContent",""]],features:[_e([{provide:QH,useExisting:t}])]})}return t})(),ZH=new k("MatTabLabel"),Ck=new k("MAT_TAB"),Qt=(()=>{class t extends w0{_closestTab=m(Ck,{optional:!0});static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275dir=N({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[_e([{provide:ZH,useExisting:t}]),pe]})}return t})(),wk=new k("MAT_TAB_GROUP"),Kt=(()=>{class t{_viewContainerRef=m(Et);_closestTabGroup=m(wk,{optional:!0});disabled=!1;get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}_templateLabel;_explicitContent=void 0;_implicitContent;textLabel="";ariaLabel;ariaLabelledby;labelClass;bodyClass;id=null;_contentPortal=null;get content(){return this._contentPortal}_stateChanges=new B;position=null;origin=null;isActive=!1;constructor(){m(wt).load(yn)}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Dn(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-tab"]],contentQueries:function(n,o,r){if(n&1&&(Ne(r,Qt,5),Ne(r,KH,7,bt)),n&2){let a;q(a=Y())&&(o.templateLabel=a.first),q(a=Y())&&(o._explicitContent=a.first)}},viewQuery:function(n,o){if(n&1&&se(bt,7),n&2){let r;q(r=Y())&&(o._implicitContent=r.first)}},hostAttrs:["hidden",""],hostVars:1,hostBindings:function(n,o){n&2&&ee("id",null)},inputs:{disabled:[2,"disabled","disabled",G],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass",id:"id"},exportAs:["matTab"],features:[_e([{provide:Ck,useExisting:t}]),He],ngContentSelectors:dC,decls:1,vars:0,template:function(n,o){n&1&&(Pe(),x(0,OH,1,0,"ng-template"))},encapsulation:2})}return t})(),aC="mdc-tab-indicator--active",vk="mdc-tab-indicator--no-transition",sC=class{_items;_currentItem;constructor(i){this._items=i}hide(){this._items.forEach(i=>i.deactivateInkBar()),this._currentItem=void 0}alignToElement(i){let e=this._items.find(o=>o.elementRef.nativeElement===i),n=this._currentItem;if(e!==n&&(n?.deactivateInkBar(),e)){let o=n?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(o),this._currentItem=e}}},XH=(()=>{class t{_elementRef=m(K);_inkBarElement;_inkBarContentElement;_fitToContent=!1;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let n=this._elementRef.nativeElement;if(!e||!n.getBoundingClientRect||!this._inkBarContentElement){n.classList.add(aC);return}let o=n.getBoundingClientRect(),r=e.width/o.width,a=e.left-o.left;n.classList.add(vk),this._inkBarContentElement.style.setProperty("transform",`translateX(${a}px) scaleX(${r})`),n.getBoundingClientRect(),n.classList.remove(vk),n.classList.add(aC),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(aC)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,n=this._inkBarElement=e.createElement("span"),o=this._inkBarContentElement=e.createElement("span");n.className="mdc-tab-indicator",o.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",n.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",G]}})}return t})();var xk=(()=>{class t extends XH{elementRef=m(K);disabled=!1;focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275dir=N({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(n,o){n&2&&(ee("aria-disabled",!!o.disabled),te("mat-mdc-tab-disabled",o.disabled))},inputs:{disabled:[2,"disabled","disabled",G]},features:[pe]})}return t})(),bk={passive:!0},JH=650,e5=100,t5=(()=>{class t{_elementRef=m(K);_changeDetectorRef=m(De);_viewportRuler=m(Mi);_dir=m(Ft,{optional:!0});_ngZone=m(ne);_platform=m(Je);_sharedResizeObserver=m(_f);_injector=m(Me);_renderer=m(At);_animationMode=m(et,{optional:!0});_eventCleanups;_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new B;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged;_keyManager;_currentTextContent;_stopScrolling=new B;disablePagination=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let n=isNaN(e)?0:e;this._selectedIndex!=n&&(this._selectedIndexChanged=!0,this._selectedIndex=n,this._keyManager&&this._keyManager.updateActiveItem(n))}_selectedIndex=0;selectFocusedIndex=new T;indexFocused=new T;constructor(){this._eventCleanups=this._ngZone.runOutsideAngular(()=>[this._renderer.listen(this._elementRef.nativeElement,"mouseleave",()=>this._stopInterval())])}ngAfterViewInit(){this._eventCleanups.push(qt(this._renderer,this._previousPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("before"),bk),qt(this._renderer,this._nextPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("after"),bk))}ngAfterContentInit(){let e=this._dir?this._dir.change:ie("ltr"),n=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(mr(32),Ee(this._destroyed)),o=this._viewportRuler.change(150).pipe(Ee(this._destroyed)),r=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Ar(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(Math.max(this._selectedIndex,0)),Wt(r,{injector:this._injector}),yt(e,o,n,this._items.changes,this._itemsResized()).pipe(Ee(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),r()})}),this._keyManager?.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}_itemsResized(){return typeof ResizeObserver!="function"?Cn:this._items.changes.pipe(Dt(this._items),St(e=>new Le(n=>this._ngZone.runOutsideAngular(()=>{let o=new ResizeObserver(r=>n.next(r));return e.forEach(r=>o.observe(r.elementRef.nativeElement)),()=>{o.disconnect()}}))),Aa(1),Ye(e=>e.some(n=>n.contentRect.width>0&&n.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._eventCleanups.forEach(e=>e()),this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Mt(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let n=this._items.get(this.focusIndex);n&&!n.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager?.onKeydown(e)}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let n=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?n.scrollLeft=0:n.scrollLeft=n.scrollWidth-n.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,n=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(n)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){let n=this._tabListContainer.nativeElement.offsetWidth,o=(e=="before"?-1:1)*n/3;return this._scrollTo(this._scrollDistance+o)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let n=this._items?this._items.toArray()[e]:null;if(!n)return;let o=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:r,offsetWidth:a}=n.elementRef.nativeElement,s,c;this._getLayoutDirection()=="ltr"?(s=r,c=s+a):(c=this._tabListInner.nativeElement.offsetWidth-r,s=c-a);let p=this.scrollDistance,g=this.scrollDistance+o;sg&&(this.scrollDistance+=Math.min(c-g,s-p))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth,n=this._elementRef.nativeElement.offsetWidth,o=e-n>=5;o||(this.scrollDistance=0),o!==this._showPaginationControls&&(this._showPaginationControls=o,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,n=this._tabListContainer.nativeElement.offsetWidth;return e-n||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,n=e?e.elementRef.nativeElement:null;n?this._inkBar.alignToElement(n):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,n){n&&n.button!=null&&n.button!==0||(this._stopInterval(),vo(JH,e5).pipe(Ee(yt(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:o,distance:r}=this._scrollHeader(e);(r===0||r>=o)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let n=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(n,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:n,distance:this._scrollDistance}}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,inputs:{disablePagination:[2,"disablePagination","disablePagination",G],selectedIndex:[2,"selectedIndex","selectedIndex",Xt]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}})}return t})(),n5=(()=>{class t extends t5{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=!1;ngAfterContentInit(){this._inkBar=new sC(this._items),super.ngAfterContentInit()}_itemSelected(e){e.preventDefault()}static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275cmp=E({type:t,selectors:[["mat-tab-header"]],contentQueries:function(n,o,r){if(n&1&&Ne(r,xk,4),n&2){let a;q(a=Y())&&(o._items=a)}},viewQuery:function(n,o){if(n&1&&(se(PH,7),se(FH,7),se(NH,7),se(LH,5),se(VH,5)),n&2){let r;q(r=Y())&&(o._tabListContainer=r.first),q(r=Y())&&(o._tabList=r.first),q(r=Y())&&(o._tabListInner=r.first),q(r=Y())&&(o._nextPaginator=r.first),q(r=Y())&&(o._previousPaginator=r.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(n,o){n&2&&te("mat-mdc-tab-header-pagination-controls-enabled",o._showPaginationControls)("mat-mdc-tab-header-rtl",o._getLayoutDirection()=="rtl")},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",G]},features:[pe],ngContentSelectors:dC,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(n,o){if(n&1){let r=A();Pe(),l(0,"div",5,0),b("click",function(){return y(r),C(o._handlePaginatorClick("before"))})("mousedown",function(s){return y(r),C(o._handlePaginatorPress("before",s))})("touchend",function(){return y(r),C(o._stopInterval())}),M(2,"div",6),d(),l(3,"div",7,1),b("keydown",function(s){return y(r),C(o._handleKeydown(s))}),l(5,"div",8,2),b("cdkObserveContent",function(){return y(r),C(o._onContentChanges())}),l(7,"div",9,3),re(9),d()()(),l(10,"div",10,4),b("mousedown",function(s){return y(r),C(o._handlePaginatorPress("after",s))})("click",function(){return y(r),C(o._handlePaginatorClick("after"))})("touchend",function(){return y(r),C(o._stopInterval())}),M(12,"div",6),d()}n&2&&(te("mat-mdc-tab-header-pagination-disabled",o._disableScrollBefore),h("matRippleDisabled",o._disableScrollBefore||o.disableRipple),u(3),te("_mat-animation-noopable",o._animationMode==="NoopAnimations"),u(2),ee("aria-label",o.ariaLabel||null)("aria-labelledby",o.ariaLabelledby||null),u(5),te("mat-mdc-tab-header-pagination-disabled",o._disableScrollAfter),h("matRippleDisabled",o._disableScrollAfter||o.disableRipple))},dependencies:[ji,LT],styles:[`.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height, 1px);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height, 1px);border-top-color:var(--mat-tab-header-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height, 48px)}.mat-mdc-tab::before{margin:5px}@media(forced-colors: active){.mat-mdc-tab[aria-disabled=true]{color:GrayText}} -`],encapsulation:2})}return t})(),i5=new k("MAT_TABS_CONFIG"),yk=(()=>{class t extends ei{_host=m(lC);_centeringSub=he.EMPTY;_leavingSub=he.EMPTY;constructor(){super()}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Dt(this._host._isCenterPosition())).subscribe(e=>{this._host._content&&e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matTabBodyHost",""]],features:[pe]})}return t})(),lC=(()=>{class t{_elementRef=m(K);_dir=m(Ft,{optional:!0});_ngZone=m(ne);_injector=m(Me);_renderer=m(At);_animationsModule=m(et,{optional:!0});_eventCleanups;_initialized;_fallbackTimer;_positionIndex;_dirChangeSubscription=he.EMPTY;_position;_previousPosition;_onCentering=new T;_beforeCentering=new T;_afterLeavingCenter=new T;_onCentered=new T(!0);_portalHost;_contentElement;_content;animationDuration="500ms";preserveContent=!1;set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(){if(this._dir){let e=m(De);this._dirChangeSubscription=this._dir.change.subscribe(n=>{this._computePositionAnimationState(n),e.markForCheck()})}}ngOnInit(){this._bindTransitionEvents(),this._position==="center"&&(this._setActiveClass(!0),Wt(()=>this._onCentering.emit(this._elementRef.nativeElement.clientHeight),{injector:this._injector})),this._initialized=!0}ngOnDestroy(){clearTimeout(this._fallbackTimer),this._eventCleanups?.forEach(e=>e()),this._dirChangeSubscription.unsubscribe()}_bindTransitionEvents(){this._ngZone.runOutsideAngular(()=>{let e=this._elementRef.nativeElement,n=o=>{o.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.remove("mat-tab-body-animating"),o.type==="transitionend"&&this._transitionDone())};this._eventCleanups=[this._renderer.listen(e,"transitionstart",o=>{o.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.add("mat-tab-body-animating"),this._transitionStarted())}),this._renderer.listen(e,"transitionend",n),this._renderer.listen(e,"transitioncancel",n)]})}_transitionStarted(){clearTimeout(this._fallbackTimer);let e=this._position==="center";this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_transitionDone(){this._position==="center"?this._onCentered.emit():this._previousPosition==="center"&&this._afterLeavingCenter.emit()}_setActiveClass(e){this._elementRef.nativeElement.classList.toggle("mat-mdc-tab-body-active",e)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(){return this._positionIndex===0}_computePositionAnimationState(e=this._getLayoutDirection()){this._previousPosition=this._position,this._positionIndex<0?this._position=e=="ltr"?"left":"right":this._positionIndex>0?this._position=e=="ltr"?"right":"left":this._position="center",this._animationsDisabled()?this._simulateTransitionEvents():this._initialized&&(this._position==="center"||this._previousPosition==="center")&&(clearTimeout(this._fallbackTimer),this._fallbackTimer=this._ngZone.runOutsideAngular(()=>setTimeout(()=>this._simulateTransitionEvents(),100)))}_simulateTransitionEvents(){this._transitionStarted(),Wt(()=>this._transitionDone(),{injector:this._injector})}_animationsDisabled(){return this._animationsModule==="NoopAnimations"||this.animationDuration==="0ms"||this.animationDuration==="0s"}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-tab-body"]],viewQuery:function(n,o){if(n&1&&(se(yk,5),se(BH,5)),n&2){let r;q(r=Y())&&(o._portalHost=r.first),q(r=Y())&&(o._contentElement=r.first)}},hostAttrs:[1,"mat-mdc-tab-body"],hostVars:1,hostBindings:function(n,o){n&2&&ee("inert",o._position==="center"?null:"")},inputs:{_content:[0,"content","_content"],animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(n,o){n&1&&(l(0,"div",1,0),x(2,jH,0,0,"ng-template",2),d()),n&2&&te("mat-tab-body-content-left",o._position==="left")("mat-tab-body-content-right",o._position==="right")("mat-tab-body-content-can-animate",o._position==="center"||o._previousPosition==="center")},dependencies:[yk,Rd],styles:[`.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto;transform:none;visibility:hidden}.mat-tab-body-animating>.mat-mdc-tab-body-content,.mat-mdc-tab-body-active>.mat-mdc-tab-body-content{visibility:visible}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-tab-body-content-can-animate{transition:transform var(--mat-tab-animation-duration) 1ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable .mat-tab-body-content-can-animate{transition:none}.mat-tab-body-content-left{transform:translate3d(-100%, 0, 0)}.mat-tab-body-content-right{transform:translate3d(100%, 0, 0)} -`],encapsulation:2})}return t})(),Jt=(()=>{class t{_elementRef=m(K);_changeDetectorRef=m(De);_ngZone=m(ne);_tabsSubscription=he.EMPTY;_tabLabelSubscription=he.EMPTY;_tabBodySubscription=he.EMPTY;_diAnimationsDisabled=m(et,{optional:!0})==="NoopAnimations";_allTabs;_tabBodies;_tabBodyWrapper;_tabHeader;_tabs=new Ki;_indexToSelect=0;_lastFocusedTabIndex=null;_tabBodyWrapperHeight=0;color;get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=e,this._changeDetectorRef.markForCheck()}_fitInkBarToContent=!1;stretchTabs=!0;alignTabs=null;dynamicHeight=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=isNaN(e)?null:e}_selectedIndex=null;headerPosition="above";get animationDuration(){return this._animationDuration}set animationDuration(e){let n=e+"";this._animationDuration=/^\d+$/.test(n)?e+"ms":n}_animationDuration;get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=isNaN(e)?null:e}_contentTabIndex;disablePagination=!1;disableRipple=!1;preserveContent=!1;get backgroundColor(){return this._backgroundColor}set backgroundColor(e){let n=this._elementRef.nativeElement.classList;n.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&n.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}_backgroundColor;ariaLabel;ariaLabelledby;selectedIndexChange=new T;focusChange=new T;animationDone=new T;selectedTabChange=new T(!0);_groupId;_isServer=!m(Je).isBrowser;constructor(){let e=m(i5,{optional:!0});this._groupId=m(mt).getId("mat-tab-group-"),this.animationDuration=e&&e.animationDuration?e.animationDuration:"500ms",this.disablePagination=e&&e.disablePagination!=null?e.disablePagination:!1,this.dynamicHeight=e&&e.dynamicHeight!=null?e.dynamicHeight:!1,e?.contentTabIndex!=null&&(this.contentTabIndex=e.contentTabIndex),this.preserveContent=!!e?.preserveContent,this.fitInkBarToContent=e&&e.fitInkBarToContent!=null?e.fitInkBarToContent:!1,this.stretchTabs=e&&e.stretchTabs!=null?e.stretchTabs:!0,this.alignTabs=e&&e.alignTabs!=null?e.alignTabs:null}ngAfterContentChecked(){let e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){let n=this._selectedIndex==null;if(!n){this.selectedTabChange.emit(this._createChangeEvent(e));let o=this._tabBodyWrapper.nativeElement;o.style.minHeight=o.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((o,r)=>o.isActive=r===e),n||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((n,o)=>{n.position=o-e,this._selectedIndex!=null&&n.position==0&&!n.origin&&(n.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){let n=this._tabs.toArray(),o;for(let r=0;r{n[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}ngAfterViewInit(){this._tabBodySubscription=this._tabBodies.changes.subscribe(()=>this._bodyCentered(!0))}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Dt(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(n=>n._closestTabGroup===this||!n._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe(),this._tabBodySubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){let n=this._tabHeader;n&&(n.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){let n=new cC;return n.index=e,this._tabs&&this._tabs.length&&(n.tab=this._tabs.toArray()[e]),n}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=yt(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e,n){return e.id||`${this._groupId}-label-${n}`}_getTabContentId(e){return`${this._groupId}-content-${e}`}_setTabBodyWrapperHeight(e){if(!this.dynamicHeight||!this._tabBodyWrapperHeight){this._tabBodyWrapperHeight=e;return}let n=this._tabBodyWrapper.nativeElement;n.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(n.style.height=e+"px")}_removeTabBodyWrapperHeight(){let e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this._ngZone.run(()=>this.animationDone.emit())}_handleClick(e,n,o){n.focusIndex=o,e.disabled||(this.selectedIndex=o)}_getTabIndex(e){let n=this._lastFocusedTabIndex??this.selectedIndex;return e===n?0:-1}_tabFocusChanged(e,n){e&&e!=="mouse"&&e!=="touch"&&(this._tabHeader.focusIndex=n)}_bodyCentered(e){e&&this._tabBodies?.forEach((n,o)=>n._setActiveClass(o===this._selectedIndex))}_animationsDisabled(){return this._diAnimationsDisabled||this.animationDuration==="0"||this.animationDuration==="0ms"}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-tab-group"]],contentQueries:function(n,o,r){if(n&1&&Ne(r,Kt,5),n&2){let a;q(a=Y())&&(o._allTabs=a)}},viewQuery:function(n,o){if(n&1&&(se(zH,5),se(UH,5),se(lC,5)),n&2){let r;q(r=Y())&&(o._tabBodyWrapper=r.first),q(r=Y())&&(o._tabHeader=r.first),q(r=Y())&&(o._tabBodies=r)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:11,hostBindings:function(n,o){n&2&&(ee("mat-align-tabs",o.alignTabs),Vt("mat-"+(o.color||"primary")),Un("--mat-tab-animation-duration",o.animationDuration),te("mat-mdc-tab-group-dynamic-height",o.dynamicHeight)("mat-mdc-tab-group-inverted-header",o.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",o.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",G],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",G],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",G],selectedIndex:[2,"selectedIndex","selectedIndex",Xt],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",Xt],disablePagination:[2,"disablePagination","disablePagination",G],disableRipple:[2,"disableRipple","disableRipple",G],preserveContent:[2,"preserveContent","preserveContent",G],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[_e([{provide:wk,useExisting:t}])],ngContentSelectors:dC,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","class","content","position","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","_beforeCentering","id","content","position","animationDuration","preserveContent"]],template:function(n,o){if(n&1){let r=A();Pe(),l(0,"mat-tab-header",3,0),b("indexFocused",function(s){return y(r),C(o._focusChanged(s))})("selectFocusedIndex",function(s){return y(r),C(o.selectedIndex=s)}),Mr(2,$H,8,17,"div",4,Uc),d(),x(4,qH,1,0),l(5,"div",5,1),Mr(7,YH,1,10,"mat-tab-body",6,Uc),d()}n&2&&(h("selectedIndex",o.selectedIndex||0)("disableRipple",o.disableRipple)("disablePagination",o.disablePagination)("aria-label",o.ariaLabel)("aria-labelledby",o.ariaLabelledby),u(2),Ir(o._tabs),u(2),we(o._isServer?4:-1),u(),te("_mat-animation-noopable",o._animationsDisabled()),u(2),Ir(o._tabs))},dependencies:[n5,xk,Id,ji,ei,lC],styles:[`.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height, 48px);font-family:var(--mat-tab-header-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height, 2px);border-radius:var(--mdc-tab-indicator-active-indicator-shape, 0)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-sys-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important} -`],encapsulation:2})}return t})(),cC=class{index;tab};var Dk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[ue,ue]})}return t})();function o5(t,i){if(t&1){let e=A();l(0,"uds-field-text",2),b("changed",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()}if(t&2){let e=_();h("field",e.field)}}function r5(t,i){if(t&1){let e=A();l(0,"uds-field-autocomplete",2),b("changed",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()}if(t&2){let e=_();h("field",e.field)}}function a5(t,i){if(t&1){let e=A();l(0,"uds-field-textbox",2),b("changed",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()}if(t&2){let e=_();h("field",e.field)}}function s5(t,i){if(t&1){let e=A();l(0,"uds-field-numeric",2),b("changed",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()}if(t&2){let e=_();h("field",e.field)}}function l5(t,i){if(t&1){let e=A();l(0,"uds-field-password",2),b("changed",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()}if(t&2){let e=_();h("field",e.field)}}function c5(t,i){if(t&1){let e=A();l(0,"uds-field-hidden",2),b("changed",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()}if(t&2){let e=_();h("field",e.field)}}function d5(t,i){if(t&1){let e=A();l(0,"uds-field-choice",2),b("changed",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()}if(t&2){let e=_();h("field",e.field)}}function u5(t,i){if(t&1){let e=A();l(0,"uds-field-multichoice",2),b("changed",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()}if(t&2){let e=_();h("field",e.field)}}function m5(t,i){if(t&1){let e=A();l(0,"uds-field-editlist",2),b("changed",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()}if(t&2){let e=_();h("field",e.field)}}function p5(t,i){if(t&1){let e=A();l(0,"uds-field-checkbox",2),b("changed",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()}if(t&2){let e=_();h("field",e.field)}}function h5(t,i){if(t&1){let e=A();l(0,"uds-field-imgchoice",2),b("changed",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()}if(t&2){let e=_();h("field",e.field)}}function f5(t,i){if(t&1){let e=A();l(0,"uds-field-date",2),b("changed",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()}if(t&2){let e=_();h("field",e.field)}}function g5(t,i){if(t&1){let e=A();l(0,"uds-field-tags",2),b("changed",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()}if(t&2){let e=_();h("field",e.field)}}var vf=(()=>{class t{constructor(){this.field={},this.changed=new T,this.udsGuiFieldType=$n}ngOnInit(){}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:14,vars:15,consts:[["matTooltipShowDelay","1000",1,"field",3,"ngSwitch","matTooltip"],[3,"field","changed",4,"ngSwitchCase"],[3,"changed","field"]],template:function(n,o){n&1&&(l(0,"div",0),x(1,o5,1,1,"uds-field-text",1)(2,r5,1,1,"uds-field-autocomplete",1)(3,a5,1,1,"uds-field-textbox",1)(4,s5,1,1,"uds-field-numeric",1)(5,l5,1,1,"uds-field-password",1)(6,c5,1,1,"uds-field-hidden",1)(7,d5,1,1,"uds-field-choice",1)(8,u5,1,1,"uds-field-multichoice",1)(9,m5,1,1,"uds-field-editlist",1)(10,p5,1,1,"uds-field-checkbox",1)(11,h5,1,1,"uds-field-imgchoice",1)(12,f5,1,1,"uds-field-date",1)(13,g5,1,1,"uds-field-tags",1),d()),n&2&&(h("ngSwitch",o.field.gui.type)("matTooltip",o.field.gui.tooltip),u(),h("ngSwitchCase",o.udsGuiFieldType.TEXT),u(),h("ngSwitchCase",o.udsGuiFieldType.TEXT_AUTOCOMPLETE),u(),h("ngSwitchCase",o.udsGuiFieldType.TEXTBOX),u(),h("ngSwitchCase",o.udsGuiFieldType.NUMERIC),u(),h("ngSwitchCase",o.udsGuiFieldType.PASSWORD),u(),h("ngSwitchCase",o.udsGuiFieldType.HIDDEN),u(),h("ngSwitchCase",o.udsGuiFieldType.CHOICE),u(),h("ngSwitchCase",o.udsGuiFieldType.MULTI_CHOICE),u(),h("ngSwitchCase",o.udsGuiFieldType.EDITLIST),u(),h("ngSwitchCase",o.udsGuiFieldType.CHECKBOX),u(),h("ngSwitchCase",o.udsGuiFieldType.IMAGECHOICE),u(),h("ngSwitchCase",o.udsGuiFieldType.DATE),u(),h("ngSwitchCase",o.udsGuiFieldType.TAGLIST))},styles:["uds-field[_ngcontent-%COMP%]{flex:1 50%} .mat-mdc-form-field{width:calc(100% - 1px)} .mat-form-field-flex{padding-top:0!important} .mat-mdc-tooltip{font-size:.9rem!important;margin:0!important;max-width:26em!important}"]})}}return t})();function v5(t,i){if(t&1&&f(0),t&2){let e=_().$implicit;P(" ",e," ")}}function b5(t,i){if(t&1){let e=A();l(0,"uds-field",9),b("changed",function(o){y(e);let r=_(3);return C(r.changed.emit(o))}),d()}if(t&2){let e=i.$implicit;h("field",e)}}function y5(t,i){if(t&1&&(l(0,"mat-tab",4),x(1,v5,1,1,"ng-template",5),l(2,"div",6)(3,"div",7),x(4,b5,1,1,"uds-field",8),d()()()),t&2){let e=i.$implicit,n=_(2);u(4),h("ngForOf",n.fieldsByTab[e])}}function C5(t,i){if(t&1&&(l(0,"mat-tab-group",2),x(1,y5,5,1,"mat-tab",3),d()),t&2){let e=_();h("disableRipple",!1)("@.disabled",!0),u(),h("ngForOf",e.tabs)}}function w5(t,i){if(t&1){let e=A();l(0,"div")(1,"uds-field",9),b("changed",function(o){y(e);let r=_(2);return C(r.changed.emit(o))}),d()()}if(t&2){let e=i.$implicit;u(),h("field",e)}}function x5(t,i){if(t&1&&(l(0,"div",6),x(1,w5,2,1,"div",10),d()),t&2){let e=_();u(),h("ngForOf",e.fields)}}var D5=django.gettext("Main"),Sk=(()=>{class t{constructor(){this.fields=[],this.changed=new T,this.tabs=new Array,this.fieldsByTab={}}ngOnInit(){this.fieldsByTab={};for(let e of this.fields){let n=e.gui.tab===void 0?D5:e.gui.tab;this.tabs.includes(n)||(this.tabs.push(n),this.fieldsByTab[n]=new Array),this.fieldsByTab[n].push(e)}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-form"]],inputs:{fields:"fields"},outputs:{changed:"changed"},standalone:!1,decls:3,vars:2,consts:[["onlyone",""],["backgroundColor","primary",3,"disableRipple",4,"ngIf","ngIfElse"],["backgroundColor","primary",3,"disableRipple"],["class","noOverflow",4,"ngFor","ngForOf"],[1,"noOverflow"],["mat-tab-label",""],[1,"form-content"],[1,"content"],[3,"field","changed",4,"ngFor","ngForOf"],[3,"changed","field"],[4,"ngFor","ngForOf"]],template:function(n,o){if(n&1&&x(0,C5,2,3,"mat-tab-group",1)(1,x5,2,1,"ng-template",null,0,mn),n&2){let r=ge(2);h("ngIf",o.tabs.length>1)("ngIfElse",r)}},dependencies:[Fe,de,Qt,Kt,Jt,vf],styles:[".content[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;flex-wrap:wrap}.form-content[_ngcontent-%COMP%]{padding-top:1rem} .mat-mdc-tab-body-content{overflow:hidden!important} .mat-mdc-form-field-infix{min-height:3rem} .mat-mdc-tab-header{position:sticky;top:0;z-index:1000}"]})}}return t})();function E5(t,i){if(t&1){let e=A();l(0,"button",10),b("click",function(){y(e);let o=_();return C(o.customButtonClicked())}),f(1),d()}if(t&2){let e=_();u(),Ve(e.data.customButton)}}var Ek=(()=>{class t{constructor(e,n){this.dialogRef=e,this.data=n,this.onEvent=new T(!0),this.saving=!1}ngOnInit(){this.onEvent.emit({type:"init",data:null,dialog:this.dialogRef})}changed(e){this.onEvent.emit({type:"changed",data:e,dialog:this.dialogRef})}getFields(){let e={},n=[];return this.data.guiFields.forEach(o=>{let r=o.value;if(o.gui.required&&r!==0&&r!==!1&&(!r||r instanceof Array&&r.length===0)&&n.push(o.gui.label),typeof r=="number"){let a=parseInt((o.gui.minValue||987654321).toString(),10),s=parseInt((o.gui.maxValue||987654321).toString(),10);a!==987654321&&r= "+o.gui.minValue),s!==987654321&&r>s&&n.push(o.gui.label+" <= "+o.gui.maxValue),r=r.toString()}e[o.name]=r}),{data:e,errors:n}}save(){let e=this.getFields();if(e.errors.length>0){this.data.gui.alert(django.gettext("Error"),django.gettext("Please, fill in require fields: ")+e.errors.join(", "));return}this.onEvent.emit({data:e.data,type:"save",dialog:this.dialogRef})}cancel(){this.onEvent.emit({data:null,type:"cancel",dialog:this.dialogRef})}customButtonClicked(){let e=this.getFields();this.onEvent.emit({data:e.data,type:this.data.customButton||"",errors:e.errors,dialog:this.dialogRef})}static{this.\u0275fac=function(n){return new(n||t)(w(Ae),w(Be))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-modal-form"]],standalone:!1,decls:17,vars:7,consts:[["vc",""],["mat-dialog-title","",3,"innerHtml"],["autocomplete","off"],[3,"changed","fields"],[1,"buttons"],[1,"group1"],["ngClass","custom","mat-raised-button","",3,"click",4,"ngIf"],[1,"group2"],["mat-raised-button","",3,"click","disabled"],["mat-raised-button","","color","primary",3,"click","disabled"],["ngClass","custom","mat-raised-button","",3,"click"]],template:function(n,o){if(n&1){let r=A();M(0,"h4",1),_t(1,"safeHtml"),l(2,"mat-dialog-content",null,0)(4,"form",2)(5,"uds-form",3),b("changed",function(s){return y(r),C(o.changed(s))}),d()()(),l(6,"mat-dialog-actions")(7,"div",4)(8,"div",5),x(9,E5,2,1,"button",6),d(),l(10,"div",7)(11,"button",8),b("click",function(){return y(r),C(o.dialogRef.close())})("click",function(){return y(r),C(o.cancel())}),l(12,"uds-translate"),f(13,"Discard & close"),d()(),l(14,"button",9),b("click",function(){return y(r),C(o.save())}),l(15,"uds-translate"),f(16,"Save"),d()()()()()}n&2&&(h("innerHtml",Ct(1,5,o.data.title),Gt),u(5),h("fields",o.data.guiFields),u(4),h("ngIf",o.data.customButton!==void 0),u(2),h("disabled",o.saving),u(3),h("disabled",o.saving))},dependencies:[si,de,ff,uf,so,Se,We,$e,Ge,ae,Sk,Qh],styles:["h4[_ngcontent-%COMP%]{margin-bottom:0}.buttons[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%} uds-field{flex:1 100%}button.custom[_ngcontent-%COMP%]{background-color:#4682b4;color:#fff}.modal-form[_ngcontent-%COMP%]{padding-top:1.5rem}"]})}}return t})();var bf=class{constructor(i){this.gui=i}modalForm(i,e,n=null,o){e.sort((c,p)=>c.gui.order>p.gui.order?1:-1);let r=n!=null;n=r?n:{},e.forEach(c=>{(r===!1||c.gui.readonly===void 0)&&(c.gui.readonly=!1),c.gui.type===$n.TEXT&&c.gui.lines&&(c.gui.type=$n.TEXTBOX);let p=n[c.name];if(p!==void 0)if(p instanceof Array){let g=new Array;p.forEach(v=>g.push(v)),c.value=g}else c.value=p});let a=window.innerWidth<800?"80%":"50%";return this.gui.dialog.open(Ek,{position:{top:"64px"},width:a,data:{title:i,guiFields:e,customButton:o,gui:this.gui},disableClose:!0}).componentInstance.onEvent}typedForm(i,e,n,o,r,a,s){return V(this,null,function*(){let c=s||{},p=c.callback||(()=>{}),g=o||[],v=n?django.gettext("Test"):void 0,S={},D={},I=j=>{if(D.hasOwnProperty(j.name)){let Ke=D[j.name];j.value!==""&&j.value!==void 0&&this.executeCallback(i,j,S)}},R=c.snack||this.gui.snackbar.open(django.gettext("Loading data..."),django.gettext("dismiss")),Q=yield i.table.rest.gui(a);if(R.dismiss(),g!==void 0)for(let j of g)Q.push(j);for(let j of Q){if(j.gui.type===$n.INFO){j.name==="title"&&(e+=" "+(j.value||j.gui.default||""));continue}S[j.name]=j,j.gui.fills!==void 0&&(D[j.name]=j.gui.fills)}this.modalForm(e,Q,r,v).subscribe(j=>V(this,null,function*(){switch(j.data&&(j.data.data_type=a),j.type){case v:if(j.errors&&j.errors.length>0){this.gui.alert(django.gettext("Error"),django.gettext("Please, fill in require fields: ")+j.errors.join(", "));return}this.gui.snackbar.open(django.gettext("Testing..."),django.gettext("dismiss")),i.table.rest.test(a,j.data).then(Ke=>{Ke!=="ok"?this.gui.snackbar.open(django.gettext("Test failed:")+" "+Ke,django.gettext("dismiss")):this.gui.snackbar.open(django.gettext("Test passed successfully"),django.gettext("dismiss"),{duration:2e3})});break;case"changed":case"init":if(j.data===null)for(let Ke of Q)I(Ke);else I(j.data.field);p({on:j.data,all:S});break;case"save":if(c.save===void 0){j.dialog.componentInstance.saving=!0;try{r?yield i.table.rest.save(j.data,r.id):yield i.table.rest.create(j.data),this.gui.snackbar.open(django.gettext("Successfully saved"),django.gettext("dismiss"),{duration:2e3}),j.dialog.close(),i.table.overview()}finally{j.dialog.componentInstance.saving=!1}}else j.dialog.close(),c.save.resolve(j.data);break;case"cancel":j.dialog.close();break}}))})}typedEditForm(i,e,n=!1,o,r=()=>{}){return V(this,null,function*(){let a=i.table.selection.selected[0],s=a.type,c=new T,p=this.gui.snackbar.open(django.gettext("Loading data..."),django.gettext("dismiss")),g=yield i.table.rest.get(a.id);return this.typedForm(i,e,n,o,g,s,{snack:p,callback:r})})}typedNewForm(i,e,n=!1,o,r=()=>{}){return V(this,null,function*(){let a=i.param?i.param.type:void 0;return this.typedForm(i,e,n,o,null,a,{callback:r})})}deleteForm(i,e,n,o){return V(this,null,function*(){let r=new Array,a=new Array;for(let p of i.table.selection.selected){let g=p.name||p.friendly_name||p[n||"name"]||p.id;if(g&&g.changingThisBreaksApplicationSecurity&&(g=g.changingThisBreaksApplicationSecurity),o){let v=g.indexOf("")+7;g=g.substring(0,v)+g.substring(v).replace(//g,">")}else g=g.replace(//g,">");r.push(g),a.push(p.id)}let s=django.gettext("Are you sure do you want to delete the following items?")+"
"+r.join(", ")+"";if(yield this.gui.questionDialog(e,s,!0)){for(let g of a)try{yield i.table.rest.delete(g)}catch(v){console.warn("Error deleting item",g,v)}let p=a.length;this.gui.snackbar.open(django.gettext("Deletion finished"),django.gettext("dismiss"),{duration:2e3}),i.table.overview()}})}executeCallback(r,a,s){return V(this,arguments,function*(i,e,n,o={}){let c=new Array;if(!e.gui.fills)return;for(let v of e.gui.fills.parameters)c.push(v+"="+encodeURIComponent(n[v].value));let p=yield i.table.rest.callback(e.gui.fills.callback_name,c.join("&")),g=new Array;for(let v of p){let S=n[v.name];if(S!==void 0){S.gui.fills!==void 0&&g.push(S);let D=new Array;for(let I of v.choices)D.push({id:I.id,text:I.text,img:I.img});if(S.gui.choices=D,S.value instanceof Array){let I=new Array;for(let R of S.gui.choices)S.value.indexOf(R.id)>=0&&I.push(R.id);S.value=I}else(!S.value||S.value instanceof Array&&S.value.length===0)&&(S.value=v.choices.length>0?v.choices[0].id:"")}}for(let v of g)o[v.name]===void 0&&(o[v.name]=!0,this.executeCallback(i,v,n,o))})}};var M5="display:inline-block; background-size: SIZE SIZE; background-repeat: no-repeat; width: SIZE; height: SIZE; vertical-align: middle; margin: 4px 8px 4px 0px;",yf=class{constructor(i,e){this.dialog=i,this.snackbar=e,this.forms=new bf(this)}alert(i,e,n=0,o){return V(this,null,function*(){let r=o||(window.innerWidth<800?"80%":"40%");return this.dialog.open(Z0,{width:r,data:{title:i,body:e,autoclose:n,type:Hd.alert},disableClose:!0}).componentInstance.acceptance})}questionDialog(i,e,n=!1){return V(this,null,function*(){let o=window.innerWidth<800?"80%":"40%",r=this.dialog.open(Z0,{width:o,data:{title:i,body:e,type:Hd.question,warnOnYes:n},disableClose:!0});return or(r.componentInstance.acceptance)})}icon(i,e="24px"){return''}};var Cf={production:!0};var pn=(function(t){return t.NUMERIC="numeric",t.ALPHANUMERIC="alphanumeric",t.DATETIME="datetime",t.DATETIMESEC="datetimesec",t.DATE="date",t.TIME="time",t.ICON="iconType",t.CALLBACK="callback",t.DICTIONARY="dict",t.IMAGE="image",t})(pn||{}),ot=(function(t){return t[t.ALWAYS=0]="ALWAYS",t[t.SINGLE_SELECT=1]="SINGLE_SELECT",t[t.MULTI_SELECT=2]="MULTI_SELECT",t[t.ONLY_MENU=3]="ONLY_MENU",t[t.ACCELERATOR=4]="ACCELERATOR",t})(ot||{});var uC="provider",mC="service",Zd="pool",I5="authenticator",Xd="user",pC="group",hC="transport",fC="osmanager",wf="calendar",gC="poolgroup",T5={provider:django.gettext("provider"),service:django.gettext("service"),pool:django.gettext("service pool"),authenticator:django.gettext("authenticator"),mfa:django.gettext("MFA"),user:django.gettext("user"),group:django.gettext("group"),transport:django.gettext("transport"),osmanager:django.gettext("OS manager"),calendar:django.gettext("calendar"),poolgroup:django.gettext("pool group")},En=class{constructor(i){this.router=i}static getGotoButton(i,e,n){return{id:i,html:'link'+django.gettext("Go to")+" "+T5[i]+"",type:ot.ACCELERATOR,acceleratorProperties:[e,n||""]}}gotoProvider(i){i!==void 0?this.router.navigate(["services","providers",i]):this.router.navigate(["services","providers"])}gotoService(i,e){e!==void 0?this.router.navigate(["services","providers",i,"detail",e]):this.router.navigate(["services","providers",i,"detail"])}gotoServer(i){this.router.navigate(["services","servers",i])}gotoServerDetail(i){this.router.navigate(["services","servers",i,"detail"])}gotoServicePool(i){this.router.navigate(["pools","service-pools",i])}gotoServicePoolDetail(i){this.router.navigate(["pools","service-pools",i,"detail"])}gotoMetapool(i){this.router.navigate(["pools","meta-pools",i])}gotoMetapoolDetail(i){this.router.navigate(["pools","meta-pools",i,"detail"])}gotoCalendar(i){this.router.navigate(["pools","calendars",i])}gotoCalendarDetail(i){this.router.navigate(["pools","calendars",i,"detail"])}gotoAccount(i){this.router.navigate(["pools","accounts",i])}gotoAccountDetail(i){this.router.navigate(["pools","accounts",i,"detail"])}gotoPoolGroup(i){i=i||"",this.router.navigate(["pools","pool-groups",i])}gotoAuthenticator(i){this.router.navigate(["authenticators",i])}gotoAuthenticatorDetail(i){this.router.navigate(["authenticators",i,"detail"])}gotoMFA(i){this.router.navigate(["mfas",i])}gotoUser(i,e){this.router.navigate(["authenticators",i,"detail","users",e])}gotoGroup(i,e){this.router.navigate(["authenticators",i,"detail","groups",e])}gotoTransport(i){this.router.navigate(["connectivity/transports",i])}gotoTunnel(i){this.router.navigate(["connectivity/tunnels",i])}gotoTunnelDetail(i){this.router.navigate(["connectivity/tunnels",i,"detail"])}gotoOSManager(i){this.router.navigate(["osmanagers",i])}goto(i,e,n){let o=r=>{let a=e;if(n[r].split(".").forEach(s=>a=a[s]),!a)throw new Error("not going :)");return a};try{switch(i){case uC:this.gotoProvider(o(0));break;case mC:this.gotoService(o(0),o(1));break;case Zd:this.gotoServicePool(o(0));break;case I5:this.gotoAuthenticator(o(0));break;case Xd:this.gotoUser(o(0),o(1));break;case pC:this.gotoGroup(o(0),o(1));break;case hC:this.gotoTransport(o(0));break;case fC:this.gotoOSManager(o(0));break;case wf:this.gotoCalendar(o(0));break;case gC:this.gotoPoolGroup(o(0));break}}catch{}}};var xf={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};function k5(t,i){if(t&1){let e=A();l(0,"div",1)(1,"button",2),b("click",function(){y(e);let o=_();return C(o.action())}),f(2),d()()}if(t&2){let e=_();u(2),P(" ",e.data.action," ")}}var A5=["label"];function R5(t,i){}var O5=Math.pow(2,31)-1,Jd=class{_overlayRef;instance;containerInstance;_afterDismissed=new B;_afterOpened=new B;_onAction=new B;_durationTimeoutId;_dismissedByAction=!1;constructor(i,e){this._overlayRef=e,this.containerInstance=i,i._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(i){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(i,O5))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},Mk=new k("MatSnackBarData"),zl=class{politeness="assertive";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"},P5=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return t})(),F5=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return t})(),N5=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return t})(),Ik=(()=>{class t{snackBarRef=m(Jd);data=m(Mk);constructor(){}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(n,o){n&1&&(l(0,"div",0),f(1),d(),x(2,k5,3,1,"div",1)),n&2&&(u(),P(" ",o.data.message,` -`),u(),we(o.hasAction?2:-1))},dependencies:[Se,P5,F5,N5],styles:[`.mat-mdc-simple-snack-bar{display:flex} -`],encapsulation:2,changeDetection:0})}return t})(),_C="_mat-snack-bar-enter",vC="_mat-snack-bar-exit",L5=(()=>{class t extends kr{_ngZone=m(ne);_elementRef=m(K);_changeDetectorRef=m(De);_platform=m(Je);_rendersRef;_animationsDisabled=m(et,{optional:!0})==="NoopAnimations";snackBarConfig=m(zl);_document=m(ce);_trackedModals=new Set;_enterFallback;_exitFallback;_renders=new B;_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;_onAnnounce=new B;_onExit=new B;_onEnter=new B;_animationState="void";_live;_label;_role;_liveElementId=m(mt).getId("mat-snack-bar-container-live-");constructor(){super();let e=this.snackBarConfig;e.politeness==="assertive"&&!e.announcementMessage?this._live="assertive":e.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert")),this._rendersRef=Ya(()=>this._renders.next(),{manualCleanup:!0})}attachComponentPortal(e){this._assertNotAttached();let n=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),n}attachTemplatePortal(e){this._assertNotAttached();let n=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),n}attachDomPortal=e=>{this._assertNotAttached();let n=this._portalOutlet.attachDomPortal(e);return this._afterPortalAttached(),n};onAnimationEnd(e){e===vC?this._completeExit():e===_C&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?this._renders.pipe(xt(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(_C)))}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(_C)},200)))}exit(){return this._destroyed?ie(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?this._renders.pipe(xt(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(vC)))}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(vC),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit(),this._renders.complete(),this._rendersRef.destroy()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let e=this._elementRef.nativeElement,n=this.snackBarConfig.panelClass;n&&(Array.isArray(n)?n.forEach(a=>e.classList.add(a)):e.classList.add(n)),this._exposeToModals();let o=this._label.nativeElement,r="mdc-snackbar__label";o.classList.toggle(r,!o.querySelector(`.${r}`))}_exposeToModals(){let e=this._liveElementId,n=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let n=e.getAttribute("aria-owns");if(n){let o=n.replace(this._liveElementId,"").trim();o.length>0?e.setAttribute("aria-owns",o):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let e=this._elementRef.nativeElement,n=e.querySelector("[aria-hidden]"),o=e.querySelector("[aria-live]");if(n&&o){let r=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&n.contains(document.activeElement)&&(r=document.activeElement),n.removeAttribute("aria-hidden"),o.appendChild(n),r?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(n,o){if(n&1&&(se(ei,7),se(A5,7)),n&2){let r;q(r=Y())&&(o._portalOutlet=r.first),q(r=Y())&&(o._label=r.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(n,o){n&1&&b("animationend",function(a){return o.onAnimationEnd(a.animationName)})("animationcancel",function(a){return o.onAnimationEnd(a.animationName)}),n&2&&te("mat-snack-bar-container-enter",o._animationState==="visible")("mat-snack-bar-container-exit",o._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!o._animationsDisabled)},features:[pe],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(n,o){n&1&&(l(0,"div",1)(1,"div",2,0)(3,"div",3),x(4,R5,0,0,"ng-template",4),d(),M(5,"div"),d()()),n&2&&(u(5),ee("aria-live",o._live)("role",o._role)("id",o._liveElementId))},dependencies:[ei],styles:[`@keyframes _mat-snack-bar-enter{from{transform:scale(0.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes _mat-snack-bar-exit{from{opacity:1}to{opacity:0}}.mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-snack-bar-container-animations-enabled{opacity:0}.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible{opacity:1}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter{animation:_mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit{animation:_mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-snackbar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mdc-snackbar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mdc-snackbar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mdc-snackbar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mdc-snackbar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1} -`],encapsulation:2})}return t})();function V5(){return new zl}var B5=new k("mat-snack-bar-default-options",{providedIn:"root",factory:V5}),bC=(()=>{class t{_overlay=m(Rt);_live=m(Td);_injector=m(Me);_breakpointObserver=m(ds);_parentSnackBar=m(t,{optional:!0,skipSelf:!0});_defaultConfig=m(B5);_snackBarRefAtThisLevel=null;simpleSnackBarComponent=Ik;snackBarContainerComponent=L5;handsetCssClass="mat-mdc-snack-bar-handset";get _openedSnackBarRef(){let e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(){}openFromComponent(e,n){return this._attach(e,n)}openFromTemplate(e,n){return this._attach(e,n)}open(e,n="",o){let r=L(L({},this._defaultConfig),o);return r.data={message:e,action:n},r.announcementMessage===e&&(r.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,r)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,n){let o=n&&n.viewContainerRef&&n.viewContainerRef.injector,r=Me.create({parent:o||this._injector,providers:[{provide:zl,useValue:n}]}),a=new li(this.snackBarContainerComponent,n.viewContainerRef,r),s=e.attach(a);return s.instance.snackBarConfig=n,s.instance}_attach(e,n){let o=L(L(L({},new zl),this._defaultConfig),n),r=this._createOverlay(o),a=this._attachSnackBarContainer(r,o),s=new Jd(a,r);if(e instanceof bt){let c=new Dn(e,null,{$implicit:o.data,snackBarRef:s});s.instance=a.attachTemplatePortal(c)}else{let c=this._createInjector(o,s),p=new li(e,void 0,c),g=a.attachComponentPortal(p);s.instance=g.instance}return this._breakpointObserver.observe(xf.HandsetPortrait).pipe(Ee(r.detachments())).subscribe(c=>{r.overlayElement.classList.toggle(this.handsetCssClass,c.matches)}),o.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(o.announcementMessage,o.politeness)}),this._animateSnackBar(s,o),this._openedSnackBarRef=s,this._openedSnackBarRef}_animateSnackBar(e,n){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),n.announcementMessage&&this._live.clear()}),n.duration&&n.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(n.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter()}_createOverlay(e){let n=new di;n.direction=e.direction;let o=this._overlay.position().global(),r=e.direction==="rtl",a=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!r||e.horizontalPosition==="end"&&r,s=!a&&e.horizontalPosition!=="center";return a?o.left("0"):s?o.right("0"):o.centerHorizontally(),e.verticalPosition==="top"?o.top("0"):o.bottom("0"),n.positionStrategy=o,this._overlay.create(n)}_createInjector(e,n){let o=e&&e.viewContainerRef&&e.viewContainerRef.injector;return Me.create({parent:o||this._injector,providers:[{provide:Jd,useValue:n},{provide:Mk,useValue:e.data}]})}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Tk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[bC],imports:[Wn,Ei,ar,ue,Ik,ue]})}return t})();var z5=["mat-internal-form-field",""],U5=["*"],Df=(()=>{class t{labelPosition;static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(n,o){n&2&&te("mdc-form-field--align-end",o.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},attrs:z5,ngContentSelectors:U5,decls:1,vars:0,template:function(n,o){n&1&&(Pe(),re(0))},styles:[`.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0} -`],encapsulation:2,changeDetection:0})}return t})();var _a=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(i,e,n,o,r){this._defaultMatcher=i,this.ngControl=e,this._parentFormGroup=n,this._parentForm=o,this._stateChanges=r}updateErrorState(){let i=this.errorState,e=this._parentFormGroup||this._parentForm,n=this.matcher||this._defaultMatcher,o=this.ngControl?this.ngControl.control:null,r=n?.isErrorState(o,e)??!1;r!==i&&(this.errorState=r,this._stateChanges.next())}};var eu=new k("MAT_DATE_LOCALE",{providedIn:"root",factory:H5});function H5(){return m(Hc)}var Ul="Method not implemented",Vn=class{locale;_localeChanges=new B;localeChanges=this._localeChanges;setTime(i,e,n,o){throw new Error(Ul)}getHours(i){throw new Error(Ul)}getMinutes(i){throw new Error(Ul)}getSeconds(i){throw new Error(Ul)}parseTime(i,e){throw new Error(Ul)}addSeconds(i,e){throw new Error(Ul)}getValidDateOrNull(i){return this.isDateInstance(i)&&this.isValid(i)?i:null}deserialize(i){return i==null||this.isDateInstance(i)&&this.isValid(i)?i:this.invalid()}setLocale(i){this.locale=i,this._localeChanges.next()}compareDate(i,e){return this.getYear(i)-this.getYear(e)||this.getMonth(i)-this.getMonth(e)||this.getDate(i)-this.getDate(e)}compareTime(i,e){return this.getHours(i)-this.getHours(e)||this.getMinutes(i)-this.getMinutes(e)||this.getSeconds(i)-this.getSeconds(e)}sameDate(i,e){if(i&&e){let n=this.isValid(i),o=this.isValid(e);return n&&o?!this.compareDate(i,e):n==o}return i==e}sameTime(i,e){if(i&&e){let n=this.isValid(i),o=this.isValid(e);return n&&o?!this.compareTime(i,e):n==o}return i==e}clampDate(i,e,n){return e&&this.compareDate(i,e)<0?e:n&&this.compareDate(i,n)>0?n:i}},va=new k("mat-date-formats");var vs=(()=>{class t{isErrorState(e,n){return!!(e&&e.invalid&&(e.touched||n&&n.submitted))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Sf=(()=>{class t{_animationMode=m(et,{optional:!0});state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(n,o){n&2&&te("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(n,o){},styles:[`.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px} -`],encapsulation:2,changeDetection:0})}return t})();var W5=["text"],G5=[[["mat-icon"]],"*"],$5=["mat-icon","*"];function q5(t,i){if(t&1&&M(0,"mat-pseudo-checkbox",1),t&2){let e=_();h("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function Y5(t,i){if(t&1&&M(0,"mat-pseudo-checkbox",3),t&2){let e=_();h("disabled",e.disabled)}}function Q5(t,i){if(t&1&&(l(0,"span",4),f(1),d()),t&2){let e=_();u(),P("(",e.group.label,")")}}var Wl=new k("MAT_OPTION_PARENT_COMPONENT"),Gl=new k("MatOptgroup");var Hl=class{source;isUserInput;constructor(i,e=!1){this.source=i,this.isUserInput=e}},Qe=(()=>{class t{_element=m(K);_changeDetectorRef=m(De);_parent=m(Wl,{optional:!0});group=m(Gl,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_disabled=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=m(mt).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=e}get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new T;_text;_stateChanges=new B;constructor(){let e=m(wt);e.load(yn),e.load(no),this._signalDisableRipple=!!this._parent&&Xr(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,n){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(n)}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)&&!Mt(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new Hl(this,e))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-option"]],viewQuery:function(n,o){if(n&1&&se(W5,7),n&2){let r;q(r=Y())&&(o._text=r.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(n,o){n&1&&b("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),n&2&&(xn("id",o.id),ee("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),te("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",G]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:$5,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(n,o){n&1&&(Pe(G5),x(0,q5,1,2,"mat-pseudo-checkbox",1),re(1),l(2,"span",2,0),re(4,1),d(),x(5,Y5,1,1,"mat-pseudo-checkbox",3)(6,Q5,2,1,"span",4),M(7,"div",5)),n&2&&(we(o.multiple?0:-1),u(5),we(!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),u(),we(o.group&&o.group._inert?6:-1),u(),h("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[Sf,ji],styles:[`.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""} -`],encapsulation:2,changeDetection:0})}return t})();function tu(t,i,e){if(e.length){let n=i.toArray(),o=e.toArray(),r=0;for(let a=0;ae+n?Math.max(0,t-n+i):e}var kk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[ue]})}return t})();var $l=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[rr,ue,kk]})}return t})();var Z5=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,X5=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function yC(t,i){let e=Array(t);for(let n=0;n{class t extends Vn{useUtcForDisplay=!1;_matDateLocale=m(eu,{optional:!0});constructor(){super();let e=m(eu,{optional:!0});e!==void 0&&(this._matDateLocale=e),super.setLocale(this._matDateLocale)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){let n=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return yC(12,o=>this._format(n,new Date(2017,o,1)))}getDateNames(){let e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return yC(31,n=>this._format(e,new Date(2017,0,n+1)))}getDayOfWeekNames(e){let n=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return yC(7,o=>this._format(n,new Date(2017,0,o+1)))}getYearName(e){let n=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(n,e)}getFirstDayOfWeek(){if(typeof Intl<"u"&&Intl.Locale){let e=new Intl.Locale(this.locale),n=(e.getWeekInfo?.()||e.weekInfo)?.firstDay??0;return n===7?0:n}return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,n,o){let r=this._createDateWithOverflow(e,n,o);return r.getMonth()!=n,r}today(){return new Date}parse(e,n){return typeof e=="number"?new Date(e):e?new Date(Date.parse(e)):null}format(e,n){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");let o=new Intl.DateTimeFormat(this.locale,qe(L({},n),{timeZone:"utc"}));return this._format(o,e)}addCalendarYears(e,n){return this.addCalendarMonths(e,n*12)}addCalendarMonths(e,n){let o=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+n,this.getDate(e));return this.getMonth(o)!=((this.getMonth(e)+n)%12+12)%12&&(o=this._createDateWithOverflow(this.getYear(o),this.getMonth(o),0)),o}addCalendarDays(e,n){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+n)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if(typeof e=="string"){if(!e)return null;if(Z5.test(e)){let n=new Date(e);if(this.isValid(n))return n}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}setTime(e,n,o,r){let a=this.clone(e);return a.setHours(n,o,r,0),a}getHours(e){return e.getHours()}getMinutes(e){return e.getMinutes()}getSeconds(e){return e.getSeconds()}parseTime(e,n){if(typeof e!="string")return e instanceof Date?new Date(e.getTime()):null;let o=e.trim();if(o.length===0)return null;let r=this._parseTimeString(o);if(r===null){let a=o.replace(/[^0-9:(AM|PM)]/gi,"").trim();a.length>0&&(r=this._parseTimeString(a))}return r||this.invalid()}addSeconds(e,n){return new Date(e.getTime()+n*1e3)}_createDateWithOverflow(e,n,o){let r=new Date;return r.setFullYear(e,n,o),r.setHours(0,0,0,0),r}_2digit(e){return("00"+e).slice(-2)}_format(e,n){let o=new Date;return o.setUTCFullYear(n.getFullYear(),n.getMonth(),n.getDate()),o.setUTCHours(n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()),e.format(o)}_parseTimeString(e){let n=e.toUpperCase().match(X5);if(n){let o=parseInt(n[1]),r=parseInt(n[2]),a=n[3]==null?void 0:parseInt(n[3]),s=n[4];if(o===12?o=s==="AM"?0:o:s==="PM"&&(o+=12),CC(o,0,23)&&CC(r,0,59)&&(a==null||CC(a,0,59)))return this.setTime(this.today(),o,r,a||0)}return null}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})();function CC(t,i,e){return!isNaN(t)&&t>=i&&t<=e}var e8={parse:{dateInput:null,timeInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},timeInput:{hour:"numeric",minute:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"},timeOptionLabel:{hour:"numeric",minute:"numeric"}}};var Ak=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[t8()]})}return t})();function t8(t=e8){return[{provide:Vn,useClass:J5},{provide:va,useValue:t}]}var Rk="dark-theme",Ok="light-theme",z=(()=>{class t{constructor(e,n,o,r,a,s){this.http=e,this.router=n,this.dialog=o,this.snackbar=r,this.sanitizer=a,this.dateAdapter=s,this.user=new xh(udsData.profile),this.navigation=new En(this.router),this.gui=new yf(this.dialog,this.snackbar),this.dateAdapter.setLocale(this.config.language)}get config(){return udsData.config}get csrfField(){return csrf.csrfField}get csrfToken(){return csrf.csrfToken}get notices(){return udsData.errors}restPath(e){return this.config.urls.rest+e}staticURL(e){return Cf.production?this.config.urls.static+e:"/static/"+e}logout(){window.location.href=this.config.urls.logout}gotoUser(){window.location.href=this.config.urls.user}putOnStorage(e,n){typeof Storage!==void 0&&localStorage.setItem(e,n)}getFromStorage(e){return typeof Storage!==void 0?localStorage.getItem(e):null}safeString(e){return this.sanitizer.bypassSecurityTrustHtml(e)}boolAsHumanString(e){return e?django.gettext("yes"):django.gettext("no")}switchTheme(e){let n=document.getElementsByTagName("html")[0];[Rk,Ok].forEach(o=>{n.classList.contains(o)&&n.classList.remove(o)}),n.classList.add(e?Rk:Ok)}static{this.\u0275fac=function(n){return new(n||t)(oe(ul),oe(Eo),oe(Fl),oe(bC),oe(Ja),oe(Vn))}}static{this.\u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Pk=(()=>{class t{constructor(e){this.api=e}canActivate(e,n){return this.api.user.isStaff?!0:(window.location.href=this.api.config.urls.user,!1)}static{this.\u0275fac=function(n){return new(n||t)(oe(z))}}static{this.\u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var ql=3e4,Or=(function(t){return t[t.NONE=0]="NONE",t[t.READ=32]="READ",t[t.MANAGEMENT=64]="MANAGEMENT",t[t.ALL=96]="ALL",t})(Or||{}),hn=class{constructor(i,e,n){this.api=i,n===void 0&&(n={}),n.base===void 0&&(n.base=e);let o=(r,a)=>r===void 0?a:r;this.id=e,this.paths={base:n.base,get:o(n.get,n.base),log:o(n.log,n.base),put:o(n.put,n.base),test:o(n.test,n.base+"/test"),delete:o(n.delete,n.base),types:o(n.types,n.base+"/types"),gui:o(n.gui,n.base+"/gui"),tableInfo:o(n.tableInfo,n.base+"/tableinfo")},this.headers=new Jo().set("Content-Type","application/json; charset=utf8").set(this.api.config.auth_header,this.api.config.auth_token)}get(i){return this.typedGet(i)}getLogs(i){return this.doGet(this.getPath(this.paths.log,i)+"/log")}overview(i){return this.typedGet("overview"+(i!==void 0?"?filter="+i:""))}summary(i){return this.typedGet("overview?summarize"+(i!==void 0?"&filter="+i:""))}put(i,e){return this.typedPut(i,e)}create(i){return this.typedPut(i)}save(i,e){return e=e!==void 0?e:i.id,this.typedPut(i,e)}test(i,e){return or(this.api.http.post(this.getPath(this.paths.test,i),e,{headers:this.headers}).pipe(Fn(n=>this.handleError(n))),ql)}delete(i){return or(this.api.http.delete(this.getPath(this.paths.delete,i),{headers:this.headers}).pipe(Fn(e=>this.handleError(e))),ql)}permision(){return this.api.user.isAdmin?Or.ALL:Or.NONE}getPermissions(i){return this.doGet(this.getPath("permissions/"+this.paths.base+"/"+i))}addPermission(i,e,n,o){let r=this.getPath("permissions/"+this.paths.base+"/"+i+"/"+e+"/add/"+n),a={perm:o};return or(this.api.http.put(r,a,{headers:this.headers}).pipe(Fn(s=>this.handleError(s))),ql)}revokePermission(i){let e=this.getPath("permissions/revoke"),n={items:i};return or(this.api.http.put(e,n,{headers:this.headers}).pipe(Fn(o=>this.handleError(o))),ql)}types(){return this.doGet(this.getPath(this.paths.types))}gui(i){let e=this.getPath(this.paths.gui+(i!==void 0?"/"+i:""));return this.doGet(e)}callback(i,e){let n=this.getPath("gui/callback/"+i+"?"+e);return this.doGet(n)}tableInfo(){return this.doGet(this.getPath(this.paths.tableInfo))}detail(i,e){return new wC(this,i,e)}invoke(i,e){let n=i+(e?"?"+e:"");return this.typedGet(n)}getPath(i,e){if(i===void 0)throw new Error("Path is undefined");return this.api.restPath(i+(e!==void 0?"/"+e:""))}doGet(i){return or(this.api.http.get(i,{headers:this.headers}).pipe(Fn(e=>this.handleError(e))),ql)}typedGet(i){return this.doGet(this.getPath(this.paths.get,i))}typedPut(i,e){return or(this.api.http.put(this.getPath(this.paths.put,e),i,{headers:this.headers}).pipe(Fn(n=>this.handleError(n,!0))),ql)}handleError(i,e=!1){let n="";return i.error instanceof ErrorEvent?n=i.error.message:e?n=django.gettext("Error saving: ")+i.error:n=`Error ${i.status}: ${i.error}`,this.api.gui.alert(e?django.gettext("Error saving element"):django.gettext("Error handling your request"),n),Lo(()=>new Error(n))}},wC=class extends hn{constructor(i,e,n,o){super(i.api,[i.paths.base,e,n].join("/")),this.parentModel=i,this.parentId=e,this.model=n,this.perm=o}permision(){return this.perm||Or.ALL}},Ef=class extends hn{constructor(i){super(i,"providers"),this.api=i}allServices(){return this.get("allservices")}service(i){return this.get("service/"+i)}maintenance(i){return this.get(i+"/maintenance")}},Mf=class extends hn{constructor(i){super(i,"authenticators"),this.api=i}search(i,e,n,o=12){return this.get(i+"/search?type="+encodeURIComponent(e)+"&term="+encodeURIComponent(n)+"&limit="+o)}},If=class extends hn{constructor(i){super(i,"osmanagers"),this.api=i}},Tf=class extends hn{constructor(i){super(i,"transports"),this.api=i}},kf=class extends hn{constructor(i){super(i,"networks"),this.api=i}},Af=class extends hn{constructor(i){super(i,"tunnels/tunnels"),this.api=i}maintenance(i){return this.get(i+"/maintenance")}tunnels(i){return this.get(i+"/tunnels")}assign(i,e){return this.get(i+"/assign/"+e)}},Rf=class extends hn{constructor(i){super(i,"servers/groups"),this.api=i}maintenance(i){return this.get(i+"/maintenance")}},Of=class extends hn{constructor(i){super(i,"servicespools"),this.api=i}setFallbackAccess(i,e){return this.get(i+"/setFallbackAccess?fallbackAccess="+e)}getFallbackAccess(i){return this.get(i+"/getFallbackAccess")}actionsList(i){return this.get(i+"/actionsList")}listAssignables(i){return this.get(i+"/listAssignables")}createFromAssignable(i,e,n){return this.get(i+"/createFromAssignable?user_id="+encodeURIComponent(e)+"&assignable_id="+encodeURIComponent(n))}},Pf=class extends hn{constructor(i){super(i,"metapools"),this.api=i}setFallbackAccess(i,e){return this.get(i+"/setFallbackAccess?fallbackAccess="+e)}getFallbackAccess(i){return this.get(i+"/getFallbackAccess")}},Ff=class extends hn{constructor(i){super(i,"config"),this.api=i}},Nf=class extends hn{constructor(i){super(i,"gallery/images"),this.api=i}},Lf=class extends hn{constructor(i){super(i,"gallery/servicespoolgroups"),this.api=i}},Vf=class extends hn{constructor(i){super(i,"system"),this.api=i}information(){return this.get("overview")}stats(i,e){let n="stats/"+i;return e&&(n+="/"+e),this.get(n)}flushCache(){return this.doGet(this.getPath("cache","flush"))}},Bf=class extends hn{constructor(i){super(i,"reports"),this.api=i}types(){return or(ie([]))}},jf=class extends hn{constructor(i){super(i,"calendars"),this.api=i}},zf=class extends hn{constructor(i){super(i,"accounts"),this.api=i}timemark(i){return this.get(i+"/timemark")}},Uf=class extends hn{constructor(i){super(i,"actortokens"),this.api=i}},Hf=class extends hn{constructor(i){super(i,"servers/tokens"),this.api=i}},Wf=class extends hn{constructor(i){super(i,"mfa"),this.api=i}},Gf=class extends hn{constructor(i){super(i,"messaging/notifiers"),this.api=i}};var J=(()=>{class t{constructor(e){this.api=e,this.providers=new Ef(e),this.serverGroups=new Rf(e),this.authenticators=new Mf(e),this.mfas=new Wf(e),this.osManagers=new If(e),this.transports=new Tf(e),this.networks=new kf(e),this.tunnels=new Af(e),this.servicesPools=new Of(e),this.metaPools=new Pf(e),this.gallery=new Nf(e),this.servicesPoolGroups=new Lf(e),this.calendars=new jf(e),this.accounts=new zf(e),this.system=new Vf(e),this.configuration=new Ff(e),this.actorToken=new Uf(e),this.serversTokens=new Hf(e),this.reports=new Bf(e),this.notifiers=new Gf(e)}static{this.\u0275fac=function(n){return new(n||t)(oe(z))}}static{this.\u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var xC=class{constructor(){this.subject=new qi(1),this.subscriptions=new he}doFilter(i){this.subject.next(i)}dispose(){this.subscriptions.unsubscribe()}notEmpty(i,e){this.subscriptions.add(this.subject.subscribe(n=>{if(n[i]){let o=n[i].currentValue;o!=null&&e(o)}}))}has(i,e){this.subscriptions.add(this.subject.subscribe(n=>{if(n[i]){let o=n[i].currentValue;e(o)}}))}notFirst(i,e){this.subscriptions.add(this.subject.subscribe(n=>{if(n[i]&&!n[i].isFirstChange()){let o=n[i].currentValue;e(o)}}))}notFirstAndEmpty(i,e){this.subscriptions.add(this.subject.subscribe(n=>{if(n[i]&&!n[i].isFirstChange()){let o=n[i].currentValue;o!=null&&e(o)}}))}},Fk=new k("NGX_ECHARTS_CONFIG"),$f=(()=>{class t{constructor(e,n,o){this.el=n,this.ngZone=o,this.options=null,this.theme=null,this.initOpts=null,this.merge=null,this.autoResize=!0,this.loading=!1,this.loadingType="default",this.loadingOpts=null,this.chartInit=new T,this.optionsError=new T,this.chartClick=this.createLazyEvent("click"),this.chartDblClick=this.createLazyEvent("dblclick"),this.chartMouseDown=this.createLazyEvent("mousedown"),this.chartMouseMove=this.createLazyEvent("mousemove"),this.chartMouseUp=this.createLazyEvent("mouseup"),this.chartMouseOver=this.createLazyEvent("mouseover"),this.chartMouseOut=this.createLazyEvent("mouseout"),this.chartGlobalOut=this.createLazyEvent("globalout"),this.chartContextMenu=this.createLazyEvent("contextmenu"),this.chartHighlight=this.createLazyEvent("highlight"),this.chartDownplay=this.createLazyEvent("downplay"),this.chartSelectChanged=this.createLazyEvent("selectchanged"),this.chartLegendSelectChanged=this.createLazyEvent("legendselectchanged"),this.chartLegendSelected=this.createLazyEvent("legendselected"),this.chartLegendUnselected=this.createLazyEvent("legendunselected"),this.chartLegendLegendSelectAll=this.createLazyEvent("legendselectall"),this.chartLegendLegendInverseSelect=this.createLazyEvent("legendinverseselect"),this.chartLegendScroll=this.createLazyEvent("legendscroll"),this.chartDataZoom=this.createLazyEvent("datazoom"),this.chartDataRangeSelected=this.createLazyEvent("datarangeselected"),this.chartGraphRoam=this.createLazyEvent("graphroam"),this.chartGeoRoam=this.createLazyEvent("georoam"),this.chartTreeRoam=this.createLazyEvent("treeroam"),this.chartTimelineChanged=this.createLazyEvent("timelinechanged"),this.chartTimelinePlayChanged=this.createLazyEvent("timelineplaychanged"),this.chartRestore=this.createLazyEvent("restore"),this.chartDataViewChanged=this.createLazyEvent("dataviewchanged"),this.chartMagicTypeChanged=this.createLazyEvent("magictypechanged"),this.chartGeoSelectChanged=this.createLazyEvent("geoselectchanged"),this.chartGeoSelected=this.createLazyEvent("geoselected"),this.chartGeoUnselected=this.createLazyEvent("geounselected"),this.chartAxisAreaSelected=this.createLazyEvent("axisareaselected"),this.chartBrush=this.createLazyEvent("brush"),this.chartBrushEnd=this.createLazyEvent("brushend"),this.chartBrushSelected=this.createLazyEvent("brushselected"),this.chartGlobalCursorTaken=this.createLazyEvent("globalcursortaken"),this.chartRendered=this.createLazyEvent("rendered"),this.chartFinished=this.createLazyEvent("finished"),this.animationFrameID=null,this.chart$=new qi(1),this.resize$=new B,this.changeFilter=new xC,this.resizeObFired=!1,this.echarts=e.echarts,this.theme=e.theme||null}ngOnChanges(e){this.changeFilter.doFilter(e)}ngOnInit(){if(!window.ResizeObserver)throw new Error("please install a polyfill for ResizeObserver");this.resizeSub=this.resize$.pipe(W_(100,Yn,{leading:!1,trailing:!0})).subscribe(()=>this.resize()),this.autoResize&&(this.resizeOb=this.ngZone.runOutsideAngular(()=>new window.ResizeObserver(e=>{for(let n of e)n.target===this.el.nativeElement&&(this.resizeObFired?this.animationFrameID=window.requestAnimationFrame(()=>{this.resize$.next()}):this.resizeObFired=!0)})),this.resizeOb.observe(this.el.nativeElement)),this.changeFilter.notFirstAndEmpty("options",e=>this.onOptionsChange(e)),this.changeFilter.notFirstAndEmpty("merge",e=>this.setOption(e)),this.changeFilter.has("loading",e=>this.toggleLoading(!!e)),this.changeFilter.notFirst("theme",()=>this.refreshChart())}ngOnDestroy(){window.clearTimeout(this.initChartTimer),this.resizeSub&&this.resizeSub.unsubscribe(),this.animationFrameID&&window.cancelAnimationFrame(this.animationFrameID),this.resizeOb&&this.resizeOb.unobserve(this.el.nativeElement),this.loadingSub&&this.loadingSub.unsubscribe(),this.changeFilter.dispose(),this.dispose()}ngAfterViewInit(){this.initChartTimer=window.setTimeout(()=>this.initChart())}dispose(){this.chart&&(this.chart.isDisposed()||this.chart.dispose(),this.chart=null)}resize(){this.chart&&this.chart.resize()}toggleLoading(e){this.chart?e?this.chart.showLoading(this.loadingType,this.loadingOpts):this.chart.hideLoading():this.loadingSub=this.chart$.subscribe(n=>e?n.showLoading(this.loadingType,this.loadingOpts):n.hideLoading())}setOption(e,n){if(this.chart)try{this.chart.setOption(e,n)}catch(o){console.error(o),this.optionsError.emit(o)}}refreshChart(){return V(this,null,function*(){this.dispose(),yield this.initChart()})}createChart(){let e=this.el.nativeElement;if(window&&window.getComputedStyle){let n=window.getComputedStyle(e,null).getPropertyValue("height");(!n||n==="0px")&&(!e.style.height||e.style.height==="0px")&&(e.style.height="400px")}return this.ngZone.runOutsideAngular(()=>(typeof this.echarts=="function"?this.echarts:()=>Promise.resolve(this.echarts))().then(({init:o})=>o(e,this.theme,this.initOpts)))}initChart(){return V(this,null,function*(){yield this.onOptionsChange(this.options),this.merge&&this.chart&&this.setOption(this.merge)})}onOptionsChange(e){return V(this,null,function*(){e&&(this.chart?this.setOption(this.options,!0):(this.chart=yield this.createChart(),this.chart$.next(this.chart),this.chartInit.emit(this.chart),this.setOption(this.options,!0)))})}createLazyEvent(e){return this.chartInit.pipe(St(n=>new Le(o=>(n.on(e,r=>this.ngZone.run(()=>o.next(r))),()=>{this.chart&&(this.chart.isDisposed()||n.off(e))}))))}static{this.\u0275fac=function(n){return new(n||t)(w(Fk),w(K),w(ne))}}static{this.\u0275dir=N({type:t,selectors:[["echarts"],["","echarts",""]],inputs:{options:"options",theme:"theme",initOpts:"initOpts",merge:"merge",autoResize:"autoResize",loading:"loading",loadingType:"loadingType",loadingOpts:"loadingOpts"},outputs:{chartInit:"chartInit",optionsError:"optionsError",chartClick:"chartClick",chartDblClick:"chartDblClick",chartMouseDown:"chartMouseDown",chartMouseMove:"chartMouseMove",chartMouseUp:"chartMouseUp",chartMouseOver:"chartMouseOver",chartMouseOut:"chartMouseOut",chartGlobalOut:"chartGlobalOut",chartContextMenu:"chartContextMenu",chartHighlight:"chartHighlight",chartDownplay:"chartDownplay",chartSelectChanged:"chartSelectChanged",chartLegendSelectChanged:"chartLegendSelectChanged",chartLegendSelected:"chartLegendSelected",chartLegendUnselected:"chartLegendUnselected",chartLegendLegendSelectAll:"chartLegendLegendSelectAll",chartLegendLegendInverseSelect:"chartLegendLegendInverseSelect",chartLegendScroll:"chartLegendScroll",chartDataZoom:"chartDataZoom",chartDataRangeSelected:"chartDataRangeSelected",chartGraphRoam:"chartGraphRoam",chartGeoRoam:"chartGeoRoam",chartTreeRoam:"chartTreeRoam",chartTimelineChanged:"chartTimelineChanged",chartTimelinePlayChanged:"chartTimelinePlayChanged",chartRestore:"chartRestore",chartDataViewChanged:"chartDataViewChanged",chartMagicTypeChanged:"chartMagicTypeChanged",chartGeoSelectChanged:"chartGeoSelectChanged",chartGeoSelected:"chartGeoSelected",chartGeoUnselected:"chartGeoUnselected",chartAxisAreaSelected:"chartAxisAreaSelected",chartBrush:"chartBrush",chartBrushEnd:"chartBrushEnd",chartBrushSelected:"chartBrushSelected",chartGlobalCursorTaken:"chartGlobalCursorTaken",chartRendered:"chartRendered",chartFinished:"chartFinished"},exportAs:["echarts"],features:[He]})}}return t})();var i8=t=>({provide:Fk,useValue:t}),Nk=(()=>{class t{static forRoot(e){return{ngModule:t,providers:[i8(e)]}}static forChild(){return{ngModule:t}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=Z({})}}return t})();function o8(t,i){if(t&1&&(l(0,"div",21)(1,"div",11),M(2,"img",4),l(3,"div",12)(4,"ul")(5,"li"),f(6),l(7,"uds-translate"),f(8,"restrained services"),d()()()()(),l(9,"div",13)(10,"a",15)(11,"uds-translate"),f(12,"View service pools"),d()()()()),t&2){let e=_(2);u(2),h("src",e.api.staticURL("admin/img/icons/logs.png"),Ce),u(4),P("",e.data.restrained_services_pools," ")}}function r8(t,i){if(t&1){let e=A();l(0,"div")(1,"div",8)(2,"div",9)(3,"div",10)(4,"div",11),M(5,"img",4),l(6,"div",12)(7,"ul")(8,"li"),f(9),l(10,"uds-translate"),f(11,"total users"),d()(),l(12,"li"),f(13),l(14,"uds-translate"),f(15,"total groups"),d()(),l(16,"li"),f(17),l(18,"uds-translate"),f(19,"with services"),d()()()()(),l(20,"div",13)(21,"a",14)(22,"uds-translate"),f(23,"View authenticators"),d()()()(),l(24,"div",10)(25,"div",11),M(26,"img",4),l(27,"div",12)(28,"ul")(29,"li"),f(30),l(31,"uds-translate"),f(32,"total pools"),d()()()()(),l(33,"div",13)(34,"a",15)(35,"uds-translate"),f(36,"View service pools"),d()()()(),l(37,"div",10)(38,"div",11),M(39,"img",4),l(40,"div",12)(41,"ul")(42,"li"),f(43),l(44,"uds-translate"),f(45,"total services"),d()(),l(46,"li"),f(47),l(48,"uds-translate"),f(49,"assigned"),d()()()()(),l(50,"div",13)(51,"a",15)(52,"uds-translate"),f(53,"View service pools"),d()()()(),x(54,o8,13,2,"div",16),d(),l(55,"div",17)(56,"div",18)(57,"div",19)(58,"uds-translate"),f(59,"Assigned services chart"),d()(),l(60,"div",20),b("chartInit",function(o){y(e);let r=_();return C(r.chartInit("assigned",o))}),d()(),l(61,"div",18)(62,"div",19)(63,"uds-translate"),f(64,"In use services chart"),d()(),l(65,"div",20),b("chartInit",function(o){y(e);let r=_();return C(r.chartInit("inuse",o))}),d()()()()()}if(t&2){let e=_();u(5),h("src",e.api.staticURL("admin/img/icons/authenticators.png"),Ce),u(4),P("",e.data.users," "),u(4),P("",e.data.groups," "),u(4),P("",e.data.users_with_services," "),u(9),h("src",e.api.staticURL("admin/img/icons/pools.png"),Ce),u(4),P("",e.data.service_pools," "),u(9),h("src",e.api.staticURL("admin/img/icons/services.png"),Ce),u(4),P("",e.data.user_services," "),u(4),P("",e.data.assigned_user_services," "),u(7),h("ngIf",e.data.restrained_services_pools>0),u(6),h("options",e.assignedChartOpts),u(5),h("options",e.inuseChartOpts)}}function a8(t,i){t&1&&(l(0,"div",22)(1,"div",23)(2,"div",24)(3,"uds-translate"),f(4,"UDS Administration"),d()(),l(5,"div",25)(6,"p")(7,"uds-translate"),f(8,"You are accessing UDS Administration as staff member."),d()(),l(9,"p")(10,"uds-translate"),f(11,"This means that you have restricted access to elements."),d()(),l(12,"p")(13,"uds-translate"),f(14,"In order to increase your access privileges, please contact your local UDS administrator. "),d()(),M(15,"br"),l(16,"p")(17,"uds-translate"),f(18,"Thank you."),d()()()()())}var Vk=(()=>{class t{constructor(e,n){this.api=e,this.rest=n,this.data={},this.assignedChartInstance=null,this.assignedChartOpts={},this.inuseChartOpts={},this.inuseChartInstance=null}onResize(e){this.assignedChartInstance&&this.assignedChartInstance.resize(),this.inuseChartInstance&&this.inuseChartInstance.resize()}ngOnInit(){if(this.api.user.isAdmin){this.rest.system.information().then(e=>{this.data=e});for(let e of["assigned","inuse"])this.rest.system.stats(e).then(n=>{let o={tooltip:{trigger:"axis"},toolbox:{feature:{dataZoom:{yAxisIndex:"none"},restore:{},saveAsImage:{}}},xAxis:{type:"category",data:n.map(r=>Nn("SHORT_DATE_FORMAT",new Date(r.stamp))),boundaryGap:!1},yAxis:{type:"value"},series:[{name:e==="assigned"?django.gettext("Assigned services"):django.gettext("Services in use"),type:"line",smooth:!0,areaStyle:{},data:n.map(r=>r.value)}]};e==="assigned"?this.assignedChartOpts=o:this.inuseChartOpts=o})}}chartInit(e,n){e==="assigned"?this.assignedChartInstance=n:this.inuseChartInstance=n}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(J))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-summary"]],hostBindings:function(n,o){n&1&&b("resize",function(a){return o.onResize(a)},!1,hp)},standalone:!1,decls:11,vars:3,consts:[["noAdmin",""],[1,"card"],[1,"card-header"],[1,"card-title"],[3,"src"],[1,"card-subtitle"],[1,"card-content"],[4,"ngIf","ngIfElse"],[1,"admin"],[1,"information"],[1,"info-panel"],[1,"info-panel-data"],[1,"info-text"],[1,"info-panel-link"],["mat-button","","routerLink","/authenticators"],["mat-button","","routerLink","/pools/service-pools"],["class","info-panel info-danger",4,"ngIf"],[1,"statistics"],[1,"statistics-chart"],[1,"statistics-title"],["echarts","","theme","dark-digerati",3,"chartInit","options"],[1,"info-panel","info-danger"],[1,"staff-container"],[1,"staff","mat-elevation-z8"],[1,"staff-header"],[1,"staff-content"]],template:function(n,o){if(n&1&&(l(0,"div",1)(1,"div",2)(2,"div",3),M(3,"img",4),l(4,"uds-translate"),f(5,"Dashboard"),d()(),M(6,"div",5),d(),l(7,"div",6),x(8,r8,66,12,"div",7)(9,a8,19,0,"ng-template",null,0,mn),d()()),n&2){let r=ge(10);u(3),h("src",o.api.staticURL("admin/img/icons/dashboard-monitor.png"),Ce),u(5),h("ngIf",o.api.user.isAdmin)("ngIfElse",r)}},dependencies:[de,ln,ha,$f,ae],styles:[".mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}html[_ngcontent-%COMP%]{--mat-sys-on-surface: initial}.mat-app-background[_ngcontent-%COMP%]{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}.staff-container[_ngcontent-%COMP%]{margin-top:2rem;display:flex;justify-content:center}.staff[_ngcontent-%COMP%]{border:#337ab7;border-width:1px;border-style:solid}.staff-header[_ngcontent-%COMP%]{display:flex;justify-content:center;background-color:#337ab7;color:#fff;font-weight:700;padding:.5rem 1rem}.staff-content[_ngcontent-%COMP%]{padding:.5rem 1rem}.admin[_ngcontent-%COMP%]{display:flex;flex-direction:column}.information[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around;width:100%}.info-panel[_ngcontent-%COMP%]{border-color:#333;background-image:linear-gradient(135deg,#fdfcfb,#e2d1c3);box-shadow:#00000024 0 1px 4px;box-sizing:border-box;color:#333;display:flex;flex-direction:column;margin:2rem 1rem;width:100%}.info-danger[_ngcontent-%COMP%]{background-image:linear-gradient(to right,#f83600,#f9d423);color:#fff;font-weight:700;font-size:1.5em}.info-panel-data[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;padding:1rem}.info-panel-data[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-right:1rem;width:5rem}.info-text[_ngcontent-%COMP%]{width:100%;min-height:6.5rem;text-align:center;font-size:1.1rem}.info-text[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style-type:none;font-weight:700}.info-text[_ngcontent-%COMP%] uds-translate[_ngcontent-%COMP%]{font-weight:400}.info-panel-link[_ngcontent-%COMP%]{background:linear-gradient(60deg,#4b5266,#465d9c)}.info-panel-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%;color:#fff}.statistics[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around;width:100%}.statistics-title[_ngcontent-%COMP%]{background:linear-gradient(60deg,#4b5266,#465d9c);width:100%;color:#fff;padding:1rem 0rem;text-align:center}.statistics-chart[_ngcontent-%COMP%]{border-color:#333;box-shadow:#00000024 0 1px 4px;box-sizing:border-box;color:#333;display:flex;flex-direction:column;margin:2rem 1rem;width:100%;height:400px} .dark-theme .staff{border:#337ab7} .dark-theme .staff-header{color:#fff} .dark-theme .info-panel{border-color:lightned(#303030,60%);background-image:linear-gradient(135deg,#fdfcfb,#e2d1c3);box-shadow:#00000024 0 1px 4px;color:#b3b3b3} .dark-theme .info-danger{background-image:linear-gradient(to right,#f83600,#f9d423);color:#fff} .dark-theme .info-panel-link{background:#4682b4} .dark-theme .info-panel-link a{color:#fff} .dark-theme .statistics-title{color:#fff} .dark-theme .statistics-chart{border-color:#333;box-shadow:#00000024 0 1px 4px;color:#333}"]})}}return t})();var bs=class{applyChanges(i,e,n,o,r){i.forEachOperation((a,s,c)=>{let p,g;if(a.previousIndex==null){let v=n(a,s,c);p=e.createEmbeddedView(v.templateRef,v.context,v.index),g=da.INSERTED}else c==null?(e.remove(s),g=da.REMOVED):(p=e.get(s),e.move(p,c),g=da.MOVED);r&&r({context:p?.context,operation:g,record:a})})}detach(){}};var lr=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new B;constructor(i=!1,e,n=!0,o){this._multiple=i,this._emitChanges=n,this.compareWith=o,e&&e.length&&(i?e.forEach(r=>this._markSelected(r)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...i){this._verifyValueAssignment(i),i.forEach(n=>this._markSelected(n));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...i){this._verifyValueAssignment(i),i.forEach(n=>this._unmarkSelected(n));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...i){this._verifyValueAssignment(i);let e=this.selected,n=new Set(i.map(r=>this._getConcreteValue(r)));i.forEach(r=>this._markSelected(r)),e.filter(r=>!n.has(this._getConcreteValue(r,n))).forEach(r=>this._unmarkSelected(r));let o=this._hasQueuedChanges();return this._emitChangeEvent(),o}toggle(i){return this.isSelected(i)?this.deselect(i):this.select(i)}clear(i=!0){this._unmarkAll();let e=this._hasQueuedChanges();return i&&this._emitChangeEvent(),e}isSelected(i){return this._selection.has(this._getConcreteValue(i))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(i){this._multiple&&this.selected&&this._selected.sort(i)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(i){i=this._getConcreteValue(i),this.isSelected(i)||(this._multiple||this._unmarkAll(),this.isSelected(i)||this._selection.add(i),this._emitChanges&&this._selectedToEmit.push(i))}_unmarkSelected(i){i=this._getConcreteValue(i),this.isSelected(i)&&(this._selection.delete(i),this._emitChanges&&this._deselectedToEmit.push(i))}_unmarkAll(){this.isEmpty()||this._selection.forEach(i=>this._unmarkSelected(i))}_verifyValueAssignment(i){i.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(i,e){if(this.compareWith){e=e??this._selection;for(let n of e)if(this.compareWith(i,n))return n;return i}else return i}};var s8=["notch"],l8=["matFormFieldNotchedOutline",""],c8=["*"],d8=["textField"],u8=["iconPrefixContainer"],m8=["textPrefixContainer"],p8=["iconSuffixContainer"],h8=["textSuffixContainer"],f8=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],g8=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function _8(t,i){t&1&&M(0,"span",20)}function v8(t,i){if(t&1&&(l(0,"label",19),re(1,1),x(2,_8,1,0,"span",20),d()),t&2){let e=_(2);h("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),ee("for",e._control.disableAutomaticLabeling?null:e._control.id),u(2),we(!e.hideRequiredMarker&&e._control.required?2:-1)}}function b8(t,i){if(t&1&&x(0,v8,3,5,"label",19),t&2){let e=_();we(e._hasFloatingLabel()?0:-1)}}function y8(t,i){t&1&&M(0,"div",7)}function C8(t,i){}function w8(t,i){if(t&1&&x(0,C8,0,0,"ng-template",13),t&2){_(2);let e=ge(1);h("ngTemplateOutlet",e)}}function x8(t,i){if(t&1&&(l(0,"div",9),x(1,w8,1,1,null,13),d()),t&2){let e=_();h("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),u(),we(e._forceDisplayInfixLabel()?-1:1)}}function D8(t,i){t&1&&(l(0,"div",10,2),re(2,2),d())}function S8(t,i){t&1&&(l(0,"div",11,3),re(2,3),d())}function E8(t,i){}function M8(t,i){if(t&1&&x(0,E8,0,0,"ng-template",13),t&2){_();let e=ge(1);h("ngTemplateOutlet",e)}}function I8(t,i){t&1&&(l(0,"div",14,4),re(2,4),d())}function T8(t,i){t&1&&(l(0,"div",15,5),re(2,5),d())}function k8(t,i){t&1&&M(0,"div",16)}function A8(t,i){t&1&&re(0,6)}function R8(t,i){if(t&1&&(l(0,"mat-hint",21),f(1),d()),t&2){let e=_(2);h("id",e._hintLabelId),u(),Ve(e.hintLabel)}}function O8(t,i){if(t&1&&(x(0,R8,2,2,"mat-hint",21),re(1,7),M(2,"div",22),re(3,8)),t&2){let e=_();we(e.hintLabel?0:-1)}}var Te=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["mat-label"]]})}return t})(),$k=new k("MatError");var DC=(()=>{class t{align="start";id=m(mt).getId("mat-mdc-hint-");static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(n,o){n&2&&(xn("id",o.id),ee("align",null),te("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"}})}return t})(),qk=new k("MatPrefix");var SC=new k("MatSuffix"),Hi=(()=>{class t{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[_e([{provide:SC,useExisting:t}])]})}return t})(),Yk=new k("FloatingLabelParent"),jk=(()=>{class t{_elementRef=m(K);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=m(_f);_ngZone=m(ne);_parent=m(Yk);_resizeSubscription=new he;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return P8(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(n,o){n&2&&te("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return t})();function P8(t){let i=t;if(i.offsetParent!==null)return i.scrollWidth;let e=i.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let n=e.scrollWidth;return e.remove(),n}var zk="mdc-line-ripple--active",qf="mdc-line-ripple--deactivating",Uk=(()=>{class t{_elementRef=m(K);_cleanupTransitionEnd;constructor(){let e=m(ne),n=m(At);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=n.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(qf),e.add(zk)}deactivate(){this._elementRef.nativeElement.classList.add(qf)}_handleTransitionEnd=e=>{let n=this._elementRef.nativeElement.classList,o=n.contains(qf);e.propertyName==="opacity"&&o&&n.remove(zk,qf)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return t})(),Hk=(()=>{class t{_elementRef=m(K);_ngZone=m(ne);open=!1;_notch;constructor(){}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(n,o){if(n&1&&se(s8,5),n&2){let r;q(r=Y())&&(o._notch=r.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(n,o){n&2&&te("mdc-notched-outline--notched",o.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:l8,ngContentSelectors:c8,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(n,o){n&1&&(Pe(),M(0,"div",1),l(1,"div",2,0),re(3),d(),M(4,"div",3))},encapsulation:2,changeDetection:0})}return t})(),Pr=(()=>{class t{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t})}return t})();var lo=new k("MatFormField"),Yf=new k("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Wk="fill",F8="auto",Gk="fixed",N8="translateY(-50%)",me=(()=>{class t{_elementRef=m(K);_changeDetectorRef=m(De);_dir=m(Ft);_platform=m(Je);_idGenerator=m(mt);_ngZone=m(ne);_injector=m(Me);_defaults=m(Yf,{optional:!0});_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=cM(Te);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Bi(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||F8}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearance}set appearance(e){let n=this._appearance,o=e||this._defaults?.appearance||Wk;this._appearance=o,this._appearance==="outline"&&this._appearance!==n&&(this._needsOutlineLabelOffsetUpdate=!0)}_appearance=Wk;get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||Gk}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||Gk}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new B;_isFocused=null;_explicitFormFieldControl;_needsOutlineLabelOffsetUpdate=!1;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_animationsDisabled;constructor(){let e=this._defaults;e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),this._animationsDisabled=m(et,{optional:!0})==="NoopAnimations"}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=Zo(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let n=this._control,o="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(o+e.controlType),n.controlType&&this._elementRef.nativeElement.classList.add(o+n.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=n.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=n.stateChanges.pipe(Dt([void 0,void 0]),le(()=>[n.errorState,n.userAriaDescribedBy]),dm(),Ye(([[r,a],[s,c]])=>r!==s||a!==c)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),n.ngControl&&n.ngControl.valueChanges&&(this._valueChanges=n.ngControl.valueChanges.pipe(Ee(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),yt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),Ya(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(Ee(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=Zo(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let n=this._control?this._control.ngControl:null;return n&&n[e]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let n=this._hintChildren?this._hintChildren.find(r=>r.align==="start"):null,o=this._hintChildren?this._hintChildren.find(r=>r.align==="end"):null;n?e.push(n.id):this._hintLabel&&e.push(this._hintLabelId),o&&e.push(o.id)}else this._errorChildren&&e.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let n=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,r=this._iconSuffixContainer?.nativeElement,a=this._textSuffixContainer?.nativeElement,s=n?.getBoundingClientRect().width??0,c=o?.getBoundingClientRect().width??0,p=r?.getBoundingClientRect().width??0,g=a?.getBoundingClientRect().width??0,v=this._dir.value==="rtl"?"-1":"1",S=`${s+c}px`,I=`calc(${v} * (${S} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( - --mat-mdc-form-field-label-transform, - ${N8} translateX(${I}) - )`;let R=s+c+p+g;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${R}px)`)}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let n=e.getRootNode();return n&&n!==e}return document.documentElement.contains(e)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-form-field"]],contentQueries:function(n,o,r){if(n&1&&(RM(r,o._labelChild,Te,5),Ne(r,Pr,5),Ne(r,qk,5),Ne(r,SC,5),Ne(r,$k,5),Ne(r,DC,5)),n&2){OM();let a;q(a=Y())&&(o._formFieldControl=a.first),q(a=Y())&&(o._prefixChildren=a),q(a=Y())&&(o._suffixChildren=a),q(a=Y())&&(o._errorChildren=a),q(a=Y())&&(o._hintChildren=a)}},viewQuery:function(n,o){if(n&1&&(se(d8,5),se(u8,5),se(m8,5),se(p8,5),se(h8,5),se(jk,5),se(Hk,5),se(Uk,5)),n&2){let r;q(r=Y())&&(o._textField=r.first),q(r=Y())&&(o._iconPrefixContainer=r.first),q(r=Y())&&(o._textPrefixContainer=r.first),q(r=Y())&&(o._iconSuffixContainer=r.first),q(r=Y())&&(o._textSuffixContainer=r.first),q(r=Y())&&(o._floatingLabel=r.first),q(r=Y())&&(o._notchedOutline=r.first),q(r=Y())&&(o._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:40,hostBindings:function(n,o){n&2&&te("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[_e([{provide:lo,useExisting:t},{provide:Yk,useExisting:t}])],ngContentSelectors:g8,decls:20,vars:25,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["aria-atomic","true","aria-live","polite"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(n,o){if(n&1){let r=A();Pe(f8),x(0,b8,1,1,"ng-template",null,0,mn),l(2,"div",6,1),b("click",function(s){return y(r),C(o._control.onContainerClick(s))}),x(4,y8,1,0,"div",7),l(5,"div",8),x(6,x8,2,2,"div",9)(7,D8,3,0,"div",10)(8,S8,3,0,"div",11),l(9,"div",12),x(10,M8,1,1,null,13),re(11),d(),x(12,I8,3,0,"div",14)(13,T8,3,0,"div",15),d(),x(14,k8,1,0,"div",16),d(),l(15,"div",17),gy(16),l(17,"div",18),x(18,A8,1,0)(19,O8,4,1),d()()}if(n&2){let r;u(2),te("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),u(2),we(!o._hasOutline()&&!o._control.disabled?4:-1),u(2),we(o._hasOutline()?6:-1),u(),we(o._hasIconPrefix?7:-1),u(),we(o._hasTextPrefix?8:-1),u(2),we(!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),u(2),we(o._hasTextSuffix?12:-1),u(),we(o._hasIconSuffix?13:-1),u(),we(o._hasOutline()?-1:14),u(),te("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic");let a=o._getSubscriptMessageType();u(2),te("mat-mdc-form-field-error-wrapper",a==="error")("mat-mdc-form-field-hint-wrapper",a==="hint"),u(),we((r=a)==="error"?18:r==="hint"?19:-1)}},dependencies:[jk,Hk,Yc,Uk,DC],styles:[`.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-sys-outline));border-width:var(--mdc-outlined-text-field-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)} -`],encapsulation:2,changeDetection:0})}return t})();var ba=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[ue,Ih,ue]})}return t})();var L8=["trigger"],V8=["panel"],B8=[[["mat-select-trigger"]],"*"],j8=["mat-select-trigger","*"];function z8(t,i){if(t&1&&(l(0,"span",4),f(1),d()),t&2){let e=_();u(),Ve(e.placeholder)}}function U8(t,i){t&1&&re(0)}function H8(t,i){if(t&1&&(l(0,"span",11),f(1),d()),t&2){let e=_(2);u(),Ve(e.triggerValue)}}function W8(t,i){if(t&1&&(l(0,"span",5),x(1,U8,1,0)(2,H8,2,1,"span",11),d()),t&2){let e=_();u(),we(e.customTrigger?1:2)}}function G8(t,i){if(t&1){let e=A();l(0,"div",12,1),b("keydown",function(o){y(e);let r=_();return C(r._handleKeydown(o))}),re(2,1),d()}if(t&2){let e=_();TM("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),te("mat-select-panel-animations-enabled",!e._animationsDisabled),h("ngClass",e.panelClass),ee("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var EC=new k("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(Rt);return()=>t.scrollStrategies.reposition()}});function Qk(t){return()=>t.scrollStrategies.reposition()}var Kk=new k("MAT_SELECT_CONFIG"),Zk={provide:EC,deps:[Rt],useFactory:Qk},MC=new k("MatSelectTrigger"),Qf=class{source;value;constructor(i,e){this.source=i,this.value=e}},ht=(()=>{class t{_viewportRuler=m(Mi);_changeDetectorRef=m(De);_elementRef=m(K);_dir=m(Ft,{optional:!0});_idGenerator=m(mt);_renderer=m(At);_parentFormField=m(lo,{optional:!0});ngControl=m(Ii,{self:!0,optional:!0});_liveAnnouncer=m(Td);_defaultOptions=m(Kk,{optional:!0});_animationsDisabled=m(et,{optional:!0})==="NoopAnimations";_initialized=new B;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let n=this.options.toArray()[e];if(n){let o=this.panel.nativeElement,r=tu(e,this.options,this.optionGroups),a=n._getHostElement();e===0&&r===1?o.scrollTop=0:o.scrollTop=nu(a.offsetTop,a.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new Qf(this,e)}_scrollStrategyFactory=m(EC);_panelOpen=!1;_compareWith=(e,n)=>e===n;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new B;_errorStateTracker;stateChanges=new B;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;disableRipple=!1;tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(sr.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;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)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=Yi(()=>{let e=this.options;return e?e.changes.pipe(Dt(e),St(()=>yt(...e.map(n=>n.onSelectionChange)))):this._initialized.pipe(St(()=>this.optionSelectionChanges))});openedChange=new T;_openedStream=this.openedChange.pipe(Ye(e=>e),le(()=>{}));_closedStream=this.openedChange.pipe(Ye(e=>!e),le(()=>{}));selectionChange=new T;valueChange=new T;constructor(){let e=m(vs),n=m(so,{optional:!0}),o=m(ga,{optional:!0}),r=m(new jn("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new _a(e,this.ngControl,o,n,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=r==null?0:parseInt(r)||0,this.id=this.id}ngOnInit(){this._selectionModel=new lr(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(Ee(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(Ee(this._destroy)).subscribe(e=>{e.added.forEach(n=>n.select()),e.removed.forEach(n=>n.deselect())}),this.options.changes.pipe(Dt(null),Ee(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),n=this.ngControl;if(e!==this._triggerAriaLabelledBy){let o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?o.setAttribute("aria-labelledby",e):o.removeAttribute("aria-labelledby")}n&&(this._previousControl!==n.control&&(this._previousControl!==void 0&&n.disabled!==null&&n.disabled!==this.disabled&&(this.disabled=n.disabled),this._previousControl=n.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe(xt(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let n=`${this.id}-panel`;this._trackedModal&&ma(this._trackedModal,"aria-owns",n),Pl(e,"aria-owns",n),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;ma(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel){this._detachOverlay();return}this._cleanupDetach?.(),this._cleanupDetach=()=>{n(),clearTimeout(o),this._cleanupDetach=void 0};let e=this.panel.nativeElement,n=this._renderer.listen(e,"animationend",r=>{r.animationName==="_mat-select-exit"&&(this._cleanupDetach?.(),this._detachOverlay())}),o=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);e.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}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(n=>n.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let n=e.keyCode,o=n===40||n===38||n===37||n===39,r=n===13||n===32,a=this._keyManager;if(!a.isTyping()&&r&&!Mt(e)||(this.multiple||e.altKey)&&o)e.preventDefault(),this.open();else if(!this.multiple){let s=this.selected;a.onKeydown(e);let c=this.selected;c&&s!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(e){let n=this._keyManager,o=e.keyCode,r=o===40||o===38,a=n.isTyping();if(r&&e.altKey)e.preventDefault(),this.close();else if(!a&&(o===13||o===32)&&n.activeItem&&!Mt(e))e.preventDefault(),n.activeItem._selectViaInteraction();else if(!a&&this._multiple&&o===65&&e.ctrlKey){e.preventDefault();let s=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(s?c.select():c.deselect())})}else{let s=n.activeItemIndex;n.onKeydown(e),this._multiple&&r&&e.shiftKey&&n.activeItem&&n.activeItemIndex!==s&&n.activeItem._selectViaInteraction()}}_handleOverlayKeydown(e){e.keyCode===27&&!Mt(e)&&(e.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_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.options.forEach(n=>n.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(n=>this._selectOptionByValue(n)),this._sortValues();else{let n=this._selectOptionByValue(e);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let n=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return(o.value!=null||this.canSelectNullableOptions)&&this._compareWith(o.value,e)}catch{return!1}});return n&&this._selectionModel.select(n),n}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof kl?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new fs(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=yt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Ee(e)).subscribe(n=>{this._onSelect(n.source,n.isUserInput),n.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),yt(...this.options.map(n=>n._stateChanges)).pipe(Ee(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,n){let o=this._selectionModel.isSelected(e);!this.canSelectNullableOptions&&e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(o!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),n&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),n&&this.focus())),o!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((n,o)=>this.sortComparator?this.sortComparator(n,o,e):e.indexOf(n)-e.indexOf(o)),this.stateChanges.next()}}_propagateChanges(e){let n;this.multiple?n=this.selected.map(o=>o.value):n=this.selected?this.selected.value:e,this._value=n,this.valueChange.emit(n),this._onChange(n),this.selectionChange.emit(this._getChangeEvent(n)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let n=0;n0&&!!this._overlayDir}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,n=e?e+" ":"";return this.ariaLabelledby?n+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()||"";return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e||(e=this._valueId),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}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-select"]],contentQueries:function(n,o,r){if(n&1&&(Ne(r,MC,5),Ne(r,Qe,5),Ne(r,Gl,5)),n&2){let a;q(a=Y())&&(o.customTrigger=a.first),q(a=Y())&&(o.options=a),q(a=Y())&&(o.optionGroups=a)}},viewQuery:function(n,o){if(n&1&&(se(L8,5),se(V8,5),se(Bh,5)),n&2){let r;q(r=Y())&&(o.trigger=r.first),q(r=Y())&&(o.panel=r.first),q(r=Y())&&(o._overlayDir=r.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(n,o){n&1&&b("keydown",function(a){return o._handleKeydown(a)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),n&2&&(ee("id",o.id)("tabindex",o.disabled?-1:o.tabIndex)("aria-controls",o.panelOpen?o.id+"-panel":null)("aria-expanded",o.panelOpen)("aria-label",o.ariaLabel||null)("aria-required",o.required.toString())("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState)("aria-activedescendant",o._getAriaActiveDescendant()),te("mat-mdc-select-disabled",o.disabled)("mat-mdc-select-invalid",o.errorState)("mat-mdc-select-required",o.required)("mat-mdc-select-empty",o.empty)("mat-mdc-select-multiple",o.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",G],disableRipple:[2,"disableRipple","disableRipple",G],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Xt(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",G],placeholder:"placeholder",required:[2,"required","required",G],multiple:[2,"multiple","multiple",G],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",G],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",Xt],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",G]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[_e([{provide:Pr,useExisting:t},{provide:Wl,useExisting:t}]),He],ngContentSelectors:j8,decls:11,vars:9,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(n,o){if(n&1){let r=A();Pe(B8),l(0,"div",2,0),b("click",function(){return y(r),C(o.open())}),l(3,"div",3),x(4,z8,2,1,"span",4)(5,W8,3,1,"span",5),d(),l(6,"div",6)(7,"div",7),nn(),l(8,"svg",8),M(9,"path",9),d()()()(),x(10,G8,3,10,"ng-template",10),b("detach",function(){return y(r),C(o.close())})("backdropClick",function(){return y(r),C(o.close())})("overlayKeydown",function(s){return y(r),C(o._handleOverlayKeydown(s))})}if(n&2){let r=ge(1);u(3),ee("id",o._valueId),u(),we(o.empty?4:5),u(6),h("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||r)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[kl,Bh,si],styles:[`@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))} -`],encapsulation:2,changeDetection:0})}return t})(),iu=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["mat-select-trigger"]],features:[_e([{provide:MC,useExisting:t}])]})}return t})(),ou=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[Zk],imports:[Wn,$l,ue,Vi,ba,$l,ue]})}return t})();var $8=["tooltip"],IC=20;var TC=new k("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(Rt);return()=>t.scrollStrategies.reposition({scrollThrottle:IC})}});function eA(t){return()=>t.scrollStrategies.reposition({scrollThrottle:IC})}var tA={provide:TC,deps:[Rt],useFactory:eA};function nA(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var iA=new k("mat-tooltip-default-options",{providedIn:"root",factory:nA});var Xk="tooltip-panel",Jk=sa({passive:!0}),q8=8,Y8=8,Q8=24,K8=200,To=(()=>{class t{_elementRef=m(K);_ngZone=m(ne);_platform=m(Je);_ariaDescriber=m(Wh);_focusMonitor=m(Sn);_dir=m(Ft);_injector=m(Me);_viewContainerRef=m(Et);_defaultOptions=m(iA,{optional:!0});_overlayRef;_tooltipInstance;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=oA;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;_dirSubscribed=!1;get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=Bi(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let n=Bi(e);this._disabled!==n&&(this._disabled=n,n?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Mo(e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Mo(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(e){let n=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(n)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_touchstartTimeout=null;_destroyed=new B;_isDestroyed=!1;constructor(){let e=this._defaultOptions;e&&(this._showDelay=e.showDelay,this._hideDelay=e.hideDelay,e.position&&(this.position=e.position),e.positionAtOrigin&&(this.positionAtOrigin=e.positionAtOrigin),e.touchGestures&&(this.touchGestures=e.touchGestures),e.tooltipClass&&(this.tooltipClass=e.tooltipClass)),this._viewportMargin=q8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Ee(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([n,o])=>{e.removeEventListener(n,o,Jk)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,n){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let o=this._createOverlay(n);this._detach(),this._portal=this._portal||new li(this._tooltipComponent,this._viewContainerRef);let r=this._tooltipInstance=o.attach(this._portal).instance;r._triggerElement=this._elementRef.nativeElement,r._mouseLeaveHideDelay=this._hideDelay,r.afterHidden().pipe(Ee(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),r.show(e)}hide(e=this.hideDelay){let n=this._tooltipInstance;n&&(n.isVisible()?n.hide(e):(n._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let a=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&a._origin instanceof K)return this._overlayRef;this._detach()}let n=this._injector.get(Il).getAncestorScrollContainers(this._elementRef),o=this._injector.get(Rt),r=o.position().flexibleConnectedTo(this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(n);return r.positionChanges.pipe(Ee(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=o.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${Xk}`,scrollStrategy:this._injector.get(TC)()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Ee(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Ee(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(Ee(this._destroyed)).subscribe(a=>{this._isTooltipVisible()&&a.keyCode===27&&!Mt(a)&&(a.preventDefault(),a.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(Ee(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let n=e.getConfig().positionStrategy,o=this._getOrigin(),r=this._getOverlayPosition();n.withPositions([this._addOffset(L(L({},o.main),r.main)),this._addOffset(L(L({},o.fallback),r.fallback))])}_addOffset(e){let n=Y8,o=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-n:e.originY==="bottom"?e.offsetY=n:e.originX==="start"?e.offsetX=o?-n:n:e.originX==="end"&&(e.offsetX=o?n:-n),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",n=this.position,o;n=="above"||n=="below"?o={originX:"center",originY:n=="above"?"top":"bottom"}:n=="before"||n=="left"&&e||n=="right"&&!e?o={originX:"start",originY:"center"}:(n=="after"||n=="right"&&e||n=="left"&&!e)&&(o={originX:"end",originY:"center"});let{x:r,y:a}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:r,originY:a}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",n=this.position,o;n=="above"?o={overlayX:"center",overlayY:"bottom"}:n=="below"?o={overlayX:"center",overlayY:"top"}:n=="before"||n=="left"&&e||n=="right"&&!e?o={overlayX:"end",overlayY:"center"}:(n=="after"||n=="right"&&e||n=="left"&&!e)&&(o={overlayX:"start",overlayY:"center"});let{x:r,y:a}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:r,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),Wt(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,n){return this.position==="above"||this.position==="below"?n==="top"?n="bottom":n==="bottom"&&(n="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:n}}_updateCurrentPositionClass(e){let{overlayY:n,originX:o,originY:r}=e,a;if(n==="center"?this._dir&&this._dir.value==="rtl"?a=o==="end"?"left":"right":a=o==="start"?"left":"right":a=n==="bottom"&&r==="top"?"above":"below",a!==this._currentPosition){let s=this._overlayRef;if(s){let c=`${this._cssClassPrefix}-${Xk}-`;s.removePanelClass(c+this._currentPosition),s.addPanelClass(c+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let n;e.x!==void 0&&e.y!==void 0&&(n=e),this.show(void 0,n)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let n=e.targetTouches?.[0],o=n?{x:n.clientX,y:n.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let r=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,o)},this._defaultOptions?.touchLongPressShowDelay??r)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",n=>{let o=n.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",n=>this._wheelListener(n)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let n=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};e.push(["touchend",n],["touchcancel",n])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([n,o])=>{this._elementRef.nativeElement.addEventListener(n,o,Jk)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let n=this._injector.get(ce).elementFromPoint(e.clientX,e.clientY),o=this._elementRef.nativeElement;n!==o&&!o.contains(n)&&this.hide()}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let n=this._elementRef.nativeElement,o=n.style;(e==="on"||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA")&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),(e==="on"||!n.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._isDestroyed||Wt({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(n,o){n&2&&te("mat-mdc-tooltip-disabled",o.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return t})(),oA=(()=>{class t{_changeDetectorRef=m(De);_elementRef=m(K);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled;_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new B;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){let e=m(et,{optional:!0});this._animationsDisabled=e==="NoopAnimations"}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>Q8&&e.width>=K8}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let n=this._tooltip.nativeElement,o=this._showAnimation,r=this._hideAnimation;if(n.classList.remove(e?r:o),n.classList.add(e?o:r),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(n);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(n.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(n,o){if(n&1&&se($8,7),n&2){let r;q(r=Y())&&(o._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(n,o){n&1&&b("mouseleave",function(a){return o._handleMouseLeave(a)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(n,o){if(n&1){let r=A();l(0,"div",1,0),b("animationend",function(s){return y(r),C(o._handleAnimationEnd(s))}),l(2,"div",2),f(3),d()()}n&2&&(te("mdc-tooltip--multiline",o._isMultiline),h("ngClass",o.tooltipClass),u(3),Ve(o.message))},dependencies:[si],styles:[`.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel{line-height:normal}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards} -`],encapsulation:2,changeDetection:0})}return t})(),ys=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[tA],imports:[us,Wn,ue,ue,Vi]})}return t})();function Z8(t,i){if(t&1&&(l(0,"mat-option",17),f(1),d()),t&2){let e=i.$implicit;h("value",e),u(),P(" ",e," ")}}function X8(t,i){if(t&1){let e=A();l(0,"mat-form-field",14)(1,"mat-select",16,0),b("selectionChange",function(o){y(e);let r=_(2);return C(r._changePageSize(o.value))}),Mr(3,Z8,2,2,"mat-option",17,Uc),d(),l(5,"div",18),b("click",function(){y(e);let o=ge(2);return C(o.open())}),d()()}if(t&2){let e=_(2);h("appearance",e._formFieldAppearance)("color",e.color),u(),h("value",e.pageSize)("disabled",e.disabled)("aria-labelledby",e._pageSizeLabelId)("panelClass",e.selectConfig.panelClass||"")("disableOptionCentering",e.selectConfig.disableOptionCentering),u(2),Ir(e._displayedPageSizeOptions)}}function J8(t,i){if(t&1&&(l(0,"div",15),f(1),d()),t&2){let e=_(2);u(),Ve(e.pageSize)}}function e6(t,i){if(t&1&&(l(0,"div",3)(1,"div",13),f(2),d(),x(3,X8,6,7,"mat-form-field",14)(4,J8,2,1,"div",15),d()),t&2){let e=_();u(),ee("id",e._pageSizeLabelId),u(),P(" ",e._intl.itemsPerPageLabel," "),u(),we(e._displayedPageSizeOptions.length>1?3:-1),u(),we(e._displayedPageSizeOptions.length<=1?4:-1)}}function t6(t,i){if(t&1){let e=A();l(0,"button",19),b("click",function(){y(e);let o=_();return C(o._buttonClicked(0,o._previousButtonsDisabled()))}),nn(),l(1,"svg",8),M(2,"path",20),d()()}if(t&2){let e=_();h("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("disabled",e._previousButtonsDisabled())("tabindex",e._previousButtonsDisabled()?-1:null),ee("aria-label",e._intl.firstPageLabel)}}function n6(t,i){if(t&1){let e=A();l(0,"button",21),b("click",function(){y(e);let o=_();return C(o._buttonClicked(o.getNumberOfPages()-1,o._nextButtonsDisabled()))}),nn(),l(1,"svg",8),M(2,"path",22),d()()}if(t&2){let e=_();h("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("disabled",e._nextButtonsDisabled())("tabindex",e._nextButtonsDisabled()?-1:null),ee("aria-label",e._intl.lastPageLabel)}}var ya=(()=>{class t{changes=new B;itemsPerPageLabel="Items per page:";nextPageLabel="Next page";previousPageLabel="Previous page";firstPageLabel="First page";lastPageLabel="Last page";getRangeLabel=(e,n,o)=>{if(o==0||n==0)return`0 of ${o}`;o=Math.max(o,0);let r=e*n,a=r{class t{_intl=m(ya);_changeDetectorRef=m(De);_formFieldAppearance;_pageSizeLabelId=m(mt).getId("mat-paginator-page-size-label-");_intlChanges;_isInitialized=!1;_initializedStream=new qi(1);color;get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(e||0,0),this._changeDetectorRef.markForCheck()}_pageIndex=0;get length(){return this._length}set length(e){this._length=e||0,this._changeDetectorRef.markForCheck()}_length=0;get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(e||0,0),this._updateDisplayedPageSizeOptions()}_pageSize;get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(n=>Xt(n,0)),this._updateDisplayedPageSizeOptions()}_pageSizeOptions=[];hidePageSize=!1;showFirstLastButtons=!1;selectConfig={};disabled=!1;page=new T;_displayedPageSizeOptions;initialized=this._initializedStream;constructor(){let e=this._intl,n=m(a6,{optional:!0});if(this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),n){let{pageSize:o,pageSizeOptions:r,hidePageSize:a,showFirstLastButtons:s}=n;o!=null&&(this._pageSize=o),r!=null&&(this._pageSizeOptions=r),a!=null&&(this.hidePageSize=a),s!=null&&(this.showFirstLastButtons=s)}this._formFieldAppearance=n?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){this.hasNextPage()&&this._navigate(this.pageIndex+1)}previousPage(){this.hasPreviousPage()&&this._navigate(this.pageIndex-1)}firstPage(){this.hasPreviousPage()&&this._navigate(0)}lastPage(){this.hasNextPage()&&this._navigate(this.getNumberOfPages()-1)}hasPreviousPage(){return this.pageIndex>=1&&this.pageSize!=0}hasNextPage(){let e=this.getNumberOfPages()-1;return this.pageIndexe-n),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}_navigate(e){let n=this.pageIndex;e!==n&&(this.pageIndex=e,this._emitPageEvent(n))}_buttonClicked(e,n){n||this._navigate(e)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",Xt],length:[2,"length","length",Xt],pageSize:[2,"pageSize","pageSize",Xt],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",G],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",G],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",G]},outputs:{page:"page"},exportAs:["matPaginator"],decls:14,vars:14,consts:[["selectRef",""],[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],["mat-icon-button","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],[1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],[1,"mat-mdc-paginator-touch-target",3,"click"],["mat-icon-button","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(n,o){n&1&&(l(0,"div",1)(1,"div",2),x(2,e6,5,4,"div",3),l(3,"div",4)(4,"div",5),f(5),d(),x(6,t6,3,5,"button",6),l(7,"button",7),b("click",function(){return o._buttonClicked(o.pageIndex-1,o._previousButtonsDisabled())}),nn(),l(8,"svg",8),M(9,"path",9),d()(),wr(),l(10,"button",10),b("click",function(){return o._buttonClicked(o.pageIndex+1,o._nextButtonsDisabled())}),nn(),l(11,"svg",8),M(12,"path",11),d()(),x(13,n6,3,5,"button",12),d()()()),n&2&&(u(2),we(o.hidePageSize?-1:2),u(3),P(" ",o._intl.getRangeLabel(o.pageIndex,o.pageSize,o.length)," "),u(),we(o.showFirstLastButtons?6:-1),u(),h("matTooltip",o._intl.previousPageLabel)("matTooltipDisabled",o._previousButtonsDisabled())("disabled",o._previousButtonsDisabled())("tabindex",o._previousButtonsDisabled()?-1:null),ee("aria-label",o._intl.previousPageLabel),u(3),h("matTooltip",o._intl.nextPageLabel)("matTooltipDisabled",o._nextButtonsDisabled())("disabled",o._nextButtonsDisabled())("tabindex",o._nextButtonsDisabled()?-1:null),ee("aria-label",o._intl.nextPageLabel),u(3),we(o.showFirstLastButtons?13:-1))},dependencies:[me,ht,Qe,Ln,To],styles:[`.mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color, var(--mat-sys-on-surface));background-color:var(--mat-paginator-container-background-color, var(--mat-sys-surface));font-family:var(--mat-paginator-container-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-paginator-container-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-paginator-container-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-paginator-container-text-weight, var(--mat-sys-body-small-weight));letter-spacing:var(--mat-paginator-container-text-tracking, var(--mat-sys-body-small-tracking));--mat-form-field-container-height:var(--mat-paginator-form-field-container-height, 40px);--mat-form-field-container-vertical-padding:var(--mat-paginator-form-field-container-vertical-padding, 8px)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size, var(--mat-sys-body-small-size))}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size, 56px)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}@media(forced-colors: active){.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon,.mat-mdc-paginator-icon{fill:currentColor}.mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}.mat-mdc-paginator-range-actions .mat-mdc-icon-button[aria-disabled]{color:GrayText}}.mat-mdc-paginator-touch-target{display:var(--mat-paginator-touch-target-display, block);position:absolute;top:50%;left:50%;width:84px;height:48px;background-color:rgba(0,0,0,0);transform:translate(-50%, -50%);cursor:pointer} -`],encapsulation:2,changeDetection:0})}return t})(),rA=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[o6],imports:[ar,ou,ys,Fr]})}return t})();var s6=["mat-sort-header",""],l6=["*"];function c6(t,i){t&1&&(l(0,"div",2),nn(),l(1,"svg",3),M(2,"path",4),d()())}var sA=new k("MAT_SORT_DEFAULT_OPTIONS"),Nr=(()=>{class t{_defaultOptions;_initializedStream=new qi(1);sortables=new Map;_stateChanges=new B;active;start="asc";get direction(){return this._direction}set direction(e){this._direction=e}_direction="";disableClear;disabled=!1;sortChange=new T;initialized=this._initializedStream;constructor(e){this._defaultOptions=e}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){if(!e)return"";let n=e?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear,o=d6(e.start||this.start,n),r=o.indexOf(this.direction)+1;return r>=o.length&&(r=0),o[r]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}static \u0275fac=function(n){return new(n||t)(w(sA,8))};static \u0275dir=N({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",G],disabled:[2,"matSortDisabled","disabled",G]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[He]})}return t})();function d6(t,i){let e=["asc","desc"];return t=="desc"&&e.reverse(),i||e.push(""),e}var Kf=(()=>{class t{changes=new B;static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function u6(t){return t||new Kf}var m6={provide:Kf,deps:[[new wo,new vr,Kf]],useFactory:u6},Zf=(()=>{class t{_intl=m(Kf);_sort=m(Nr,{optional:!0});_columnDef=m("MAT_SORT_HEADER_COLUMN_DEF",{optional:!0});_changeDetectorRef=m(De);_focusMonitor=m(Sn);_elementRef=m(K);_ariaDescriber=m(Wh,{optional:!0});_renderChanges;_animationModule=m(et,{optional:!0});_recentlyCleared=wi(null);_sortButton;id;arrowPosition="after";start;disabled=!1;get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}_sortActionDescription="Sort";disableClear;constructor(){m(wt).load(yn);let e=m(sA,{optional:!0});this._sort,e?.arrowPosition&&(this.arrowPosition=e?.arrowPosition)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._sort.register(this),this._renderChanges=yt(this._sort._stateChanges,this._sort.sortChange).subscribe(()=>this._changeDetectorRef.markForCheck()),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(()=>this._recentlyCleared.set(null))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._renderChanges?.unsubscribe(),this._sortButton&&this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription)}_toggleOnInteraction(){if(!this._isDisabled()){let e=this._isSorted(),n=this._sort.direction;this._sort.sort(this),this._recentlyCleared.set(e&&!this._isSorted()?n:null)}}_handleKeydown(e){(e.keyCode===32||e.keyCode===13)&&(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&(this._sort.direction==="asc"||this._sort.direction==="desc")}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?this._sort.direction=="asc"?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,e)),this._sortActionDescription=e}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(n,o){n&1&&b("click",function(){return o._toggleOnInteraction()})("keydown",function(a){return o._handleKeydown(a)})("mouseleave",function(){return o._recentlyCleared.set(null)}),n&2&&(ee("aria-sort",o._getAriaSortAttribute()),te("mat-sort-header-disabled",o._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",G],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",G]},exportAs:["matSortHeader"],attrs:s6,ngContentSelectors:l6,decls:4,vars:17,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],["viewBox","0 -960 960 960","focusable","false","aria-hidden","true"],["d","M440-240v-368L296-464l-56-56 240-240 240 240-56 56-144-144v368h-80Z"]],template:function(n,o){n&1&&(Pe(),l(0,"div",0)(1,"div",1),re(2),d(),x(3,c6,3,0,"div",2),d()),n&2&&(te("mat-sort-header-sorted",o._isSorted())("mat-sort-header-position-before",o.arrowPosition==="before")("mat-sort-header-descending",o._sort.direction==="desc")("mat-sort-header-ascending",o._sort.direction==="asc")("mat-sort-header-recently-cleared-ascending",o._recentlyCleared()==="asc")("mat-sort-header-recently-cleared-descending",o._recentlyCleared()==="desc")("mat-sort-header-animations-disabled",o._animationModule==="NoopAnimations"),ee("tabindex",o._isDisabled()?null:0)("role",o._isDisabled()?null:"button"),u(3),we(o._renderArrow()?3:-1))},styles:[`.mat-sort-header{cursor:pointer}.mat-sort-header-disabled{cursor:default}.mat-sort-header-container{display:flex;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}@keyframes _mat-sort-header-recently-cleared-ascending{from{transform:translateY(0);opacity:1}to{transform:translateY(-25%);opacity:0}}@keyframes _mat-sort-header-recently-cleared-descending{from{transform:translateY(0) rotate(180deg);opacity:1}to{transform:translateY(25%) rotate(180deg);opacity:0}}.mat-sort-header-arrow{height:12px;width:12px;position:relative;transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1),opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;overflow:visible;color:var(--mat-sort-arrow-color, var(--mat-sys-on-surface))}.mat-sort-header.cdk-keyboard-focused .mat-sort-header-arrow,.mat-sort-header.cdk-program-focused .mat-sort-header-arrow,.mat-sort-header:hover .mat-sort-header-arrow{opacity:.54}.mat-sort-header .mat-sort-header-sorted .mat-sort-header-arrow{opacity:1}.mat-sort-header-descending .mat-sort-header-arrow{transform:rotate(180deg)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transform:translateY(-25%)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-ascending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-recently-cleared-descending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-descending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-animations-disabled .mat-sort-header-arrow{transition-duration:0ms;animation-duration:0ms}.mat-sort-header-arrow svg{width:24px;height:24px;fill:currentColor;position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;transform:translateZ(0)}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0} -`],encapsulation:2,changeDetection:0})}return t})(),lA=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[m6],imports:[ue]})}return t})();var p6=[[["caption"]],[["colgroup"],["col"]],"*"],h6=["caption","colgroup, col","*"];function f6(t,i){t&1&&re(0,2)}function g6(t,i){t&1&&(l(0,"thead",0),vn(1,1),d(),l(2,"tbody",0),vn(3,2)(4,3),d(),l(5,"tfoot",0),vn(6,4),d())}function _6(t,i){t&1&&vn(0,1)(1,2)(2,3)(3,4)}var ko=new k("CDK_TABLE");var ig=(()=>{class t{template=m(bt);constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkCellDef",""]]})}return t})(),og=(()=>{class t{template=m(bt);constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkHeaderCellDef",""]]})}return t})(),mA=(()=>{class t{template=m(bt);constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkFooterCellDef",""]]})}return t})(),Yl=(()=>{class t{_table=m(ko,{optional:!0});_hasStickyChanged=!1;get name(){return this._name}set name(e){this._setNameInput(e)}_name;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}_stickyEnd=!1;cell;headerCell;footerCell;cssClassFriendlyName;_columnCssClassName;constructor(){}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(n,o,r){if(n&1&&(Ne(r,ig,5),Ne(r,og,5),Ne(r,mA,5)),n&2){let a;q(a=Y())&&(o.cell=a.first),q(a=Y())&&(o.headerCell=a.first),q(a=Y())&&(o.footerCell=a.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",G],stickyEnd:[2,"stickyEnd","stickyEnd",G]},features:[_e([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}])]})}return t})(),Jf=class{constructor(i,e){e.nativeElement.classList.add(...i._columnCssClassName)}},pA=(()=>{class t extends Jf{constructor(){super(m(Yl),m(K))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[pe]})}return t})();var hA=(()=>{class t extends Jf{constructor(){let e=m(Yl),n=m(K);super(e,n);let o=e._table?._getCellRole();o&&n.nativeElement.setAttribute("role",o)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[pe]})}return t})(),eg=class{tasks=[];endTasks=[]},tg=new k("_COALESCED_STYLE_SCHEDULER"),AC=(()=>{class t{_currentSchedule=null;_ngZone=m(ne);constructor(){}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new eg,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let e=this._currentSchedule;this._currentSchedule=new eg;for(let n of e.tasks)n();for(let n of e.endTasks)n()}this._currentSchedule=null})))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})();var RC=(()=>{class t{template=m(bt);_differs=m(Ko);columns;_columnsDiffer;constructor(){}ngOnChanges(e){if(!this._columnsDiffer){let n=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(n).create(),this._columnsDiffer.diff(n)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof ru?e.headerCell.template:this instanceof OC?e.footerCell.template:e.cell.template}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,features:[He]})}return t})(),ru=(()=>{class t extends RC{_table=m(ko,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(m(bt),m(Ko))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",G]},features:[pe,He]})}return t})(),OC=(()=>{class t extends RC{_table=m(ko,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(m(bt),m(Ko))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",G]},features:[pe,He]})}return t})(),rg=(()=>{class t extends RC{_table=m(ko,{optional:!0});when;constructor(){super(m(bt),m(Ko))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[pe]})}return t})(),Cs=(()=>{class t{_viewContainer=m(Et);cells;context;static mostRecentCellOutlet=null;constructor(){t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkCellOutlet",""]]})}return t})(),PC=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&vn(0,0)},dependencies:[Cs],encapsulation:2})}return t})();var FC=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&vn(0,0)},dependencies:[Cs],encapsulation:2})}return t})(),fA=(()=>{class t{templateRef=m(bt);_contentClassName="cdk-no-data-row";constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["ng-template","cdkNoDataRow",""]]})}return t})(),dA=["top","bottom","left","right"],kC=class{_isNativeHtmlTable;_stickCellCss;direction;_coalescedStyleScheduler;_isBrowser;_needsPositionStickyOnElement;_positionListener;_tableInjector;_elemSizeCache=new WeakMap;_resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(i=>this._updateCachedSizes(i)):null;_updatedStickyColumnsParamsToReplay=[];_stickyColumnsReplayTimeout=null;_cachedCellWidths=[];_borderCellCss;_destroyed=!1;constructor(i,e,n,o,r=!0,a=!0,s,c){this._isNativeHtmlTable=i,this._stickCellCss=e,this.direction=n,this._coalescedStyleScheduler=o,this._isBrowser=r,this._needsPositionStickyOnElement=a,this._positionListener=s,this._tableInjector=c,this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(i,e){(e.includes("left")||e.includes("right"))&&this._removeFromStickyColumnReplayQueue(i);let n=[];for(let o of i)o.nodeType===o.ELEMENT_NODE&&n.push(o,...Array.from(o.children));this._afterNextRender({write:()=>{for(let o of n)this._removeStickyStyle(o,e)}})}updateStickyColumns(i,e,n,o=!0,r=!0){if(!i.length||!this._isBrowser||!(e.some(Q=>Q)||n.some(Q=>Q))){this._positionListener?.stickyColumnsUpdated({sizes:[]}),this._positionListener?.stickyEndColumnsUpdated({sizes:[]});return}let a=i[0],s=a.children.length,c=this.direction==="rtl",p=c?"right":"left",g=c?"left":"right",v=e.lastIndexOf(!0),S=n.indexOf(!0),D,I,R;r&&this._updateStickyColumnReplayQueue({rows:[...i],stickyStartStates:[...e],stickyEndStates:[...n]}),this._afterNextRender({earlyRead:()=>{D=this._getCellWidths(a,o),I=this._getStickyStartColumnPositions(D,e),R=this._getStickyEndColumnPositions(D,n)},write:()=>{for(let Q of i)for(let j=0;j!!Q)&&(this._positionListener.stickyColumnsUpdated({sizes:v===-1?[]:D.slice(0,v+1).map((Q,j)=>e[j]?Q:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:S===-1?[]:D.slice(S).map((Q,j)=>n[j+S]?Q:null).reverse()}))}})}stickRows(i,e,n){if(!this._isBrowser)return;let o=n==="bottom"?i.slice().reverse():i,r=n==="bottom"?e.slice().reverse():e,a=[],s=[],c=[];this._afterNextRender({earlyRead:()=>{for(let p=0,g=0;p{let p=r.lastIndexOf(!0);for(let g=0;g{let n=i.querySelector("tfoot");n&&(e.some(o=>!o)?this._removeStickyStyle(n,["bottom"]):this._addStickyStyle(n,"bottom",0,!1))}})}destroy(){this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._resizeObserver?.disconnect(),this._destroyed=!0}_removeStickyStyle(i,e){if(!i.classList.contains(this._stickCellCss))return;for(let o of e)i.style[o]="",i.classList.remove(this._borderCellCss[o]);dA.some(o=>e.indexOf(o)===-1&&i.style[o])?i.style.zIndex=this._getCalculatedZIndex(i):(i.style.zIndex="",this._needsPositionStickyOnElement&&(i.style.position=""),i.classList.remove(this._stickCellCss))}_addStickyStyle(i,e,n,o){i.classList.add(this._stickCellCss),o&&i.classList.add(this._borderCellCss[e]),i.style[e]=`${n}px`,i.style.zIndex=this._getCalculatedZIndex(i),this._needsPositionStickyOnElement&&(i.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(i){let e={top:100,bottom:10,left:1,right:1},n=0;for(let o of dA)i.style[o]&&(n+=e[o]);return n?`${n}`:""}_getCellWidths(i,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;let n=[],o=i.children;for(let r=0;r0;r--)e[r]&&(n[r]=o,o+=i[r]);return n}_retrieveElementSize(i){let e=this._elemSizeCache.get(i);if(e)return e;let n=i.getBoundingClientRect(),o={width:n.width,height:n.height};return this._resizeObserver&&(this._elemSizeCache.set(i,o),this._resizeObserver.observe(i,{box:"border-box"})),o}_updateStickyColumnReplayQueue(i){this._removeFromStickyColumnReplayQueue(i.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(i)}_removeFromStickyColumnReplayQueue(i){let e=new Set(i);for(let n of this._updatedStickyColumnsParamsToReplay)n.rows=n.rows.filter(o=>!e.has(o));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(n=>!!n.rows.length)}_updateCachedSizes(i){let e=!1;for(let n of i){let o=n.borderBoxSize?.length?{width:n.borderBoxSize[0].inlineSize,height:n.borderBoxSize[0].blockSize}:{width:n.contentRect.width,height:n.contentRect.height};o.width!==this._elemSizeCache.get(n.target)?.width&&v6(n.target)&&(e=!0),this._elemSizeCache.set(n.target,o)}e&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(let n of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(n.rows,n.stickyStartStates,n.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null}},0))}_afterNextRender(i){this._tableInjector?Wt(i,{injector:this._tableInjector}):this._coalescedStyleScheduler.schedule(()=>{i.earlyRead?.(),i.write()})}};function v6(t){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(i=>t.classList.contains(i))}var ng=new k("CDK_SPL");var NC=(()=>{class t{viewContainer=m(Et);elementRef=m(K);constructor(){let e=m(ko);e._rowOutlet=this,e._outletAssigned()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","rowOutlet",""]]})}return t})(),LC=(()=>{class t{viewContainer=m(Et);elementRef=m(K);constructor(){let e=m(ko);e._headerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","headerRowOutlet",""]]})}return t})(),VC=(()=>{class t{viewContainer=m(Et);elementRef=m(K);constructor(){let e=m(ko);e._footerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","footerRowOutlet",""]]})}return t})(),BC=(()=>{class t{viewContainer=m(Et);elementRef=m(K);constructor(){let e=m(ko);e._noDataRowOutlet=this,e._outletAssigned()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","noDataRowOutlet",""]]})}return t})();var jC=(()=>{class t{_differs=m(Ko);_changeDetectorRef=m(De);_elementRef=m(K);_dir=m(Ft,{optional:!0});_platform=m(Je);_viewRepeater=m(Ml);_coalescedStyleScheduler=m(tg);_viewportRuler=m(Mi);_stickyPositioningListener=m(ng,{optional:!0,skipSelf:!0});_document=m(ce);_data;_onDestroy=new B;_renderRows;_renderChangeSubscription;_columnDefsByName=new Map;_rowDefs;_headerRowDefs;_footerRowDefs;_dataDiffer;_defaultRowDef;_customColumnDefs=new Set;_customRowDefs=new Set;_customHeaderRowDefs=new Set;_customFooterRowDefs=new Set;_customNoDataRow;_headerRowDefChanged=!0;_footerRowDefChanged=!0;_stickyColumnStylesNeedReset=!0;_forceRecalculateCellWidths=!0;_cachedRenderRowsMap=new Map;_isNativeHtmlTable;_stickyStyler;stickyCssClass="cdk-table-sticky";needsPositionStickyOnElement=!0;_isServer;_isShowingNoDataRow=!1;_hasAllOutlets=!1;_hasInitialized=!1;_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role");return e==="grid"||e==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}_cellRoleInternal=void 0;get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}_trackByFn;get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}_dataSource;get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}_multiTemplateDataRows=!1;get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}_fixedLayout=!1;contentChanged=new T;viewChange=new zt({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;_injector=m(Me);constructor(){m(new jn("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE",this._dataDiffer=this._differs.find([]).create((n,o)=>this.trackBy?this.trackBy(o.dataIndex,o.data):o)}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe(Ee(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){this._stickyStyler?.destroy(),[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Ad(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return}let n=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,n,(o,r,a)=>this._getEmbeddedViewArgs(o.item,a),o=>o.item.data,o=>{o.operation===da.INSERTED&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(o=>{let r=n.get(o.currentIndex);r.context.$implicit=o.item.data}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let o=uA(this._headerRowOutlet,"thead");o&&(o.style.display=e.length?"":"none")}let n=this._headerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,n,"top"),this._headerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let o=uA(this._footerRowOutlet,"tfoot");o&&(o.style.display=e.length?"":"none")}let n=this._footerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...n,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((r,a)=>{this._addStickyColumnStyles([r],this._headerRowDefs[a])}),this._rowDefs.forEach(r=>{let a=[];for(let s=0;s{this._addStickyColumnStyles([r],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(r=>r.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let n=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||n,this._forceRecalculateCellWidths=n,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let e=[],n=this._cachedRenderRowsMap;if(this._cachedRenderRowsMap=new Map,!this._data)return e;for(let o=0;o{let s=o&&o.has(a)?o.get(a):[];if(s.length){let c=s.shift();return c.dataIndex=n,c}else return{data:e,rowDef:a,dataIndex:n}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Xf(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(n=>{this._columnDefsByName.has(n.name),this._columnDefsByName.set(n.name,n)})}_cacheRowDefs(){this._headerRowDefs=Xf(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Xf(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Xf(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(n=>!n.when);!this.multiTemplateDataRows&&e.length>1,this._defaultRowDef=e[0]}_renderUpdatedColumns(){let e=(a,s)=>{let c=!!s.getColumnsDiff();return a||c},n=this._rowDefs.reduce(e,!1);n&&this._forceRenderDataRows();let o=this._headerRowDefs.reduce(e,!1);o&&this._forceRenderHeaderRows();let r=this._footerRowDefs.reduce(e,!1);return r&&this._forceRenderFooterRows(),n||o||r}_switchDataSource(e){this._data=[],Ad(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;Ad(this.dataSource)?e=this.dataSource.connect(this):Ns(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=ie(this.dataSource)),this._renderChangeSubscription=e.pipe(Ee(this._onDestroy)).subscribe(n=>{this._data=n||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,n)=>this._renderRow(this._headerRowOutlet,e,n)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,n)=>this._renderRow(this._footerRowOutlet,e,n)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,n){let o=Array.from(n?.columns||[]).map(s=>{let c=this._columnDefsByName.get(s);return c}),r=o.map(s=>s.sticky),a=o.map(s=>s.stickyEnd);this._stickyStyler.updateStickyColumns(e,r,a,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){let n=[];for(let o=0;o!r.when||r.when(n,e));else{let r=this._rowDefs.find(a=>a.when&&a.when(n,e))||this._defaultRowDef;r&&o.push(r)}return o.length,o}_getEmbeddedViewArgs(e,n){let o=e.rowDef,r={$implicit:e.data};return{templateRef:o.template,context:r,index:n}}_renderRow(e,n,o,r={}){let a=e.viewContainer.createEmbeddedView(n.template,r,o);return this._renderCellTemplateForItem(n,r),a}_renderCellTemplateForItem(e,n){for(let o of this._getCellTemplates(e))Cs.mostRecentCellOutlet&&Cs.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,n);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let n=0,o=e.length;n{let o=this._columnDefsByName.get(n);return e.extractCellTemplate(o)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let e=(n,o)=>n||o.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let e=this._dir?this._dir.value:"ltr";this._stickyStyler=new kC(this._isNativeHtmlTable,this.stickyCssClass,e,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener,this._injector),(this._dir?this._dir.change:ie()).pipe(Ee(this._onDestroy)).subscribe(n=>{this._stickyStyler.direction=n,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(n=>!n._table||n._table===this)}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let n=this._rowOutlet.viewContainer.length===0;if(n===this._isShowingNoDataRow)return;let o=this._noDataRowOutlet.viewContainer;if(n){let r=o.createEmbeddedView(e.templateRef),a=r.rootNodes[0];r.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE&&(a.setAttribute("role","row"),a.classList.add(e._contentClassName))}else o.clear();this._isShowingNoDataRow=n,this._changeDetectorRef.markForCheck()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(n,o,r){if(n&1&&(Ne(r,fA,5),Ne(r,Yl,5),Ne(r,rg,5),Ne(r,ru,5),Ne(r,OC,5)),n&2){let a;q(a=Y())&&(o._noDataRow=a.first),q(a=Y())&&(o._contentColumnDefs=a),q(a=Y())&&(o._contentRowDefs=a),q(a=Y())&&(o._contentHeaderRowDefs=a),q(a=Y())&&(o._contentFooterRowDefs=a)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(n,o){n&2&&te("cdk-table-fixed-layout",o.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",G],fixedLayout:[2,"fixedLayout","fixedLayout",G]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[_e([{provide:ko,useExisting:t},{provide:Ml,useClass:bs},{provide:tg,useClass:AC},{provide:ng,useValue:null}])],ngContentSelectors:h6,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,o){n&1&&(Pe(p6),re(0),re(1,1),x(2,f6,1,0)(3,g6,7,0)(4,_6,4,0)),n&2&&(u(2),we(o._isServer?2:-1),u(),we(o._isNativeHtmlTable?3:4))},dependencies:[LC,NC,BC,VC],styles:[`.cdk-table-fixed-layout{table-layout:fixed} -`],encapsulation:2})}return t})();function Xf(t,i){return t.concat(Array.from(i))}function uA(t,i){let e=i.toUpperCase(),n=t.viewContainer.element.nativeElement;for(;n;){let o=n.nodeType===1?n.nodeName:null;if(o===e)return n;if(o==="TABLE")break;n=n.parentNode}return null}var gA=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[Od]})}return t})();var b6=[[["caption"]],[["colgroup"],["col"]],"*"],y6=["caption","colgroup, col","*"];function C6(t,i){t&1&&re(0,2)}function w6(t,i){t&1&&(l(0,"thead",0),vn(1,1),d(),l(2,"tbody",2),vn(3,3)(4,4),d(),l(5,"tfoot",0),vn(6,5),d())}function x6(t,i){t&1&&vn(0,1)(1,3)(2,4)(3,5)}var ag=(()=>{class t extends jC{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=!1;static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275cmp=E({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(n,o){n&2&&te("mdc-table-fixed-layout",o.fixedLayout)},exportAs:["matTable"],features:[_e([{provide:jC,useExisting:t},{provide:ko,useExisting:t},{provide:tg,useClass:AC},{provide:Ml,useClass:bs},{provide:ng,useValue:null}]),pe],ngContentSelectors:y6,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,o){n&1&&(Pe(b6),re(0),re(1,1),x(2,C6,1,0)(3,w6,7,0)(4,x6,4,0)),n&2&&(u(2),we(o._isServer?2:-1),u(),we(o._isNativeHtmlTable?3:4))},dependencies:[LC,NC,BC,VC],styles:[`.mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:var(--mat-table-header-container-height, 56px)}mat-row{min-height:var(--mat-table-row-item-container-height, 52px)}mat-footer-row{min-height:var(--mat-table-footer-container-height, 52px)}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-sys-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mdc-data-table__row:last-child>.mat-mdc-header-cell{border-bottom:none}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child>.mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch} -`],encapsulation:2})}return t})(),sg=(()=>{class t extends ig{static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275dir=N({type:t,selectors:[["","matCellDef",""]],features:[_e([{provide:ig,useExisting:t}]),pe]})}return t})(),lg=(()=>{class t extends og{static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275dir=N({type:t,selectors:[["","matHeaderCellDef",""]],features:[_e([{provide:og,useExisting:t}]),pe]})}return t})();var cg=(()=>{class t extends Yl{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275dir=N({type:t,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[_e([{provide:Yl,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),pe]})}return t})(),dg=(()=>{class t extends pA{static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275dir=N({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[pe]})}return t})();var ug=(()=>{class t extends hA{static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275dir=N({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[pe]})}return t})();var mg=(()=>{class t extends ru{static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275dir=N({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",G]},features:[_e([{provide:ru,useExisting:t}]),pe]})}return t})();var pg=(()=>{class t extends rg{static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275dir=N({type:t,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[_e([{provide:rg,useExisting:t}]),pe]})}return t})(),hg=(()=>{class t extends PC{static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275cmp=E({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[_e([{provide:PC,useExisting:t}]),pe],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&vn(0,0)},dependencies:[Cs],encapsulation:2})}return t})();var fg=(()=>{class t extends FC{static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275cmp=E({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[_e([{provide:FC,useExisting:t}]),pe],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&vn(0,0)},dependencies:[Cs],encapsulation:2})}return t})();var _A=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[ue,gA,ue]})}return t})(),D6=9007199254740991,Ql=class extends kd{_data;_renderData=new zt([]);_filter=new zt("");_internalPageChanges=new B;_renderChangesSubscription=null;filteredData;get data(){return this._data.value}set data(i){i=Array.isArray(i)?i:[],this._data.next(i),this._renderChangesSubscription||this._filterData(i)}get filter(){return this._filter.value}set filter(i){this._filter.next(i),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(i){this._sort=i,this._updateChangeSubscription()}_sort;get paginator(){return this._paginator}set paginator(i){this._paginator=i,this._updateChangeSubscription()}_paginator;sortingDataAccessor=(i,e)=>{let n=i[e];if(Sh(n)){let o=Number(n);return o{let n=e.active,o=e.direction;return!n||o==""?i:i.sort((r,a)=>{let s=this.sortingDataAccessor(r,n),c=this.sortingDataAccessor(a,n),p=typeof s,g=typeof c;p!==g&&(p==="number"&&(s+=""),g==="number"&&(c+=""));let v=0;return s!=null&&c!=null?s>c?v=1:s{let n=e.trim().toLowerCase();return Object.values(i).some(o=>`${o}`.toLowerCase().includes(n))};constructor(i=[]){super(),this._data=new zt(i),this._updateChangeSubscription()}_updateChangeSubscription(){let i=this._sort?yt(this._sort.sortChange,this._sort.initialized):ie(null),e=this._paginator?yt(this._paginator.page,this._internalPageChanges,this._paginator.initialized):ie(null),n=this._data,o=Oi([n,this._filter]).pipe(le(([s])=>this._filterData(s))),r=Oi([o,i]).pipe(le(([s])=>this._orderData(s))),a=Oi([r,e]).pipe(le(([s])=>this._pageData(s)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=a.subscribe(s=>this._renderData.next(s))}_filterData(i){return this.filteredData=this.filter==null||this.filter===""?i:i.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(i){return this.sort?this.sortData(i.slice(),this.sort):i}_pageData(i){if(!this.paginator)return i;let e=this.paginator.pageIndex*this.paginator.pageSize;return i.slice(e,e+this.paginator.pageSize)}_updatePaginator(i){Promise.resolve().then(()=>{let e=this.paginator;if(e&&(e.length=i,e.pageIndex>0)){let n=Math.ceil(e.length/e.pageSize)-1||0,o=Math.min(e.pageIndex,n);o!==e.pageIndex&&(e.pageIndex=o,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}};var E6=["input"],M6=["label"],I6=["*"],T6=new k("mat-checkbox-default-options",{providedIn:"root",factory:yA});function yA(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var ti=(function(t){return t[t.Init=0]="Init",t[t.Checked=1]="Checked",t[t.Unchecked=2]="Unchecked",t[t.Indeterminate=3]="Indeterminate",t})(ti||{}),k6={provide:hi,useExisting:en(()=>gg),multi:!0},zC=class{source;checked},bA=yA(),gg=(()=>{class t{_elementRef=m(K);_changeDetectorRef=m(De);_ngZone=m(ne);_animationMode=m(et,{optional:!0});_options=m(T6,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let n=new zC;return n.source=this,n.checked=e,n}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required;labelPosition="after";name=null;change=new T;indeterminateChange=new T;value;disableRipple;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=ti.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){m(wt).load(yn);let e=m(new jn("tabindex"),{optional:!0});this._options=this._options||bA,this.color=this._options.color||bA.color,this.tabIndex=e==null?0:parseInt(e)||0,this.id=this._uniqueId=m(mt).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.disabledInteractive??!1}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}_checked=!1;get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate}set indeterminate(e){let n=e!=this._indeterminate;this._indeterminate=e,n&&(this._indeterminate?this._transitionCheckState(ti.Indeterminate):this._transitionCheckState(this.checked?ti.Checked:ti.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_indeterminate=!1;_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let n=this._currentCheckState,o=this._getAnimationTargetElement();if(!(n===e||!o)&&(this._currentAnimationClass&&o.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(n,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){o.classList.add(this._currentAnimationClass);let r=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{o.classList.remove(r)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?ti.Checked:ti.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&e==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,n){if(this._animationMode==="NoopAnimations")return"";switch(e){case ti.Init:if(n===ti.Checked)return this._animationClasses.uncheckedToChecked;if(n==ti.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case ti.Unchecked:return n===ti.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case ti.Checked:return n===ti.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case ti.Indeterminate:return n===ti.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let n=this._inputElement;n&&(n.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-checkbox"]],viewQuery:function(n,o){if(n&1&&(se(E6,5),se(M6,5)),n&2){let r;q(r=Y())&&(o._inputElement=r.first),q(r=Y())&&(o._labelElement=r.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(n,o){n&2&&(xn("id",o.id),ee("tabindex",null)("aria-label",null)("aria-labelledby",null),Vt(o.color?"mat-"+o.color:"mat-accent"),te("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mdc-checkbox--disabled",o.disabled)("mat-mdc-checkbox-disabled",o.disabled)("mat-mdc-checkbox-checked",o.checked)("mat-mdc-checkbox-disabled-interactive",o.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",G],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",G],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",G],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:Xt(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",G],checked:[2,"checked","checked",G],disabled:[2,"disabled","disabled",G],indeterminate:[2,"indeterminate","indeterminate",G]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[_e([k6,{provide:ao,useExisting:t,multi:!0}]),He],ngContentSelectors:I6,decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(n,o){if(n&1){let r=A();Pe(),l(0,"div",3),b("click",function(s){return y(r),C(o._preventBubblingFromLabel(s))}),l(1,"div",4,0)(3,"div",5),b("click",function(){return y(r),C(o._onTouchTargetClick())}),d(),l(4,"input",6,1),b("blur",function(){return y(r),C(o._onBlur())})("click",function(){return y(r),C(o._onInputClick())})("change",function(s){return y(r),C(o._onInteractionEvent(s))}),d(),M(6,"div",7),l(7,"div",8),nn(),l(8,"svg",9),M(9,"path",10),d(),wr(),M(10,"div",11),d(),M(11,"div",12),d(),l(12,"label",13,2),re(14),d()()}if(n&2){let r=ge(2);h("labelPosition",o.labelPosition),u(4),te("mdc-checkbox--selected",o.checked),h("checked",o.checked)("indeterminate",o.indeterminate)("disabled",o.disabled&&!o.disabledInteractive)("id",o.inputId)("required",o.required)("tabIndex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex),ee("aria-label",o.ariaLabel||null)("aria-labelledby",o.ariaLabelledby)("aria-describedby",o.ariaDescribedby)("aria-checked",o.indeterminate?"mixed":null)("aria-controls",o.ariaControls)("aria-disabled",o.disabled&&o.disabledInteractive?!0:null)("aria-expanded",o.ariaExpanded)("aria-owns",o.ariaOwns)("name",o.name)("value",o.value),u(7),h("matRippleTrigger",r)("matRippleDisabled",o.disableRipple||o.disabled)("matRippleCentered",!0),u(),h("for",o.inputId)}},dependencies:[ji,Df],styles:[`.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover>.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:hover>.mat-mdc-checkbox-ripple>.mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus+.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active>.mdc-checkbox__native-control+.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked+.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active>.mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control+.mdc-checkbox__ripple{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}@media(forced-colors: active){.mdc-checkbox--disabled{opacity:.5}}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mdc-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover>.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover>.mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-touch-target,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__native-control,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__ripple,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-ripple::before,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__mixedmark{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox .mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox .mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display, block)}.mat-mdc-checkbox .mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-focus-indicator::before{content:""} -`],encapsulation:2,changeDetection:0})}return t})();var _g=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[gg,ue,ue]})}return t})();var vg;function R6(){if(vg===void 0&&(vg=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(vg=t.trustedTypes.createPolicy("angular#components",{createHTML:i=>i}))}return vg}function au(t){return R6()?.createHTML(t)||t}function CA(t){return Error(`Unable to find icon with the name "${t}"`)}function O6(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function wA(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function xA(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}var Lr=class{url;svgText;options;svgElement;constructor(i,e,n){this.url=i,this.svgText=e,this.options=n}},SA=(()=>{class t{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,n,o,r){this._httpClient=e,this._sanitizer=n,this._errorHandler=r,this._document=o}addSvgIcon(e,n,o){return this.addSvgIconInNamespace("",e,n,o)}addSvgIconLiteral(e,n,o){return this.addSvgIconLiteralInNamespace("",e,n,o)}addSvgIconInNamespace(e,n,o,r){return this._addSvgIconConfig(e,n,new Lr(o,null,r))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,n,o,r){let a=this._sanitizer.sanitize(zn.HTML,o);if(!a)throw xA(o);let s=au(a);return this._addSvgIconConfig(e,n,new Lr("",s,r))}addSvgIconSet(e,n){return this.addSvgIconSetInNamespace("",e,n)}addSvgIconSetLiteral(e,n){return this.addSvgIconSetLiteralInNamespace("",e,n)}addSvgIconSetInNamespace(e,n,o){return this._addSvgIconSetConfig(e,new Lr(n,null,o))}addSvgIconSetLiteralInNamespace(e,n,o){let r=this._sanitizer.sanitize(zn.HTML,n);if(!r)throw xA(n);let a=au(r);return this._addSvgIconSetConfig(e,new Lr("",a,o))}registerFontClassAlias(e,n=e){return this._fontCssClassesByAlias.set(e,n),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let n=this._sanitizer.sanitize(zn.RESOURCE_URL,e);if(!n)throw wA(e);let o=this._cachedIconsByUrl.get(n);return o?ie(bg(o)):this._loadSvgIconFromConfig(new Lr(e,null)).pipe(Ht(r=>this._cachedIconsByUrl.set(n,r)),le(r=>bg(r)))}getNamedSvgIcon(e,n=""){let o=DA(n,e),r=this._svgIconConfigs.get(o);if(r)return this._getSvgFromConfig(r);if(r=this._getIconConfigFromResolvers(n,e),r)return this._svgIconConfigs.set(o,r),this._getSvgFromConfig(r);let a=this._iconSetConfigs.get(n);return a?this._getSvgFromIconSetConfigs(e,a):Lo(CA(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?ie(bg(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(le(n=>bg(n)))}_getSvgFromIconSetConfigs(e,n){let o=this._extractIconWithNameFromAnySet(e,n);if(o)return ie(o);let r=n.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Fn(s=>{let p=`Loading icon set URL: ${this._sanitizer.sanitize(zn.RESOURCE_URL,a.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(p)),ie(null)})));return _c(r).pipe(le(()=>{let a=this._extractIconWithNameFromAnySet(e,n);if(!a)throw CA(e);return a}))}_extractIconWithNameFromAnySet(e,n){for(let o=n.length-1;o>=0;o--){let r=n[o];if(r.svgText&&r.svgText.toString().indexOf(e)>-1){let a=this._svgElementFromConfig(r),s=this._extractSvgIconFromSet(a,e,r.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Ht(n=>e.svgText=n),le(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?ie(null):this._fetchIcon(e).pipe(Ht(n=>e.svgText=n))}_extractSvgIconFromSet(e,n,o){let r=e.querySelector(`[id="${n}"]`);if(!r)return null;let a=r.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,o);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),o);let s=this._svgElementFromString(au(""));return s.appendChild(a),this._setSvgAttributes(s,o)}_svgElementFromString(e){let n=this._document.createElement("DIV");n.innerHTML=e;let o=n.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(e){let n=this._svgElementFromString(au("")),o=e.attributes;for(let r=0;rau(p)),jo(()=>this._inProgressUrlFetches.delete(a)),bc());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(e,n,o){return this._svgIconConfigs.set(DA(e,n),o),this}_addSvgIconSetConfig(e,n){let o=this._iconSetConfigs.get(e);return o?o.push(n):this._iconSetConfigs.set(e,[n]),this}_svgElementFromConfig(e){if(!e.svgElement){let n=this._svgElementFromString(e.svgText);this._setSvgAttributes(n,e.options),e.svgElement=n}return e.svgElement}_getIconConfigFromResolvers(e,n){for(let o=0;oi?i.pathname+i.search:""}}var EA=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],B6=EA.map(t=>`[${t}]`).join(", "),j6=/^url\(['"]?#(.*?)['"]?\)$/,MA=(()=>{class t{_elementRef=m(K);_iconRegistry=m(SA);_location=m(L6);_errorHandler=m(ri);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let n=this._cleanupFontValue(e);n!==this._fontSet&&(this._fontSet=n,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let n=this._cleanupFontValue(e);n!==this._fontIcon&&(this._fontIcon=n,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=he.EMPTY;constructor(){let e=m(new jn("aria-hidden"),{optional:!0}),n=m(N6,{optional:!0});n&&(n.color&&(this.color=this._defaultColor=n.color),n.fontSet&&(this.fontSet=n.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let n=e.split(":");switch(n.length){case 1:return["",n[0]];case 2:return n;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let n=this._location.getPathname();n!==this._previousPath&&(this._previousPath=n,this._prependPathToReferences(n))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,n=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();n--;){let o=e.childNodes[n];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,n=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>e.classList.remove(o)),n.forEach(o=>e.classList.add(o)),this._previousFontSetClass=n,this.fontIcon!==this._previousFontIconClass&&!n.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let n=this._elementsWithExternalReferences;n&&n.forEach((o,r)=>{o.forEach(a=>{r.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){let n=e.querySelectorAll(B6),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let r=0;r{let s=n[r],c=s.getAttribute(a),p=c?c.match(j6):null;if(p){let g=o.get(s);g||(g=[],o.set(s,g)),g.push({name:a,value:p[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[n,o]=this._splitIconName(e);n&&(this._svgNamespace=n),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,n).pipe(xt(1)).subscribe(r=>this._setSvgElement(r),r=>{let a=`Error retrieving icon ${n}:${o}! ${r.message}`;this._errorHandler.handleError(new Error(a))})}}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(n,o){n&2&&(ee("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),Vt(o.color?"mat-"+o.color:""),te("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",G],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:F6,decls:1,vars:0,template:function(n,o){n&1&&(Pe(),re(0))},styles:[`mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto} -`],encapsulation:2,changeDetection:0})}return t})(),IA=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[ue,ue]})}return t})();var U6=["determinateSpinner"];function H6(t,i){if(t&1&&(nn(),l(0,"svg",11),M(1,"circle",12),d()),t&2){let e=_();ee("viewBox",e._viewBox()),u(),Un("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),ee("r",e._circleRadius())}}var W6=new k("mat-progress-spinner-default-options",{providedIn:"root",factory:G6});function G6(){return{diameter:TA}}var TA=100,$6=10,yg=(()=>{class t{_elementRef=m(K);_noopAnimations;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;_defaultColor="primary";_determinateCircle;constructor(){let e=m(et,{optional:!0}),n=m(W6);this._noopAnimations=e==="NoopAnimations"&&!!n&&!n._forceAnimations,this.mode=this._elementRef.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",n&&(n.color&&(this.color=this._defaultColor=n.color),n.diameter&&(this.diameter=n.diameter),n.strokeWidth&&(this.strokeWidth=n.strokeWidth))}mode;get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}_value=0;get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}_diameter=TA;get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_strokeWidth;_circleRadius(){return(this.diameter-$6)/2}_viewBox(){let e=this._circleRadius()*2+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(n,o){if(n&1&&se(U6,5),n&2){let r;q(r=Y())&&(o._determinateCircle=r.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(n,o){n&2&&(ee("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",o.mode==="determinate"?o.value:null)("mode",o.mode),Vt("mat-"+o.color),Un("width",o.diameter,"px")("height",o.diameter,"px")("--mdc-circular-progress-size",o.diameter+"px")("--mdc-circular-progress-active-indicator-width",o.diameter+"px"),te("_mat-animation-noopable",o._noopAnimations)("mdc-circular-progress--indeterminate",o.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",Xt],diameter:[2,"diameter","diameter",Xt],strokeWidth:[2,"strokeWidth","strokeWidth",Xt]},exportAs:["matProgressSpinner"],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(n,o){if(n&1&&(x(0,H6,2,8,"ng-template",null,0,mn),l(2,"div",2,1),nn(),l(4,"svg",3),M(5,"circle",4),d()(),wr(),l(6,"div",5)(7,"div",6)(8,"div",7),vn(9,8),d(),l(10,"div",9),vn(11,8),d(),l(12,"div",10),vn(13,8),d()()()),n&2){let r=ge(1);u(4),ee("viewBox",o._viewBox()),u(),Un("stroke-dasharray",o._strokeCircumference(),"px")("stroke-dashoffset",o._strokeDashOffset(),"px")("stroke-width",o._circleStrokeWidth(),"%"),ee("r",o._circleRadius()),u(4),h("ngTemplateOutlet",r),u(2),h("ngTemplateOutlet",r),u(2),h("ngTemplateOutlet",r)}},dependencies:[Yc],styles:[`.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width, 4px)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, var(--mat-sys-primary))}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}} -`],encapsulation:2,changeDetection:0})}return t})();var Cg=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[ue]})}return t})();var xg=(()=>{class t{get vertical(){return this._vertical}set vertical(e){this._vertical=Bi(e)}_vertical=!1;get inset(){return this._inset}set inset(e){this._inset=Bi(e)}_inset=!1;static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(n,o){n&2&&(ee("aria-orientation",o.vertical?"vertical":"horizontal"),te("mat-divider-vertical",o.vertical)("mat-divider-horizontal",!o.vertical)("mat-divider-inset",o.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(n,o){},styles:[`.mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-sys-outline));border-top-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-sys-outline));border-right-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px} -`],encapsulation:2,changeDetection:0})}return t})(),Dg=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[ue,ue]})}return t})();var q6=["searchSelectInput"],Y6=["innerSelectSearch"],Q6=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]],[["","ngxMatSelectNoEntriesFound",""]]],K6=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]","[ngxMatSelectNoEntriesFound]"],Z6=(t,i)=>({"mat-select-search-inner-multiple":t,"mat-select-search-inner-toggle-all":i});function X6(t,i){if(t&1){let e=A();l(0,"mat-checkbox",12),b("change",function(o){y(e);let r=_();return C(r._emitSelectAllBooleanToParent(o.checked))}),d()}if(t&2){let e=_();h("color",e.matFormField==null?null:e.matFormField.color)("checked",e.toggleAllCheckboxChecked)("indeterminate",e.toggleAllCheckboxIndeterminate)("matTooltip",e.toggleAllCheckboxTooltipMessage)("matTooltipPosition",e.toggleAllCheckboxTooltipPosition)}}function J6(t,i){t&1&&M(0,"mat-spinner",13)}function eW(t,i){t&1&&re(0,1,["*ngIf","clearIcon; else defaultIcon"])}function tW(t,i){if(t&1&&(l(0,"mat-icon",16),f(1),d()),t&2){let e=_(2);h("svgIcon",e.closeSvgIcon),u(),P(" ",e.closeSvgIcon?null:e.closeIcon," ")}}function nW(t,i){if(t&1){let e=A();l(0,"button",14),b("click",function(){y(e);let o=_();return C(o._reset(!0))}),x(1,eW,1,0,"ng-content",15)(2,tW,2,2,"ng-template",null,2,mn),d()}if(t&2){let e=ge(3),n=_();u(),h("ngIf",n.clearIcon)("ngIfElse",e)}}function iW(t,i){t&1&&re(0,2,["*ngIf","noEntriesFound; else defaultNoEntriesFound"])}function oW(t,i){if(t&1&&f(0),t&2){let e=_(2);Ve(e.noEntriesFoundLabel)}}function rW(t,i){if(t&1&&(l(0,"div",17),x(1,iW,1,0,"ng-content",15)(2,oW,1,1,"ng-template",null,3,mn),d()),t&2){let e=ge(3),n=_();u(),h("ngIf",n.noEntriesFound)("ngIfElse",e)}}var aW=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=N({type:t,selectors:[["","ngxMatSelectSearchClear",""]],standalone:!1}),t})(),sW=["ariaLabel","clearSearchInput","closeIcon","closeSvgIcon","disableInitialFocus","disableScrollToActiveOnOptionsChanged","enableClearOnEscapePressed","hideClearSearchButton","noEntriesFoundLabel","placeholderLabel","preventHomeEndKeyPropagation","searching"],lW=new k("mat-selectsearch-default-options"),cW=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=N({type:t,selectors:[["","ngxMatSelectNoEntriesFound",""]],standalone:!1}),t})(),RA=(()=>{class t{constructor(e,n,o,r,a,s){this.matSelect=e,this.changeDetectorRef=n,this._viewportRuler=o,this.matOption=r,this.matFormField=a,this.placeholderLabel="Suche",this.type="text",this.closeIcon="close",this.noEntriesFoundLabel="Keine Optionen gefunden",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toggleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.recreateValuesArray=!1,this.toggleAll=new T,this.onTouched=c=>{},this._options$=new zt(null),this.optionsList$=this._options$.pipe(St(c=>c?c.changes.pipe(le(p=>p.toArray()),Dt(c.toArray())):ie(null))),this.optionsLength$=this.optionsList$.pipe(le(c=>c?c.length:0)),this._formControl=new hf("",{nonNullable:!0}),this._showNoEntriesFound$=Oi([this._formControl.valueChanges,this.optionsLength$]).pipe(le(([c,p])=>!!(this.noEntriesFoundLabel&&c&&p===this.getOptionsLengthOffset()))),this._onDestroy=new B,this.applyDefaultOptions(s)}get value(){return this._formControl.value}set _options(e){this._options$.next(e)}get _options(){return this._options$.getValue()}applyDefaultOptions(e){if(e)for(let n of sW)e.hasOwnProperty(n)&&(this[n]=e[n])}ngOnInit(){this.matOption?(this.matOption.disabled=!0,this.matOption._getHostElement().classList.add("contains-mat-select-search"),this.matOption._getHostElement().setAttribute("role","presentation")):console.error(" must be placed inside a element"),this.matSelect.openedChange.pipe(vc(1),Ee(this._onDestroy)).subscribe(e=>{e?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe(xt(1),St(e=>{this._options=this.matSelect.options;let n=this._options.toArray()[this.getOptionsLengthOffset()];return this._options.changes.pipe(Ht(()=>{setTimeout(()=>{let o=this._options.toArray(),r=o[this.getOptionsLengthOffset()],a=this.matSelect._keyManager;a&&this.matSelect.panelOpen&&r&&((!n||!this.matSelect.compareWith(n.value,r.value)||!a.activeItem||!o.find(c=>this.matSelect.compareWith(c.value,a.activeItem?.value)))&&a.setActiveItem(this.getOptionsLengthOffset()),setTimeout(()=>{this.updateInputWidth()})),n=r})}))})).pipe(Ee(this._onDestroy)).subscribe(),this._showNoEntriesFound$.pipe(Ee(this._onDestroy)).subscribe(e=>{this.matOption&&(e?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe(Ee(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe(Ee(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(e){this.toggleAll.emit(e)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(e){(e.key&&e.key.length===1||this.preventHomeEndKeyPropagation&&(e.key==="Home"||e.key==="End"))&&e.stopPropagation(),this.matSelect.multiple&&e.key&&e.key==="Enter"&&setTimeout(()=>this._focus()),this.enableClearOnEscapePressed&&e.key==="Escape"&&this.value&&(this._reset(!0),e.stopPropagation())}_handleKeyup(e){if(e.key==="ArrowUp"||e.key==="ArrowDown"){let n=this.matSelect._getAriaActiveDescendant(),o=this._options.toArray().findIndex(r=>r.id===n);o!==-1&&(this.unselectActiveDescendant(),this.activeDescendant=this._options.toArray()[o]._getHostElement(),this.activeDescendant.setAttribute("aria-selected","true"),this.searchSelectInput.nativeElement.setAttribute("aria-activedescendant",n))}}writeValue(e){this._lastExternalInputValue=e,this._formControl.setValue(e),this.changeDetectorRef.markForCheck()}onBlur(){this.unselectActiveDescendant(),this.onTouched()}registerOnChange(e){this._formControl.valueChanges.pipe(Ye(n=>n!==this._lastExternalInputValue),Ht(()=>this._lastExternalInputValue=void 0),Ee(this._onDestroy)).subscribe(e)}registerOnTouched(e){this.onTouched=e}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;let e=this.matSelect.panel.nativeElement,n=e.scrollTop;this.searchSelectInput.nativeElement.focus(),e.scrollTop=n}_reset(e){this._formControl.setValue(""),e&&this._focus()}initMultipleHandling(){if(!this.matSelect.ngControl){this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true");return}this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges&&this.matSelect.ngControl.valueChanges.pipe(Ee(this._onDestroy)).subscribe(e=>{let n=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!e||!Array.isArray(e))&&(e=[]);let o=this.matSelect.options.map(r=>r.value);this.previousSelectedValues.forEach(r=>{!e.some(a=>this.matSelect.compareWith(a,r))&&!o.some(a=>this.matSelect.compareWith(a,r))&&(this.recreateValuesArray?e=[...e,r]:e.push(r),n=!0)})}this.previousSelectedValues=e,n&&this.matSelect._onChange(e)})}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let e=this.innerSelectSearch.nativeElement,n=null;for(;e&&e.parentElement;)if(e=e.parentElement,e.classList.contains("mat-select-panel")){n=e;break}n&&(this.innerSelectSearch.nativeElement.style.width=n.clientWidth+"px")}getOptionsLengthOffset(){return this.matOption?1:0}unselectActiveDescendant(){this.activeDescendant?.removeAttribute("aria-selected"),this.searchSelectInput.nativeElement.removeAttribute("aria-activedescendant")}}return t.\u0275fac=function(e){return new(e||t)(w(ht),w(De),w(Mi),w(Qe,8),w(me,8),w(lW,8))},t.\u0275cmp=E({type:t,selectors:[["ngx-mat-select-search"]],contentQueries:function(e,n,o){if(e&1&&(Ne(o,aW,5),Ne(o,cW,5)),e&2){let r;q(r=Y())&&(n.clearIcon=r.first),q(r=Y())&&(n.noEntriesFound=r.first)}},viewQuery:function(e,n){if(e&1&&(se(q6,7,K),se(Y6,7,K)),e&2){let o;q(o=Y())&&(n.searchSelectInput=o.first),q(o=Y())&&(n.innerSelectSearch=o.first)}},inputs:{placeholderLabel:"placeholderLabel",type:"type",closeIcon:"closeIcon",closeSvgIcon:"closeSvgIcon",noEntriesFoundLabel:"noEntriesFoundLabel",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toggleAllCheckboxTooltipPosition:"toggleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti",recreateValuesArray:"recreateValuesArray"},outputs:{toggleAll:"toggleAll"},standalone:!1,features:[_e([{provide:hi,useExisting:en(()=>t),multi:!0}])],ngContentSelectors:K6,decls:13,vars:14,consts:[["innerSelectSearch",""],["searchSelectInput",""],["defaultIcon",""],["defaultNoEntriesFound",""],["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],[1,"mat-select-search-inner-row"],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input",3,"keydown","keyup","blur","type","formControl","placeholder"],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"change","color","checked","indeterminate","matTooltip","matTooltipPosition"],["diameter","16",1,"mat-select-search-spinner"],["mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],[3,"svgIcon"],[1,"mat-select-search-no-entries-found"]],template:function(e,n){if(e&1){let o=A();Pe(Q6),M(0,"input",4),l(1,"div",5,0)(3,"div",6),x(4,X6,1,5,"mat-checkbox",7),l(5,"input",8,1),b("keydown",function(a){return y(o),C(n._handleKeydown(a))})("keyup",function(a){return y(o),C(n._handleKeyup(a))})("blur",function(){return y(o),C(n.onBlur())}),d(),x(7,J6,1,0,"mat-spinner",9)(8,nW,4,2,"button",10),re(9),d(),M(10,"mat-divider"),d(),x(11,rW,4,2,"div",11),_t(12,"async")}e&2&&(u(),h("ngClass",Ep(11,Z6,n.matSelect.multiple,n._isToggleAllCheckboxVisible())),u(3),h("ngIf",n._isToggleAllCheckboxVisible()),u(),h("type",n.type)("formControl",n._formControl)("placeholder",n.placeholderLabel),ee("aria-label",n.ariaLabel),u(2),h("ngIf",n.searching),u(),h("ngIf",!n.hideClearSearchButton&&n.value&&!n.searching),u(3),h("ngIf",Ct(12,9,n._showNoEntriesFound$)))},dependencies:[si,de,st,ve,oC,Ln,gg,MA,yg,To,xg,ky],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;z-index:100;font-size:inherit;box-shadow:none;background-color:var(--mat-select-panel-background-color)}.mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-inner-row[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-select-search-input[_ngcontent-%COMP%]{box-sizing:border-box;width:100%;border:none;font-family:inherit;font-size:inherit;color:currentColor;outline:none;background-color:var(--mat-select-panel-background-color);padding:0 44px 0 16px;height:calc(3em - 1px);line-height:calc(3em - 1px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-right:16px;padding-left:44px}.mat-select-search-input[_ngcontent-%COMP%]::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}.mat-select-search-input[_ngcontent-%COMP%]::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-left:5px}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding-top:8px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:0}[dir=rtl][_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{right:auto;left:4px}.mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:16px;top:calc(50% - 8px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{right:auto;left:16px} .mat-mdc-option[aria-disabled=true].contains-mat-select-search{position:sticky;top:-8px;z-index:1;opacity:1;margin-top:-8px;pointer-events:all} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0;margin-left:0} .mat-mdc-option[aria-disabled=true].contains-mat-select-search mat-pseudo-checkbox{display:none} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mdc-list-item__primary-text{opacity:1}.mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:5px}[dir=rtl][_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:0;padding-right:5px}"],changeDetection:0}),t})();var OA=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=X({type:t}),t.\u0275inj=Z({imports:[Ka,gf,ar,_g,IA,Cg,ys,Dg]}),t})();function uW(t,i){if(t&1){let e=A();l(0,"mat-option")(1,"ngx-mat-select-search",1),b("ngModelChange",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()()}if(t&2){let e=_();u(),h("placeholderLabel",e.placeholderLabel)("noEntriesFoundLabel",e.noEntriesFoundLabel)}}var cn=(()=>{class t{constructor(){this.placeholderLabel=django.gettext("Filter"),this.noEntriesFoundLabel=django.gettext("No entries found"),this.changed=new T,this.notIfLessThan=7}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-cond-select-search"]],inputs:{placeholderLabel:"placeholderLabel",noEntriesFoundLabel:"noEntriesFoundLabel",options:"options",notIfLessThan:"notIfLessThan"},outputs:{changed:"changed"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],["ngModel","",3,"ngModelChange","placeholderLabel","noEntriesFoundLabel"]],template:function(n,o){n&1&&x(0,uW,2,2,"mat-option",0),n&2&&h("ngIf",o.options&&o.options.length>o.notIfLessThan)},dependencies:[de,ve,be,Qe,RA],encapsulation:2})}}return t})();function mW(t,i){t&1&&(l(0,"uds-translate"),f(1,"New user permission for"),d())}function pW(t,i){t&1&&(l(0,"uds-translate"),f(1,"New group permission for"),d())}function hW(t,i){if(t&1&&(l(0,"mat-option",11),f(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),Ve(e.text)}}function fW(t,i){if(t&1&&(l(0,"mat-option",11),f(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),Ve(e.text)}}function gW(t,i){if(t&1&&(l(0,"mat-option",11),f(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),Ve(e.text)}}var PA=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.data=r,this.filterUser="",this.authenticators=[],this.entities=[],this.permissions=[{id:"1",text:django.gettext("Read only")},{id:"2",text:django.gettext("Full Access")}],this.authenticator="",this.entity="",this.permission="1",this.done=new Yt}static launch(e,n,o){return V(this,null,function*(){let r=window.innerWidth<800?"80%":"50%";return e.gui.dialog.open(t,{width:r,data:{type:n,item:o},disableClose:!0}).componentInstance.done})}ngOnInit(){return V(this,null,function*(){let e=yield this.rest.authenticators.summary();for(let n of e)this.authenticators.push({id:n.id,text:n.name})})}changeAuth(e){return V(this,null,function*(){this.entities.length=0,this.entity="";let n=yield this.rest.authenticators.detail(e,this.data.type+"s").summary();for(let o of n)this.entities.push({id:o.id,text:o.name})})}save(){this.done.resolve({authenticator:this.authenticator,entity:this.entity,permissision:this.permission}),this.dialogRef.close()}cancel(){this.done.resolve(null),this.dialogRef.close()}filteredEntities(){let e=new Array;return this.entities.forEach(n=>{(!this.filterUser||n.text.toLocaleLowerCase().includes(this.filterUser.toLocaleLowerCase()))&&e.push(n)}),e}getFieldLabel(e){return e==="user"?django.gettext("User"):e==="group"?django.gettext("Group"):e==="auth"?django.gettext("Authenticator"):django.gettext("Permission")}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(J),w(Ae),w(Be))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-new-permission"]],standalone:!1,decls:24,vars:13,consts:[["titleGroup",""],["mat-dialog-title",""],[4,"ngIf","ngIfElse"],[3,"innerHTML"],[1,"container"],[3,"valueChange","ngModelChange","placeholder","ngModel"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModelChange","placeholder","ngModel"],[3,"changed","options"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"]],template:function(n,o){if(n&1){let r=A();l(0,"h4",1),x(1,mW,2,0,"uds-translate",2),M(2,"b",3),x(3,pW,2,0,"ng-template",null,0,mn),d(),l(5,"mat-dialog-content")(6,"div",4)(7,"mat-form-field")(8,"mat-select",5),b("valueChange",function(s){return y(r),C(o.changeAuth(s))}),H("ngModelChange",function(s){return y(r),W(o.authenticator,s)||(o.authenticator=s),C(s)}),x(9,hW,2,2,"mat-option",6),d()(),l(10,"mat-form-field")(11,"mat-select",7),H("ngModelChange",function(s){return y(r),W(o.entity,s)||(o.entity=s),C(s)}),l(12,"uds-cond-select-search",8),b("changed",function(s){return y(r),C(o.filterUser=s)}),d(),x(13,fW,2,2,"mat-option",6),d()(),l(14,"mat-form-field")(15,"mat-select",7),H("ngModelChange",function(s){return y(r),W(o.permission,s)||(o.permission=s),C(s)}),x(16,gW,2,2,"mat-option",6),d()()()(),l(17,"mat-dialog-actions")(18,"button",9),b("click",function(){return y(r),C(o.cancel())}),l(19,"uds-translate"),f(20,"Cancel"),d()(),l(21,"button",10),b("click",function(){return y(r),C(o.save())}),l(22,"uds-translate"),f(23,"Ok"),d()()()}if(n&2){let r=ge(4);u(),h("ngIf",o.data.type==="user")("ngIfElse",r),u(),h("innerHTML",o.data.item.name,Gt),u(6),h("placeholder",o.getFieldLabel("auth")),U("ngModel",o.authenticator),u(),h("ngForOf",o.authenticators),u(2),h("placeholder",o.getFieldLabel(o.data.type)),U("ngModel",o.entity),u(),h("options",o.entities),u(),h("ngForOf",o.filteredEntities()),u(2),h("placeholder",o.getFieldLabel("perm")),U("ngModel",o.permission),u(),h("ngForOf",o.permissions)}},dependencies:[Fe,de,ve,be,Se,We,$e,Ge,me,ht,Qe,ae,cn],styles:[".container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]})}}return t})();var _W=(t,i)=>[t,i];function vW(t,i){if(t&1){let e=A();l(0,"div",11)(1,"div",12),f(2),d(),l(3,"div",13),f(4),l(5,"a",14),b("click",function(){let o=y(e).$implicit,r=_(2);return C(r.revokePermission(o))}),l(6,"i",15),f(7,"close"),d()()()()}if(t&2){let e=i.$implicit;u(2),Ji(" ",e.entity_name,"@",e.auth_name," "),u(2),P(" ",e.perm_name," \xA0")}}function bW(t,i){if(t&1){let e=A();l(0,"div",7)(1,"div",8)(2,"div",9),b("click",function(o){let r=y(e).$implicit;return _().newPermission(r),C(o.preventDefault())}),l(3,"uds-translate"),f(4,"New permission..."),d()(),x(5,vW,8,3,"div",10),d()()}if(t&2){let e=i.$implicit;u(5),h("ngForOf",e)}}var FA=(()=>{class t{constructor(e,n,o){this.api=e,this.dialogRef=n,this.data=o,this.userPermissions=[],this.groupPermissions=[]}static launch(e,n,o){let r=window.innerWidth<800?"90%":"60%",a=e.gui.dialog.open(t,{width:r,data:{rest:n,item:o},disableClose:!1})}ngOnInit(){return V(this,null,function*(){yield this.reload()})}reload(){return V(this,null,function*(){let e=yield this.data.rest.getPermissions(this.data.item.id);this.updatePermissions(e)})}updatePermissions(e){this.userPermissions.length=0,this.groupPermissions.length=0;for(let n of e)n.type==="user"?this.userPermissions.push(n):this.groupPermissions.push(n)}revokePermission(e){return V(this,null,function*(){if(yield this.api.gui.questionDialog(django.gettext("Remove"),django.gettext("Confirm revokation of permission")+" "+e.entity_name+"@"+e.auth_name+" "+e.perm_name+"")){let n=yield this.data.rest.revokePermission([e.id]);this.reload()}})}newPermission(e){return V(this,null,function*(){let n=e===this.userPermissions?"user":"group",o=yield PA.launch(this.api,n,this.data.item);o&&(yield this.data.rest.addPermission(this.data.item.id,n+"s",o.entity,o.permissision),this.reload())})}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(Ae),w(Be))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-permissions-form"]],standalone:!1,decls:17,vars:5,consts:[["mat-dialog-title",""],[3,"innerHTML"],[1,"titles"],[1,"title"],[1,"permissions"],["class","content",4,"ngFor","ngForOf"],["mat-raised-button","","mat-dialog-close","","color","primary"],[1,"content"],[1,"perms"],[1,"perm","new",3,"click"],["class","perm",4,"ngFor","ngForOf"],[1,"perm"],[1,"owner"],[1,"permission"],[3,"click"],[1,"material-icons"]],template:function(n,o){n&1&&(l(0,"h4",0)(1,"uds-translate"),f(2,"Permissions for"),d(),f(3,"\xA0"),M(4,"b",1),d(),l(5,"mat-dialog-content")(6,"div",2)(7,"uds-translate",3),f(8,"Users"),d(),l(9,"uds-translate",3),f(10,"Groups"),d()(),l(11,"div",4),x(12,bW,6,1,"div",5),d()(),l(13,"mat-dialog-actions")(14,"button",6)(15,"uds-translate"),f(16,"Ok"),d()()()),n&2&&(u(4),h("innerHTML",o.data.item.name,Gt),u(8),h("ngForOf",Ep(2,_W,o.userPermissions,o.groupPermissions)))},dependencies:[Fe,Se,jt,We,$e,Ge,ae],styles:[".titles[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around;margin-bottom:.4rem}.title[_ngcontent-%COMP%]{font-size:1.4rem}.permissions[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-start}.perms[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:16rem;overflow-y:auto;border-color:#333;border-radius:1px;box-shadow:#00000024 0 1px 4px;margin-bottom:1rem;margin-right:1rem;padding:.5rem}.perm[_ngcontent-%COMP%]{font-family:Courier New,Courier,monospace;font-size:1.2rem;display:flex;justify-content:space-between;white-space:nowrap;flex-wrap:nowrap;margin-right:.4rem}.perm[_ngcontent-%COMP%]:hover:not(.new){background-color:#333;color:#fff;cursor:default}.owner[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:.2rem}.new[_ngcontent-%COMP%]{color:#00f;justify-content:center}.new[_ngcontent-%COMP%]:hover{color:#fff;background-color:#00f;cursor:pointer}.content[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;justify-content:space-between}.material-icons[_ngcontent-%COMP%]{font-size:1em;padding-bottom:1px}.material-icons[_ngcontent-%COMP%]:hover{cursor:pointer;color:red}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]})}}return t})();var BA=lc(su()),yW="text/csv",NA=",",LA=`\r -`,VA=t=>(t.changingThisBreaksApplicationSecurity!==void 0&&(t=t.changingThisBreaksApplicationSecurity.replace(/<.*>/g,"")),t=""+t,'"'+t.replace('"','""')+'"'),Sg=t=>{let i="";t.columns.forEach(o=>{i+=VA(o.title)+NA}),i=i.slice(0,-1)+LA;let e=t.dataSource.data;for(let o of e){for(let r of t.columns){let a=o[r.name];switch(r.type){case pn.DATE:a=Nn("SHORT_DATE_FORMAT",a);break;case pn.DATETIME:a=Nn("SHORT_DATETIME_FORMAT",a);break;case pn.DATETIMESEC:a=Nn("SHORT_DATE_FORMAT",a," H:i:s");break;case pn.TIME:a=Nn("TIME_FORMAT",a);break;default:break}i+=VA(a)+NA}i=i.slice(0,-1)+LA}let n=new Blob([i],{type:yW});setTimeout(()=>{(0,BA.saveAs)(n,t.title+".csv",{autoBom:!1})})};var WC=class{_document;_textarea;constructor(i,e){this._document=e;let n=this._textarea=this._document.createElement("textarea"),o=n.style;o.position="fixed",o.top=o.opacity="0",o.left="-999em",n.setAttribute("aria-hidden","true"),n.value=i,n.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(n)}copy(){let i=this._textarea,e=!1;try{if(i){let n=this._document.activeElement;i.select(),i.setSelectionRange(0,i.value.length),e=this._document.execCommand("copy"),n&&n.focus()}}catch{}return e}destroy(){let i=this._textarea;i&&(i.remove(),this._textarea=void 0)}},jA=(()=>{class t{_document=m(ce);constructor(){}copy(e){let n=this.beginCopy(e),o=n.copy();return n.destroy(),o}beginCopy(e){return new WC(e,this._document)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var zA=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();var wW=["mat-menu-item",""],xW=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],DW=["mat-icon, [matMenuItemIcon]","*"];function SW(t,i){t&1&&(nn(),l(0,"svg",2),M(1,"polygon",3),d())}var EW=["*"];function MW(t,i){if(t&1){let e=A();l(0,"div",0),b("click",function(){y(e);let o=_();return C(o.closed.emit("click"))})("animationstart",function(o){y(e);let r=_();return C(r._onAnimationStart(o.animationName))})("animationend",function(o){y(e);let r=_();return C(r._onAnimationDone(o.animationName))})("animationcancel",function(o){y(e);let r=_();return C(r._onAnimationDone(o.animationName))}),l(1,"div",1),re(2),d()()}if(t&2){let e=_();Vt(e._classList),te("mat-menu-panel-animations-disabled",e._animationsDisabled)("mat-menu-panel-exit-animation",e._panelAnimationState==="void")("mat-menu-panel-animating",e._isAnimating),h("id",e.panelId),ee("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}var $C=new k("MAT_MENU_PANEL"),ws=(()=>{class t{_elementRef=m(K);_document=m(ce);_focusMonitor=m(Sn);_parentMenu=m($C,{optional:!0});_changeDetectorRef=m(De);role="menuitem";disabled=!1;disableRipple=!1;_hovered=new B;_focused=new B;_highlighted=!1;_triggersSubmenu=!1;constructor(){m(wt).load(yn),this._parentMenu?.addItem?.(this)}focus(e,n){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,n):this._getHostElement().focus(n),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let e=this._elementRef.nativeElement.cloneNode(!0),n=e.querySelectorAll("mat-icon, .material-icons");for(let o=0;o{class t{_template=m(bt);_appRef=m(ai);_injector=m(Me);_viewContainerRef=m(Et);_document=m(ce);_changeDetectorRef=m(De);_portal;_outlet;_attached=new B;constructor(){}attach(e={}){this._portal||(this._portal=new Dn(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new as(this._document.createElement("div"),null,this._appRef,this._injector));let n=this._template.elementRef.nativeElement;n.parentNode.insertBefore(this._outlet.outletElement,n),this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,e),this._attached.next()}detach(){this._portal?.isAttached&&this._portal.detach()}ngOnDestroy(){this.detach(),this._outlet?.dispose()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["ng-template","matMenuContent",""]],features:[_e([{provide:UA,useExisting:t}])]})}return t})(),IW=new k("mat-menu-default-options",{providedIn:"root",factory:TW});function TW(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var GC="_mat-menu-enter",Eg="_mat-menu-exit",Ca=(()=>{class t{_elementRef=m(K);_changeDetectorRef=m(De);_injector=m(Me);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_exitFallbackTimeout;_animationsDisabled;_allItems;_directDescendantItems=new Ki;_classList={};_panelAnimationState="void";_animationDone=new B;_isAnimating=!1;parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger;hasBackdrop;set panelClass(e){let n=this._previousPanelClass,o=L({},this._classList);n&&n.length&&n.split(" ").forEach(r=>{o[r]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(r=>{o[r]=!0}),this._elementRef.nativeElement.className=""),this._classList=o}_previousPanelClass;get classList(){return this.panelClass}set classList(e){this.panelClass=e}closed=new T;close=this.closed;panelId=m(mt).getId("mat-menu-panel-");constructor(){let e=m(IW);this.overlayPanelClass=e.overlayPanelClass||"",this._xPosition=e.xPosition,this._yPosition=e.yPosition,this.backdropClass=e.backdropClass,this.overlapTrigger=e.overlapTrigger,this.hasBackdrop=e.hasBackdrop,this._animationsDisabled=m(et,{optional:!0})==="NoopAnimations"}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Ar(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Dt(this._directDescendantItems),St(e=>yt(...e.map(n=>n._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{let n=this._keyManager;if(this._panelAnimationState==="enter"&&n.activeItem?._hasFocus()){let o=e.toArray(),r=Math.max(0,Math.min(o.length-1,n.activeItemIndex||0));o[r]&&!o[r].disabled?n.setActiveItem(r):n.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy(),clearTimeout(this._exitFallbackTimeout)}_hovered(){return this._directDescendantItems.changes.pipe(Dt(this._directDescendantItems),St(n=>yt(...n.map(o=>o._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){let n=e.keyCode,o=this._keyManager;switch(n){case 27:Mt(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(n===38||n===40)&&o.setFocusOrigin("keyboard"),o.onKeydown(e);return}}focusFirstItem(e="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=Wt(()=>{let n=this._resolvePanel();if(!n||!n.contains(document.activeElement)){let o=this._keyManager;o.setFocusOrigin(e).setFirstItemActive(),!o.activeItem&&n&&n.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){}setPositionClasses(e=this.xPosition,n=this.yPosition){this._classList=qe(L({},this._classList),{"mat-menu-before":e==="before","mat-menu-after":e==="after","mat-menu-above":n==="above","mat-menu-below":n==="below"}),this._changeDetectorRef.markForCheck()}_onAnimationDone(e){let n=e===Eg;(n||e===GC)&&(n&&(clearTimeout(this._exitFallbackTimeout),this._exitFallbackTimeout=void 0),this._animationDone.next(n?"void":"enter"),this._isAnimating=!1)}_onAnimationStart(e){(e===GC||e===Eg)&&(this._isAnimating=!0)}_setIsOpen(e){if(this._panelAnimationState=e?"enter":"void",e){if(this._keyManager.activeItemIndex===0){let n=this._resolvePanel();n&&(n.scrollTop=0)}}else this._animationsDisabled||(this._exitFallbackTimeout=setTimeout(()=>this._onAnimationDone(Eg),200));this._animationsDisabled&&setTimeout(()=>{this._onAnimationDone(e?GC:Eg)}),this._changeDetectorRef.markForCheck()}_updateDirectDescendants(){this._allItems.changes.pipe(Dt(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(n=>n._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}_resolvePanel(){let e=null;return this._directDescendantItems.length&&(e=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),e}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-menu"]],contentQueries:function(n,o,r){if(n&1&&(Ne(r,UA,5),Ne(r,ws,5),Ne(r,ws,4)),n&2){let a;q(a=Y())&&(o.lazyContent=a.first),q(a=Y())&&(o._allItems=a),q(a=Y())&&(o.items=a)}},viewQuery:function(n,o){if(n&1&&se(bt,5),n&2){let r;q(r=Y())&&(o.templateRef=r.first)}},hostVars:3,hostBindings:function(n,o){n&2&&ee("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",G],hasBackdrop:[2,"hasBackdrop","hasBackdrop",e=>e==null?null:G(e)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[_e([{provide:$C,useExisting:t}])],ngContentSelectors:EW,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","animationstart","animationend","animationcancel","id"],[1,"mat-mdc-menu-content"]],template:function(n,o){n&1&&(Pe(),x(0,MW,3,12,"ng-template"))},styles:[`mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-sys-label-large-weight))}@keyframes _mat-menu-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-menu-exit{from{opacity:1}to{opacity:0}}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;box-sizing:border-box;outline:0;animation:_mat-menu-enter 120ms cubic-bezier(0, 0, 0.2, 1);border-radius:var(--mat-menu-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-sys-surface-container));box-shadow:var(--mat-menu-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));will-change:transform,opacity}.mat-mdc-menu-panel.mat-menu-panel-exit-animation{animation:_mat-menu-exit 100ms 25ms linear forwards}.mat-mdc-menu-panel.mat-menu-panel-animations-disabled{animation:none}.mat-mdc-menu-panel.mat-menu-panel-animating{pointer-events:none}.mat-mdc-menu-panel.mat-menu-panel-animating:has(.mat-mdc-menu-content:empty){display:none}@media(forced-colors: active){.mat-mdc-menu-panel{outline:solid 1px}}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-sys-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing, 8px);margin-top:var(--mat-menu-divider-top-spacing, 8px)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px;padding-left:var(--mat-menu-item-leading-spacing, 12px);padding-right:var(--mat-menu-item-trailing-spacing, 12px);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-menu-item::-moz-focus-inner{border:0}[dir=rtl] .mat-mdc-menu-item{padding-left:var(--mat-menu-item-trailing-spacing, 12px);padding-right:var(--mat-menu-item-leading-spacing, 12px)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-trailing-spacing, 12px)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-trailing-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-leading-spacing, 12px)}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing, 12px);height:var(--mat-menu-item-icon-size, 24px);width:var(--mat-menu-item-icon-size, 24px)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing, 12px)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(forced-colors: active){.mat-mdc-menu-item{margin-top:1px}}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size, 24px);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing, 12px)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing, 12px);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}@media(forced-colors: active){.mat-mdc-menu-submenu-icon{fill:CanvasText}}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none} -`],encapsulation:2,changeDetection:0})}return t})(),WA=new k("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(Rt);return()=>t.scrollStrategies.reposition()}});function kW(t){return()=>t.scrollStrategies.reposition()}var AW={provide:WA,deps:[Rt],useFactory:kW},RW={passive:!0};var lu=new WeakMap,Mg=(()=>{class t{_overlay=m(Rt);_element=m(K);_viewContainerRef=m(Et);_menuItemInstance=m(ws,{optional:!0,self:!0});_dir=m(Ft,{optional:!0});_focusMonitor=m(Sn);_ngZone=m(ne);_scrollStrategy=m(WA);_changeDetectorRef=m(De);_cleanupTouchstart;_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=he.EMPTY;_hoverSubscription=he.EMPTY;_menuCloseSubscription=he.EMPTY;_pendingRemoval;_parentMaterialMenu;_parentInnerPadding;_openedBy=void 0;get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._parentMaterialMenu,this._menuCloseSubscription=e.close.subscribe(n=>{this._destroyMenu(n),(n==="click"||n==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(n)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}_menu;menuData;restoreFocus=!0;menuOpened=new T;onMenuOpen=this.menuOpened;menuClosed=new T;onMenuClose=this.menuClosed;constructor(){let e=m($C,{optional:!0}),n=m(At);this._parentMaterialMenu=e instanceof Ca?e:void 0,this._cleanupTouchstart=qt(n,this._element.nativeElement,"touchstart",o=>{ls(o)||(this._openedBy="touch")},RW)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this.menu&&this._ownsMenu(this.menu)&&lu.delete(this.menu),this._cleanupTouchstart(),this._pendingRemoval?.unsubscribe(),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe(),this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){let e=this.menu;if(this._menuOpen||!e)return;this._pendingRemoval?.unsubscribe();let n=lu.get(e);lu.set(e,this),n&&n!==this&&n.closeMenu();let o=this._createOverlay(e),r=o.getConfig(),a=r.positionStrategy;this._setPosition(e,a),r.hasBackdrop=e.hasBackdrop==null?!this.triggersSubmenu():e.hasBackdrop,o.hasAttached()||(o.attach(this._getPortal(e)),e.lazyContent?.attach(this.menuData)),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0),e instanceof Ca&&(e._setIsOpen(!0),e._directDescendantItems.changes.pipe(Ee(e.close)).subscribe(()=>{a.withLockedPosition(!1).reapplyLastPosition(),a.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,n){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,n):this._element.nativeElement.focus(n)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){let n=this._overlayRef,o=this._menu;!n||!this.menuOpen||(this._closingActionsSubscription.unsubscribe(),this._pendingRemoval?.unsubscribe(),o instanceof Ca&&this._ownsMenu(o)?(this._pendingRemoval=o._animationDone.pipe(xt(1)).subscribe(()=>{n.detach(),o.lazyContent?.detach()}),o._setIsOpen(!1)):(n.detach(),o?.lazyContent?.detach()),o&&this._ownsMenu(o)&&lu.delete(o),this.restoreFocus&&(e==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,this._setIsMenuOpen(!1))}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){let n=this._getOverlayConfig(e);this._subscribeToPositions(e,n.positionStrategy),this._overlayRef=this._overlay.create(n),this._overlayRef.keydownEvents().subscribe(o=>{this.menu instanceof Ca&&this.menu._handleKeydown(o)})}return this._overlayRef}_getOverlayConfig(e){return new di({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr"})}_subscribeToPositions(e,n){e.setPositionClasses&&n.positionChanges.subscribe(o=>{this._ngZone.run(()=>{let r=o.connectionPair.overlayX==="start"?"after":"before",a=o.connectionPair.overlayY==="top"?"below":"above";e.setPositionClasses(r,a)})})}_setPosition(e,n){let[o,r]=e.xPosition==="before"?["end","start"]:["start","end"],[a,s]=e.yPosition==="above"?["bottom","top"]:["top","bottom"],[c,p]=[a,s],[g,v]=[o,r],S=0;if(this.triggersSubmenu()){if(v=o=e.xPosition==="before"?"start":"end",r=g=o==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let D=this._parentMaterialMenu.items.first;this._parentInnerPadding=D?D._getHostElement().offsetTop:0}S=a==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(c=a==="top"?"bottom":"top",p=s==="top"?"bottom":"top");n.withPositions([{originX:o,originY:c,overlayX:g,overlayY:a,offsetY:S},{originX:r,originY:c,overlayX:v,overlayY:a,offsetY:S},{originX:o,originY:p,overlayX:g,overlayY:s,offsetY:-S},{originX:r,originY:p,overlayX:v,overlayY:s,offsetY:-S}])}_menuClosingActions(){let e=this._overlayRef.backdropClick(),n=this._overlayRef.detachments(),o=this._parentMaterialMenu?this._parentMaterialMenu.closed:ie(),r=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Ye(a=>this._menuOpen&&a!==this._menuItemInstance)):ie();return yt(e,o,r,n)}_handleMousedown(e){ss(e)||(this._openedBy=e.button===0?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){let n=e.keyCode;(n===13||n===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(n===39&&this.dir==="ltr"||n===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().subscribe(e=>{e===this._menuItemInstance&&!e.disabled&&(this._openedBy="mouse",this.openMenu())}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new Dn(e.templateRef,this._viewContainerRef)),this._portal}_ownsMenu(e){return lu.get(e)===this}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(n,o){n&1&&b("click",function(a){return o._handleClick(a)})("mousedown",function(a){return o._handleMousedown(a)})("keydown",function(a){return o._handleKeydown(a)}),n&2&&ee("aria-haspopup",o.menu?"menu":null)("aria-expanded",o.menuOpen)("aria-controls",o.menuOpen?o.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]})}return t})(),GA=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[AW],imports:[rr,ue,Wn,Vi,ue]})}return t})(),$A={transformMenu:{type:7,name:"transformMenu",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(0.8)"},offset:null}},{type:1,expr:"void => enter",animation:{type:4,styles:{type:6,styles:{opacity:1,transform:"scale(1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}},fadeInItems:{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null}},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}},m0e=$A.fadeInItems,p0e=$A.transformMenu;var OW=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(n,o){},styles:[`textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms} -`],encapsulation:2,changeDetection:0})}return t})(),PW={passive:!0},YA=(()=>{class t{_platform=m(Je);_ngZone=m(ne);_renderer=m(_n).createRenderer(null,null);_styleLoader=m(wt);_monitoredElements=new Map;constructor(){}monitor(e){if(!this._platform.isBrowser)return Cn;this._styleLoader.load(OW);let n=ci(e),o=this._monitoredElements.get(n);if(o)return o.subject;let r=new B,a="cdk-text-field-autofilled",s=p=>{p.animationName==="cdk-text-field-autofill-start"&&!n.classList.contains(a)?(n.classList.add(a),this._ngZone.run(()=>r.next({target:p.target,isAutofilled:!0}))):p.animationName==="cdk-text-field-autofill-end"&&n.classList.contains(a)&&(n.classList.remove(a),this._ngZone.run(()=>r.next({target:p.target,isAutofilled:!1})))},c=this._ngZone.runOutsideAngular(()=>(n.classList.add("cdk-text-field-autofill-monitored"),qt(this._renderer,n,"animationstart",s,PW)));return this._monitoredElements.set(n,{subject:r,unlisten:c}),r}stopMonitoring(e){let n=ci(e),o=this._monitoredElements.get(n);o&&(o.unlisten(),o.subject.complete(),n.classList.remove("cdk-text-field-autofill-monitored"),n.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(n))}ngOnDestroy(){this._monitoredElements.forEach((e,n)=>this.stopMonitoring(n))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var QA=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();var Ig=new k("MAT_INPUT_VALUE_ACCESSOR");var FW=["button","checkbox","file","hidden","image","radio","range","reset","submit"],NW=new k("MAT_INPUT_CONFIG"),pt=(()=>{class t{_elementRef=m(K);_platform=m(Je);ngControl=m(Ii,{optional:!0,self:!0});_autofillMonitor=m(YA);_ngZone=m(ne);_formField=m(lo,{optional:!0});_renderer=m(At);_uid=m(mt).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_config=m(NW,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_formFieldDescribedBy;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new B;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=Bi(e),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(e){this._id=e||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(sr.required)??!1}set required(e){this._required=Bi(e)}_required;get type(){return this._type}set type(e){let n=this._type;this._type=e||"text",this._validateType(),!this._isTextarea&&G0().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._type!==n&&this._ensureWheelDefaultBehavior()}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Bi(e)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>G0().has(e));constructor(){let e=m(so,{optional:!0}),n=m(ga,{optional:!0}),o=m(vs),r=m(Ig,{optional:!0,self:!0}),a=this._elementRef.nativeElement,s=a.nodeName.toLowerCase();r?Xr(r.value)?this._signalBasedValueAccessor=r:this._inputValueAccessor=r:this._inputValueAccessor=a,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(a,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new _a(o,this.ngControl,n,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=s==="select",this._isTextarea=s==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=a.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&Wc(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let n=this._elementRef.nativeElement;n.type==="number"?(n.type="text",n.setSelectionRange(0,0),n.type="number"):n.setSelectionRange(0,0)}this.focused=e,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let n=this._elementRef.nativeElement;this._previousPlaceholder=e,e?n.setAttribute("placeholder",e):n.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){FW.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,n=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&n&&n.label)}else return this.focused&&!this.disabled||!this.empty}setDescribedByIds(e){let n=this._elementRef.nativeElement,o=n.getAttribute("aria-describedby"),r;if(o){let a=this._formFieldDescribedBy||e;r=e.concat(o.split(" ").filter(s=>s&&!a.includes(s)))}else r=e;this._formFieldDescribedBy=e,r.length?n.setAttribute("aria-describedby",r.join(" ")):n.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let n=e.target;!n.value&&n.selectionStart===0&&n.selectionEnd===0&&(n.setSelectionRange(1,1),n.setSelectionRange(0,0))};_webkitBlinkWheelListener=()=>{};_ensureWheelDefaultBehavior(){this._cleanupWebkitWheel?.(),this._type==="number"&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._cleanupWebkitWheel=this._renderer.listen(this._elementRef.nativeElement,"wheel",this._webkitBlinkWheelListener))}_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(n,o){n&1&&b("focus",function(){return o._focusChanged(!0)})("blur",function(){return o._focusChanged(!1)})("input",function(){return o._onInput()}),n&2&&(xn("id",o.id)("disabled",o.disabled&&!o.disabledInteractive)("required",o.required),ee("name",o.name||null)("readonly",o._getReadonlyAttribute())("aria-disabled",o.disabled&&o.disabledInteractive?"true":null)("aria-invalid",o.empty&&o.required?null:o.errorState)("aria-required",o.required)("id",o.id),te("mat-input-server",o._isServer)("mat-mdc-form-field-textarea-control",o._isInFormField&&o._isTextarea)("mat-mdc-form-field-input-control",o._isInFormField)("mat-mdc-input-disabled-interactive",o.disabledInteractive)("mdc-text-field__input",o._isInFormField)("mat-mdc-native-select-inline",o._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",G]},exportAs:["matInput"],features:[_e([{provide:Pr,useExisting:t}]),He]})}return t})(),KA=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[ue,ba,ba,QA,ue]})}return t})();var ZA=(()=>{class t{transform(e){return W0(e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=Qo({name:"isEmpty",type:t,pure:!0,standalone:!1})}}return t})(),fn=(()=>{class t{transform(e){return!W0(e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=Qo({name:"notEmpty",type:t,pure:!0,standalone:!1})}}return t})();var XA=(()=>{class t{transform(e,n){let o;return n===void 0?o=(r,a)=>r>a?1:-1:o=(r,a)=>r[n]>a[n]?1:-1,e.sort(o)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=Qo({name:"sort",type:t,pure:!0,standalone:!1})}}return t})();var VW=["trigger"],BW=()=>[5,10,25,100,1e3];function jW(t,i){if(t&1&&M(0,"img",39),t&2){let e=_();h("src",e.icon,Ce)}}function zW(t,i){if(t&1){let e=A();l(0,"button",47),b("click",function(){let o=y(e).$implicit,r=_(5);return C(r.newAction.emit({param:o,table:r}))}),d()}if(t&2){let e=i.$implicit,n=_(5);h("innerHTML",n.api.safeString(n.api.gui.icon(e.icon)+e.name),Gt)}}function UW(t,i){if(t&1&&(dt(0),l(1,"button",44),f(2),d(),l(3,"mat-menu",45,3),x(5,zW,1,1,"button",46),_t(6,"sort"),d(),ut()),t&2){let e=i.$implicit,n=ge(4);u(),h("matMenuTriggerFor",n),u(),Ve(e.key),u(),h("overlapTrigger",!1),u(2),h("ngForOf",_y(6,4,e.value,"name"))}}function HW(t,i){if(t&1&&(dt(0),l(1,"mat-menu",40,2),x(3,UW,7,7,"ng-container",41),_t(4,"keyvalue"),d(),l(5,"a",42)(6,"i",22),f(7,"insert_drive_file"),d(),l(8,"span",43)(9,"uds-translate"),f(10,"New"),d()(),l(11,"i",22),f(12,"arrow_drop_down"),d()(),ut()),t&2){let e=ge(2),n=_(3);u(),h("overlapTrigger",!1),u(2),h("ngForOf",Ct(4,3,n.grpTypes)),u(2),h("matMenuTriggerFor",e)}}function WW(t,i){if(t&1){let e=A();l(0,"button",49),b("click",function(){let o=y(e).$implicit,r=_(4);return C(r.newAction.emit({param:o,table:r}))}),d()}if(t&2){let e=i.$implicit,n=_(4);h("innerHTML",n.api.safeString(n.api.gui.icon(e.icon)+e.name),Gt)}}function GW(t,i){if(t&1&&(dt(0),l(1,"mat-menu",40,2),x(3,WW,1,1,"button",48),_t(4,"sort"),d(),l(5,"a",42)(6,"i",22),f(7,"insert_drive_file"),d(),l(8,"span",43)(9,"uds-translate"),f(10,"New"),d()(),l(11,"i",22),f(12,"arrow_drop_down"),d()(),ut()),t&2){let e=ge(2),n=_(3);u(),h("overlapTrigger",!1),u(2),h("ngForOf",_y(4,3,n.oTypes,"name")),u(2),h("matMenuTriggerFor",e)}}function $W(t,i){if(t&1&&(dt(0),x(1,HW,13,5,"ng-container",13)(2,GW,13,6,"ng-container",13),ut()),t&2){let e=_(2);u(),h("ngIf",e.newGrouped),u(),h("ngIf",!e.newGrouped)}}function qW(t,i){if(t&1){let e=A();dt(0),l(1,"a",50),b("click",function(){y(e);let o=_(2);return C(o.newAction.emit({param:void 0,table:o}))}),l(2,"i",22),f(3,"insert_drive_file"),d(),l(4,"span",43)(5,"uds-translate"),f(6,"New"),d()()(),ut()}}function YW(t,i){if(t&1&&(dt(0),x(1,$W,3,2,"ng-container",13)(2,qW,7,0,"ng-container",13),ut()),t&2){let e=_();u(),h("ngIf",e.oTypes!==void 0&&e.oTypes.length!==0),u(),h("ngIf",e.oTypes!==void 0&&e.oTypes.length===0)}}function QW(t,i){if(t&1){let e=A();dt(0),l(1,"a",51),b("click",function(){y(e);let o=_();return C(o.emitIfSelection(o.editAction))}),l(2,"i",22),f(3,"edit"),d(),l(4,"span",43)(5,"uds-translate"),f(6,"Edit"),d()()(),ut()}if(t&2){let e=_();u(),h("disabled",e.selection.selected.length!==1)}}function KW(t,i){if(t&1){let e=A();dt(0),l(1,"a",51),b("click",function(){y(e);let o=_();return C(o.permissions())}),l(2,"i",22),f(3,"perm_identity"),d(),l(4,"span",43)(5,"uds-translate"),f(6,"Permissions"),d()()(),ut()}if(t&2){let e=_();u(),h("disabled",e.selection.selected.length!==1)}}function ZW(t,i){if(t&1){let e=A();l(0,"a",53),b("click",function(){let o=y(e).$implicit,r=_(2);return C(r.emitCustom(o))}),d()}if(t&2){let e=i.$implicit,n=_(2);h("disabled",n.isCustomDisabled(e))("innerHTML",e.html,Gt)}}function XW(t,i){if(t&1&&(dt(0),x(1,ZW,1,2,"a",52),ut()),t&2){let e=_();u(),h("ngForOf",e.getcustomButtons())}}function JW(t,i){if(t&1){let e=A();dt(0),l(1,"a",54),b("click",function(){y(e);let o=_();return C(o.export())}),l(2,"i",22),f(3,"import_export"),d(),l(4,"span",43)(5,"uds-translate"),f(6,"Export CSV"),d()()(),ut()}}function eG(t,i){if(t&1){let e=A();dt(0),l(1,"a",55),b("click",function(){y(e);let o=_();return C(o.emitIfSelection(o.deleteAction,!0))}),l(2,"i",22),f(3,"delete_forever"),d(),l(4,"span",43)(5,"uds-translate"),f(6,"Delete"),d()()(),ut()}if(t&2){let e=_();u(),h("disabled",e.selection.isEmpty())}}function tG(t,i){if(t&1){let e=A();l(0,"button",56),b("click",function(){y(e);let o=_();return o.filterText="",C(o.applyFilter())}),l(1,"i",22),f(2,"clear"),d()()}}function nG(t,i){t&1&&M(0,"mat-header-cell")}function iG(t,i){t&1&&(l(0,"i",61),f(1,"check_box"),d())}function oG(t,i){t&1&&(l(0,"i",62),f(1,"check_box_outline_blank"),d())}function rG(t,i){if(t&1){let e=A();l(0,"mat-cell",59),b("click",function(o){let r=y(e).$implicit,a=_(2);return C(a.clickRow(r,o))}),x(1,iG,2,0,"i",60)(2,oG,2,0,"ng-template",null,4,mn),d()}if(t&2){let e=i.$implicit,n=ge(3),o=_(2);u(),h("ngIf",o.selection.isSelected(e))("ngIfElse",n)}}function aG(t,i){t&1&&(dt(0,57),x(1,nG,1,0,"mat-header-cell",27)(2,rG,4,2,"mat-cell",58),ut())}function sG(t,i){t&1&&M(0,"mat-header-cell")}function lG(t,i){if(t&1){let e=A();l(0,"mat-cell")(1,"div",63),b("click",function(o){let r=y(e).$implicit,a=_();return a.detailAction.emit({param:r,table:a}),C(o.stopPropagation())}),l(2,"i",22),f(3,"subdirectory_arrow_right"),d()()()}}function cG(t,i){if(t&1&&(l(0,"mat-header-cell",67),f(1),d()),t&2){let e=_().$implicit;u(),Ve(e.title)}}function dG(t,i){if(t&1){let e=A();l(0,"mat-cell",68),b("click",function(o){let r=y(e).$implicit,a=_(2);return C(a.clickRow(r,o))})("contextmenu",function(o){let r=y(e).$implicit,a=_().$implicit,s=_();return C(s.onContextMenu(r,a,o))}),M(1,"div",69),d()}if(t&2){let e=i.$implicit,n=_().$implicit,o=_();u(),h("innerHtml",o.getRowColumn(e,n),Gt)}}function uG(t,i){if(t&1&&(dt(0,64),x(1,cG,2,1,"mat-header-cell",65)(2,dG,2,1,"mat-cell",66),ut()),t&2){let e=i.$implicit;ta("matColumnDef",e.name)}}function mG(t,i){t&1&&M(0,"mat-header-row")}function pG(t,i){if(t&1&&M(0,"mat-row",70),t&2){let e=i.$implicit,n=_();h("ngClass",n.rowClass(e))}}function hG(t,i){if(t&1&&(l(0,"div",71),f(1),l(2,"uds-translate"),f(3,"Selected items"),d()()),t&2){let e=_();u(),P(" ",e.selection.selected.length," ")}}function fG(t,i){if(t&1){let e=A();l(0,"button",75),b("click",function(){y(e);let o=_(2);return C(o.copyToClipboard())}),l(1,"i",76),f(2,"content_copy"),d(),l(3,"uds-translate"),f(4,"Copy"),d()()}}function gG(t,i){if(t&1){let e=A();l(0,"button",75),b("click",function(){y(e);let o=_().item,r=_();return C(r.detailAction.emit({param:o,table:r}))}),l(1,"i",76),f(2,"subdirectory_arrow_right"),d(),l(3,"uds-translate"),f(4,"Detail"),d()()}}function _G(t,i){if(t&1){let e=A();l(0,"button",75),b("click",function(){y(e);let o=_(2);return C(o.emitIfSelection(o.editAction))}),l(1,"i",76),f(2,"edit"),d(),l(3,"uds-translate"),f(4,"Edit"),d()()}}function vG(t,i){if(t&1){let e=A();l(0,"button",75),b("click",function(){y(e);let o=_(2);return C(o.permissions())}),l(1,"i",76),f(2,"perm_identity"),d(),l(3,"uds-translate"),f(4,"Permissions"),d()()}}function bG(t,i){if(t&1){let e=A();l(0,"button",77),b("click",function(){let o=y(e).$implicit,r=_(2);return C(r.emitCustom(o))}),d()}if(t&2){let e=i.$implicit,n=_(2);h("disabled",n.isCustomDisabled(e))("innerHTML",e.html,Gt)}}function yG(t,i){if(t&1){let e=A();l(0,"button",78),b("click",function(){y(e);let o=_(2);return C(o.emitIfSelection(o.deleteAction))}),l(1,"i",76),f(2,"delete_forever"),d(),l(3,"uds-translate"),f(4,"Delete"),d()()}}function CG(t,i){if(t&1){let e=A();l(0,"button",77),b("click",function(){let o=y(e).$implicit,r=_(3);return C(r.emitCustom(o))}),d()}if(t&2){let e=i.$implicit,n=_(3);h("disabled",n.isCustomDisabled(e))("innerHTML",e.html,Gt)}}function wG(t,i){if(t&1&&(dt(0),M(1,"mat-divider"),x(2,CG,1,2,"button",73),ut()),t&2){let e=_(2);u(2),h("ngForOf",e.getCustomAccelerators())}}function xG(t,i){if(t&1&&x(0,fG,5,0,"button",72)(1,gG,5,0,"button",72)(2,_G,5,0,"button",72)(3,vG,5,0,"button",72)(4,bG,1,2,"button",73)(5,yG,5,0,"button",74)(6,wG,3,1,"ng-container",13),t&2){let e=_();h("ngIf",e.allowCopy===!0),u(),h("ngIf",e.detailAction.observed),u(),h("ngIf",e.editAction.observed),u(),h("ngIf",e.hasPermissions===!0),u(),h("ngForOf",e.getCustomMenu()),u(),h("ngIf",e.deleteAction.observed),u(),h("ngIf",e.hasAccelerators)}}var xe=(()=>{class t{constructor(e,n){this.api=e,this.clipboard=n,this.contextMenu={},this.paginator={},this.sort={},this.rest={},this.tableId="",this.pageSize=10,this.newGrouped=!1,this.allowCopy=!0,this.titleOverride="",this.loaded=new T,this.rowSelected=new T,this.newAction=new T,this.editAction=new T,this.deleteAction=new T,this.customButtonAction=new T,this.detailAction=new T,this.title="",this.subtitle="",this.displayedColumns=[],this.columns=[],this.types=new Map,this.oTypes=[],this.grpTypes=new Map,this.rowStyleInfo=null,this.selection=new lr(!0,[]),this.lastSel=null,this.dataSource=new Ql([]),this.firstLoad=!0,this.loading=!1,this.lastClickInfo={time:0,x:-1e4,y:-1e4},this.clipValue="",this.contextMenuPosition={x:"0px",y:"0px"},this.filterText="",this.hasCustomButtons=!1,this.hasButtons=!1,this.hasActions=!1,this.hasAccelerators=!1}ngOnInit(){return V(this,null,function*(){this.customButtons===void 0||this.customButtons.length===0||!this.customButtonAction.observed?this.hasCustomButtons=!1:this.hasCustomButtons=!0,this.hasAccelerators=this.getCustomAccelerators().length>0,this.hasButtons=this.hasCustomButtons||this.detailAction.observed||this.editAction.observed||this.hasPermissions||this.deleteAction.observed,this.hasActions=this.hasButtons||this.customButtons!==void 0&&this.customButtons.length>0,this.tableId=this.tableId||this.rest.id,this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.dataSource.sortingDataAccessor=(r,a)=>{if(!(a in r))return"";let s=r[a];return typeof s=="number"?s:typeof s=="string"?s.toLocaleLowerCase():(s===null&&(s=7226578800),s.changingThisBreaksApplicationSecurity&&(s=s.changingThisBreaksApplicationSecurity),(""+s).replace(/<(span|\/span)[^>]*>/g,"").toLocaleLowerCase())},this.dataSource.filterPredicate=(r,a)=>{try{this.columns.forEach(s=>{if((""+r[s.name]).replace(/<(span|\/span)[^>]*>/g,"").toLocaleLowerCase().includes(a))throw Error()})}catch{return!0}return!1},this.dataSource.sort.active=this.api.getFromStorage(this.tableId+"sort-column")||"name",this.dataSource.sort.direction=this.api.getFromStorage(this.tableId+"sort-direction")||"asc",this.filterText=this.api.getFromStorage(this.tableId+"filterValue")||"",this.applyFilter(),this.selection=new lr(this.multiSelect===!0,[]);let e=this.rest.permision();(e&Or.MANAGEMENT)===0&&(this.newAction.unsubscribe(),this.editAction.unsubscribe(),this.deleteAction.unsubscribe(),this.customButtonAction.unsubscribe()),e!==Or.ALL&&(this.hasPermissions=!1),this.icon!==void 0&&(this.icon=this.api.staticURL("admin/img/icons/"+this.icon+".png"));let n=yield this.rest.types(),o=yield this.rest.tableInfo();yield this.initialize(o,n)})}initialize(e,n){return V(this,null,function*(){this.oTypes=n,this.types=new Map,this.grpTypes=new Map;for(let r of n)if(this.types.set(r.type,r),r.group!==void 0){this.grpTypes.has(r.group)||this.grpTypes.set(r.group,[]);let a=this.grpTypes.get(r.group);a!==void 0&&a.push(r)}e["row-style"]!==void 0&&e["row-style"].field!==void 0?this.rowStyleInfo=e["row-style"]:this.rowStyleInfo=null,this.title=this.titleOverride||e.title,this.subtitle=e.subtitle||"",this.hasButtons&&this.displayedColumns.push("selection-column");let o=[];for(let r of e.fields)for(let a in r)if(r.hasOwnProperty(a)){let s=r[a];o.push({name:a,title:s.title,type:s.type===void 0?pn.ALPHANUMERIC:s.type,dict:s.dict}),(s.visible===void 0||s.visible)&&this.displayedColumns.push(a)}this.columns=o,this.detailAction.observed&&this.displayedColumns.push("detail-column"),yield this.overview()})}overview(){return V(this,null,function*(){if(!this.loading){this.selection.clear(),this.dataSource.data=[],this.loading=!0;try{let e=yield this.rest.overview();if(this.onItem)for(let n of e)this.onItem(n);this.dataSource.data=e,this.loaded.emit({param:this.firstLoad,table:this}),this.firstLoad=!1}finally{this.loading=!1}}})}getcustomButtons(){return this.customButtons?this.customButtons.filter(e=>e.type!==ot.ONLY_MENU&&e.type!==ot.ACCELERATOR):[]}getCustomMenu(){return this.customButtons?this.customButtons.filter(e=>e.type!==ot.ACCELERATOR):[]}getCustomAccelerators(){return this.customButtons?this.customButtons.filter(e=>e.type===ot.ACCELERATOR):[]}getRowColumn(e,n){let o=e[n.name];switch(n.type){case pn.IMAGE:return this.api.safeString(this.api.gui.icon(o,"48px"));case pn.DATE:o=Nn("SHORT_DATE_FORMAT",o);break;case pn.DATETIME:o=Nn("SHORT_DATETIME_FORMAT",o);break;case pn.TIME:o=Nn("TIME_FORMAT",o);break;case pn.DATETIMESEC:o=Nn("SHORT_DATE_FORMAT",o," H:i:s");break;case pn.ICON:typeof o=="string"&&(o=o.replace(//g,">"));try{o=this.api.gui.icon(this.types.get(e.type).icon)+o}catch{}return this.api.safeString(o);case pn.CALLBACK:break;case pn.DICTIONARY:try{o=n.dict[o]}catch{o=""}break}return typeof o=="string"&&(o=o.replace(/0&&(n===!0||o===1)&&e.emit({table:this,param:o})}isCustomDisabled(e){switch(e.type){case void 0:case ot.SINGLE_SELECT:return this.selection.selected.length!==1||e.disabled===!0;case ot.MULTI_SELECT:return this.selection.isEmpty()||e.disabled===!0;default:return!1}}emitCustom(e){!this.selection.selected.length&&e.type!==ot.ALWAYS||(e.type===ot.ACCELERATOR?this.api.navigation.goto(e.id,this.selection.selected[0],e.acceleratorProperties||[]):this.customButtonAction.emit({param:e,table:this}))}clickRow(e,n){let o=new Date().getTime();if((this.detailAction.observed||this.editAction.observed)&&Math.abs(this.lastClickInfo.x-n.x)<16&&Math.abs(this.lastClickInfo.y-n.y)<16&&o-this.lastClickInfo.time<250){this.selection.clear(),this.selection.select(e),this.detailAction.observed?this.detailAction.emit({param:e,table:this}):this.emitIfSelection(this.editAction,!1);return}this.lastClickInfo={time:o,x:n.x,y:n.y},this.doSelect(e,n)}doSelect(e,n){if(n.ctrlKey)this.lastSel=e,this.selection.toggle(e);else if(n.shiftKey){if(this.selection.isEmpty())this.selection.toggle(e);else if(this.selection.clear(),this.lastSel!==e){let o=!1,r=this.dataSource.sort?this.dataSource.sortData(this.dataSource.data,this.dataSource.sort):this.dataSource.data;for(let a of r){if((a===e||a===this.lastSel)&&(o=!o,o===!1)){this.selection.select(a);break}o&&this.selection.select(a)}}}else this.lastSel!==e&&this.selection.clear(),this.lastSel=e,this.selection.toggle(e);this.rowSelected.emit({param:null,table:this})}onContextMenu(e,n,o){o.preventDefault();let r=e[n.name];r.changingThisBreaksApplicationSecurity&&(r=r.changingThisBreaksApplicationSecurity.replace(/.*<\/span>/,"")),this.clipValue=""+r,this.hasActions&&(this.selection.clear(),this.selection.select(e),this.contextMenuPosition.x=o.clientX+"px",this.contextMenuPosition.y=o.clientY+"px",this.contextMenu.menuData={item:e},this.contextMenu.openMenu())}selectElement(e,n){(this.dataSource.sort?this.dataSource.sortData(this.dataSource.data,this.dataSource.sort):this.dataSource.data).forEach((r,a)=>{if(r[e]===n){let s=Math.floor(a/this.paginator.pageSize);this.selection.select(r),this.paginator.pageIndex=s,this.paginator.page.next({pageIndex:s,pageSize:this.paginator.pageSize,length:this.paginator.length})}})}export(){Sg(this)}permissions(){this.selection.selected.length&&FA.launch(this.api,this.rest,this.selection.selected[0])}keyDown(e){switch(e.keyCode){case 36:this.paginator.firstPage(),e.preventDefault();break;case 35:this.paginator.lastPage(),e.preventDefault();break;case 39:this.paginator.nextPage(),e.preventDefault();break;case 37:this.paginator.previousPage(),e.preventDefault();break}}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(jA))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-table"]],viewQuery:function(n,o){if(n&1&&(se(VW,7),se(Fr,7),se(Nr,7)),n&2){let r;q(r=Y())&&(o.contextMenu=r.first),q(r=Y())&&(o.paginator=r.first),q(r=Y())&&(o.sort=r.first)}},inputs:{rest:"rest",onItem:"onItem",icon:"icon",multiSelect:"multiSelect",allowExport:"allowExport",hasPermissions:"hasPermissions",customButtons:"customButtons",tableId:"tableId",pageSize:"pageSize",newGrouped:"newGrouped",allowCopy:"allowCopy",titleOverride:"titleOverride"},outputs:{loaded:"loaded",rowSelected:"rowSelected",newAction:"newAction",editAction:"editAction",deleteAction:"deleteAction",customButtonAction:"customButtonAction",detailAction:"detailAction"},standalone:!1,decls:51,vars:30,consts:[["trigger","matMenuTrigger"],["contextMenu","matMenu"],["newMenu","matMenu"],["sub_menu","matMenu"],["uncheck",""],[1,"card"],[1,"card-header"],[1,"card-title"],[3,"src",4,"ngIf"],[1,"card-subtitle"],[1,"card-content"],[1,"header"],[1,"buttons"],[4,"ngIf"],[1,"navigation"],[1,"filter"],["matInput","",3,"keyup","ngModelChange","ngModel"],["matSuffix","","mat-icon-button","","aria-label","Clear",3,"click",4,"ngIf"],[1,"paginator"],[3,"pageSize","hidePageSize","pageSizeOptions","showFirstLastButtons"],[1,"reload"],["mat-icon-button","",3,"click"],[1,"material-icons"],["tabindex","0",1,"table",3,"keydown"],["matSort","",3,"matSortChange","dataSource"],["matColumnDef","selection-column",4,"ngIf"],["matColumnDef","detail-column"],[4,"matHeaderCellDef"],[4,"matCellDef"],[3,"matColumnDef",4,"ngFor","ngForOf"],[4,"matHeaderRowDef"],[3,"ngClass",4,"matRowDef","matRowDefColumns"],[3,"hidden"],[1,"loading"],["mode","indeterminate"],[1,"footer"],["class","selection",4,"ngIf"],[2,"position","fixed",3,"matMenuTriggerFor"],["matMenuContent",""],[3,"src"],[1,"wide-menu",3,"overlapTrigger"],[4,"ngFor","ngForOf"],["mat-raised-button","","color","primary",3,"matMenuTriggerFor"],[1,"button-text"],["mat-menu-item","",1,"main-button",3,"matMenuTriggerFor"],[3,"overlapTrigger"],["mat-menu-item","",3,"innerHTML","click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click","innerHTML"],["mat-menu-item","","class","main-button",3,"innerHTML","click",4,"ngFor","ngForOf"],["mat-menu-item","",1,"main-button",3,"click","innerHTML"],["mat-raised-button","","color","primary",1,"main-button",3,"click"],["mat-raised-button","",3,"click","disabled"],["mat-raised-button","",3,"disabled","innerHTML","click",4,"ngFor","ngForOf"],["mat-raised-button","",3,"click","disabled","innerHTML"],["mat-raised-button","",3,"click"],["mat-raised-button","","color","warn",3,"click","disabled"],["matSuffix","","mat-icon-button","","aria-label","Clear",3,"click"],["matColumnDef","selection-column"],[3,"click",4,"matCellDef"],[3,"click"],["class","material-icons check checked",4,"ngIf","ngIfElse"],[1,"material-icons","check","checked"],[1,"material-icons","check"],[1,"detail-launcher",3,"click"],[3,"matColumnDef"],["mat-sort-header","",4,"matHeaderCellDef"],[3,"click","contextmenu",4,"matCellDef"],["mat-sort-header",""],[3,"click","contextmenu"],[3,"innerHtml"],[3,"ngClass"],[1,"selection"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"disabled","innerHTML","click",4,"ngFor","ngForOf"],["mat-menu-item","","class","menu-warn",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"material-icons","spaced"],["mat-menu-item","",3,"click","disabled","innerHTML"],["mat-menu-item","",1,"menu-warn",3,"click"]],template:function(n,o){if(n&1){let r=A();l(0,"div",5)(1,"div",6)(2,"div",7),x(3,jW,1,1,"img",8),f(4),d(),l(5,"div",9),f(6),d()(),l(7,"div",10)(8,"div",11)(9,"div",12),x(10,YW,3,2,"ng-container",13)(11,QW,7,1,"ng-container",13)(12,KW,7,1,"ng-container",13)(13,XW,2,1,"ng-container",13)(14,JW,7,0,"ng-container",13)(15,eG,7,1,"ng-container",13),d(),l(16,"div",14)(17,"div",15)(18,"mat-form-field")(19,"mat-label")(20,"uds-translate"),f(21,"Filter"),d()(),l(22,"input",16),b("keyup",function(){return y(r),C(o.applyFilter())}),H("ngModelChange",function(s){return y(r),W(o.filterText,s)||(o.filterText=s),C(s)}),d(),x(23,tG,3,0,"button",17),_t(24,"notEmpty"),d()(),l(25,"div",18),M(26,"mat-paginator",19),d(),l(27,"div",20)(28,"a",21),b("click",function(){return y(r),C(o.overview())}),l(29,"i",22),f(30,"autorenew"),d()()()()(),l(31,"div",23),b("keydown",function(s){return y(r),C(o.keyDown(s))}),l(32,"mat-table",24),b("matSortChange",function(s){return y(r),C(o.sortChanged(s))}),x(33,aG,3,0,"ng-container",25),dt(34,26),x(35,sG,1,0,"mat-header-cell",27)(36,lG,4,0,"mat-cell",28),ut(),x(37,uG,3,1,"ng-container",29)(38,mG,1,0,"mat-header-row",30)(39,pG,1,1,"mat-row",31),d(),l(40,"div",32)(41,"div",33),M(42,"mat-progress-spinner",34),d()()(),l(43,"div",35),f(44," \xA0 "),x(45,hG,4,1,"div",36),d()(),M(46,"div",37,0),l(48,"mat-menu",null,1),x(50,xG,7,7,"ng-template",38),d()()}if(n&2){let r=ge(49);u(3),h("ngIf",o.icon!==void 0),u(),P(" ",o.title," "),u(2),P(" ",o.subtitle," "),u(4),h("ngIf",o.newAction.observed),u(),h("ngIf",o.editAction.observed),u(),h("ngIf",o.hasPermissions===!0),u(),h("ngIf",o.hasCustomButtons),u(),h("ngIf",o.allowExport===!0),u(),h("ngIf",o.deleteAction.observed),u(7),U("ngModel",o.filterText),u(),h("ngIf",Ct(24,27,o.filterText)),u(3),h("pageSize",o.pageSize)("hidePageSize",!0)("pageSizeOptions",sl(29,BW))("showFirstLastButtons",!0),u(6),h("dataSource",o.dataSource),u(),h("ngIf",o.hasButtons),u(4),h("ngForOf",o.columns),u(),h("matHeaderRowDef",o.displayedColumns),u(),h("matRowDefColumns",o.displayedColumns),u(),h("hidden",!o.loading),u(5),h("ngIf",o.hasButtons&&o.selection.selected.length>0),u(),Un("left",o.contextMenuPosition.x)("top",o.contextMenuPosition.y),h("matMenuTriggerFor",r)}},dependencies:[si,Fe,de,st,ve,be,ha,Ud,Ln,Ca,ws,HA,Mg,me,Te,Hi,pt,ag,lg,mg,cg,sg,pg,dg,ug,hg,fg,Fr,Nr,Zf,yg,xg,ae,Ay,fn,XA],styles:[".mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}html[_ngcontent-%COMP%]{--mat-sys-on-surface: initial}.mat-app-background[_ngcontent-%COMP%]{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}.header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-wrap:wrap;margin:1rem 1rem 0rem}.buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap}.buttons[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-right:1rem;margin-bottom:1rem}.buttons[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{margin-right:.1rem}.buttons[_ngcontent-%COMP%] .mat-mdc-raised-button[_ngcontent-%COMP%]:hover:not([disabled]){background-color:#fafafa;color:#000}button.mat-mdc-menu-item[_ngcontent-%COMP%]{height:2rem;line-height:2rem}.navigation[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;flex-wrap:wrap}.reload[_ngcontent-%COMP%]{margin-top:.5rem}.table[_ngcontent-%COMP%]{margin:0rem 1rem;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.footer[_ngcontent-%COMP%]{margin:1em;display:flex;justify-content:flex-end}mat-cell[_ngcontent-%COMP%]:first-of-type, mat-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:.5rem}mat-row[_ngcontent-%COMP%]:hover{background-color:#a0b0d0;cursor:pointer}.check[_ngcontent-%COMP%]{margin-left:.5rem;font-size:1.5rem;width:1.5rem}mat-table[_ngcontent-%COMP%]{width:100%;font-weight:300}.mat-column-detail-column[_ngcontent-%COMP%]{max-width:1.5rem;justify-content:center;color:#000!important;padding-right:.5rem}.detail-launcher[_ngcontent-%COMP%]{display:none}.mat-mdc-row[_ngcontent-%COMP%]:hover .detail-launcher[_ngcontent-%COMP%]{display:block}.mat-column-selection-column[_ngcontent-%COMP%]{max-width:2rem;justify-content:center;color:#000!important}.menu-warn[_ngcontent-%COMP%]{color:red}.menu-link[_ngcontent-%COMP%]{color:#00f}.loading[_ngcontent-%COMP%]{margin-top:2rem;margin-bottom:2rem;display:flex;justify-content:center} .mat-mdc-menu-panel{min-height:3rem} .mat-mdc-menu-panel.mat-mdc-menu-panel{max-width:32rem} .mat-mdc-paginator-range-label{min-width:6em}.mat-mdc-menu-item[_ngcontent-%COMP%]{min-height:2.5rem} .dark-theme .mat-mdc-paginator-container{background-color:#303030} .dark-theme .buttons .mat-mdc-raised-button:hover:not([disabled]){background-color:#303030;color:#fff} .dark-theme .mat-column-detail-column{color:#fff!important} .dark-theme .mat-column-selection-column{color:#fff!important} .dark-theme .menu-warn{color:red} .dark-theme .menu-link{color:#00f}.filter[_ngcontent-%COMP%]{display:flex;align-items:center;width:16rem}.filter[_ngcontent-%COMP%] .mat-mdc-form-field-infix{min-height:3rem;padding-top:1rem!important;padding-bottom:1rem!important}.filter[_ngcontent-%COMP%] .mat-mdc-form-field-bottom-align{height:0px}.mat-column-token[_ngcontent-%COMP%]{overflow-wrap:anywhere}"]})}}return t})();var JA='pause'+django.gettext("Maintenance")+"",DG='pause'+django.gettext("Exit maintenance mode")+"",SG='pause'+django.gettext("Enter maintenance mode")+"",qC=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o,this.cButtons=[{id:"maintenance",html:JA,type:ot.SINGLE_SELECT}]}get customButtons(){return this.api.user.isAdmin?this.cButtons:[]}ngOnInit(){}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New provider"),!0)}onEdit(e){this.api.gui.forms.typedEditForm(e,django.gettext("Edit provider"),!0)}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete provider"))}onMaintenance(e){let n=e.table.selection.selected[0],o=n.maintenance_mode?django.gettext("Exit maintenance mode?"):django.gettext("Enter maintenance mode?");this.api.gui.questionDialog(django.gettext("Maintenance mode for")+" "+n.name,o).then(r=>{r&&this.rest.providers.maintenance(n.id).then(()=>{e.table.overview()})})}onRowSelect(e){let n=e.table;if(n.selection.selected.length>1||n.selection.selected.length===0){this.customButtons[0].html=JA;return}n.selection.selected[0].maintenance_mode?this.customButtons[0].html=DG:this.customButtons[0].html=SG}onDetail(e){this.api.navigation.gotoService(e.param.id)}processElement(e){e.maintenance_state=e.maintenance_mode?django.gettext("In Maintenance"):django.gettext("Active")}onLoad(e){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("provider"))}static{this.\u0275fac=function(n){return new(n||t)(w(Ie),w(J),w(z))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-providers"]],standalone:!1,decls:1,vars:7,consts:[["tableId","service-providers","icon","providers",3,"customButtonAction","newAction","editAction","deleteAction","rowSelected","detailAction","loaded","rest","onItem","multiSelect","allowExport","hasPermissions","customButtons","pageSize"]],template:function(n,o){n&1&&(l(0,"uds-table",0),b("customButtonAction",function(a){return o.onMaintenance(a)})("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("rowSelected",function(a){return o.onRowSelect(a)})("detailAction",function(a){return o.onDetail(a)})("loaded",function(a){return o.onLoad(a)}),d()),n&2&&h("rest",o.rest.providers)("onItem",o.processElement)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("customButtons",o.customButtons)("pageSize",o.api.config.admin.page_size)},dependencies:[xe],styles:[".row-maintenance-true>mat-cell{color:#dc3131!important} .mat-column-services_count, .mat-column-user_services_count{max-width:7rem;justify-content:center} .mat-column-maintenance_state{max-width:10rem;justify-content:center}"]})}}return t})();var uo=class{constructor(i,e,n,o){this.title=i,this.data=e,this.columns=n,this.id=o,this.columnsDefinition=Array.from(n,r=>{let a={};return a[r.field]={visible:!0,title:r.title,type:r.type===void 0?pn.ALPHANUMERIC:r.type},a})}get(i){return Promise.resolve({})}getLogs(i){return Promise.resolve([])}overview(i){return typeof this.data=="function"?Promise.resolve(this.data()):Promise.resolve(this.data)}summary(i){return this.overview()}put(i,e){return Promise.resolve()}create(i){return Promise.resolve()}save(i,e){return Promise.resolve()}test(i,e){return Promise.resolve("")}delete(i){return Promise.resolve()}permision(){return Or.ALL}getPermissions(i){return Promise.resolve([])}addPermission(i,e,n,o){return Promise.resolve({})}revokePermission(i){return Promise.resolve()}types(){return Promise.resolve([])}gui(i){return Promise.resolve({})}callback(i,e){return Promise.resolve([])}tableInfo(){return Promise.resolve({fields:this.columnsDefinition,title:this.title})}detail(i,e){return null}invoke(i,e){return Promise.resolve({})}};var EG=()=>[5,10,25,100,1e3];function MG(t,i){if(t&1){let e=A();l(0,"button",24),b("click",function(){y(e);let o=_();return o.filterText="",C(o.applyFilter())}),l(1,"i",8),f(2,"close"),d()()}}function IG(t,i){if(t&1&&(l(0,"mat-header-cell",28),f(1),d()),t&2){let e=_().$implicit;u(),Ve(e)}}function TG(t,i){if(t&1&&(l(0,"mat-cell"),M(1,"div",29),d()),t&2){let e=i.$implicit,n=_().$implicit,o=_();u(),h("innerHtml",o.getRowColumn(e,n),Gt)}}function kG(t,i){if(t&1&&(dt(0,25),x(1,IG,2,1,"mat-header-cell",26)(2,TG,2,1,"mat-cell",27),ut()),t&2){let e=i.$implicit;h("matColumnDef",e)}}function AG(t,i){t&1&&M(0,"mat-header-row")}function RG(t,i){if(t&1&&M(0,"mat-row",30),t&2){let e=i.$implicit,n=_();h("ngClass",n.rowClass(e))}}var Ti=(()=>{class t{constructor(e){this.api=e,this.rest={},this.itemId="",this.tableId="",this.pageSize=10,this.paginator={},this.sort={},this.filterText="",this.title="Logs",this.displayedColumns=["date","level","source","message"],this.columns=[],this.dataSource=new Ql([]),this.selection=new lr}ngOnInit(){this.tableId=this.tableId||this.rest.id,this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.dataSource.sort.active=this.api.getFromStorage("logs-sort-column")||"date",this.dataSource.sort.direction=this.api.getFromStorage("logs-sort-direction")||"desc";for(let e of this.displayedColumns){let n=e==="date"?pn.DATETIMESEC:pn.ALPHANUMERIC;this.columns.push({name:e,title:e,type:n})}this.filterText=this.api.getFromStorage(this.tableId+"filterValue")||"",this.applyFilter(),this.overview()}overview(){return V(this,null,function*(){this.dataSource.data=yield this.rest.getLogs(this.itemId)})}selectElement(e,n){}getRowColumn(e,n){let o=e[n];return n==="date"?o=Nn("SHORT_DATE_FORMAT",o," H:i:s"):n==="level"&&(o=I1(o)),o}rowClass(e){return["level-"+e.level]}applyFilter(){this.api.putOnStorage(this.tableId+"filterValue",this.filterText),this.dataSource.filter=this.filterText.trim().toLowerCase()}sortChanged(e){this.api.putOnStorage("logs-sort-column",e.active),this.api.putOnStorage("logs-sort-direction",e.direction)}export(){Sg(this)}keyDown(e){switch(e.keyCode){case 36:this.paginator.firstPage(),e.preventDefault();break;case 35:this.paginator.lastPage(),e.preventDefault();break;case 39:this.paginator.nextPage(),e.preventDefault();break;case 37:this.paginator.previousPage(),e.preventDefault();break}}static{this.\u0275fac=function(n){return new(n||t)(w(z))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-logs-table"]],viewQuery:function(n,o){if(n&1&&(se(Fr,7),se(Nr,7)),n&2){let r;q(r=Y())&&(o.paginator=r.first),q(r=Y())&&(o.sort=r.first)}},inputs:{rest:"rest",itemId:"itemId",tableId:"tableId",pageSize:"pageSize"},standalone:!1,decls:37,vars:14,consts:[[1,"card"],[1,"card-header"],[1,"card-title"],[3,"src"],[1,"card-content"],[1,"header"],[1,"buttons"],["mat-raised-button","",3,"click"],[1,"material-icons"],[1,"button-text"],[1,"navigation"],[1,"filter"],["matInput","",3,"keyup","ngModelChange","ngModel"],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear",3,"click",4,"ngIf"],[1,"paginator"],[3,"pageSize","hidePageSize","pageSizeOptions","showFirstLastButtons"],[1,"reload"],["mat-icon-button","",3,"click"],["tabindex","0",1,"table",3,"keydown"],["matSort","",3,"matSortChange","dataSource"],[3,"matColumnDef",4,"ngFor","ngForOf"],[4,"matHeaderRowDef"],[3,"ngClass",4,"matRowDef","matRowDefColumns"],[1,"footer"],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear",3,"click"],[3,"matColumnDef"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["mat-sort-header",""],[3,"innerHtml"],[3,"ngClass"]],template:function(n,o){n&1&&(l(0,"div",0)(1,"div",1)(2,"div",2),M(3,"img",3),f(4," \xA0"),l(5,"uds-translate"),f(6,"Logs"),d()()(),l(7,"div",4)(8,"div",5)(9,"div",6)(10,"a",7),b("click",function(){return o.export()}),l(11,"i",8),f(12,"import_export"),d(),l(13,"span",9)(14,"uds-translate"),f(15,"Export"),d()()()(),l(16,"div",10)(17,"div",11)(18,"uds-translate"),f(19,"Filter"),d(),f(20,"\xA0 "),l(21,"mat-form-field")(22,"input",12),b("keyup",function(){return o.applyFilter()}),H("ngModelChange",function(a){return W(o.filterText,a)||(o.filterText=a),a}),d(),x(23,MG,3,0,"button",13),_t(24,"notEmpty"),d()(),l(25,"div",14),M(26,"mat-paginator",15),d(),l(27,"div",16)(28,"a",17),b("click",function(){return o.overview()}),l(29,"i",8),f(30,"autorenew"),d()()()()(),l(31,"div",18),b("keydown",function(a){return o.keyDown(a)}),l(32,"mat-table",19),b("matSortChange",function(a){return o.sortChanged(a)}),x(33,kG,3,1,"ng-container",20)(34,AG,1,0,"mat-header-row",21)(35,RG,1,1,"mat-row",22),d()(),M(36,"div",23),d()()),n&2&&(u(3),h("src",o.api.staticURL("admin/img/icons/logs.png"),Ce),u(19),U("ngModel",o.filterText),u(),h("ngIf",Ct(24,11,o.filterText)),u(3),h("pageSize",o.pageSize)("hidePageSize",!0)("pageSizeOptions",sl(13,EG))("showFirstLastButtons",!0),u(6),h("dataSource",o.dataSource),u(),h("ngForOf",o.displayedColumns),u(),h("matHeaderRowDef",o.displayedColumns),u(),h("matRowDefColumns",o.displayedColumns))},dependencies:[si,Fe,de,st,ve,be,ha,Se,Ud,Ln,me,Hi,pt,ag,lg,mg,cg,sg,pg,dg,ug,hg,fg,Fr,Nr,Zf,ae,fn],styles:[".header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-wrap:wrap;margin:1rem 1rem 0rem}.navigation[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;flex-wrap:wrap}.reload[_ngcontent-%COMP%]{margin-top:.5rem}.table[_ngcontent-%COMP%]{margin:0rem 1rem;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.mat-column-date[_ngcontent-%COMP%]{min-width:12rem;max-width:20rem}.mat-column-level[_ngcontent-%COMP%]{max-width:8rem;text-align:center}.mat-column-source[_ngcontent-%COMP%]{max-width:8rem} .level-60000>.mat-mdc-cell{color:#ff1e1e!important} .level-50000>.mat-mdc-cell{color:#ff1e1e!important} .level-40000>.mat-mdc-cell{color:#d65014!important}.filter[_ngcontent-%COMP%]{display:flex;align-items:center;width:16rem}.filter[_ngcontent-%COMP%] .mat-mdc-form-field-infix{min-height:3rem;padding-top:1rem!important;padding-bottom:1rem!important}.filter[_ngcontent-%COMP%] .mat-mdc-form-field-bottom-align{height:0px}"]})}}return t})();function OG(t,i){t&1&&(l(0,"uds-translate"),f(1,"Services pools"),d())}function PG(t,i){t&1&&(l(0,"uds-translate"),f(1,"Logs"),d())}var FG=[{field:"name",title:django.gettext("Pool")},{field:"state",title:django.gettext("State")},{field:"user_services_count",title:django.gettext("User Services")}],eR=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.customButtons=[En.getGotoButton(Zd,"id")],this.servicePools={},this.services=r.services,this.service=r.service}static launch(e,n,o){let r=window.innerWidth<800?"80%":"60%",a=e.gui.dialog.open(t,{width:r,position:{top:window.innerWidth<800?"0px":"7rem"},data:{service:o,services:n},disableClose:!1})}ngOnInit(){let e=()=>this.services.invoke(this.service.id+"/servicepools");this.servicePools=new uo(django.gettext("Service pools"),e,FG,this.service.id+"infopsls")}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(J),w(Ae),w(Be))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-service-information"]],standalone:!1,decls:17,vars:8,consts:[["mat-dialog-title",""],["mat-tab-label",""],[3,"rest","customButtons","pageSize"],[1,"content"],[3,"rest","itemId","tableId","pageSize"],["mat-raised-button","","mat-dialog-close","","color","primary"]],template:function(n,o){n&1&&(l(0,"h4",0)(1,"uds-translate"),f(2,"Information for"),d(),f(3),d(),l(4,"mat-dialog-content")(5,"mat-tab-group")(6,"mat-tab"),x(7,OG,2,0,"ng-template",1),M(8,"uds-table",2),d(),l(9,"mat-tab"),x(10,PG,2,0,"ng-template",1),l(11,"div",3),M(12,"uds-logs-table",4),d()()()(),l(13,"mat-dialog-actions")(14,"button",5)(15,"uds-translate"),f(16,"Ok"),d()()()),n&2&&(u(3),P(" ",o.service.name,` -`),u(5),h("rest",o.servicePools)("customButtons",o.customButtons)("pageSize",6),u(4),h("rest",o.services)("itemId",o.service.id)("tableId","serviceInfo-d-log"+o.service.id)("pageSize",5))},dependencies:[Se,jt,We,$e,Ge,Qt,Kt,Jt,ae,xe,Ti],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.mat-column-count[_ngcontent-%COMP%], .mat-column-image[_ngcontent-%COMP%], .mat-column-state[_ngcontent-%COMP%]{max-width:7rem;justify-content:center}.navigation[_ngcontent-%COMP%]{margin-top:1rem;display:flex;justify-content:flex-end;flex-wrap:wrap}.reload[_ngcontent-%COMP%]{margin-top:.5rem}"]})}}return t})();function NG(t,i){if(t&1&&(l(0,"div",3),M(1,"div",4)(2,"div",5),d()),t&2){let e=i.$implicit;u(),h("innerHTML",e.gui.label,Gt),u(),h("innerHTML",e.value,Gt)}}var mo=(()=>{class t{constructor(e){this.api=e,this.gui=[]}ngOnInit(){this.processFields()}processFields(){if(!this.gui||!this.value)return;let e=this.gui.filter(n=>n.gui.type!==$n.HIDDEN);for(let n of e){let o=this.value[n.name];switch(n.gui.type){case $n.CHECKBOX:n.value=o?django.gettext("Yes"):django.gettext("No");break;case $n.PASSWORD:n.value=django.gettext("(hidden)");break;case $n.CHOICE:{let r=Wd.locateChoice(o,n);n.value=r.text;break}case $n.MULTI_CHOICE:n.value=django.gettext("Selected items :")+o.length;break;case $n.IMAGECHOICE:{let r=Wd.locateChoice(o,n);r.img&&(n.value=this.api.safeString(this.api.gui.icon(r.img)+" "+r.text));break}case $n.INFO:continue;default:n.value=o}(n.value===""||n.value===void 0||n.value===null)&&(n.value="(empty)")}return e}static{this.\u0275fac=function(n){return new(n||t)(w(z))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-information"]],inputs:{value:"value",gui:"gui"},standalone:!1,decls:4,vars:1,consts:[[1,"card"],[1,"card-content"],["class","item",4,"ngFor","ngForOf"],[1,"item"],[1,"label",3,"innerHTML"],[1,"value",3,"innerHTML"]],template:function(n,o){n&1&&(l(0,"div",0)(1,"div",1),x(2,NG,3,2,"div",2),d(),M(3,"div"),d()),n&2&&(u(2),h("ngForOf",o.processFields()))},dependencies:[Fe],styles:[".card-content[_ngcontent-%COMP%]{padding:1rem;display:flex;flex-direction:column}.item[_ngcontent-%COMP%]{padding-bottom:.5rem;display:flex}.label[_ngcontent-%COMP%]{font-weight:700;width:32rem;overflow-x:hidden;text-overflow:ellipsis;text-align:end;margin-right:1rem;align-self:center}"]})}}return t})();var LG=t=>["/services","providers",t];function VG(t,i){t&1&&(l(0,"uds-translate"),f(1,"Summary"),d())}function BG(t,i){if(t&1&&M(0,"uds-information",15),t&2){let e=_(2);h("value",e.provider)("gui",e.gui)}}function jG(t,i){t&1&&(l(0,"uds-translate"),f(1,"Services"),d())}function zG(t,i){t&1&&(l(0,"uds-translate"),f(1,"Usage"),d())}function UG(t,i){t&1&&(l(0,"uds-translate"),f(1,"Logs"),d())}function HG(t,i){if(t&1){let e=A();l(0,"div",6)(1,"div",7)(2,"mat-tab-group",8),H("selectedIndexChange",function(o){y(e);let r=_();return W(r.selectedTab,o)||(r.selectedTab=o),C(o)}),l(3,"mat-tab"),x(4,VG,2,0,"ng-template",9),l(5,"div",10),x(6,BG,1,2,"uds-information",11),d()(),l(7,"mat-tab"),x(8,jG,2,0,"ng-template",9),l(9,"div",10)(10,"uds-table",12),b("newAction",function(o){y(e);let r=_();return C(r.onNewService(o))})("editAction",function(o){y(e);let r=_();return C(r.onEditService(o))})("deleteAction",function(o){y(e);let r=_();return C(r.onDeleteService(o))})("customButtonAction",function(o){y(e);let r=_();return C(r.onInformation(o))})("loaded",function(o){y(e);let r=_();return C(r.onLoad(o))}),d()()(),l(11,"mat-tab"),x(12,zG,2,0,"ng-template",9),l(13,"div",10)(14,"uds-table",13),b("deleteAction",function(o){y(e);let r=_();return C(r.onDeleteUsage(o))}),d()()(),l(15,"mat-tab"),x(16,UG,2,0,"ng-template",9),l(17,"div",10),M(18,"uds-logs-table",14),d()()()()()}if(t&2){let e=_();u(2),U("selectedIndex",e.selectedTab),h("@.disabled",!0),u(4),h("ngIf",e.provider&&e.gui),u(4),h("rest",e.services)("multiSelect",!0)("allowExport",!0)("customButtons",e.customButtons)("pageSize",e.api.config.admin.page_size)("tableId","providers-d-services"+e.provider.id),u(4),h("rest",e.usage)("multiSelect",!0)("allowExport",!0)("pageSize",e.api.config.admin.page_size)("tableId","providers-d-usage"+e.provider.id),u(4),h("rest",e.services.parentModel)("itemId",e.provider.id)("tableId","providers-d-log"+e.provider.id)}}var YC=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o,this.customButtons=[{id:"info",html:'info '+django.gettext("Information")+"",type:ot.ONLY_MENU}],this.provider=null,this.gui=[],this.services={},this.usage={},this.selectedTab=1}ngOnInit(){let e=this.route.snapshot.paramMap.get("provider");e&&(this.services=this.rest.providers.detail(e,"services"),this.usage=this.rest.providers.detail(e,"usage"),this.services.parentModel.get(e).then(n=>{this.provider=n,this.services.parentModel.gui(n.type).then(o=>{this.gui=o})}))}onInformation(e){eR.launch(this.api,this.services,e.table.selection.selected[0])}onNewService(e){let n=django.gettext("New service")+": "+(e.param.name||"");this.api.gui.forms.typedNewForm(e,n,!1)}onEditService(e){let n=django.gettext("Edit service")+": "+(e.table.selection.selected[0].name||"");this.api.gui.forms.typedEditForm(e,n,!1)}onDeleteService(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete service"))}onDeleteUsage(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete user service"))}onLoad(e){if(e.param===!0){let n=this.route.snapshot.paramMap.get("service");if(n!==void 0){this.selectedTab=1;let o=e.table;o.dataSource.data.forEach(r=>{r.id===n&&o.selection.select(r)})}}}static{this.\u0275fac=function(n){return new(n||t)(w(Ie),w(J),w(z))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-provider-detail"]],standalone:!1,decls:9,vars:6,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary",3,"selectedIndexChange","selectedIndex"],["mat-tab-label",""],[1,"content"],[3,"value","gui",4,"ngIf"],["icon","providers",3,"newAction","editAction","deleteAction","customButtonAction","loaded","rest","multiSelect","allowExport","customButtons","pageSize","tableId"],["icon","usage",3,"deleteAction","rest","multiSelect","allowExport","pageSize","tableId"],[3,"rest","itemId","tableId"],[3,"value","gui"]],template:function(n,o){n&1&&(l(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),f(4,"arrow_back"),d()(),f(5," \xA0"),M(6,"img",4),f(7),d(),x(8,HG,19,17,"div",5),d()),n&2&&(u(2),h("routerLink",Jn(4,LG,o.services.parentId)),u(4),h("src",o.api.staticURL("admin/img/icons/services.png"),Ce),u(),P(" \xA0",o.provider==null?null:o.provider.name," "),u(),h("ngIf",o.provider!==null))},dependencies:[de,ln,Qt,Kt,Jt,ae,xe,Ti,mo],encapsulation:2})}}return t})();var QC=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o}ngOnInit(){}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New server"),!1)}onEdit(e){this.api.gui.forms.typedEditForm(e,django.gettext("Edit server"),!1)}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete server"))}onDetail(e){this.api.navigation.gotoServerDetail(e.param.id)}processElement(e){e.maintenance_state=e.maintenance_mode?django.gettext("In Maintenance"):django.gettext("Active")}onLoad(e){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("server"))}static{this.\u0275fac=function(n){return new(n||t)(w(Ie),w(J),w(z))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-servers"]],standalone:!1,decls:1,vars:7,consts:[["tableId","server-groups-table","icon","servers",3,"newAction","editAction","deleteAction","detailAction","loaded","rest","onItem","multiSelect","allowExport","hasPermissions","newGrouped","pageSize"]],template:function(n,o){n&1&&(l(0,"uds-table",0),b("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("detailAction",function(a){return o.onDetail(a)})("loaded",function(a){return o.onLoad(a)}),d()),n&2&&h("rest",o.rest.serverGroups)("onItem",o.processElement)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("newGrouped",!0)("pageSize",o.api.config.admin.page_size)},dependencies:[xe],encapsulation:2})}}return t})();var tR=lc(su());function WG(t,i){if(t&1){let e=A();l(0,"button",18),b("click",function(){y(e);let o=_();return C(o.downloadTemplate())}),l(1,"uds-translate"),f(2,"Download template"),d()()}}var Tg=(()=>{class t{constructor(e,n,o){this.api=e,this.dialogRef=n,this.data=o,this.filename="",this.contains_header=!0,this.separator=",",this.result=[],this.title="Import CSV",this.help="Select a CSV file to import",this.template=[],o&&(this.title=o.title||this.title,this.help=o.help||this.help,this.template=o.template||this.template)}static launch(e,n){return V(this,null,function*(){let o=window.innerWidth<800?"60%":"40%",r=e.gui.dialog.open(t,{width:o,data:n,disableClose:!1});return new Promise((a,s)=>{r.afterClosed().subscribe(c=>{a({data:r.componentInstance.result})})})})}loadCSV(e){return V(this,null,function*(){let n=e.split(` + `)}`:"",this.name="UnsubscriptionError",this.errors=e});function ds(t,i){if(t){let e=t.indexOf(i);0<=e&&t.splice(e,1)}}var _e=class t{constructor(i){this.initialTeardown=i,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let i;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let r of e)r.remove(this);else e.remove(this);let{initialTeardown:n}=this;if(at(n))try{n()}catch(r){i=r instanceof Lm?r.errors:[r]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let r of o)try{uE(r)}catch(a){i=i??[],a instanceof Lm?i=[...i,...a.errors]:i.push(a)}}if(i)throw new Lm(i)}}add(i){var e;if(i&&i!==this)if(this.closed)uE(i);else{if(i instanceof t){if(i.closed||i._hasParent(this))return;i._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(i)}}_hasParent(i){let{_parentage:e}=this;return e===i||Array.isArray(e)&&e.includes(i)}_addParent(i){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(i),e):e?[e,i]:i}_removeParent(i){let{_parentage:e}=this;e===i?this._parentage=null:Array.isArray(e)&&ds(e,i)}remove(i){let{_finalizers:e}=this;e&&ds(e,i),i instanceof t&&i._removeParent(this)}};_e.EMPTY=(()=>{let t=new _e;return t.closed=!0,t})();var Ev=_e.EMPTY;function Vm(t){return t instanceof _e||t&&"closed"in t&&at(t.remove)&&at(t.add)&&at(t.unsubscribe)}function uE(t){at(t)?t():t.unsubscribe()}var ko={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Cl={setTimeout(t,i,...e){let{delegate:n}=Cl;return n?.setTimeout?n.setTimeout(t,i,...e):setTimeout(t,i,...e)},clearTimeout(t){let{delegate:i}=Cl;return(i?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Bm(t){Cl.setTimeout(()=>{let{onUnhandledError:i}=ko;if(i)i(t);else throw t})}function us(){}var mE=Sv("C",void 0,void 0);function pE(t){return Sv("E",void 0,t)}function hE(t){return Sv("N",t,void 0)}function Sv(t,i,e){return{kind:t,value:i,error:e}}var ms=null;function wl(t){if(ko.useDeprecatedSynchronousErrorHandling){let i=!ms;if(i&&(ms={errorThrown:!1,error:null}),t(),i){let{errorThrown:e,error:n}=ms;if(ms=null,e)throw n}}else t()}function fE(t){ko.useDeprecatedSynchronousErrorHandling&&ms&&(ms.errorThrown=!0,ms.error=t)}var ps=class extends _e{constructor(i){super(),this.isStopped=!1,i?(this.destination=i,Vm(i)&&i.add(this)):this.destination=rL}static create(i,e,n){return new Ao(i,e,n)}next(i){this.isStopped?Iv(hE(i),this):this._next(i)}error(i){this.isStopped?Iv(pE(i),this):(this.isStopped=!0,this._error(i))}complete(){this.isStopped?Iv(mE,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(i){this.destination.next(i)}_error(i){try{this.destination.error(i)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},iL=Function.prototype.bind;function Mv(t,i){return iL.call(t,i)}var Tv=class{constructor(i){this.partialObserver=i}next(i){let{partialObserver:e}=this;if(e.next)try{e.next(i)}catch(n){jm(n)}}error(i){let{partialObserver:e}=this;if(e.error)try{e.error(i)}catch(n){jm(n)}else jm(i)}complete(){let{partialObserver:i}=this;if(i.complete)try{i.complete()}catch(e){jm(e)}}},Ao=class extends ps{constructor(i,e,n){super();let o;if(at(i)||!i)o={next:i??void 0,error:e??void 0,complete:n??void 0};else{let r;this&&ko.useDeprecatedNextContext?(r=Object.create(i),r.unsubscribe=()=>this.unsubscribe(),o={next:i.next&&Mv(i.next,r),error:i.error&&Mv(i.error,r),complete:i.complete&&Mv(i.complete,r)}):o=i}this.destination=new Tv(o)}};function jm(t){ko.useDeprecatedSynchronousErrorHandling?fE(t):Bm(t)}function oL(t){throw t}function Iv(t,i){let{onStoppedNotification:e}=ko;e&&Cl.setTimeout(()=>e(t,i))}var rL={closed:!0,next:us,error:oL,complete:us};var xl=typeof Symbol=="function"&&Symbol.observable||"@@observable";function gi(t){return t}function kv(...t){return Av(t)}function Av(t){return t.length===0?gi:t.length===1?t[0]:function(e){return t.reduce((n,o)=>o(n),e)}}var Ae=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let n=new t;return n.source=this,n.operator=e,n}subscribe(e,n,o){let r=sL(e)?e:new Ao(e,n,o);return wl(()=>{let{operator:a,source:s}=this;r.add(a?a.call(r,s):s?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(e){try{return this._subscribe(e)}catch(n){e.error(n)}}forEach(e,n){return n=gE(n),new n((o,r)=>{let a=new Ao({next:s=>{try{e(s)}catch(l){r(l),a.unsubscribe()}},error:r,complete:o});this.subscribe(a)})}_subscribe(e){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(e)}[xl](){return this}pipe(...e){return Av(e)(this)}toPromise(e){return e=gE(e),new e((n,o)=>{let r;this.subscribe(a=>r=a,a=>o(a),()=>n(r))})}}return t.create=i=>new t(i),t})();function gE(t){var i;return(i=t??ko.Promise)!==null&&i!==void 0?i:Promise}function aL(t){return t&&at(t.next)&&at(t.error)&&at(t.complete)}function sL(t){return t&&t instanceof ps||aL(t)&&Vm(t)}function Rv(t){return at(t?.lift)}function ze(t){return i=>{if(Rv(i))return i.lift(function(e){try{return t(e,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ne(t,i,e,n,o){return new Ov(t,i,e,n,o)}var Ov=class extends ps{constructor(i,e,n,o,r,a){super(i),this.onFinalize=r,this.shouldUnsubscribe=a,this._next=e?function(s){try{e(s)}catch(l){i.error(l)}}:super._next,this._error=o?function(s){try{o(s)}catch(l){i.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(s){i.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var i;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((i=this.onFinalize)===null||i===void 0||i.call(this))}}};function Dl(){return ze((t,i)=>{let e=null;t._refCount++;let n=Ne(i,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let o=t._connection,r=e;e=null,o&&(!r||o===r)&&o.unsubscribe(),i.unsubscribe()});t.subscribe(n),n.closed||(e=t.connect())})}var ga=class extends Ae{constructor(i,e){super(),this.source=i,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Rv(i)&&(this.lift=i.lift)}_subscribe(i){return this.getSubject().subscribe(i)}getSubject(){let i=this._subject;return(!i||i.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:i}=this;this._subject=this._connection=null,i?.unsubscribe()}connect(){let i=this._connection;if(!i){i=this._connection=new _e;let e=this.getSubject();i.add(this.source.subscribe(Ne(e,void 0,()=>{this._teardown(),e.complete()},n=>{this._teardown(),e.error(n)},()=>this._teardown()))),i.closed&&(this._connection=null,i=_e.EMPTY)}return i}refCount(){return Dl()(this)}};var _E=fa(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var j=(()=>{class t extends Ae{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let n=new zm(this,this);return n.operator=e,n}_throwIfClosed(){if(this.closed)throw new _E}next(e){wl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(e)}})}error(e){wl(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:n}=this;for(;n.length;)n.shift().error(e)}})}complete(){wl(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:n,isStopped:o,observers:r}=this;return n||o?Ev:(this.currentObservers=null,r.push(e),new _e(()=>{this.currentObservers=null,ds(r,e)}))}_checkFinalizedStatuses(e){let{hasError:n,thrownError:o,isStopped:r}=this;n?e.error(o):r&&e.complete()}asObservable(){let e=new Ae;return e.source=this,e}}return t.create=(i,e)=>new zm(i,e),t})(),zm=class extends j{constructor(i,e){super(),this.destination=i,this.source=e}next(i){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.next)===null||n===void 0||n.call(e,i)}error(i){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.error)===null||n===void 0||n.call(e,i)}complete(){var i,e;(e=(i=this.destination)===null||i===void 0?void 0:i.complete)===null||e===void 0||e.call(i)}_subscribe(i){var e,n;return(n=(e=this.source)===null||e===void 0?void 0:e.subscribe(i))!==null&&n!==void 0?n:Ev}};var Qt=class extends j{constructor(i){super(),this._value=i}get value(){return this.getValue()}_subscribe(i){let e=super._subscribe(i);return!e.closed&&i.next(this._value),e}getValue(){let{hasError:i,thrownError:e,_value:n}=this;if(i)throw e;return this._throwIfClosed(),n}next(i){super.next(this._value=i)}};var ad={now(){return(ad.delegate||Date).now()},delegate:void 0};var zi=class extends j{constructor(i=1/0,e=1/0,n=ad){super(),this._bufferSize=i,this._windowTime=e,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,i),this._windowTime=Math.max(1,e)}next(i){let{isStopped:e,_buffer:n,_infiniteTimeWindow:o,_timestampProvider:r,_windowTime:a}=this;e||(n.push(i),!o&&n.push(r.now()+a)),this._trimBuffer(),super.next(i)}_subscribe(i){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(i),{_infiniteTimeWindow:n,_buffer:o}=this,r=o.slice();for(let a=0;at.complete());function Wm(t){return t&&at(t.schedule)}function Nv(t){return t[t.length-1]}function $m(t){return at(Nv(t))?t.pop():void 0}function ar(t){return Wm(Nv(t))?t.pop():void 0}function vE(t,i){return typeof Nv(t)=="number"?t.pop():i}function yE(t,i,e,n){function o(r){return r instanceof e?r:new e(function(a){a(r)})}return new(e||(e=Promise))(function(r,a){function s(f){try{m(n.next(f))}catch(v){a(v)}}function l(f){try{m(n.throw(f))}catch(v){a(v)}}function m(f){f.done?r(f.value):o(f.value).then(s,l)}m((n=n.apply(t,i||[])).next())})}function bE(t){var i=typeof Symbol=="function"&&Symbol.iterator,e=i&&t[i],n=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")}function hs(t){return this instanceof hs?(this.v=t,this):new hs(t)}function CE(t,i,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e.apply(t,i||[]),o,r=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",a),o[Symbol.asyncIterator]=function(){return this},o;function a(x){return function(I){return Promise.resolve(I).then(x,v)}}function s(x,I){n[x]&&(o[x]=function(N){return new Promise(function(q,P){r.push([x,N,q,P])>1||l(x,N)})},I&&(o[x]=I(o[x])))}function l(x,I){try{m(n[x](I))}catch(N){D(r[0][3],N)}}function m(x){x.value instanceof hs?Promise.resolve(x.value.v).then(f,v):D(r[0][2],x)}function f(x){l("next",x)}function v(x){l("throw",x)}function D(x,I){x(I),r.shift(),r.length&&l(r[0][0],r[0][1])}}function wE(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=t[Symbol.asyncIterator],e;return i?i.call(t):(t=typeof bE=="function"?bE(t):t[Symbol.iterator](),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(r){e[r]=t[r]&&function(a){return new Promise(function(s,l){a=t[r](a),o(s,l,a.done,a.value)})}}function o(r,a,s,l){Promise.resolve(l).then(function(m){r({value:m,done:s})},a)}}var qm=t=>t&&typeof t.length=="number"&&typeof t!="function";function Ym(t){return at(t?.then)}function Qm(t){return at(t[xl])}function Km(t){return Symbol.asyncIterator&&at(t?.[Symbol.asyncIterator])}function Zm(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function lL(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Xm=lL();function Jm(t){return at(t?.[Xm])}function ep(t){return CE(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:n,done:o}=yield hs(e.read());if(o)return yield hs(void 0);yield yield hs(n)}}finally{e.releaseLock()}})}function tp(t){return at(t?.getReader)}function Rt(t){if(t instanceof Ae)return t;if(t!=null){if(Qm(t))return cL(t);if(qm(t))return dL(t);if(Ym(t))return uL(t);if(Km(t))return xE(t);if(Jm(t))return mL(t);if(tp(t))return pL(t)}throw Zm(t)}function cL(t){return new Ae(i=>{let e=t[xl]();if(at(e.subscribe))return e.subscribe(i);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function dL(t){return new Ae(i=>{for(let e=0;e{t.then(e=>{i.closed||(i.next(e),i.complete())},e=>i.error(e)).then(null,Bm)})}function mL(t){return new Ae(i=>{for(let e of t)if(i.next(e),i.closed)return;i.complete()})}function xE(t){return new Ae(i=>{hL(t,i).catch(e=>i.error(e))})}function pL(t){return xE(ep(t))}function hL(t,i){var e,n,o,r;return yE(this,void 0,void 0,function*(){try{for(e=wE(t);n=yield e.next(),!n.done;){let a=n.value;if(i.next(a),i.closed)return}}catch(a){o={error:a}}finally{try{n&&!n.done&&(r=e.return)&&(yield r.call(e))}finally{if(o)throw o.error}}i.complete()})}function ui(t,i,e,n=0,o=!1){let r=i.schedule(function(){e(),o?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(r),!o)return r}function np(t,i=0){return ze((e,n)=>{e.subscribe(Ne(n,o=>ui(n,t,()=>n.next(o),i),()=>ui(n,t,()=>n.complete(),i),o=>ui(n,t,()=>n.error(o),i)))})}function ip(t,i=0){return ze((e,n)=>{n.add(t.schedule(()=>e.subscribe(n),i))})}function DE(t,i){return Rt(t).pipe(ip(i),np(i))}function EE(t,i){return Rt(t).pipe(ip(i),np(i))}function SE(t,i){return new Ae(e=>{let n=0;return i.schedule(function(){n===t.length?e.complete():(e.next(t[n++]),e.closed||this.schedule())})})}function ME(t,i){return new Ae(e=>{let n;return ui(e,i,()=>{n=t[Xm](),ui(e,i,()=>{let o,r;try{({value:o,done:r}=n.next())}catch(a){e.error(a);return}r?e.complete():e.next(o)},0,!0)}),()=>at(n?.return)&&n.return()})}function op(t,i){if(!t)throw new Error("Iterable cannot be null");return new Ae(e=>{ui(e,i,()=>{let n=t[Symbol.asyncIterator]();ui(e,i,()=>{n.next().then(o=>{o.done?e.complete():e.next(o.value)})},0,!0)})})}function IE(t,i){return op(ep(t),i)}function TE(t,i){if(t!=null){if(Qm(t))return DE(t,i);if(qm(t))return SE(t,i);if(Ym(t))return EE(t,i);if(Km(t))return op(t,i);if(Jm(t))return ME(t,i);if(tp(t))return IE(t,i)}throw Zm(t)}function rn(t,i){return i?TE(t,i):Rt(t)}function ie(...t){let i=ar(t);return rn(t,i)}function sr(t,i){let e=at(t)?t:()=>t,n=o=>o.error(e());return new Ae(i?o=>i.schedule(n,0,o):n)}function Sl(t){return!!t&&(t instanceof Ae||at(t.lift)&&at(t.subscribe))}var Ro=fa(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function rp(t,i){let e=typeof i=="object";return new Promise((n,o)=>{let r=new Ao({next:a=>{n(a),r.unsubscribe()},error:o,complete:()=>{e?n(i.defaultValue):o(new Ro)}});t.subscribe(r)})}function ap(t){return t instanceof Date&&!isNaN(t)}var fL=fa(t=>function(e=null){t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=e});function Fv(t,i){let{first:e,each:n,with:o=gL,scheduler:r=i??di,meta:a=null}=ap(t)?{first:t}:typeof t=="number"?{each:t}:t;if(e==null&&n==null)throw new TypeError("No timeout provided.");return ze((s,l)=>{let m,f,v=null,D=0,x=I=>{f=ui(l,r,()=>{try{m.unsubscribe(),Rt(o({meta:a,lastValue:v,seen:D})).subscribe(l)}catch(N){l.error(N)}},I)};m=s.subscribe(Ne(l,I=>{f?.unsubscribe(),D++,l.next(v=I),n>0&&x(n)},void 0,void 0,()=>{f?.closed||f?.unsubscribe(),v=null})),!D&&x(e!=null?typeof e=="number"?e:+e-r.now():n)})}function gL(t){throw new fL(t)}function de(t,i){return ze((e,n)=>{let o=0;e.subscribe(Ne(n,r=>{n.next(t.call(i,r,o++))}))})}var{isArray:_L}=Array;function vL(t,i){return _L(i)?t(...i):t(i)}function sp(t){return de(i=>vL(t,i))}var{isArray:bL}=Array,{getPrototypeOf:yL,prototype:CL,keys:wL}=Object;function lp(t){if(t.length===1){let i=t[0];if(bL(i))return{args:i,keys:null};if(xL(i)){let e=wL(i);return{args:e.map(n=>i[n]),keys:e}}}return{args:t,keys:null}}function xL(t){return t&&typeof t=="object"&&yL(t)===CL}function cp(t,i){return t.reduce((e,n,o)=>(e[n]=i[o],e),{})}function Ui(...t){let i=ar(t),e=$m(t),{args:n,keys:o}=lp(t);if(n.length===0)return rn([],i);let r=new Ae(DL(n,i,o?a=>cp(o,a):gi));return e?r.pipe(sp(e)):r}function DL(t,i,e=gi){return n=>{kE(i,()=>{let{length:o}=t,r=new Array(o),a=o,s=o;for(let l=0;l{let m=rn(t[l],i),f=!1;m.subscribe(Ne(n,v=>{r[l]=v,f||(f=!0,s--),s||n.next(e(r.slice()))},()=>{--a||n.complete()}))},n)},n)}}function kE(t,i,e){t?ui(e,t,i):i()}function AE(t,i,e,n,o,r,a,s){let l=[],m=0,f=0,v=!1,D=()=>{v&&!l.length&&!m&&i.complete()},x=N=>m{r&&i.next(N),m++;let q=!1;Rt(e(N,f++)).subscribe(Ne(i,P=>{o?.(P),r?x(P):i.next(P)},()=>{q=!0},void 0,()=>{if(q)try{for(m--;l.length&&mI(P)):I(P)}D()}catch(P){i.error(P)}}))};return t.subscribe(Ne(i,x,()=>{v=!0,D()})),()=>{s?.()}}function fn(t,i,e=1/0){return at(i)?fn((n,o)=>de((r,a)=>i(n,r,o,a))(Rt(t(n,o))),e):(typeof i=="number"&&(e=i),ze((n,o)=>AE(n,o,t,e)))}function _a(t=1/0){return fn(gi,t)}function RE(){return _a(1)}function lr(...t){return RE()(rn(t,ar(t)))}function Hi(t){return new Ae(i=>{Rt(t()).subscribe(i)})}function ld(...t){let i=$m(t),{args:e,keys:n}=lp(t),o=new Ae(r=>{let{length:a}=e;if(!a){r.complete();return}let s=new Array(a),l=a,m=a;for(let f=0;f{v||(v=!0,m--),s[f]=D},()=>l--,void 0,()=>{(!l||!v)&&(m||r.next(n?cp(n,s):s),r.complete())}))}});return i?o.pipe(sp(i)):o}function Oo(t=0,i,e=Pv){let n=-1;return i!=null&&(Wm(i)?e=i:n=i),new Ae(o=>{let r=ap(t)?+t-e.now():t;r<0&&(r=0);let a=0;return e.schedule(function(){o.closed||(o.next(a++),0<=n?this.schedule(void 0,n):o.complete())},r)})}function Lv(t=0,i=di){return t<0&&(t=0),Oo(t,t,i)}function Tt(...t){let i=ar(t),e=vE(t,1/0),n=t;return n.length?n.length===1?Rt(n[0]):_a(e)(rn(n,i)):Tn}function Ke(t,i){return ze((e,n)=>{let o=0;e.subscribe(Ne(n,r=>t.call(i,r,o++)&&n.next(r)))})}function OE(t){return ze((i,e)=>{let n=!1,o=null,r=null,a=!1,s=()=>{if(r?.unsubscribe(),r=null,n){n=!1;let m=o;o=null,e.next(m)}a&&e.complete()},l=()=>{r=null,a&&e.complete()};i.subscribe(Ne(e,m=>{n=!0,o=m,r||Rt(t(m)).subscribe(r=Ne(e,s,l))},()=>{a=!0,(!n||!r||r.closed)&&e.complete()}))})}function dp(t,i=di){return OE(()=>Oo(t,i))}function qn(t){return ze((i,e)=>{let n=null,o=!1,r;n=i.subscribe(Ne(e,void 0,void 0,a=>{r=Rt(t(a,qn(t)(i))),n?(n.unsubscribe(),n=null,r.subscribe(e)):o=!0})),o&&(n.unsubscribe(),n=null,r.subscribe(e))})}function PE(t,i,e,n,o){return(r,a)=>{let s=e,l=i,m=0;r.subscribe(Ne(a,f=>{let v=m++;l=s?t(l,f,v):(s=!0,f),n&&a.next(l)},o&&(()=>{s&&a.next(l),a.complete()})))}}function cr(t,i){return at(i)?fn(t,i,1):fn(t,1)}function Vr(t,i=di){return ze((e,n)=>{let o=null,r=null,a=null,s=()=>{if(o){o.unsubscribe(),o=null;let m=r;r=null,n.next(m)}};function l(){let m=a+t,f=i.now();if(f{r=m,a=i.now(),o||(o=i.schedule(l,t),n.add(o))},()=>{s(),n.complete()},void 0,()=>{r=o=null}))})}function va(t){return ze((i,e)=>{let n=!1;i.subscribe(Ne(e,o=>{n=!0,e.next(o)},()=>{n||e.next(t),e.complete()}))})}function Pt(t){return t<=0?()=>Tn:ze((i,e)=>{let n=0;i.subscribe(Ne(e,o=>{++n<=t&&(e.next(o),t<=n&&e.complete())}))})}function NE(){return ze((t,i)=>{t.subscribe(Ne(i,us))})}function FE(t){return de(()=>t)}function Vv(t,i){return i?e=>lr(i.pipe(Pt(1),NE()),e.pipe(Vv(t))):fn((e,n)=>Rt(t(e,n)).pipe(Pt(1),FE(e)))}function cd(t,i=di){let e=Oo(t,i);return Vv(()=>e)}function up(t,i=gi){return t=t??EL,ze((e,n)=>{let o,r=!0;e.subscribe(Ne(n,a=>{let s=i(a);(r||!t(o,s))&&(r=!1,o=s,n.next(a))}))})}function EL(t,i){return t===i}function mp(t=SL){return ze((i,e)=>{let n=!1;i.subscribe(Ne(e,o=>{n=!0,e.next(o)},()=>n?e.complete():e.error(t())))})}function SL(){return new Ro}function dr(t){return ze((i,e)=>{try{i.subscribe(e)}finally{e.add(t)}})}function Br(t,i){let e=arguments.length>=2;return n=>n.pipe(t?Ke((o,r)=>t(o,r,n)):gi,Pt(1),e?va(i):mp(()=>new Ro))}function Ml(t){return t<=0?()=>Tn:ze((i,e)=>{let n=[];i.subscribe(Ne(e,o=>{n.push(o),t{for(let o of n)e.next(o);e.complete()},void 0,()=>{n=null}))})}function Bv(t,i){let e=arguments.length>=2;return n=>n.pipe(t?Ke((o,r)=>t(o,r,n)):gi,Ml(1),e?va(i):mp(()=>new Ro))}function pp(){return ze((t,i)=>{let e,n=!1;t.subscribe(Ne(i,o=>{let r=e;e=o,n&&i.next([r,o]),n=!0}))})}function jv(t,i){return ze(PE(t,i,arguments.length>=2,!0))}function dd(t={}){let{connector:i=()=>new j,resetOnError:e=!0,resetOnComplete:n=!0,resetOnRefCountZero:o=!0}=t;return r=>{let a,s,l,m=0,f=!1,v=!1,D=()=>{s?.unsubscribe(),s=void 0},x=()=>{D(),a=l=void 0,f=v=!1},I=()=>{let N=a;x(),N?.unsubscribe()};return ze((N,q)=>{m++,!v&&!f&&D();let P=l=l??i();q.add(()=>{m--,m===0&&!v&&!f&&(s=zv(I,o))}),P.subscribe(q),!a&&m>0&&(a=new Ao({next:Ee=>P.next(Ee),error:Ee=>{v=!0,D(),s=zv(x,e,Ee),P.error(Ee)},complete:()=>{f=!0,D(),s=zv(x,n),P.complete()}}),Rt(N).subscribe(a))})(r)}}function zv(t,i,...e){if(i===!0){t();return}if(i===!1)return;let n=new Ao({next:()=>{n.unsubscribe(),t()}});return Rt(i(...e)).subscribe(n)}function hp(t,i,e){let n,o=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:i=1/0,refCount:o=!1,scheduler:e}=t:n=t??1/0,dd({connector:()=>new zi(n,i,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function fs(t){return Ke((i,e)=>t<=e)}function Et(...t){let i=ar(t);return ze((e,n)=>{(i?lr(t,e,i):lr(t,e)).subscribe(n)})}function vt(t,i){return ze((e,n)=>{let o=null,r=0,a=!1,s=()=>a&&!o&&n.complete();e.subscribe(Ne(n,l=>{o?.unsubscribe();let m=0,f=r++;Rt(t(l,f)).subscribe(o=Ne(n,v=>n.next(i?i(l,v,f,m++):v),()=>{o=null,s()}))},()=>{a=!0,s()}))})}function ke(t){return ze((i,e)=>{Rt(t).subscribe(Ne(e,()=>e.complete(),us)),!e.closed&&i.subscribe(e)})}function Uv(t,i=!1){return ze((e,n)=>{let o=0;e.subscribe(Ne(n,r=>{let a=t(r,o++);(a||i)&&n.next(r),!a&&n.complete()}))})}function Ht(t,i,e){let n=at(t)||i||e?{next:t,error:i,complete:e}:t;return n?ze((o,r)=>{var a;(a=n.subscribe)===null||a===void 0||a.call(n);let s=!0;o.subscribe(Ne(r,l=>{var m;(m=n.next)===null||m===void 0||m.call(n,l),r.next(l)},()=>{var l;s=!1,(l=n.complete)===null||l===void 0||l.call(n),r.complete()},l=>{var m;s=!1,(m=n.error)===null||m===void 0||m.call(n,l),r.error(l)},()=>{var l,m;s&&((l=n.unsubscribe)===null||l===void 0||l.call(n)),(m=n.finalize)===null||m===void 0||m.call(n)}))}):gi}function LE(t,i){return ze((e,n)=>{let{leading:o=!0,trailing:r=!1}=i??{},a=!1,s=null,l=null,m=!1,f=()=>{l?.unsubscribe(),l=null,r&&(x(),m&&n.complete())},v=()=>{l=null,m&&n.complete()},D=I=>l=Rt(t(I)).subscribe(Ne(n,f,v)),x=()=>{if(a){a=!1;let I=s;s=null,n.next(I),!m&&D(I)}};e.subscribe(Ne(n,I=>{a=!0,s=I,!(l&&!l.closed)&&(o?x():D(I))},()=>{m=!0,!(r&&a&&l&&!l.closed)&&n.complete()}))})}function Hv(t,i=di,e){let n=Oo(t,i);return LE(()=>n,e)}function VE(t){let i=Qe(null);try{return t()}finally{Qe(i)}}var BE=Be(L({},as),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function jE(t){if(t.dirty=!1,t.version>0&&!cs(t))return;t.version++;let i=pa(t);try{t.cleanup(),t.fn()}finally{ls(t,i)}}var bp="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",z=class extends Error{code;constructor(i,e){super(uo(i,e)),this.code=i}};function ML(t){return`NG0${Math.abs(t)}`}function uo(t,i){return`${ML(t)}${i?": "+i:""}`}var pi=globalThis;function jt(t){for(let i in t)if(t[i]===jt)return i;throw Error("")}function HE(t,i){for(let e in i)i.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=i[e])}function zr(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(zr).join(", ")}]`;if(t==null)return""+t;let i=t.overriddenName||t.name;if(i)return`${i}`;let e=t.toString();if(e==null)return""+e;let n=e.indexOf(` +`);return n>=0?e.slice(0,n):e}function yp(t,i){return t?i?`${t} ${i}`:t:i||""}var IL=jt({__forward_ref__:jt});function Zt(t){return t.__forward_ref__=Zt,t.toString=function(){return zr(this())},t}function Nn(t){return tb(t)?t():t}function tb(t){return typeof t=="function"&&t.hasOwnProperty(IL)&&t.__forward_ref__===Zt}function F(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Z(t){return{providers:t.providers||[],imports:t.imports||[]}}function gd(t){return TL(t,Cp)}function nb(t){return gd(t)!==null}function TL(t,i){return t.hasOwnProperty(i)&&t[i]||null}function kL(t){let i=t?.[Cp]??null;return i||null}function Wv(t){return t&&t.hasOwnProperty(_p)?t[_p]:null}var Cp=jt({\u0275prov:jt}),_p=jt({\u0275inj:jt}),T=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(i,e){this._desc=i,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=F({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function ib(t){return t&&!!t.\u0275providers}var ob=jt({\u0275cmp:jt}),rb=jt({\u0275dir:jt}),ab=jt({\u0275pipe:jt}),sb=jt({\u0275mod:jt}),md=jt({\u0275fac:jt}),ys=jt({__NG_ELEMENT_ID__:jt}),zE=jt({__NG_ENV_ID__:jt});function Ur(t){return typeof t=="string"?t:t==null?"":String(t)}function GE(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Ur(t)}var WE=jt({ngErrorCode:jt}),AL=jt({ngErrorMessage:jt}),RL=jt({ngTokenPath:jt});function lb(t,i){return $E("",-200,i)}function wp(t,i){throw new z(-201,!1)}function $E(t,i,e){let n=new z(i,t);return n[WE]=i,n[AL]=t,e&&(n[RL]=e),n}function OL(t){return t[WE]}var $v;function qE(){return $v}function _i(t){let i=$v;return $v=t,i}function cb(t,i,e){let n=gd(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(e&8)return null;if(i!==void 0)return i;wp(t,"Injector")}var PL={},gs=PL,qv="__NG_DI_FLAG__",Yv=class{injector;constructor(i){this.injector=i}retrieve(i,e){let n=_s(e)||0;try{return this.injector.get(i,n&8?null:gs,n)}catch(o){if(vl(o))return o;throw o}}};function NL(t,i=0){let e=Im();if(e===void 0)throw new z(-203,!1);if(e===null)return cb(t,void 0,i);{let n=FL(i),o=e.retrieve(t,n);if(vl(o)){if(n.optional)return null;throw o}return o}}function oe(t,i=0){return(qE()||NL)(Nn(t),i)}function p(t,i){return oe(t,_s(i))}function _s(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function FL(t){return{optional:!!(t&8),host:!!(t&1),self:!!(t&2),skipSelf:!!(t&4)}}function Qv(t){let i=[];for(let e=0;eArray.isArray(e)?xp(e,i):i(e))}function ub(t,i,e){i>=t.length?t.push(e):t.splice(i,0,e)}function _d(t,i){return i>=t.length-1?t.pop():t.splice(i,1)[0]}function KE(t,i){let e=[];for(let n=0;ni;){let r=o-2;t[o]=t[r],o--}t[i]=e,t[i+1]=n}}function Dp(t,i,e){let n=Tl(t,i);return n>=0?t[n|1]=e:(n=~n,ZE(t,n,i,e)),n}function Ep(t,i){let e=Tl(t,i);if(e>=0)return t[e|1]}function Tl(t,i){return VL(t,i,1)}function VL(t,i,e){let n=0,o=t.length>>e;for(;o!==n;){let r=n+(o-n>>1),a=t[r<i?o=r:n=r+1}return~(o<{e.push(a)};return xp(i,a=>{let s=a;vp(s,r,[],n)&&(o||=[],o.push(s))}),o!==void 0&&JE(o,r),e}function JE(t,i){for(let e=0;e{i(r,n)})}}function vp(t,i,e,n){if(t=Nn(t),!t)return!1;let o=null,r=Wv(t),a=!r&&ur(t);if(!r&&!a){let l=t.ngModule;if(r=Wv(l),r)o=l;else return!1}else{if(a&&!a.standalone)return!1;o=t}let s=n.has(o);if(a){if(s)return!1;if(n.add(o),a.dependencies){let l=typeof a.dependencies=="function"?a.dependencies():a.dependencies;for(let m of l)vp(m,i,e,n)}}else if(r){if(r.imports!=null&&!s){n.add(o);let m;xp(r.imports,f=>{vp(f,i,e,n)&&(m||=[],m.push(f))}),m!==void 0&&JE(m,i)}if(!s){let m=ya(o)||(()=>new o);i({provide:o,useFactory:m,deps:mi},o),i({provide:pb,useValue:o,multi:!0},o),i({provide:Hr,useValue:()=>oe(o),multi:!0},o)}let l=r.providers;if(l!=null&&!s){let m=t;_b(l,f=>{i(f,m)})}}else return!1;return o!==t&&t.providers!==void 0}function _b(t,i){for(let e of t)ib(e)&&(e=e.\u0275providers),Array.isArray(e)?_b(e,i):i(e)}var BL=jt({provide:String,useValue:jt});function eS(t){return t!==null&&typeof t=="object"&&BL in t}function jL(t){return!!(t&&t.useExisting)}function zL(t){return!!(t&&t.useFactory)}function vs(t){return typeof t=="function"}function tS(t){return!!t.useClass}var vd=new T(""),fp={},UE={},Gv;function kl(){return Gv===void 0&&(Gv=new pd),Gv}var Gt=class{},bs=class extends Gt{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(i,e,n,o){super(),this.parent=e,this.source=n,this.scopes=o,Zv(i,a=>this.processProvider(a)),this.records.set(mb,Il(void 0,this)),o.has("environment")&&this.records.set(Gt,Il(void 0,this));let r=this.records.get(vd);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(pb,mi,{self:!0}))}retrieve(i,e){let n=_s(e)||0;try{return this.get(i,gs,n)}catch(o){if(vl(o))return o;throw o}}destroy(){ud(this),this._destroyed=!0;let i=Qe(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of e)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Qe(i)}}onDestroy(i){return ud(this),this._onDestroyHooks.push(i),()=>this.removeOnDestroy(i)}runInContext(i){ud(this);let e=rr(this),n=_i(void 0),o;try{return i()}finally{rr(e),_i(n)}}get(i,e=gs,n){if(ud(this),i.hasOwnProperty(zE))return i[zE](this);let o=_s(n),r,a=rr(this),s=_i(void 0);try{if(!(o&4)){let m=this.records.get(i);if(m===void 0){let f=$L(i)&&gd(i);f&&this.injectableDefInScope(f)?m=Il(Kv(i),fp):m=null,this.records.set(i,m)}if(m!=null)return this.hydrate(i,m,o)}let l=o&2?kl():this.parent;return e=o&8&&e===gs?null:e,l.get(i,e)}catch(l){let m=OL(l);throw m===-200||m===-201?new z(m,null):l}finally{_i(s),rr(a)}}resolveInjectorInitializers(){let i=Qe(null),e=rr(this),n=_i(void 0),o;try{let r=this.get(Hr,mi,{self:!0});for(let a of r)a()}finally{rr(e),_i(n),Qe(i)}}toString(){let i=[],e=this.records;for(let n of e.keys())i.push(zr(n));return`R3Injector[${i.join(", ")}]`}processProvider(i){i=Nn(i);let e=vs(i)?i:Nn(i&&i.provide),n=HL(i);if(!vs(i)&&i.multi===!0){let o=this.records.get(e);o||(o=Il(void 0,fp,!0),o.factory=()=>Qv(o.multi),this.records.set(e,o)),e=i,o.multi.push(i)}this.records.set(e,n)}hydrate(i,e,n){let o=Qe(null);try{if(e.value===UE)throw lb(zr(i));return e.value===fp&&(e.value=UE,e.value=e.factory(void 0,n)),typeof e.value=="object"&&e.value&&WL(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{Qe(o)}}injectableDefInScope(i){if(!i.providedIn)return!1;let e=Nn(i.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(i){let e=this._onDestroyHooks.indexOf(i);e!==-1&&this._onDestroyHooks.splice(e,1)}};function Kv(t){let i=gd(t),e=i!==null?i.factory:ya(t);if(e!==null)return e;if(t instanceof T)throw new z(204,!1);if(t instanceof Function)return UL(t);throw new z(204,!1)}function UL(t){if(t.length>0)throw new z(204,!1);let e=kL(t);return e!==null?()=>e.factory(t):()=>new t}function HL(t){if(eS(t))return Il(void 0,t.useValue);{let i=vb(t);return Il(i,fp)}}function vb(t,i,e){let n;if(vs(t)){let o=Nn(t);return ya(o)||Kv(o)}else if(eS(t))n=()=>Nn(t.useValue);else if(zL(t))n=()=>t.useFactory(...Qv(t.deps||[]));else if(jL(t))n=(o,r)=>oe(Nn(t.useExisting),r!==void 0&&r&8?8:void 0);else{let o=Nn(t&&(t.useClass||t.provide));if(GL(t))n=()=>new o(...Qv(t.deps));else return ya(o)||Kv(o)}return n}function ud(t){if(t.destroyed)throw new z(205,!1)}function Il(t,i,e=!1){return{factory:t,value:i,multi:e?[]:void 0}}function GL(t){return!!t.deps}function WL(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function $L(t){return typeof t=="function"||typeof t=="object"&&t.ngMetadataName==="InjectionToken"}function Zv(t,i){for(let e of t)Array.isArray(e)?Zv(e,i):e&&ib(e)?Zv(e.\u0275providers,i):i(e)}function Qn(t,i){let e;t instanceof bs?(ud(t),e=t):e=new Yv(t);let n,o=rr(e),r=_i(void 0);try{return i()}finally{rr(o),_i(r)}}function bb(){return qE()!==void 0||Im()!=null}var No=0,je=1,et=2,Fn=3,mo=4,vi=5,ws=6,Al=7,En=8,Gr=9,mr=10,Wt=11,Rl=12,yb=13,xs=14,bi=15,wa=16,Ds=17,pr=18,bd=19,Cb=20,jr=21,Mp=22,Wr=23,Gi=24,Es=25,Ss=26,ln=27,nS=1,wb=6,xa=7,yd=8,Ms=9,yn=10;function hr(t){return Array.isArray(t)&&typeof t[nS]=="object"}function Fo(t){return Array.isArray(t)&&t[nS]===!0}function xb(t){return(t.flags&4)!==0}function $r(t){return t.componentOffset>-1}function Ol(t){return(t.flags&1)===1}function Lo(t){return!!t.template}function Pl(t){return(t[et]&512)!==0}function Is(t){return(t[et]&256)===256}var Lt=(function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t[t.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",t})(Lt||{}),gp,hd="svg",Db="math";function iS(){return gp||(gp={},ba(Lt.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),ba(Lt.STYLE,void 0,[["*",["style"]]]),ba(Lt.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),ba(Lt.URL,Db,[["*",["href","xlink:href"]],["annotation",["href","xlink:href"]],["annotation-xml",["href","xlink:href"]],["maction",["href","xlink:href"]],["malignmark",["href","xlink:href"]],["math",["href","xlink:href"]],["mroot",["href","xlink:href"]],["msqrt",["href","xlink:href"]],["merror",["href","xlink:href"]],["mfrac",["href","xlink:href"]],["mglyph",["href","xlink:href"]],["msub",["href","xlink:href"]],["msup",["href","xlink:href"]],["msubsup",["href","xlink:href"]],["mmultiscripts",["href","xlink:href"]],["mprescripts",["href","xlink:href"]],["mi",["href","xlink:href"]],["mn",["href","xlink:href"]],["mo",["href","xlink:href"]],["mpadded",["href","xlink:href"]],["mphantom",["href","xlink:href"]],["mrow",["href","xlink:href"]],["ms",["href","xlink:href"]],["mspace",["href","xlink:href"]],["mstyle",["href","xlink:href"]],["mtable",["href","xlink:href"]],["mtd",["href","xlink:href"]],["mtr",["href","xlink:href"]],["mtext",["href","xlink:href"]],["mover",["href","xlink:href"]],["munder",["href","xlink:href"]],["munderover",["href","xlink:href"]],["semantics",["href","xlink:href"]],["none",["href","xlink:href"]]]),ba(Lt.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),ba(Lt.URL,hd,[["a",["href","xlink:href"]]]),ba(Lt.ATTRIBUTE_NO_BINDING,hd,[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),ba(Lt.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]]])),gp}function ba(t,i,e){for(let[n,o]of e){let r=i&&n!=="unknown"?`:${i}:${n}`:n;r=r.toLowerCase();for(let a of o)gp[`${r}|${a.toLowerCase()}`]=t}}function oS(t,i,e){let n=iS(),o=t.toLowerCase(),r=i.toLowerCase(),a=e&&o!=="*"&&o!=="unknown"?n[`:${e}:${o}|${r}`]:void 0,s=e?n[`:${e}:*|${r}`]:void 0;return a??s??n[`${o}|${r}`]??n[`*|${r}`]??Lt.NONE}function po(t){for(;Array.isArray(t);)t=t[No];return t}function Eb(t,i){return po(i[t])}function Wi(t,i){return po(i[t.index])}function Cd(t,i){return t.data[i]}function Ip(t,i){return t[i]}function Sb(t,i,e,n){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),i[e]=n}function ho(t,i){let e=i[t];return hr(e)?e:e[No]}function rS(t){return(t[et]&4)===4}function Tp(t){return(t[et]&128)===128}function aS(t){return Fo(t[Fn])}function $i(t,i){return i==null?null:t[i]}function Mb(t){t[Ds]=0}function Ib(t){t[et]&1024||(t[et]|=1024,Tp(t)&&Da(t))}function sS(t,i){for(;t>0;)i=i[xs],t--;return i}function wd(t){return!!(t[et]&9216||t[Gi]?.dirty)}function kp(t){t[mr].changeDetectionScheduler?.notify(8),t[et]&64&&(t[et]|=1024),wd(t)&&Da(t)}function Da(t){t[mr].changeDetectionScheduler?.notify(0);let i=Ca(t);for(;i!==null&&!(i[et]&8192||(i[et]|=8192,!Tp(i)));)i=Ca(i)}function Tb(t,i){if(Is(t))throw new z(911,!1);t[jr]===null&&(t[jr]=[]),t[jr].push(i)}function lS(t,i){if(t[jr]===null)return;let e=t[jr].indexOf(i);e!==-1&&t[jr].splice(e,1)}function Ca(t){let i=t[Fn];return Fo(i)?i[Fn]:i}function kb(t){return t[Al]??=[]}function Ab(t){return t.cleanup??=[]}function cS(t,i,e,n){let o=kb(i);o.push(e),t.firstCreatePass&&Ab(t).push(n,o.length-1)}var lt={lFrame:CS(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Xv=!1;function dS(){return lt.lFrame.elementDepthCount}function uS(){lt.lFrame.elementDepthCount++}function Rb(){lt.lFrame.elementDepthCount--}function Ap(){return lt.bindingsEnabled}function Ob(){return lt.skipHydrationRootTNode!==null}function Pb(t){return lt.skipHydrationRootTNode===t}function Nb(){lt.skipHydrationRootTNode=null}function Re(){return lt.lFrame.lView}function Xt(){return lt.lFrame.tView}function y(t){return lt.lFrame.contextLView=t,t[En]}function C(t){return lt.lFrame.contextLView=null,t}function kn(){let t=Fb();for(;t!==null&&t.type===64;)t=t.parent;return t}function Fb(){return lt.lFrame.currentTNode}function mS(){let t=lt.lFrame,i=t.currentTNode;return t.isParent?i:i.parent}function Nl(t,i){let e=lt.lFrame;e.currentTNode=t,e.isParent=i}function Lb(){return lt.lFrame.isParent}function Vb(){lt.lFrame.isParent=!1}function pS(){return lt.lFrame.contextLView}function Bb(){return Xv}function Fl(t){let i=Xv;return Xv=t,i}function Ll(){let t=lt.lFrame,i=t.bindingRootIndex;return i===-1&&(i=t.bindingRootIndex=t.tView.bindingStartIndex),i}function hS(){return lt.lFrame.bindingIndex}function fS(t){return lt.lFrame.bindingIndex=t}function fr(){return lt.lFrame.bindingIndex++}function Rp(t){let i=lt.lFrame,e=i.bindingIndex;return i.bindingIndex=i.bindingIndex+t,e}function gS(){return lt.lFrame.inI18n}function _S(t,i){let e=lt.lFrame;e.bindingIndex=e.bindingRootIndex=t,Op(i)}function vS(){return lt.lFrame.currentDirectiveIndex}function Op(t){lt.lFrame.currentDirectiveIndex=t}function bS(t){let i=lt.lFrame.currentDirectiveIndex;return i===-1?null:t[i]}function Pp(){return lt.lFrame.currentQueryIndex}function xd(t){lt.lFrame.currentQueryIndex=t}function qL(t){let i=t[je];return i.type===2?i.declTNode:i.type===1?t[vi]:null}function jb(t,i,e){if(e&4){let o=i,r=t;for(;o=o.parent,o===null&&!(e&1);)if(o=qL(r),o===null||(r=r[xs],o.type&10))break;if(o===null)return!1;i=o,t=r}let n=lt.lFrame=yS();return n.currentTNode=i,n.lView=t,!0}function Np(t){let i=yS(),e=t[je];lt.lFrame=i,i.currentTNode=e.firstChild,i.lView=t,i.tView=e,i.contextLView=t,i.bindingIndex=e.bindingStartIndex,i.inI18n=!1}function yS(){let t=lt.lFrame,i=t===null?null:t.child;return i===null?CS(t):i}function CS(t){let i={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=i),i}function wS(){let t=lt.lFrame;return lt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var zb=wS;function Fp(){let t=wS();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function xS(t){return(lt.lFrame.contextLView=sS(t,lt.lFrame.contextLView))[En]}function Vo(){return lt.lFrame.selectedIndex}function Ea(t){lt.lFrame.selectedIndex=t}function Ts(){let t=lt.lFrame;return Cd(t.tView,t.selectedIndex)}function Jt(){lt.lFrame.currentNamespace=hd}function Bo(){YL()}function YL(){lt.lFrame.currentNamespace=null}function Ub(){return lt.lFrame.currentNamespace}var DS=!0;function Lp(){return DS}function Dd(t){DS=t}function Jv(t,i=null,e=null,n){let o=Hb(t,i,e,n);return o.resolveInjectorInitializers(),o}function Hb(t,i=null,e=null,n,o=new Set){let r=[e||mi,XE(t)];return n=n||(typeof t=="object"?void 0:zr(t)),new bs(r,i||kl(),n||null,o)}var re=class t{static THROW_IF_NOT_FOUND=gs;static NULL=new pd;static create(i,e){if(Array.isArray(i))return Jv({name:""},e,i,"");{let n=i.name??"";return Jv({name:n},i.parent,i.providers,n)}}static \u0275prov=F({token:t,providedIn:"any",factory:()=>oe(mb)});static __NG_ELEMENT_ID__=-1},ce=new T(""),Ln=(()=>{class t{static __NG_ELEMENT_ID__=QL;static __NG_ENV_ID__=e=>e}return t})(),fd=class extends Ln{_lView;constructor(i){super(),this._lView=i}get destroyed(){return Is(this._lView)}onDestroy(i){let e=this._lView;return Tb(e,i),()=>lS(e,i)}};function QL(){return new fd(Re())}var Yn=class{_console=console;handleError(i){this._console.error("ERROR",i)}},yi=new T("",{providedIn:"root",factory:()=>{let t=p(Gt),i;return e=>{t.destroyed&&!i?setTimeout(()=>{throw e}):(i??=t.get(Yn),i.handleError(e))}}}),ES={provide:Hr,useValue:()=>{p(Yn)},multi:!0};function gr(t){return typeof t=="function"&&t[Pn]!==void 0}function Ie(t,i){let[e,n,o]=xv(t,i?.equal),r=e,a=r[Pn];return r.set=n,r.update=o,r.asReadonly=Gb.bind(r),r}function Gb(){let t=this[Pn];if(t.readonlyFn===void 0){let i=()=>this();i[Pn]=t,t.readonlyFn=i}return t.readonlyFn}function Wb(t){return gr(t)&&typeof t.set=="function"}var ks=(()=>{class t{view;node;constructor(e,n){this.view=e,this.node=n}static __NG_ELEMENT_ID__=KL}return t})();function KL(){return new ks(Re(),kn())}var co=class{},Ed=new T("",{providedIn:"root",factory:()=>!1});var $b=new T(""),qb=new T(""),_r=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Qt(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new Ae(e=>{e.next(!1),e.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=F({token:t,providedIn:"root",factory:()=>new t})}return t})(),As=(()=>{class t{internalPendingTasks=p(_r);scheduler=p(co);errorHandler=p(yi);add(){let e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}run(e){let n=this.add();e().catch(this.errorHandler).finally(n)}static \u0275prov=F({token:t,providedIn:"root",factory:()=>new t})}return t})();function Rs(...t){}var Sd=(()=>{class t{static \u0275prov=F({token:t,providedIn:"root",factory:()=>new eb})}return t})(),eb=class{dirtyEffectCount=0;queues=new Map;add(i){this.enqueue(i),this.schedule(i)}schedule(i){i.dirty&&this.dirtyEffectCount++}remove(i){let e=i.zone,n=this.queues.get(e);n.has(i)&&(n.delete(i),i.dirty&&this.dirtyEffectCount--)}enqueue(i){let e=i.zone;this.queues.has(e)||this.queues.set(e,new Set);let n=this.queues.get(e);n.has(i)||n.add(i)}flush(){for(;this.dirtyEffectCount>0;){let i=!1;for(let[e,n]of this.queues)e===null?i||=this.flushQueue(n):i||=e.run(()=>this.flushQueue(n));i||(this.dirtyEffectCount=0)}}flushQueue(i){let e=!1;for(let n of i)n.dirty&&(this.dirtyEffectCount--,e=!0,n.run());return e}};function Wl(t){return{toString:t}.toString()}var Vp="__parameters__";function nV(t){return function(...e){if(t){let n=t(...e);for(let o in n)this[o]=n[o]}}}function sM(t,i,e){return Wl(()=>{let n=nV(i);function o(...r){if(this instanceof o)return n.apply(this,r),this;let a=new o(...r);return s.annotation=a,s;function s(l,m,f){let v=l.hasOwnProperty(Vp)?l[Vp]:Object.defineProperty(l,Vp,{value:[]})[Vp];for(;v.length<=f;)v.push(null);return(v[f]=v[f]||[]).push(a),l}}return o.prototype.ngMetadataName=t,o.annotationCls=o,o})}var yr=db(sM("Optional"),8);var Ia=db(sM("SkipSelf"),4);function lM(t){let i=pi.ng;if(i&&i.\u0275compilerFacade)return i.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function iV(t){return typeof t=="function"}var Qp=class{previousValue;currentValue;firstChange;constructor(i,e,n){this.previousValue=i,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}};function cM(t,i,e,n){i!==null?i.applyValueToInputSignal(i,n):t[e]=n}var Ge=(()=>{let t=()=>dM;return t.ngInherit=!0,t})();function dM(t){return t.type.prototype.ngOnChanges&&(t.setInput=rV),oV}function oV(){let t=mM(this),i=t?.current;if(i){let e=t.previous;if(e===Po)t.previous=i;else for(let n in i)e[n]=i[n];t.current=null,this.ngOnChanges(i)}}function rV(t,i,e,n,o){let r=this.declaredInputs[n],a=mM(t)||aV(t,{previous:Po,current:null}),s=a.current||(a.current={}),l=a.previous,m=l[r];s[r]=new Qp(m&&m.currentValue,e,l===Po),cM(t,i,o,e)}var uM="__ngSimpleChanges__";function mM(t){return t[uM]||null}function aV(t,i){return t[uM]=i}var SS=[];var en=function(t,i=null,e){for(let n=0;n=n)break}else i[l]<0&&(t[Ds]+=65536),(s>14>16&&(t[et]&3)===i&&(t[et]+=16384,MS(s,r)):MS(s,r)}var Bl=-1,Ps=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(i,e,n,o){this.factory=i,this.name=o,this.canSeeViewProviders=e,this.injectImpl=n}};function cV(t){return(t.flags&8)!==0}function dV(t){return(t.flags&16)!==0}function uV(t,i,e){let n=0;for(;ni){a=r-1;break}}}for(;r>16}function Zp(t,i){let e=pV(t),n=i;for(;e>0;)n=n[xs],e--;return n}var oy=!0;function Xp(t){let i=oy;return oy=t,i}var hV=256,_M=hV-1,vM=5,fV=0,vr={};function gV(t,i,e){let n;typeof e=="string"?n=e.charCodeAt(0)||0:e.hasOwnProperty(ys)&&(n=e[ys]),n==null&&(n=e[ys]=fV++);let o=n&_M,r=1<>vM)]|=r}function Jp(t,i){let e=bM(t,i);if(e!==-1)return e;let n=i[je];n.firstCreatePass&&(t.injectorIndex=i.length,Qb(n.data,t),Qb(i,null),Qb(n.blueprint,null));let o=Hy(t,i),r=t.injectorIndex;if(gM(o)){let a=Kp(o),s=Zp(o,i),l=s[je].data;for(let m=0;m<8;m++)i[r+m]=s[a+m]|l[a+m]}return i[r+8]=o,r}function Qb(t,i){t.push(0,0,0,0,0,0,0,0,i)}function bM(t,i){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||i[t.injectorIndex+8]===null?-1:t.injectorIndex}function Hy(t,i){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,n=null,o=i;for(;o!==null;){if(n=DM(o),n===null)return Bl;if(e++,o=o[xs],n.injectorIndex!==-1)return n.injectorIndex|e<<16}return Bl}function ry(t,i,e){gV(t,i,e)}function _V(t,i){if(i==="class")return t.classes;if(i==="style")return t.styles;let e=t.attrs;if(e){let n=e.length,o=0;for(;o>20,v=n?s:s+f,D=o?s+f:m;for(let x=v;x=l&&I.type===e)return x}if(o){let x=a[l];if(x&&Lo(x)&&x.type===e)return l}return null}function Td(t,i,e,n,o){let r=t[e],a=i.data;if(r instanceof Ps){let s=r;if(s.resolving){let x=GE(a[e]);throw lb(x)}let l=Xp(s.canSeeViewProviders);s.resolving=!0;let m=a[e].type||a[e],f,v=s.injectImpl?_i(s.injectImpl):null,D=jb(t,n,0);try{r=t[e]=s.factory(void 0,o,a,t,n),i.firstCreatePass&&e>=n.directiveStart&&sV(e,a[e],i)}finally{v!==null&&_i(v),Xp(l),s.resolving=!1,zb()}}return r}function bV(t){if(typeof t=="string")return t.charCodeAt(0)||0;let i=t.hasOwnProperty(ys)?t[ys]:void 0;return typeof i=="number"?i>=0?i&_M:yV:i}function TS(t,i,e){let n=1<>vM)]&n)}function kS(t,i){return!(t&2)&&!(t&1&&i)}var Os=class{_tNode;_lView;constructor(i,e){this._tNode=i,this._lView=e}get(i,e,n){return wM(this._tNode,this._lView,i,_s(n),e)}};function yV(){return new Os(kn(),Re())}function Ct(t){return Wl(()=>{let i=t.prototype.constructor,e=i[md]||ay(i),n=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==n;){let r=o[md]||ay(o);if(r&&r!==e)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function ay(t){return tb(t)?()=>{let i=ay(Nn(t));return i&&i()}:ya(t)}function CV(t,i,e,n,o){let r=t,a=i;for(;r!==null&&a!==null&&a[et]&2048&&!Pl(a);){let s=xM(r,a,e,n|2,vr);if(s!==vr)return s;let l=r.parent;if(!l){let m=a[Cb];if(m){let f=m.get(e,vr,n);if(f!==vr)return f}l=DM(a),a=a[xs]}r=l}return o}function DM(t){let i=t[je],e=i.type;return e===2?i.declTNode:e===1?t[vi]:null}function Ld(t){return _V(kn(),t)}function wV(){return $l(kn(),Re())}function $l(t,i){return new K(Wi(t,i))}var K=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=wV}return t})();function EM(t){return t instanceof K?t.nativeElement:t}function xV(){return this._results[Symbol.iterator]()}var qi=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new j}constructor(i=!1){this._emitDistinctChangesOnly=i}get(i){return this._results[i]}map(i){return this._results.map(i)}filter(i){return this._results.filter(i)}find(i){return this._results.find(i)}reduce(i,e){return this._results.reduce(i,e)}forEach(i){this._results.forEach(i)}some(i){return this._results.some(i)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(i,e){this.dirty=!1;let n=QE(i);(this._changesDetected=!YE(this._results,n,e))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(i){this._onDirty=i}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=xV};function SM(t){return(t.flags&128)===128}var Gy=(function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t})(Gy||{}),MM=new Map,DV=0;function EV(){return DV++}function SV(t){MM.set(t[bd],t)}function sy(t){MM.delete(t[bd])}var AS="__ngContext__";function zl(t,i){hr(i)?(t[AS]=i[bd],SV(i)):t[AS]=i}function IM(t){return kM(t[Rl])}function TM(t){return kM(t[mo])}function kM(t){for(;t!==null&&!Fo(t);)t=t[mo];return t}var ly;function Wy(t){ly=t}function $y(){if(ly!==void 0)return ly;if(typeof document<"u")return document;throw new z(210,!1)}var Ta=new T("",{providedIn:"root",factory:()=>MV}),MV="ng",hh=new T(""),Ls=new T("",{providedIn:"platform",factory:()=>"unknown"});var ka=new T(""),ql=new T("",{providedIn:"root",factory:()=>$y().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var IV="h",TV="b";var AM="r";var RM="di";var OM=!1,PM=new T("",{providedIn:"root",factory:()=>OM});var fh=new T("");var kV=(t,i,e,n)=>{};function AV(t,i,e,n){kV(t,i,e,n)}function gh(t){return(t.flags&32)===32}var RV=()=>null;function NM(t,i,e=!1){return RV(t,i,e)}function FM(t,i){let e=t.contentQueries;if(e!==null){let n=Qe(null);try{for(let o=0;ot,createScript:t=>t,createScriptURL:t=>t})}catch{}return Bp}function _h(t){return FV()?.createHTML(t)||t}var jp;function LM(){if(jp===void 0&&(jp=null,pi.trustedTypes))try{jp=pi.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return jp}function RS(t){return LM()?.createHTML(t)||t}function OS(t){return LM()?.createScriptURL(t)||t}var Yr=class{changingThisBreaksApplicationSecurity;constructor(i){this.changingThisBreaksApplicationSecurity=i}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${bp})`}},dy=class extends Yr{getTypeName(){return"HTML"}},uy=class extends Yr{getTypeName(){return"Style"}},my=class extends Yr{getTypeName(){return"Script"}},py=class extends Yr{getTypeName(){return"URL"}},hy=class extends Yr{getTypeName(){return"ResourceURL"}};function Yi(t){return t instanceof Yr?t.changingThisBreaksApplicationSecurity:t}function Cr(t,i){let e=VM(t);if(e!=null&&e!==i){if(e==="ResourceURL"&&i==="URL")return!0;throw new Error(`Required a safe ${i}, got a ${e} (see ${bp})`)}return e===i}function VM(t){return t instanceof Yr&&t.getTypeName()||null}function Yy(t){return new dy(t)}function Qy(t){return new uy(t)}function Ky(t){return new my(t)}function Zy(t){return new py(t)}function Xy(t){return new hy(t)}function LV(t){let i=new gy(t);return VV()?new fy(i):i}var fy=class{inertDocumentHelper;constructor(i){this.inertDocumentHelper=i}getInertBodyElement(i){i=""+i;try{let e=new window.DOMParser().parseFromString(_h(i),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(i):(e.firstChild?.remove(),e)}catch{return null}}},gy=class{defaultDoc;inertDocument;constructor(i){this.defaultDoc=i,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(i){let e=this.inertDocument.createElement("template");return e.innerHTML=_h(i),e}};function VV(){try{return!!new window.DOMParser().parseFromString(_h(""),"text/html")}catch{return!1}}var BV=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Vd(t){return t=String(t),t.match(BV)?t:"unsafe:"+t}function Qr(t){let i={};for(let e of t.split(","))i[e]=!0;return i}function Bd(...t){let i={};for(let e of t)for(let n in e)e.hasOwnProperty(n)&&(i[n]=!0);return i}var BM=Qr("area,br,col,hr,img,wbr"),jM=Qr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),zM=Qr("rp,rt"),jV=Bd(zM,jM),zV=Bd(jM,Qr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),UV=Bd(zM,Qr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),PS=Bd(BM,zV,UV,jV),UM=Qr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),HV=Qr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),GV=Qr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),WV=Bd(UM,HV,GV),$V=Qr("script,style,template"),_y=class{sanitizedSomething=!1;buf=[];sanitizeChildren(i){let e=i.firstChild,n=!0,o=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild){o.push(e),e=QV(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=YV(e);if(r){e=r;break}e=o.pop()}}return this.buf.join("")}startElement(i){let e=NS(i).toLowerCase();if(!PS.hasOwnProperty(e))return this.sanitizedSomething=!0,!$V.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let n=i.attributes;for(let o=0;o"),!0}endElement(i){let e=NS(i).toLowerCase();PS.hasOwnProperty(e)&&!BM.hasOwnProperty(e)&&(this.buf.push(""))}chars(i){this.buf.push(FS(i))}};function qV(t,i){return(t.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function YV(t){let i=t.nextSibling;if(i&&t!==i.previousSibling)throw HM(i);return i}function QV(t){let i=t.firstChild;if(i&&qV(t,i))throw HM(i);return i}function NS(t){let i=t.nodeName;return typeof i=="string"?i:"FORM"}function HM(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var KV=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ZV=/([^\#-~ |!])/g;function FS(t){return t.replace(/&/g,"&").replace(KV,function(i){let e=i.charCodeAt(0),n=i.charCodeAt(1);return"&#"+((e-55296)*1024+(n-56320)+65536)+";"}).replace(ZV,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(//g,">")}var zp;function vh(t,i){let e=null;try{zp=zp||LV(t);let n=i?String(i):"";e=zp.getInertBodyElement(n);let o=5,r=n;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,n=r,r=e.innerHTML,e=zp.getInertBodyElement(n)}while(n!==r);let s=new _y().sanitizeChildren(LS(e)||e);return _h(s)}finally{if(e){let n=LS(e)||e;for(;n.firstChild;)n.firstChild.remove()}}}function LS(t){return"content"in t&&XV(t)?t.content:null}function XV(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var JV=/^>|^->||--!>|)/g,t3="\u200B$1\u200B";function n3(t){return t.replace(JV,i=>i.replace(e3,t3))}function i3(t,i){return t.createText(i)}function o3(t,i,e){t.setValue(i,e)}function r3(t,i){return t.createComment(n3(i))}function GM(t,i,e){return t.createElement(i,e)}function eh(t,i,e,n,o){t.insertBefore(i,e,n,o)}function WM(t,i,e){t.appendChild(i,e)}function VS(t,i,e,n,o){n!==null?eh(t,i,e,n,o):WM(t,i,e)}function $M(t,i,e,n){t.removeChild(null,i,e,n)}function a3(t,i,e){t.setAttribute(i,"style",e)}function s3(t,i,e){e===""?t.removeAttribute(i,"class"):t.setAttribute(i,"class",e)}function qM(t,i,e){let{mergedAttrs:n,classes:o,styles:r}=e;n!==null&&uV(t,i,n),o!==null&&s3(t,i,o),r!==null&&a3(t,i,r)}function l3(t,i=!0){if(t[0]!=":")return[null,t];let e=t.indexOf(":",1);if(e===-1){if(i)throw new Error(`Unsupported format "${t}" expecting ":namespace:name"`);return[null,t]}return[t.slice(1,e),t.slice(e+1)]}function $t(t,i,e){if(i!==void 0&&e!==void 0&&QM(i,e)!==Lt.HTML)return t;let n=e0();return n?RS(n.sanitize(Lt.HTML,t)||""):Cr(t,"HTML")?RS(Yi(t)):vh($y(),Ur(t))}function we(t){let i=e0();return i?i.sanitize(Lt.URL,t)||"":Cr(t,"URL")?Yi(t):Vd(Ur(t))}function YM(t){let i=e0();if(i)return OS(i.sanitize(Lt.RESOURCE_URL,t)||"");if(Cr(t,"ResourceURL"))return OS(Yi(t));throw new z(904,!1)}function c3(t,i){switch(QM(t,i)){case Lt.RESOURCE_URL:return YM;case Lt.URL:return we;default:return null}}function Jy(t,i,e){return c3(i,e)?.(t)??t}function e0(){let t=Re();return t&&t[mr].sanitizer}function QM(t,i){let[e,n]=d3(t);return oS(n,i,e)}function d3(t){t=t.toLowerCase();let i=l3(t,!1);if(i[0])return i;let n=Vo()===-1?null:Ts(),o=n?.namespace;if(t==="#host"&&n?.type===2){let r=Wi(n,Re());if(r.tagName&&(t=r.tagName.toLowerCase()),o==null){let a=r.namespaceURI;o=a&&NV[a]}}return[o,t]}function jd(t){return t.ownerDocument.defaultView}function t0(t){return t.ownerDocument}function KM(t){return t instanceof Function?t():t}function u3(t,i,e){let n=t.length;for(;;){let o=t.indexOf(i,e);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let r=i.length;if(o+r===n||t.charCodeAt(o+r)<=32)return o}e=o+1}}var ZM="ng-template";function m3(t,i,e,n){let o=0;if(n){for(;o-1){let r;for(;++or?v="":v=o[f+1].toLowerCase(),n&2&&m!==v){if(jo(n))return!1;a=!0}}}}return jo(n)||a}function jo(t){return(t&1)===0}function f3(t,i,e,n){if(i===null)return-1;let o=0;if(n||!e){let r=!1;for(;o-1)for(e++;e0?'="'+s+'"':"")+"]"}else n&8?o+="."+a:n&4&&(o+=" "+a);else o!==""&&!jo(a)&&(i+=BS(r,o),o=""),n=a,r=r||!jo(n);e++}return o!==""&&(i+=BS(r,o)),i}function C3(t){return t.map(y3).join(",")}function w3(t){let i=[],e=[],n=1,o=2;for(;nnull),a=n;if(i&&typeof i=="object"){let l=i;o=l.next?.bind(l),r=l.error?.bind(l),a=l.complete?.bind(l)}this.__isAsync&&(r=this.wrapInTimeout(r),o&&(o=this.wrapInTimeout(o)),a&&(a=this.wrapInTimeout(a)));let s=super.subscribe({next:o,error:r,complete:a});return i instanceof _e&&i.add(s),s}wrapInTimeout(i){return e=>{let n=this.pendingTasks?.add();setTimeout(()=>{try{i(e)}finally{n!==void 0&&this.pendingTasks?.remove(n)}})}}},k=by;function iI(t){let i,e;function n(){t=Rs;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),i!==void 0&&clearTimeout(i)}catch{}}return i=setTimeout(()=>{t(),n()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),n()})),()=>n()}function zS(t){return queueMicrotask(()=>t()),()=>{t=Rs}}var s0="isAngularZone",th=s0+"_ID",M3=0,te=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new k(!1);onMicrotaskEmpty=new k(!1);onStable=new k(!1);onError=new k(!1);constructor(i){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:r=nI}=i;if(typeof Zone>"u")throw new z(908,!1);Zone.assertZonePatched();let a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!o&&n,a.shouldCoalesceRunChangeDetection=o,a.callbackScheduled=!1,a.scheduleInRootZone=r,k3(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(s0)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new z(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new z(909,!1)}run(i,e,n){return this._inner.run(i,e,n)}runTask(i,e,n,o){let r=this._inner,a=r.scheduleEventTask("NgZoneEvent: "+o,i,I3,Rs,Rs);try{return r.runTask(a,e,n)}finally{r.cancelTask(a)}}runGuarded(i,e,n){return this._inner.runGuarded(i,e,n)}runOutsideAngular(i){return this._outer.run(i)}},I3={};function l0(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function T3(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function i(){iI(()=>{t.callbackScheduled=!1,yy(t),t.isCheckStableRunning=!0,l0(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{i()}):t._outer.run(()=>{i()}),yy(t)}function k3(t){let i=()=>{T3(t)},e=M3++;t._inner=t._inner.fork({name:"angular",properties:{[s0]:!0,[th]:e,[th+e]:!0},onInvokeTask:(n,o,r,a,s,l)=>{if(A3(l))return n.invokeTask(r,a,s,l);try{return US(t),n.invokeTask(r,a,s,l)}finally{(t.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&i(),HS(t)}},onInvoke:(n,o,r,a,s,l,m)=>{try{return US(t),n.invoke(r,a,s,l,m)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!R3(l)&&i(),HS(t)}},onHasTask:(n,o,r,a)=>{n.hasTask(r,a),o===r&&(a.change=="microTask"?(t._hasPendingMicrotasks=a.microTask,yy(t),l0(t)):a.change=="macroTask"&&(t.hasPendingMacrotasks=a.macroTask))},onHandleError:(n,o,r,a)=>(n.handleError(r,a),t.runOutsideAngular(()=>t.onError.emit(a)),!1)})}function yy(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function US(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function HS(t){t._nesting--,l0(t)}var kd=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new k;onMicrotaskEmpty=new k;onStable=new k;onError=new k;run(i,e,n){return i.apply(e,n)}runGuarded(i,e,n){return i.apply(e,n)}runOutsideAngular(i){return i()}runTask(i,e,n,o){return i.apply(e,n)}};function A3(t){return oI(t,"__ignore_ng_zone__")}function R3(t){return oI(t,"__scheduler_tick__")}function oI(t,i){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[i]===!0}function rI(t="zone.js",i){return t==="noop"?new kd:t==="zone.js"?new te(i):t}var Ch=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=F({token:t,providedIn:"root",factory:()=>new t})}return t})(),c0=[0,1,2,3],d0=(()=>{class t{ngZone=p(te);scheduler=p(co);errorHandler=p(Yn,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){p(Aa,{optional:!0})}execute(){let e=this.sequences.size>0;e&&en(16),this.executing=!0;for(let n of c0)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[n]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let r=o.hooks[n];return r(o.pipelinedValue)},o.snapshot))}catch(r){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&en(17)}register(e){let{view:n}=e;n!==void 0?((n[Es]??=[]).push(e),Da(n),n[et]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,n){return n?n.run(yh.AFTER_NEXT_RENDER,e):e()}static \u0275prov=F({token:t,providedIn:"root",factory:()=>new t})}return t})(),Ad=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(i,e,n,o,r,a=null){this.impl=i,this.hooks=e,this.view=n,this.once=o,this.snapshot=a,this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let i=this.view?.[Es];i&&(this.view[Es]=i.filter(e=>e!==this))}};function xt(t,i){let e=i?.injector??p(re);return Ho("NgAfterNextRender"),P3(t,e,i,!0)}function O3(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function P3(t,i,e,n){let o=i.get(Ch);o.impl??=i.get(d0);let r=i.get(Aa,null,{optional:!0}),a=e?.manualCleanup!==!0?i.get(Ln):null,s=i.get(ks,null,{optional:!0}),l=new Ad(o.impl,O3(t),s?.view,n,a,r?.snapshot(null));return o.impl.register(l),l}var aI=new T("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function sI(t,i,e){let n=t.get(aI);if(Array.isArray(i))for(let o of i)n.queue.add(o),e?.detachedLeaveAnimationFns?.push(o);else n.queue.add(i),e?.detachedLeaveAnimationFns?.push(i);n.scheduler&&n.scheduler(t)}function N3(t,i){let e=t.get(aI);if(i.detachedLeaveAnimationFns){for(let n of i.detachedLeaveAnimationFns)e.queue.delete(n);i.detachedLeaveAnimationFns=void 0}}function F3(t,i){for(let[e,n]of i)sI(t,n.animateFns)}function GS(t,i,e,n){let o=t?.[Ss]?.enter;i!==null&&o&&o.has(e.index)&&F3(n,o)}function Vl(t,i,e,n,o,r,a,s){if(o!=null){let l,m=!1;Fo(o)?l=o:hr(o)&&(m=!0,o=o[No]);let f=po(o);t===0&&n!==null?(GS(s,n,r,e),a==null?WM(i,n,f):eh(i,n,f,a||null,!0)):t===1&&n!==null?(GS(s,n,r,e),eh(i,n,f,a||null,!0)):t===2?WS(s,r,e,v=>{$M(i,f,m,v)}):t===3&&WS(s,r,e,()=>{i.destroyNode(f)}),l!=null&&q3(i,t,e,l,r,n,a)}}function L3(t,i){lI(t,i),i[No]=null,i[vi]=null}function V3(t,i,e,n,o,r){n[No]=o,n[vi]=i,xh(t,n,e,1,o,r)}function lI(t,i){i[mr].changeDetectionScheduler?.notify(9),xh(t,i,i[Wt],2,null,null)}function B3(t){let i=t[Rl];if(!i)return Kb(t[je],t);for(;i;){let e=null;if(hr(i))e=i[Rl];else{let n=i[yn];n&&(e=n)}if(!e){for(;i&&!i[mo]&&i!==t;)hr(i)&&Kb(i[je],i),i=i[Fn];i===null&&(i=t),hr(i)&&Kb(i[je],i),e=i&&i[mo]}i=e}}function u0(t,i){let e=t[Ms],n=e.indexOf(i);e.splice(n,1)}function wh(t,i){if(Is(i))return;let e=i[Wt];e.destroyNode&&xh(t,i,e,3,null,null),B3(i)}function Kb(t,i){if(Is(i))return;let e=Qe(null);try{i[et]&=-129,i[et]|=256,i[Gi]&&ha(i[Gi]),U3(t,i),z3(t,i),i[je].type===1&&i[Wt].destroy();let n=i[wa];if(n!==null&&Fo(i[Fn])){n!==i[Fn]&&u0(n,i);let o=i[pr];o!==null&&o.detachView(t)}sy(i)}finally{Qe(e)}}function WS(t,i,e,n){let o=t?.[Ss];if(o==null||o.leave==null||!o.leave.has(i.index))return n(!1);t&&Ns.add(t),sI(e,()=>{if(o.leave&&o.leave.has(i.index)){let a=o.leave.get(i.index),s=[];if(a){for(let l=0;l{t[Ss].running=void 0,Ns.delete(t),i(!0)});return}i(!1)}function z3(t,i){let e=t.cleanup,n=i[Al];if(e!==null)for(let a=0;a=0?n[s]():n[-s].unsubscribe(),a+=2}else{let s=n[e[a+1]];e[a].call(s)}n!==null&&(i[Al]=null);let o=i[jr];if(o!==null){i[jr]=null;for(let a=0;aln&&tI(t,i,ln,!1),en(a?2:0,o,e),e(n,o)}finally{Ea(r),en(a?3:1,o,e)}}function Dh(t,i,e){J3(t,i,e),(e.flags&64)===64&&eB(t,i,e)}function zd(t,i,e=Wi){let n=i.localNames;if(n!==null){let o=i.index+1;for(let r=0;rnull;function X3(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function hI(t,i,e,n,o,r){let a=i[je];if(Eh(t,a,i,e,n)){$r(t)&&gI(i,t.index);return}t.type&3&&(e=X3(e)),fI(t,i,e,n,o,r)}function fI(t,i,e,n,o,r){if(t.type&3){let a=Wi(t,i);n=r!=null?r(n,t.value||"",e):n,o.setProperty(a,e,n)}else t.type&12}function gI(t,i){let e=ho(i,t);e[et]&16||(e[et]|=64)}function J3(t,i,e){let n=e.directiveStart,o=e.directiveEnd;$r(e)&&E3(i,e,t.data[n+e.componentOffset]),t.firstCreatePass||Jp(e,i);let r=e.initialInputs;for(let a=n;a{Da(t.lView)},consumerOnSignalRead(){this.lView[Gi]=this}});function mB(t){let i=t[Gi]??Object.create(pB);return i.lView=t,i}var pB=Be(L({},as),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let i=Ca(t.lView);for(;i&&!CI(i[je]);)i=Ca(i);i&&Ib(i)},consumerOnSignalRead(){this.lView[Gi]=this}});function CI(t){return t.type!==2}function wI(t){if(t[Wr]===null)return;let i=!0;for(;i;){let e=!1;for(let n of t[Wr])n.dirty&&(e=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));i=e&&!!(t[et]&8192)}}var hB=100;function xI(t,i=0){let n=t[mr].rendererFactory,o=!1;o||n.begin?.();try{fB(t,i)}finally{o||n.end?.()}}function fB(t,i){let e=Bb();try{Fl(!0),wy(t,i);let n=0;for(;wd(t);){if(n===hB)throw new z(103,!1);n++,wy(t,1)}}finally{Fl(e)}}function gB(t,i,e,n){if(Is(i))return;let o=i[et],r=!1,a=!1;Np(i);let s=!0,l=null,m=null;r||(CI(t)?(m=lB(i),l=pa(m)):Om()===null?(s=!1,m=mB(i),l=pa(m)):i[Gi]&&(ha(i[Gi]),i[Gi]=null));try{Mb(i),fS(t.bindingStartIndex),e!==null&&pI(t,i,e,2,n);let f=(o&3)===3;if(!r)if(f){let x=t.preOrderCheckHooks;x!==null&&Gp(i,x,null)}else{let x=t.preOrderHooks;x!==null&&Wp(i,x,0,null),Yb(i,0)}if(a||_B(i),wI(i),DI(i,0),t.contentQueries!==null&&FM(t,i),!r)if(f){let x=t.contentCheckHooks;x!==null&&Gp(i,x)}else{let x=t.contentHooks;x!==null&&Wp(i,x,1),Yb(i,1)}bB(t,i);let v=t.components;v!==null&&SI(i,v,0);let D=t.viewQuery;if(D!==null&&cy(2,D,n),!r)if(f){let x=t.viewCheckHooks;x!==null&&Gp(i,x)}else{let x=t.viewHooks;x!==null&&Wp(i,x,2),Yb(i,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),i[Mp]){for(let x of i[Mp])x();i[Mp]=null}r||(bI(i),i[et]&=-73)}catch(f){throw r||Da(i),f}finally{m!==null&&(ls(m,l),s&&dB(m)),Fp()}}function DI(t,i){for(let e=IM(t);e!==null;e=TM(e))for(let n=yn;n0&&(t[e-1][mo]=n[mo]);let r=_d(t,yn+i);L3(n[je],n);let a=r[pr];a!==null&&a.detachView(r[je]),n[Fn]=null,n[mo]=null,n[et]&=-129}return n}function yB(t,i,e,n){let o=yn+n,r=e.length;n>0&&(e[o-1][mo]=i),n-1&&(Od(i,n),_d(e,n))}this._attachedToViewContainer=!1}wh(this._lView[je],this._lView)}onDestroy(i){Tb(this._lView,i)}markForCheck(){v0(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[et]&=-129}reattach(){kp(this._lView),this._lView[et]|=128}detectChanges(){this._lView[et]|=1024,xI(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new z(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let i=Pl(this._lView),e=this._lView[wa];e!==null&&!i&&u0(e,this._lView),lI(this._lView[je],this._lView)}attachToAppRef(i){if(this._attachedToViewContainer)throw new z(902,!1);this._appRef=i;let e=Pl(this._lView),n=this._lView[wa];n!==null&&!e&&kI(n,this._lView),kp(this._lView)}};var bt=(()=>{class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=CB;constructor(e,n,o){this._declarationLView=e,this._declarationTContainer=n,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,o){let r=Ud(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:n,dehydratedView:o});return new Sa(r)}}return t})();function CB(){return Sh(kn(),Re())}function Sh(t,i){return t.type&4?new bt(i,t,$l(t,i)):null}function Yl(t,i,e,n,o){let r=t.data[i];if(r===null)r=wB(t,i,e,n,o),gS()&&(r.flags|=32);else if(r.type&64){r.type=e,r.value=n,r.attrs=o;let a=mS();r.injectorIndex=a===null?-1:a.injectorIndex}return Nl(r,!0),r}function wB(t,i,e,n,o){let r=Fb(),a=Lb(),s=a?r:r&&r.parent,l=t.data[i]=DB(t,s,e,i,n,o);return xB(t,l,r,a),l}function xB(t,i,e,n){t.firstChild===null&&(t.firstChild=i),e!==null&&(n?e.child==null&&i.parent!==null&&(e.child=i):e.next===null&&(e.next=i,i.prev=e))}function DB(t,i,e,n,o,r){let a=i?i.injectorIndex:-1,s=0;return Ob()&&(s|=128),{type:e,index:n,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:s,providerIndexes:0,value:o,namespace:Ub(),attrs:r,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:i,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var yae=new RegExp(`^(\\d+)*(${TV}|${IV})*(.*)`);function EB(t){let i=t[wb]??[],n=t[Fn][Wt],o=[];for(let r of i)r.data[RM]!==void 0?o.push(r):SB(r,n);t[wb]=o}function SB(t,i){let e=0,n=t.firstChild;if(n){let o=t.data[AM];for(;enull,IB=()=>null;function nh(t,i){return MB(t,i)}function AI(t,i,e){return IB(t,i,e)}var RI=class{},Mh=class{},xy=class{resolveComponentFactory(i){throw new z(917,!1)}},Gd=class{static NULL=new xy},Cn=class{},St=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>TB()}return t})();function TB(){let t=Re(),i=kn(),e=ho(i.index,t);return(hr(e)?e:t)[Wt]}var OI=(()=>{class t{static \u0275prov=F({token:t,providedIn:"root",factory:()=>null})}return t})();var qp={},Dy=class{injector;parentInjector;constructor(i,e){this.injector=i,this.parentInjector=e}get(i,e,n){let o=this.injector.get(i,qp,n);return o!==qp||e===qp?o:this.parentInjector.get(i,e,n)}};function ih(t,i,e){let n=e?t.styles:null,o=e?t.classes:null,r=0;if(i!==null)for(let a=0;a0&&(e.directiveToIndex=new Map);for(let D=0;D0;){let e=t[--i];if(typeof e=="number"&&e<0)return e}return 0}function LB(t,i,e){if(e){if(i.exportAs)for(let n=0;nn(po(N[t.index])):t.index;BI(I,i,e,r,s,x,!1)}}return m}function zB(t){return t.startsWith("animation")||t.startsWith("transition")}function UB(t,i,e,n){let o=t.cleanup;if(o!=null)for(let r=0;rl?s[l]:null}typeof a=="string"&&(r+=2)}return null}function BI(t,i,e,n,o,r,a){let s=i.firstCreatePass?Ab(i):null,l=kb(e),m=l.length;l.push(o,r),s&&s.push(n,t,m,(m+1)*(a?-1:1))}function ZS(t,i,e,n,o,r){let a=i[e],s=i[je],m=s.data[e].outputs[n],v=a[m].subscribe(r);BI(t.index,s,i,o,r,v,!0)}var Ey=Symbol("BINDING");var oh=class extends Gd{ngModule;constructor(i){super(),this.ngModule=i}resolveComponentFactory(i){let e=ur(i);return new Ma(e,this.ngModule)}};function HB(t){return Object.keys(t).map(i=>{let[e,n,o]=t[i],r={propName:e,templateName:i,isSignal:(n&bh.SignalBased)!==0};return o&&(r.transform=o),r})}function GB(t){return Object.keys(t).map(i=>({propName:t[i],templateName:i}))}function WB(t,i,e){let n=i instanceof Gt?i:i?.injector;return n&&t.getStandaloneInjector!==null&&(n=t.getStandaloneInjector(n)||n),n?new Dy(e,n):e}function $B(t){let i=t.get(Cn,null);if(i===null)throw new z(407,!1);let e=t.get(OI,null),n=t.get(co,null);return{rendererFactory:i,sanitizer:e,changeDetectionScheduler:n,ngReflect:!1}}function qB(t,i){let e=jI(t);return GM(i,e,e==="svg"?hd:e==="math"?Db:null)}function YB(t){if(t?.toLowerCase()==="script")throw new z(905,!1)}function jI(t){return(t.selectors[0][0]||"div").toLowerCase()}var Ma=class extends Mh{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=HB(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=GB(this.componentDef.outputs),this.cachedOutputs}constructor(i,e){super(),this.componentDef=i,this.ngModule=e,this.componentType=i.type,this.selector=C3(i.selectors),this.ngContentSelectors=i.ngContentSelectors??[],this.isBoundToModule=!!e}create(i,e,n,o,r,a){en(22);let s=Qe(null);try{let l=this.componentDef,m=QB(n,l,a,r),f=WB(l,o||this.ngModule,i),v=$B(f),D=v.rendererFactory.createRenderer(null,l),x=n?Q3(D,n,l.encapsulation,f):qB(l,D);YB(x?.tagName);let I=a?.some(XS)||r?.some(P=>typeof P!="function"&&P.bindings.some(XS)),N=o0(null,m,null,512|JM(l),null,null,v,D,f,null,NM(x,f,!0));N[ln]=x,Np(N);let q=null;try{let P=b0(ln,N,2,"#host",()=>m.directiveRegistry,!0,0);qM(D,x,P),zl(x,N),Dh(m,N,P),qy(m,P,N),y0(m,P),e!==void 0&&ZB(P,this.ngContentSelectors,e),q=ho(P.index,N),N[En]=q[En],_0(m,N,null)}catch(P){throw q!==null&&sy(q),sy(N),P}finally{en(23),Fp()}return new rh(this.componentType,N,!!I)}finally{Qe(s)}}};function QB(t,i,e,n){let o=t?["ng-version","20.3.34"]:w3(i.selectors[0]),r=null,a=null,s=0;if(e)for(let f of e)s+=f[Ey].requiredVars,f.create&&(f.targetIdx=0,(r??=[]).push(f)),f.update&&(f.targetIdx=0,(a??=[]).push(f));if(n)for(let f=0;f{if(e&1&&t)for(let n of t)n.create();if(e&2&&i)for(let n of i)n.update()}}function XS(t){let i=t[Ey].kind;return i==="input"||i==="twoWay"}var rh=class extends RI{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(i,e,n){super(),this._rootLView=e,this._hasInputBindings=n,this._tNode=Cd(e[je],ln),this.location=$l(this._tNode,e),this.instance=ho(this._tNode.index,e)[En],this.hostView=this.changeDetectorRef=new Sa(e,void 0),this.componentType=i}setInput(i,e){this._hasInputBindings;let n=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(i)&&Object.is(this.previousInputValues.get(i),e))return;let o=this._rootLView,r=Eh(n,o[je],o,i,e);this.previousInputValues.set(i,e);let a=ho(n.index,o);v0(a,1)}get injector(){return new Os(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(i){this.hostView.onDestroy(i)}};function ZB(t,i,e){let n=t.projection=[];for(let o=0;o{class t{static __NG_ELEMENT_ID__=XB}return t})();function XB(){let t=kn();return UI(t,Re())}var JB=Mt,zI=class extends JB{_lContainer;_hostTNode;_hostLView;constructor(i,e,n){super(),this._lContainer=i,this._hostTNode=e,this._hostLView=n}get element(){return $l(this._hostTNode,this._hostLView)}get injector(){return new Os(this._hostTNode,this._hostLView)}get parentInjector(){let i=Hy(this._hostTNode,this._hostLView);if(gM(i)){let e=Zp(i,this._hostLView),n=Kp(i),o=e[je].data[n+8];return new Os(o,e)}else return new Os(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(i){let e=JS(this._lContainer);return e!==null&&e[i]||null}get length(){return this._lContainer.length-yn}createEmbeddedView(i,e,n){let o,r;typeof n=="number"?o=n:n!=null&&(o=n.index,r=n.injector);let a=nh(this._lContainer,i.ssrId),s=i.createEmbeddedViewImpl(e||{},r,a);return this.insertImpl(s,o,Ul(this._hostTNode,a)),s}createComponent(i,e,n,o,r,a,s){let l=i&&!iV(i),m;if(l)m=e;else{let q=e||{};m=q.index,n=q.injector,o=q.projectableNodes,r=q.environmentInjector||q.ngModuleRef,a=q.directives,s=q.bindings}let f=l?i:new Ma(ur(i)),v=n||this.parentInjector;if(!r&&f.ngModule==null){let P=(l?v:this.parentInjector).get(Gt,null);P&&(r=P)}let D=ur(f.componentType??{}),x=nh(this._lContainer,D?.id??null),I=x?.firstChild??null,N=f.create(v,o,I,r,a,s);return this.insertImpl(N.hostView,m,Ul(this._hostTNode,x)),N}insert(i,e){return this.insertImpl(i,e,!0)}insertImpl(i,e,n){let o=i._lView;if(aS(o)){let s=this.indexOf(i);if(s!==-1)this.detach(s);else{let l=o[Fn],m=new zI(l,l[vi],l[Fn]);m.detach(m.indexOf(i))}}let r=this._adjustIndex(e),a=this._lContainer;return Hd(a,o,r,n),i.attachToViewContainerRef(),ub(Zb(a),r,i),i}move(i,e){return this.insert(i,e)}indexOf(i){let e=JS(this._lContainer);return e!==null?e.indexOf(i):-1}remove(i){let e=this._adjustIndex(i,-1),n=Od(this._lContainer,e);n&&(_d(Zb(this._lContainer),e),wh(n[je],n))}detach(i){let e=this._adjustIndex(i,-1),n=Od(this._lContainer,e);return n&&_d(Zb(this._lContainer),e)!=null?new Sa(n):null}_adjustIndex(i,e=0){return i??this.length+e}};function JS(t){return t[yd]}function Zb(t){return t[yd]||(t[yd]=[])}function UI(t,i){let e,n=i[t.index];return Fo(n)?e=n:(e=MI(n,i,null,t),i[t.index]=e,r0(i,e)),tj(e,i,t,n),new zI(e,t,i)}function ej(t,i){let e=t[Wt],n=e.createComment(""),o=Wi(i,t),r=e.parentNode(o);return eh(e,r,n,e.nextSibling(o),!1),n}var tj=oj,nj=()=>!1;function ij(t,i,e){return nj(t,i,e)}function oj(t,i,e,n){if(t[xa])return;let o;e.type&8?o=po(n):o=ej(i,e),t[xa]=o}var Sy=class t{queryList;matches=null;constructor(i){this.queryList=i}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},My=class t{queries;constructor(i=[]){this.queries=i}createEmbeddedView(i){let e=i.queries;if(e!==null){let n=i.contentQueries!==null?i.contentQueries[0]:e.length,o=[];for(let r=0;r0)n.push(a[s/2]);else{let m=r[s+1],f=i[-l];for(let v=yn;vi.trim())}function qI(t,i,e){t.queries===null&&(t.queries=new Iy),t.queries.track(new Ty(i,e))}function dj(t,i){let e=t.contentQueries||(t.contentQueries=[]),n=e.length?e[e.length-1]:-1;i!==n&&e.push(t.queries.length-1,i)}function D0(t,i){return t.queries.getByIndex(i)}function YI(t,i){let e=t[je],n=D0(e,i);return n.crossesNgTemplate?ky(e,t,i,[]):HI(e,t,n,i)}function QI(t,i,e){let n,o=od(()=>{n._dirtyCounter();let r=uj(n,t);if(i&&r===void 0)throw new z(-951,!1);return r});return n=o[Pn],n._dirtyCounter=Ie(0),n._flatValue=void 0,o}function E0(t){return QI(!0,!1,t)}function S0(t){return QI(!0,!0,t)}function KI(t,i){let e=t[Pn];e._lView=Re(),e._queryIndex=i,e._queryList=x0(e._lView,i),e._queryList.onDirty(()=>e._dirtyCounter.update(n=>n+1))}function uj(t,i){let e=t._lView,n=t._queryIndex;if(e===void 0||n===void 0||e[et]&4)return i?void 0:mi;let o=x0(e,n),r=YI(e,n);return o.reset(r,EM),i?o.first:o._changesDetected||t._flatValue===void 0?t._flatValue=o.toArray():t._flatValue}function ZI(t){let i=[],e=new Map;function n(o){let r=e.get(o);if(!r){let a=t(o);e.set(o,r=a.then(s=>pj(o,s)))}return r}return sh.forEach((o,r)=>{let a=[];o.templateUrl&&a.push(n(o.templateUrl).then(m=>{o.template=m}));let s=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=s,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let m=o.styles.length,f=o.styleUrls;o.styleUrls.forEach((v,D)=>{s.push(""),a.push(n(v).then(x=>{s[m+D]=x,f.splice(f.indexOf(v),1),f.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&a.push(n(o.styleUrl).then(m=>{s.push(m),o.styleUrl=void 0}));let l=Promise.all(a).then(()=>hj(r));i.push(l)}),XI(),Promise.all(i).then(()=>{})}var sh=new Map,mj=new Set;function XI(){let t=sh;return sh=new Map,t}function JI(){return sh.size===0}function pj(t,i){return typeof i=="string"?i:i.status!==void 0&&i.status!==200?Promise.reject(new z(918,!1)):i.text()}function hj(t){mj.delete(t)}var br=class{},Th=class{};var Pd=class extends br{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new oh(this);constructor(i,e,n,o=!0){super(),this.ngModuleType=i,this._parent=e;let r=hb(i);this._bootstrapComponents=KM(r.bootstrap),this._r3Injector=Hb(i,e,[{provide:br,useValue:this},{provide:Gd,useValue:this.componentFactoryResolver},...n],zr(i),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let i=this._r3Injector;!i.destroyed&&i.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(i){this.destroyCbs.push(i)}},Nd=class extends Th{moduleType;constructor(i){super(),this.moduleType=i}create(i){return new Pd(this.moduleType,i,[])}};function eT(t,i,e){return new Pd(t,i,e,!1)}var lh=class extends br{injector;componentFactoryResolver=new oh(this);instance=null;constructor(i){super();let e=new bs([...i.providers,{provide:br,useValue:this},{provide:Gd,useValue:this.componentFactoryResolver}],i.parent||kl(),i.debugName,new Set(["environment"]));this.injector=e,i.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(i){this.injector.onDestroy(i)}};function Ql(t,i,e=null){return new lh({providers:t,parent:i,debugName:e,runEnvironmentInitializers:!0}).injector}var fj=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let n=gb(!1,e.type),o=n.length>0?Ql([n],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,o)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=F({token:t,providedIn:"environment",factory:()=>new t(oe(Gt))})}return t})();function E(t){return Wl(()=>{let i=nT(t),e=Be(L({},i),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Gy.OnPush,directiveDefs:null,pipeDefs:null,dependencies:i.standalone&&t.dependencies||null,getStandaloneInjector:i.standalone?o=>o.get(fj).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||qr.Emulated,styles:t.styles||mi,_:null,schemas:t.schemas||null,tView:null,id:""});i.standalone&&Ho("NgStandalone"),iT(e);let n=t.dependencies;return e.directiveDefs=ch(n,tT),e.pipeDefs=ch(n,fb),e.id=vj(e),e})}function tT(t){return ur(t)||Sp(t)}function X(t){return Wl(()=>({type:t.type,bootstrap:t.bootstrap||mi,declarations:t.declarations||mi,imports:t.imports||mi,exports:t.exports||mi,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function gj(t,i){if(t==null)return Po;let e={};for(let n in t)if(t.hasOwnProperty(n)){let o=t[n],r,a,s,l;Array.isArray(o)?(s=o[0],r=o[1],a=o[2]??r,l=o[3]||null):(r=o,a=o,s=bh.None,l=null),e[r]=[n,s,l],i[r]=a}return e}function _j(t){if(t==null)return Po;let i={};for(let e in t)t.hasOwnProperty(e)&&(i[t[e]]=e);return i}function B(t){return Wl(()=>{let i=nT(t);return iT(i),i})}function Go(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function nT(t){let i={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:i,inputConfig:t.inputs||Po,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||mi,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:gj(t.inputs,i),outputs:_j(t.outputs),debugInfo:null}}function iT(t){t.features?.forEach(i=>i(t))}function ch(t,i){return t?()=>{let e=typeof t=="function"?t():t,n=[];for(let o of e){let r=i(o);r!==null&&n.push(r)}return n}:null}function vj(t){let i=0,e=typeof t.consts=="function"?"":t.consts,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,e,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let r of n.join("|"))i=Math.imul(31,i)+r.charCodeAt(0)<<0;return i+=2147483648,"c"+i}function bj(t){return Object.getPrototypeOf(t.prototype).constructor}function ye(t){let i=bj(t.type),e=!0,n=[t];for(;i;){let o;if(Lo(t))o=i.\u0275cmp||i.\u0275dir;else{if(i.\u0275cmp)throw new z(903,!1);o=i.\u0275dir}if(o){if(e){n.push(o);let a=t;a.inputs=Xb(t.inputs),a.declaredInputs=Xb(t.declaredInputs),a.outputs=Xb(t.outputs);let s=o.hostBindings;s&&Dj(t,s);let l=o.viewQuery,m=o.contentQueries;if(l&&wj(t,l),m&&xj(t,m),yj(t,o),HE(t.outputs,o.outputs),Lo(o)&&o.data.animation){let f=t.data;f.animation=(f.animation||[]).concat(o.data.animation)}}let r=o.features;if(r)for(let a=0;a=0;n--){let o=t[n];o.hostVars=i+=o.hostVars,o.hostAttrs=jl(o.hostAttrs,e=jl(e,o.hostAttrs))}}function Xb(t){return t===Po?{}:t===mi?[]:t}function wj(t,i){let e=t.viewQuery;e?t.viewQuery=(n,o)=>{i(n,o),e(n,o)}:t.viewQuery=i}function xj(t,i){let e=t.contentQueries;e?t.contentQueries=(n,o,r)=>{i(n,o,r),e(n,o,r)}:t.contentQueries=i}function Dj(t,i){let e=t.hostBindings;e?t.hostBindings=(n,o)=>{i(n,o),e(n,o)}:t.hostBindings=i}function M0(t){let i=e=>{let n=Array.isArray(t);e.hostDirectives===null?(e.resolveHostDirectives=Ej,e.hostDirectives=n?t.map(Ay):[t]):n?e.hostDirectives.unshift(...t.map(Ay)):e.hostDirectives.unshift(t)};return i.ngInherit=!0,i}function Ej(t){let i=[],e=!1,n=null,o=null;for(let r=0;r{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();var Ah=new T(""),Kl=new T(""),Wd=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(e,n,o){this._ngZone=e,this.registry=n,bb()&&(this._destroyRef=p(Ln,{optional:!0})??void 0),I0||(aT(o),o.addToWindow(n)),this._watchAngularEvents(),e.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let e=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),n=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{te.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{e.unsubscribe(),n.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(n=>n.updateCb&&n.updateCb(e)?(clearTimeout(n.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,n,o){let r=-1;n&&n>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==r),e()},n)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:o})}whenStable(e,n,o){if(o&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,n,o),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,n,o){return[]}static \u0275fac=function(n){return new(n||t)(oe(te),oe($d),oe(Kl))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})(),$d=(()=>{class t{_applications=new Map;registerApplication(e,n){this._applications.set(e,n)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,n=!0){return I0?.findTestabilityInTree(this,e,n)??null}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function aT(t){I0=t}var I0;function Zr(t){return!!t&&typeof t.then=="function"}function Rh(t){return!!t&&typeof t.subscribe=="function"}var T0=new T("");function Oh(t){return Cs([{provide:T0,multi:!0,useValue:t}])}var k0=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,n)=>{this.resolve=e,this.reject=n});appInits=p(T0,{optional:!0})??[];injector=p(re);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let o of this.appInits){let r=Qn(this.injector,o);if(Zr(r))e.push(r);else if(Rh(r)){let a=new Promise((s,l)=>{r.subscribe({complete:s,error:l})});e.push(a)}}let n=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{n()}).catch(o=>{this.reject(o)}),e.length===0&&n(),this.initialized=!0}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ph=new T("");function sT(){wv(()=>{let t="";throw new z(600,t)})}function lT(t){return t.isBoundToModule}var kj=10;function A0(t,i){return Array.isArray(i)?i.reduce(A0,t):L(L({},t),i)}var Kn=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=p(yi);afterRenderManager=p(Ch);zonelessEnabled=p(Ed);rootEffectScheduler=p(Sd);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new j;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=p(_r);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(de(e=>!e))}constructor(){p(Aa,{optional:!0})}whenStable(){let e;return new Promise(n=>{e=this.isStable.subscribe({next:o=>{o&&n()}})}).finally(()=>{e.unsubscribe()})}_injector=p(Gt);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,n){return this.bootstrapImpl(e,n)}bootstrapImpl(e,n,o=re.NULL){return this._injector.get(te).run(()=>{en(10);let a=e instanceof Mh;if(!this._injector.get(k0).done){let I="";throw new z(405,I)}let l;a?l=e:l=this._injector.get(Gd).resolveComponentFactory(e),this.componentTypes.push(l.componentType);let m=lT(l)?void 0:this._injector.get(br),f=n||l.selector,v=l.create(o,[],f,m),D=v.location.nativeElement,x=v.injector.get(Ah,null);return x?.registerApplication(D),v.onDestroy(()=>{this.detachView(v.hostView),Id(this.components,v),x?.unregisterApplication(D)}),this._loadComponent(v),en(11,v),v})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){en(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(yh.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new z(101,!1);let e=Qe(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,Qe(e),this.afterTick.next(),en(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Cn,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++wd(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let n=e;this._views.push(n),n.attachToAppRef(this)}detachView(e){let n=e;Id(this._views,n),n.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(e),this._injector.get(Ph,[]).forEach(o=>o(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Id(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new z(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Id(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}function Zl(t,i){let e=Re(),n=fr();if(Pi(e,n,i)){let o=Xt(),r=Ts();if(Eh(r,o,e,t,i))$r(r)&&gI(e,r.index);else{let s=Wi(r,e);_I(e[Wt],s,null,r.value,t,i,null)}}return Zl}function ee(t,i,e,n){let o=Re(),r=fr();if(Pi(o,r,i)){let a=Xt(),s=Ts();nB(s,o,t,i,e,n)}return ee}var Mae=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Ry=class{destroy(i){}updateValue(i,e){}swap(i,e){let n=Math.min(i,e),o=Math.max(i,e),r=this.detach(o);if(o-n>1){let a=this.detach(n);this.attach(n,r),this.attach(o,a)}else this.attach(n,r)}move(i,e){this.attach(e,this.detach(i))}};function Jb(t,i,e,n,o){return t===e&&Object.is(i,n)?1:Object.is(o(t,i),o(e,n))?-1:0}function Aj(t,i,e){let n,o,r=0,a=t.length-1,s=void 0;if(Array.isArray(i)){let l=i.length-1;for(;r<=a&&r<=l;){let m=t.at(r),f=i[r],v=Jb(r,m,r,f,e);if(v!==0){v<0&&t.updateValue(r,f),r++;continue}let D=t.at(a),x=i[l],I=Jb(a,D,l,x,e);if(I!==0){I<0&&t.updateValue(a,x),a--,l--;continue}let N=e(r,m),q=e(a,D),P=e(r,f);if(Object.is(P,q)){let Ee=e(l,x);Object.is(Ee,N)?(t.swap(r,a),t.updateValue(a,x),l--,a--):t.move(a,r),t.updateValue(r,f),r++;continue}if(n??=new dh,o??=iM(t,r,a,e),Oy(t,n,r,P))t.updateValue(r,f),r++,a++;else if(o.has(P))n.set(N,t.detach(r)),a--;else{let Ee=t.create(r,i[r]);t.attach(r,Ee),r++,a++}}for(;r<=l;)nM(t,n,e,r,i[r]),r++}else if(i!=null){let l=i[Symbol.iterator](),m=l.next();for(;!m.done&&r<=a;){let f=t.at(r),v=m.value,D=Jb(r,f,r,v,e);if(D!==0)D<0&&t.updateValue(r,v),r++,m=l.next();else{n??=new dh,o??=iM(t,r,a,e);let x=e(r,v);if(Oy(t,n,r,x))t.updateValue(r,v),r++,a++,m=l.next();else if(!o.has(x))t.attach(r,t.create(r,v)),r++,a++,m=l.next();else{let I=e(r,f);n.set(I,t.detach(r)),a--}}}for(;!m.done;)nM(t,n,e,t.length,m.value),m=l.next()}for(;r<=a;)t.destroy(t.detach(a--));n?.forEach(l=>{t.destroy(l)})}function Oy(t,i,e,n){return i!==void 0&&i.has(n)?(t.attach(e,i.get(n)),i.delete(n),!0):!1}function nM(t,i,e,n,o){if(Oy(t,i,n,e(n,o)))t.updateValue(n,o);else{let r=t.create(n,o);t.attach(n,r)}}function iM(t,i,e,n){let o=new Set;for(let r=i;r<=e;r++)o.add(n(r,t.at(r)));return o}var dh=class{kvMap=new Map;_vMap=void 0;has(i){return this.kvMap.has(i)}delete(i){if(!this.has(i))return!1;let e=this.kvMap.get(i);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(i,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(i),!0}get(i){return this.kvMap.get(i)}set(i,e){if(this.kvMap.has(i)){let n=this.kvMap.get(i);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(n);)n=o.get(n);o.set(n,e)}else this.kvMap.set(i,e)}forEach(i){for(let[e,n]of this.kvMap)if(i(n,e),this._vMap!==void 0){let o=this._vMap;for(;o.has(n);)n=o.get(n),i(n,e)}}};function ue(t,i,e,n,o,r,a,s){Ho("NgControlFlow");let l=Re(),m=Xt(),f=$i(m.consts,r);return Hl(l,m,t,i,e,n,o,f,256,a,s),R0}function R0(t,i,e,n,o,r,a,s){Ho("NgControlFlow");let l=Re(),m=Xt(),f=$i(m.consts,r);return Hl(l,m,t,i,e,n,o,f,512,a,s),R0}function me(t,i){Ho("NgControlFlow");let e=Re(),n=fr(),o=e[n]!==hi?e[n]:-1,r=o!==-1?uh(e,ln+o):void 0,a=0;if(Pi(e,n,t)){let s=Qe(null);try{if(r!==void 0&&TI(r,a),t!==-1){let l=ln+t,m=uh(e,l),f=Ly(e[je],l),v=AI(m,f,e),D=Ud(e,f,i,{dehydratedView:v});Hd(m,D,a,Ul(f,v))}}finally{Qe(s)}}else if(r!==void 0){let s=II(r,a);s!==void 0&&(s[En]=i)}}var Py=class{lContainer;$implicit;$index;constructor(i,e,n){this.lContainer=i,this.$implicit=e,this.$index=n}get $count(){return this.lContainer.length-yn}};function Xl(t,i){return i}var Ny=class{hasEmptyBlock;trackByFn;liveCollection;constructor(i,e,n){this.hasEmptyBlock=i,this.trackByFn=e,this.liveCollection=n}};function wr(t,i,e,n,o,r,a,s,l,m,f,v,D){Ho("NgControlFlow");let x=Re(),I=Xt(),N=l!==void 0,q=Re(),P=s?a.bind(q[bi][En]):a,Ee=new Ny(N,P);q[ln+t]=Ee,Hl(x,I,t+1,i,e,n,o,$i(I.consts,r),256),N&&Hl(x,I,t+2,l,m,f,v,$i(I.consts,D),512)}var Fy=class extends Ry{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(i,e,n){super(),this.lContainer=i,this.hostLView=e,this.templateTNode=n}get length(){return this.lContainer.length-yn}at(i){return this.getLView(i)[En].$implicit}attach(i,e){let n=e[ws];this.needsIndexUpdate||=i!==this.length,Hd(this.lContainer,e,i,Ul(this.templateTNode,n)),Rj(this.lContainer,i)}detach(i){return this.needsIndexUpdate||=i!==this.length-1,Oj(this.lContainer,i),Pj(this.lContainer,i)}create(i,e){let n=nh(this.lContainer,this.templateTNode.tView.ssrId),o=Ud(this.hostLView,this.templateTNode,new Py(this.lContainer,e,i),{dehydratedView:n});return this.operationsCounter?.recordCreate(),o}destroy(i){wh(i[je],i),this.operationsCounter?.recordDestroy()}updateValue(i,e){this.getLView(i)[En].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let i=0;i0){let r=n[Gr];N3(r,o),Ns.delete(n),o.detachedLeaveAnimationFns=void 0}}function Oj(t,i){if(t.length<=yn)return;let e=yn+i,n=t[e],o=n?n[Ss]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function Pj(t,i){return Od(t,i)}function Nj(t,i){return II(t,i)}function Ly(t,i){return Cd(t,i)}function h(t,i,e){let n=Re(),o=fr();if(Pi(n,o,i)){let r=Xt(),a=Ts();hI(a,n,t,i,n[Wt],e)}return h}function Vy(t,i,e,n,o){Eh(i,t,e,o?"class":"style",n)}function c(t,i,e,n){let o=Re(),r=o[je],a=t+ln,s=r.firstCreatePass?b0(a,o,2,i,h0,Ap(),e,n):r.data[a];if(f0(s,o,t,i,cT),Ol(s)){let l=o[je];Dh(l,o,s),qy(l,s,o)}return n!=null&&zd(o,s),c}function d(){let t=Xt(),i=kn(),e=g0(i);return t.firstCreatePass&&y0(t,e),Pb(e)&&Nb(),Rb(),e.classesWithoutHost!=null&&cV(e)&&Vy(t,e,Re(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&dV(e)&&Vy(t,e,Re(),e.stylesWithoutHost,!1),d}function M(t,i,e,n){return c(t,i,e,n),d(),M}function gn(t,i,e,n){let o=Re(),r=o[je],a=t+ln,s=r.firstCreatePass?BB(a,r,2,i,e,n):r.data[a];return f0(s,o,t,i,cT),n!=null&&zd(o,s),gn}function wn(){let t=kn(),i=g0(t);return Pb(i)&&Nb(),Rb(),wn}function Ci(t,i,e,n){return gn(t,i,e,n),wn(),Ci}var cT=(t,i,e,n,o)=>(Dd(!0),GM(i[Wt],n,Ub()));function dt(t,i,e){let n=Re(),o=n[je],r=t+ln,a=o.firstCreatePass?b0(r,n,8,"ng-container",h0,Ap(),i,e):o.data[r];if(f0(a,n,t,"ng-container",Fj),Ol(a)){let s=n[je];Dh(s,n,a),qy(s,a,n)}return e!=null&&zd(n,a),dt}function ut(){let t=Xt(),i=kn(),e=g0(i);return t.firstCreatePass&&y0(t,e),ut}function xn(t,i,e){return dt(t,i,e),ut(),xn}var Fj=(t,i,e,n,o)=>(Dd(!0),r3(i[Wt],""));function A(){return Re()}function cn(t,i,e){let n=Re(),o=fr();if(Pi(n,o,i)){let r=Xt(),a=Ts();fI(a,n,t,i,n[Wt],e)}return cn}var qd="en-US";var Lj=qd;function dT(t){typeof t=="string"&&(Lj=t.toLowerCase().replace(/_/g,"-"))}function b(t,i,e){let n=Re(),o=Xt(),r=kn();return uT(o,n,n[Wt],r,t,i,e),b}function Nh(t,i,e){let n=Re(),o=Xt(),r=kn();return(r.type&3||e)&&VI(r,o,n,e,n[Wt],t,i,Yp(r,n,i)),Nh}function uT(t,i,e,n,o,r,a){let s=!0,l=null;if((n.type&3||a)&&(l??=Yp(n,i,r),VI(n,t,i,a,e,o,r,l)&&(s=!1)),s){let m=n.outputs?.[o],f=n.hostDirectiveOutputs?.[o];if(f&&f.length)for(let v=0;v>17&32767}function jj(t){return(t&2)==2}function zj(t,i){return t&131071|i<<17}function By(t){return t|2}function Gl(t){return(t&131068)>>2}function ey(t,i){return t&-131069|i<<2}function Uj(t){return(t&1)===1}function jy(t){return t|1}function Hj(t,i,e,n,o,r){let a=r?i.classBindings:i.styleBindings,s=Fs(a),l=Gl(a);t[n]=e;let m=!1,f;if(Array.isArray(e)){let v=e;f=v[1],(f===null||Tl(v,f)>0)&&(m=!0)}else f=e;if(o)if(l!==0){let D=Fs(t[s+1]);t[n+1]=Up(D,s),D!==0&&(t[D+1]=ey(t[D+1],n)),t[s+1]=zj(t[s+1],n)}else t[n+1]=Up(s,0),s!==0&&(t[s+1]=ey(t[s+1],n)),s=n;else t[n+1]=Up(l,0),s===0?s=n:t[l+1]=ey(t[l+1],n),l=n;m&&(t[n+1]=By(t[n+1])),oM(t,f,n,!0),oM(t,f,n,!1),Gj(i,f,t,n,r),a=Up(s,l),r?i.classBindings=a:i.styleBindings=a}function Gj(t,i,e,n,o){let r=o?t.residualClasses:t.residualStyles;r!=null&&typeof i=="string"&&Tl(r,i)>=0&&(e[n+1]=jy(e[n+1]))}function oM(t,i,e,n){let o=t[e+1],r=i===null,a=n?Fs(o):Gl(o),s=!1;for(;a!==0&&(s===!1||r);){let l=t[a],m=t[a+1];Wj(l,i)&&(s=!0,t[a+1]=n?jy(m):By(m)),a=n?Fs(m):Gl(m)}s&&(t[e+1]=n?By(o):jy(o))}function Wj(t,i){return t===null||i==null||(Array.isArray(t)?t[1]:t)===i?!0:Array.isArray(t)&&typeof i=="string"?Tl(t,i)>=0:!1}var zo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function $j(t){return t.substring(zo.key,zo.keyEnd)}function qj(t){return Yj(t),mT(t,pT(t,0,zo.textEnd))}function mT(t,i){let e=zo.textEnd;return e===i?-1:(i=zo.keyEnd=Qj(t,zo.key=i,e),pT(t,i,e))}function Yj(t){zo.key=0,zo.keyEnd=0,zo.value=0,zo.valueEnd=0,zo.textEnd=t.length}function pT(t,i,e){for(;i32;)i++;return i}function Zn(t,i,e){return hT(t,i,e,!1),Zn}function ne(t,i){return hT(t,i,null,!0),ne}function Kt(t){Zj(iz,Kj,t,!0)}function Kj(t,i){for(let e=qj(i);e>=0;e=mT(i,e))Dp(t,$j(i),!0)}function hT(t,i,e,n){let o=Re(),r=Xt(),a=Rp(2);if(r.firstUpdatePass&&gT(r,t,a,n),i!==hi&&Pi(o,a,i)){let s=r.data[Vo()];_T(r,s,o,o[Wt],t,o[a+1]=rz(i,e),n,a)}}function Zj(t,i,e,n){let o=Xt(),r=Rp(2);o.firstUpdatePass&&gT(o,null,r,n);let a=Re();if(e!==hi&&Pi(a,r,e)){let s=o.data[Vo()];if(vT(s,n)&&!fT(o,r)){let l=n?s.classesWithoutHost:s.stylesWithoutHost;l!==null&&(e=yp(l,e||"")),Vy(o,s,a,e,n)}else oz(o,s,a,a[Wt],a[r+1],a[r+1]=nz(t,i,e),n,r)}}function fT(t,i){return i>=t.expandoStartIndex}function gT(t,i,e,n){let o=t.data;if(o[e+1]===null){let r=o[Vo()],a=fT(t,e);vT(r,n)&&i===null&&!a&&(i=!1),i=Xj(o,r,i,n),Hj(o,r,i,e,a,n)}}function Xj(t,i,e,n){let o=bS(t),r=n?i.residualClasses:i.residualStyles;if(o===null)(n?i.classBindings:i.styleBindings)===0&&(e=ty(null,t,i,e,n),e=Fd(e,i.attrs,n),r=null);else{let a=i.directiveStylingLast;if(a===-1||t[a]!==o)if(e=ty(o,t,i,e,n),r===null){let l=Jj(t,i,n);l!==void 0&&Array.isArray(l)&&(l=ty(null,t,i,l[1],n),l=Fd(l,i.attrs,n),ez(t,i,n,l))}else r=tz(t,i,n)}return r!==void 0&&(n?i.residualClasses=r:i.residualStyles=r),e}function Jj(t,i,e){let n=e?i.classBindings:i.styleBindings;if(Gl(n)!==0)return t[Fs(n)]}function ez(t,i,e,n){let o=e?i.classBindings:i.styleBindings;t[Fs(o)]=n}function tz(t,i,e){let n,o=i.directiveEnd;for(let r=1+i.directiveStylingLast;r0;){let l=t[o],m=Array.isArray(l),f=m?l[1]:l,v=f===null,D=e[o+1];D===hi&&(D=v?mi:void 0);let x=v?Ep(D,n):f===n?D:void 0;if(m&&!mh(x)&&(x=Ep(l,n)),mh(x)&&(s=x,a))return s;let I=t[o+1];o=a?Fs(I):Gl(I)}if(i!==null){let l=r?i.residualClasses:i.residualStyles;l!=null&&(s=Ep(l,n))}return s}function mh(t){return t!==void 0}function rz(t,i){return t==null||t===""||(typeof i=="string"?t=t+i:typeof t=="object"&&(t=zr(Yi(t)))),t}function vT(t,i){return(t.flags&(i?8:16))!==0}function g(t,i=""){let e=Re(),n=Xt(),o=t+ln,r=n.firstCreatePass?Yl(n,o,1,i,null):n.data[o],a=az(n,e,r,i,t);e[o]=a,Lp()&&m0(n,e,a,r),Nl(r,!1)}var az=(t,i,e,n,o)=>(Dd(!0),i3(i[Wt],n));function bT(t,i,e,n=""){return Pi(t,fr(),e)?i+Ur(e)+n:hi}function sz(t,i,e,n,o,r=""){let a=hS(),s=LI(t,a,e,o);return Rp(2),s?i+Ur(e)+n+Ur(o)+r:hi}function tt(t){return O("",t),tt}function O(t,i,e){let n=Re(),o=bT(n,t,i,e);return o!==hi&&yT(n,Vo(),o),O}function Qi(t,i,e,n,o){let r=Re(),a=sz(r,t,i,e,n,o);return a!==hi&&yT(r,Vo(),a),Qi}function yT(t,i,e){let n=Eb(i,t);o3(t[Wt],n,e)}function U(t,i,e){Wb(i)&&(i=i());let n=Re(),o=fr();if(Pi(n,o,i)){let r=Xt(),a=Ts();hI(a,n,t,i,n[Wt],e)}return U}function W(t,i){let e=Wb(t);return e&&t.set(i),e}function H(t,i){let e=Re(),n=Xt(),o=kn();return uT(n,e,e[Wt],o,t,i),H}function Ra(t){return Pi(Re(),fr(),t)?Ur(t):hi}function P0(t,i,e=""){return bT(Re(),t,i,e)}function lz(t,i,e){let n=Xt();if(n.firstCreatePass){let o=Lo(t);zy(e,n.data,n.blueprint,o,!0),zy(i,n.data,n.blueprint,o,!1)}}function zy(t,i,e,n,o){if(t=Nn(t),Array.isArray(t))for(let r=0;r>20;if(vs(t)||!t.multi){let x=new Ps(m,o,w,null),I=iy(l,i,o?f:f+D,v);I===-1?(ry(Jp(s,a),r,l),ny(r,t,i.length),i.push(l),s.directiveStart++,s.directiveEnd++,o&&(s.providerIndexes+=1048576),e.push(x),a.push(x)):(e[I]=x,a[I]=x)}else{let x=iy(l,i,f+D,v),I=iy(l,i,f,f+D),N=x>=0&&e[x],q=I>=0&&e[I];if(o&&!q||!o&&!N){ry(Jp(s,a),r,l);let P=uz(o?dz:cz,e.length,o,n,m,t);!o&&q&&(e[I].providerFactory=P),ny(r,t,i.length,0),i.push(l),s.directiveStart++,s.directiveEnd++,o&&(s.providerIndexes+=1048576),e.push(P),a.push(P)}else{let P=CT(e[o?I:x],m,!o&&n);ny(r,t,x>-1?x:I,P)}!o&&n&&q&&e[I].componentProviders++}}}function ny(t,i,e,n){let o=vs(i),r=tS(i);if(o||r){let l=(r?Nn(i.useClass):i).prototype.ngOnDestroy;if(l){let m=t.destroyHooks||(t.destroyHooks=[]);if(!o&&i.multi){let f=m.indexOf(e);f===-1?m.push(e,[n,l]):m[f+1].push(n,l)}else m.push(e,l)}}}function CT(t,i,e){return e&&t.componentProviders++,t.multi.push(i)-1}function iy(t,i,e,n){for(let o=e;o{e.providersResolver=(n,o)=>lz(n,o?o(t):t,i)}}function N0(t,i,e){let n=t.\u0275cmp;n.directiveDefs=ch(i,tT),n.pipeDefs=ch(e,fb)}function Bs(t,i,e){let n=Ll()+t,o=Re();return o[n]===hi?w0(o,n,e?i.call(e):i()):jB(o,n)}function ni(t,i,e,n){return xT(Re(),Ll(),t,i,e,n)}function F0(t,i,e,n,o){return DT(Re(),Ll(),t,i,e,n,o)}function wT(t,i){let e=t[i];return e===hi?void 0:e}function xT(t,i,e,n,o,r){let a=i+e;return Pi(t,a,o)?w0(t,a+1,r?n.call(r,o):n(o)):wT(t,a+1)}function DT(t,i,e,n,o,r,a){let s=i+e;return LI(t,s,o,r)?w0(t,s+2,a?n.call(a,o,r):n(o,r)):wT(t,s+2)}function ht(t,i){let e=Xt(),n,o=t+ln;e.firstCreatePass?(n=mz(i,e.pipeRegistry),e.data[o]=n,n.onDestroy&&(e.destroyHooks??=[]).push(o,n.onDestroy)):n=e.data[o];let r=n.factory||(n.factory=ya(n.type,!0)),a,s=_i(w);try{let l=Xp(!1),m=r();return Xp(l),Sb(e,Re(),o,m),m}finally{_i(s)}}function mz(t,i){if(i)for(let e=i.length-1;e>=0;e--){let n=i[e];if(t===n.name)return n}}function wt(t,i,e){let n=t+ln,o=Re(),r=Ip(o,n);return ET(o,n)?xT(o,Ll(),i,r.transform,e,r):r.transform(e)}function Lh(t,i,e,n){let o=t+ln,r=Re(),a=Ip(r,o);return ET(r,o)?DT(r,Ll(),i,a.transform,e,n,a):a.transform(e,n)}function ET(t,i){return t[je].data[i].pure}function Sn(t,i){return Sh(t,i)}var Hp=null;function ST(t){Hp!==null&&(t.defaultEncapsulation!==Hp.defaultEncapsulation||t.preserveWhitespaces!==Hp.preserveWhitespaces)||(Hp=t)}var ph=class{ngModuleFactory;componentFactories;constructor(i,e){this.ngModuleFactory=i,this.componentFactories=e}},L0=(()=>{class t{compileModuleSync(e){return new Nd(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let n=this.compileModuleSync(e),o=hb(e),r=KM(o.declarations).reduce((a,s)=>{let l=ur(s);return l&&a.push(new Ma(l)),a},[]);return new ph(n,r)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),MT=new T("");var pz=(()=>{class t{zone=p(te);changeDetectionScheduler=p(co);applicationRef=p(Kn);applicationErrorHandler=p(yi);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(e){this.applicationErrorHandler(e)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function IT({ngZoneFactory:t,ignoreChangesOutsideZone:i,scheduleInRootZone:e}){return t??=()=>new te(Be(L({},V0()),{scheduleInRootZone:e})),[{provide:te,useFactory:t},{provide:Hr,multi:!0,useFactory:()=>{let n=p(pz,{optional:!0});return()=>n.initialize()}},{provide:Hr,multi:!0,useFactory:()=>{let n=p(hz);return()=>{n.initialize()}}},i===!0?{provide:$b,useValue:!0}:[],{provide:qb,useValue:e??nI},{provide:yi,useFactory:()=>{let n=p(te),o=p(Gt),r;return a=>{n.runOutsideAngular(()=>{o.destroyed&&!r?setTimeout(()=>{throw a}):(r??=o.get(Yn),r.handleError(a))})}}}]}function V0(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var hz=(()=>{class t{subscription=new _e;initialized=!1;zone=p(te);pendingTasks=p(_r);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{te.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{te.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var TT=(()=>{class t{applicationErrorHandler=p(yi);appRef=p(Kn);taskService=p(_r);ngZone=p(te);zonelessEnabled=p(Ed);tracing=p(Aa,{optional:!0});disableScheduling=p($b,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new _e;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(th):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(qb,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof kd||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;let n=!1;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,n=!0;break}case 12:{this.appRef.dirtyFlags|=16,n=!0;break}case 13:{this.appRef.dirtyFlags|=2,n=!0;break}case 11:{n=!0;break}default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(n))return;let o=this.useMicrotaskScheduler?zS:iI;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(e){return!(this.disableScheduling&&!e||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(th+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(n){this.taskService.remove(e),this.applicationErrorHandler(n)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,zS(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function fz(){return typeof $localize<"u"&&$localize.locale||qd}var ec=new T("",{providedIn:"root",factory:()=>p(ec,{optional:!0,skipSelf:!0})||fz()});var Vh=class{destroyed=!1;listeners=null;errorHandler=p(Yn,{optional:!0});destroyRef=p(Ln);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(i){if(this.destroyed)throw new z(953,!1);return(this.listeners??=[]).push(i),{unsubscribe:()=>{let e=this.listeners?.indexOf(i);e!==void 0&&e!==-1&&this.listeners?.splice(e,1)}}}emit(i){if(this.destroyed){console.warn(uo(953,!1));return}if(this.listeners===null)return;let e=Qe(null);try{for(let n of this.listeners)try{n(i)}catch(o){this.errorHandler?.handleError(o)}}finally{Qe(e)}}};function j0(t){return t.destroyRef}function _n(t){return VE(t)}function Ki(t,i){return od(t,i?.equal)}var B0=class{[Pn];constructor(i){this[Pn]=i}destroy(){this[Pn].destroy()}};function Xr(t,i){let e=i?.injector??p(re),n=i?.manualCleanup!==!0?e.get(Ln):null,o,r=e.get(ks,null,{optional:!0}),a=e.get(co);return r!==null?(o=vz(r.view,a,t),n instanceof fd&&n._lView===r.view&&(n=null)):o=bz(t,e.get(Sd),a),o.injector=e,n!==null&&(o.onDestroyFn=n.onDestroy(()=>o.destroy())),new B0(o)}var kT=Be(L({},BE),{cleanupFns:void 0,zone:null,onDestroyFn:Rs,run(){let t=Fl(!1);try{jE(this)}finally{Fl(t)}},cleanup(){if(!this.cleanupFns?.length)return;let t=Qe(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],Qe(t)}}}),gz=Be(L({},kT),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){ha(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}}),_z=Be(L({},kT),{consumerMarkedDirty(){this.view[et]|=8192,Da(this.view),this.notifier.notify(13)},destroy(){ha(this),this.onDestroyFn(),this.cleanup(),this.view[Wr]?.delete(this)}});function vz(t,i,e){let n=Object.create(_z);return n.view=t,n.zone=typeof Zone<"u"?Zone.current:null,n.notifier=i,n.fn=AT(n,e),t[Wr]??=new Set,t[Wr].add(n),n.consumerMarkedDirty(n),n}function bz(t,i,e){let n=Object.create(gz);return n.fn=AT(n,t),n.scheduler=i,n.notifier=e,n.zone=typeof Zone<"u"?Zone.current:null,n.scheduler.add(n),n.notifier.notify(12),n}function AT(t,i){return()=>{i(e=>(t.cleanupFns??=[]).push(e))}}var zT=Symbol("InputSignalNode#UNSET"),Oz=Be(L({},rd),{transformFn:void 0,applyValueToInputSignal(t,i){yl(t,i)}});function UT(t,i){let e=Object.create(Oz);e.value=t,e.transformFn=i?.transform;function n(){if(ss(e),e.value===zT){let o=null;throw new z(-950,o)}return e.value}return n[Pn]=e,n}var Vn=class{attributeName;constructor(i){this.attributeName=i}__NG_ELEMENT_ID__=()=>Ld(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},K0=new T("");K0.__NG_ELEMENT_ID__=t=>{let i=kn();if(i===null)throw new z(204,!1);if(i.type&2)return i.value;if(t&8)return null;throw new z(204,!1)};function Z0(t){return new Vh}function RT(t,i){return UT(t,i)}function Pz(t){return UT(zT,t)}var Wo=(RT.required=Pz,RT);function OT(t,i){return E0(i)}function Nz(t,i){return S0(i)}var Qd=(OT.required=Nz,OT);function PT(t,i){return E0(i)}function Fz(t,i){return S0(i)}var HT=(PT.required=Fz,PT);function Lz(t,i,e){let n=new Nd(e);return Promise.resolve(n)}function NT(t){for(let i=t.length-1;i>=0;i--)if(t[i]!==void 0)return t[i]}var Bh=new T(""),Vz=new T("");function Yd(t){return!t.moduleRef}function Bz(t){let i=Yd(t)?t.r3Injector:t.moduleRef.injector,e=i.get(te);return e.run(()=>{Yd(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let n=i.get(yi),o;if(e.runOutsideAngular(()=>{o=e.onError.subscribe({next:n})}),Yd(t)){let r=()=>i.destroy(),a=t.platformInjector.get(Bh);a.add(r),i.onDestroy(()=>{o.unsubscribe(),a.delete(r)})}else{let r=()=>t.moduleRef.destroy(),a=t.platformInjector.get(Bh);a.add(r),t.moduleRef.onDestroy(()=>{Id(t.allPlatformModules,t.moduleRef),o.unsubscribe(),a.delete(r)})}return zz(n,e,()=>{let r=i.get(_r),a=r.add(),s=i.get(k0);return s.runInitializers(),s.donePromise.then(()=>{let l=i.get(ec,qd);if(dT(l||qd),!i.get(Vz,!0))return Yd(t)?i.get(Kn):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(Yd(t)){let f=i.get(Kn);return t.rootComponent!==void 0&&f.bootstrap(t.rootComponent),f}else return GT?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>{r.remove(a)})})})}var GT;function FT(){GT=jz}function jz(t,i){let e=t.injector.get(Kn);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(n=>e.bootstrap(n));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new z(-403,!1);i.push(t)}function zz(t,i,e){try{let n=e();return Zr(n)?n.catch(o=>{throw i.runOutsideAngular(()=>t(o)),o}):n}catch(n){throw i.runOutsideAngular(()=>t(n)),n}}var WT=(()=>{class t{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(e){this._injector=e}bootstrapModuleFactory(e,n){let o=n?.scheduleInRootZone,r=()=>rI(n?.ngZone,Be(L({},V0({eventCoalescing:n?.ngZoneEventCoalescing,runCoalescing:n?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),a=n?.ignoreChangesOutsideZone,s=[IT({ngZoneFactory:r,ignoreChangesOutsideZone:a}),{provide:co,useExisting:TT},ES],l=eT(e.moduleType,this.injector,s);return FT(),Bz({moduleRef:l,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,n=[]){let o=A0({},n);return FT(),Lz(this.injector,o,e).then(r=>this.bootstrapModuleFactory(r,o))}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new z(404,!1);this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n());let e=this._injector.get(Bh,null);e&&(e.forEach(n=>n()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(n){return new(n||t)(oe(re))};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),X0=null;function Uz(t){if(eC())throw new z(400,!1);sT(),X0=t;let i=t.get(WT);return Wz(t),i}function J0(t,i,e=[]){let n=`Platform: ${i}`,o=new T(n);return(r=[])=>{let a=eC();if(!a){let s=[...e,...r,{provide:o,useValue:!0}];a=t?.(s)??Uz(Hz(s,n))}return Gz(o)}}function Hz(t=[],i){return re.create({name:i,providers:[{provide:vd,useValue:"platform"},{provide:Bh,useValue:new Set([()=>X0=null])},...t]})}function Gz(t){let i=eC();if(!i)throw new z(-401,!1);return i}function eC(){return X0?.get(WT)??null}function Wz(t){let i=t.get(hh,null);Qn(t,()=>{i?.forEach(e=>e())})}var Te=(()=>{class t{static __NG_ELEMENT_ID__=$z}return t})();function $z(t){return qz(kn(),Re(),(t&16)===16)}function qz(t,i,e){if($r(t)&&!e){let n=ho(t.index,i);return new Sa(n,n)}else if(t.type&175){let n=i[bi];return new Sa(n,i)}return null}var U0=class{constructor(){}supports(i){return C0(i)}create(i){return new H0(i)}},Yz=(t,i)=>i,H0=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(i){this._trackByFn=i||Yz}forEachItem(i){let e;for(e=this._itHead;e!==null;e=e._next)i(e)}forEachOperation(i){let e=this._itHead,n=this._removalsHead,o=0,r=null;for(;e||n;){let a=!n||e&&e.currentIndex{a=this._trackByFn(o,s),e===null||!Object.is(e.trackById,a)?(e=this._mismatch(e,s,a,o),n=!0):(n&&(e=this._verifyReinsertion(e,s,a,o)),Object.is(e.item,s)||this._addIdentityChange(e,s)),e=e._next,o++}),this.length=o;return this._truncate(e),this.collection=i,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let i;for(i=this._previousItHead=this._itHead;i!==null;i=i._next)i._nextPrevious=i._next;for(i=this._additionsHead;i!==null;i=i._nextAdded)i.previousIndex=i.currentIndex;for(this._additionsHead=this._additionsTail=null,i=this._movesHead;i!==null;i=i._nextMoved)i.previousIndex=i.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(i,e,n,o){let r;return i===null?r=this._itTail:(r=i._prev,this._remove(i)),i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),i!==null?(Object.is(i.item,e)||this._addIdentityChange(i,e),this._reinsertAfter(i,r,o)):(i=this._linkedRecords===null?null:this._linkedRecords.get(n,o),i!==null?(Object.is(i.item,e)||this._addIdentityChange(i,e),this._moveAfter(i,r,o)):i=this._addAfter(new G0(e,n),r,o)),i}_verifyReinsertion(i,e,n,o){let r=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return r!==null?i=this._reinsertAfter(r,i._prev,o):i.currentIndex!=o&&(i.currentIndex=o,this._addToMoves(i,o)),i}_truncate(i){for(;i!==null;){let e=i._next;this._addToRemovals(this._unlink(i)),i=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(i,e,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(i);let o=i._prevRemoved,r=i._nextRemoved;return o===null?this._removalsHead=r:o._nextRemoved=r,r===null?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(i,e,n),this._addToMoves(i,n),i}_moveAfter(i,e,n){return this._unlink(i),this._insertAfter(i,e,n),this._addToMoves(i,n),i}_addAfter(i,e,n){return this._insertAfter(i,e,n),this._additionsTail===null?this._additionsTail=this._additionsHead=i:this._additionsTail=this._additionsTail._nextAdded=i,i}_insertAfter(i,e,n){let o=e===null?this._itHead:e._next;return i._next=o,i._prev=e,o===null?this._itTail=i:o._prev=i,e===null?this._itHead=i:e._next=i,this._linkedRecords===null&&(this._linkedRecords=new jh),this._linkedRecords.put(i),i.currentIndex=n,i}_remove(i){return this._addToRemovals(this._unlink(i))}_unlink(i){this._linkedRecords!==null&&this._linkedRecords.remove(i);let e=i._prev,n=i._next;return e===null?this._itHead=n:e._next=n,n===null?this._itTail=e:n._prev=e,i}_addToMoves(i,e){return i.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=i:this._movesTail=this._movesTail._nextMoved=i),i}_addToRemovals(i){return this._unlinkedRecords===null&&(this._unlinkedRecords=new jh),this._unlinkedRecords.put(i),i.currentIndex=null,i._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=i,i._prevRemoved=null):(i._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=i),i}_addIdentityChange(i,e){return i.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=i:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=i,i}},G0=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(i,e){this.item=i,this.trackById=e}},W0=class{_head=null;_tail=null;add(i){this._head===null?(this._head=this._tail=i,i._nextDup=null,i._prevDup=null):(this._tail._nextDup=i,i._prevDup=this._tail,i._nextDup=null,this._tail=i)}get(i,e){let n;for(n=this._head;n!==null;n=n._nextDup)if((e===null||e<=n.currentIndex)&&Object.is(n.trackById,i))return n;return null}remove(i){let e=i._prevDup,n=i._nextDup;return e===null?this._head=n:e._nextDup=n,n===null?this._tail=e:n._prevDup=e,this._head===null}},jh=class{map=new Map;put(i){let e=i.trackById,n=this.map.get(e);n||(n=new W0,this.map.set(e,n)),n.add(i)}get(i,e){let n=i,o=this.map.get(n);return o?o.get(i,e):null}remove(i){let e=i.trackById;return this.map.get(e).remove(i)&&this.map.delete(e),i}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function LT(t,i,e){let n=t.previousIndex;if(n===null)return n;let o=0;return e&&n{if(e&&e.key===o)this._maybeAddToChanges(e,n),this._appendAfter=e,e=e._next;else{let r=this._getOrCreateRecordForKey(o,n);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let n=e;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(i,e){if(i){let n=i._prev;return e._next=i,e._prev=n,i._prev=e,n&&(n._next=e),i===this._mapHead&&(this._mapHead=e),this._appendAfter=i,i}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(i,e){if(this._records.has(i)){let o=this._records.get(i);this._maybeAddToChanges(o,e);let r=o._prev,a=o._next;return r&&(r._next=a),a&&(a._prev=r),o._next=null,o._prev=null,o}let n=new Y0(i);return this._records.set(i,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let i;for(this._previousMapHead=this._mapHead,i=this._previousMapHead;i!==null;i=i._next)i._nextPrevious=i._next;for(i=this._changesHead;i!==null;i=i._nextChanged)i.previousValue=i.currentValue;for(i=this._additionsHead;i!=null;i=i._nextAdded)i.previousValue=i.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(i,e){Object.is(e,i.currentValue)||(i.previousValue=i.currentValue,i.currentValue=e,this._addToChanges(i))}_addToAdditions(i){this._additionsHead===null?this._additionsHead=this._additionsTail=i:(this._additionsTail._nextAdded=i,this._additionsTail=i)}_addToChanges(i){this._changesHead===null?this._changesHead=this._changesTail=i:(this._changesTail._nextChanged=i,this._changesTail=i)}_forEach(i,e){i instanceof Map?i.forEach(e):Object.keys(i).forEach(n=>e(i[n],n))}},Y0=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(i){this.key=i}};function VT(){return new Dr([new U0])}var Dr=(()=>{class t{factories;static \u0275prov=F({token:t,providedIn:"root",factory:VT});constructor(e){this.factories=e}static create(e,n){if(n!=null){let o=n.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{let n=p(t,{optional:!0,skipSelf:!0});return t.create(e,n||VT())}}}find(e){let n=this.factories.find(o=>o.supports(e));if(n!=null)return n;throw new z(901,!1)}}return t})();function BT(){return new Uh([new $0])}var Uh=(()=>{class t{static \u0275prov=F({token:t,providedIn:"root",factory:BT});factories;constructor(e){this.factories=e}static create(e,n){if(n){let o=n.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{let n=p(t,{optional:!0,skipSelf:!0});return t.create(e,n||BT())}}}find(e){let n=this.factories.find(o=>o.supports(e));if(n)return n;throw new z(901,!1)}}return t})();var $T=J0(null,"core",[]),qT=(()=>{class t{constructor(e){}static \u0275fac=function(n){return new(n||t)(oe(Kn))};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();function $(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function an(t,i=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):i}var z0=Symbol("NOT_SET"),YT=new Set,Qz=Be(L({},rd),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:z0,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase(ss(m),m.value),m.signal[Pn]=m,m.registerCleanupFn=f=>(m.cleanup??=new Set).add(f),this.nodes[s]=m,this.hooks[s]=f=>m.phaseFn(f)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(let i of this.nodes)if(i)try{for(let e of i.cleanup??YT)e()}finally{ha(i)}}};function QT(t,i){let e=i?.injector??p(re),n=e.get(co),o=e.get(Ch),r=e.get(Aa,null,{optional:!0});o.impl??=e.get(d0);let a=t;typeof a=="function"&&(a={mixedReadWrite:t});let s=e.get(ks,null,{optional:!0}),l=new Q0(o.impl,[a.earlyRead,a.write,a.mixedReadWrite,a.read],s?.view,n,e,r?.snapshot(null));return o.impl.register(l),l}function Hh(t,i){let e=ur(t),n=i.elementInjector||kl();return new Ma(e).create(n,i.projectableNodes,i.hostElement,i.environmentInjector,i.directives,i.bindings)}function KT(t){let i=ur(t);if(!i)return null;let e=new Ma(i);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return i.standalone},get isSignal(){return i.signals}}}var ZT=null;function Zi(){return ZT}function tC(t){ZT??=t}var Kd=class{},Oa=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:()=>p(XT),providedIn:"platform"})}return t})(),nC=new T(""),XT=(()=>{class t extends Oa{_location;_history;_doc=p(ce);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Zi().getBaseHref(this._doc)}onPopState(e){let n=Zi().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",e,!1),()=>n.removeEventListener("popstate",e)}onHashChange(e){let n=Zi().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",e,!1),()=>n.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,n,o){this._history.pushState(e,n,o)}replaceState(e,n,o){this._history.replaceState(e,n,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function Gh(t,i){return t?i?t.endsWith("/")?i.startsWith("/")?t+i.slice(1):t+i:i.startsWith("/")?t+i:`${t}/${i}`:t:i}function JT(t){let i=t.search(/#|\?|$/);return t[i-1]==="/"?t.slice(0,i-1)+t.slice(i):t}function $o(t){return t&&t[0]!=="?"?`?${t}`:t}var qo=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:()=>p($h),providedIn:"root"})}return t})(),Wh=new T(""),$h=(()=>{class t extends qo{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??p(ce).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Gh(this._baseHref,e)}path(e=!1){let n=this._platformLocation.pathname+$o(this._platformLocation.search),o=this._platformLocation.hash;return o&&e?`${n}${o}`:n}pushState(e,n,o,r){let a=this.prepareExternalUrl(o+$o(r));this._platformLocation.pushState(e,n,a)}replaceState(e,n,o,r){let a=this.prepareExternalUrl(o+$o(r));this._platformLocation.replaceState(e,n,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(n){return new(n||t)(oe(Oa),oe(Wh,8))};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Er=(()=>{class t{_subject=new j;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let n=this._locationStrategy.getBaseHref();this._basePath=Xz(JT(e1(n))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,n=""){return this.path()==this.normalize(e+$o(n))}normalize(e){return t.stripTrailingSlash(Zz(this._basePath,e1(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,n="",o=null){this._locationStrategy.pushState(o,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+$o(n)),o)}replaceState(e,n="",o=null){this._locationStrategy.replaceState(o,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+$o(n)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)}),()=>{let n=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",n){this._urlChangeListeners.forEach(o=>o(e,n))}subscribe(e,n,o){return this._subject.subscribe({next:e,error:n??void 0,complete:o??void 0})}static normalizeQueryParams=$o;static joinWithSlash=Gh;static stripTrailingSlash=JT;static \u0275fac=function(n){return new(n||t)(oe(qo))};static \u0275prov=F({token:t,factory:()=>Kz(),providedIn:"root"})}return t})();function Kz(){return new Er(oe(qo))}function Zz(t,i){if(!t||!i.startsWith(t))return i;let e=i.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:i}function e1(t){return t.replace(/\/index.html$/,"")}function Xz(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var aC=(()=>{class t extends qo{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,n!=null&&(this._baseHref=n)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let n=this._platformLocation.hash??"#";return n.length>0?n.substring(1):n}prepareExternalUrl(e){let n=Gh(this._baseHref,e);return n.length>0?"#"+n:n}pushState(e,n,o,r){let a=this.prepareExternalUrl(o+$o(r))||this._platformLocation.pathname;this._platformLocation.pushState(e,n,a)}replaceState(e,n,o,r){let a=this.prepareExternalUrl(o+$o(r))||this._platformLocation.pathname;this._platformLocation.replaceState(e,n,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(n){return new(n||t)(oe(Oa),oe(Wh,8))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})();var iC=/\s+/,t1=[],Xi=(()=>{class t{_ngEl;_renderer;initialClasses=t1;rawClass;stateMap=new Map;constructor(e,n){this._ngEl=e,this._renderer=n}set klass(e){this.initialClasses=e!=null?e.trim().split(iC):t1}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(iC):e}ngDoCheck(){for(let n of this.initialClasses)this._updateState(n,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let n of e)this._updateState(n,!0);else if(e!=null)for(let n of Object.keys(e))this._updateState(n,!!e[n]);this._applyStateDiff()}_updateState(e,n){let o=this.stateMap.get(e);o!==void 0?(o.enabled!==n&&(o.changed=!0,o.enabled=n),o.touched=!0):this.stateMap.set(e,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let n=e[0],o=e[1];o.changed?(this._toggleClass(n,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),o.touched=!1}}_toggleClass(e,n){e=e.trim(),e.length>0&&e.split(iC).forEach(o=>{n?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(n){return new(n||t)(w(K),w(St))};static \u0275dir=B({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var qh=class{$implicit;ngForOf;index;count;constructor(i,e,n,o){this.$implicit=i,this.ngForOf=e,this.index=n,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Ue=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,n,o){this._viewContainer=e,this._template=n,this._differs=o}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let n=this._viewContainer;e.forEachOperation((o,r,a)=>{if(o.previousIndex==null)n.createEmbeddedView(this._template,new qh(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)n.remove(r===null?void 0:r);else if(r!==null){let s=n.get(r);n.move(s,a),n1(s,o)}});for(let o=0,r=n.length;o{let r=n.get(o.currentIndex);n1(r,o)})}static ngTemplateContextGuard(e,n){return!0}static \u0275fac=function(n){return new(n||t)(w(Mt),w(bt),w(Dr))};static \u0275dir=B({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function n1(t,i){t.context.$implicit=i.item}var pe=(()=>{class t{_viewContainer;_context=new Yh;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,n){this._viewContainer=e,this._thenTemplateRef=n}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){i1(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){i1(e,!1),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,n){return!0}static \u0275fac=function(n){return new(n||t)(w(Mt),w(bt))};static \u0275dir=B({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),Yh=class{$implicit=null;ngIf=null};function i1(t,i){if(t&&!t.createEmbeddedView)throw new z(2020,!1)}var Qh=class{_viewContainerRef;_templateRef;_created=!1;constructor(i,e){this._viewContainerRef=i,this._templateRef=e}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(i){i&&!this._created?this.create():!i&&this._created&&this.destroy()}},js=(()=>{class t{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(e){this._ngSwitch=e,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){let n=e===this._ngSwitch;return this._lastCasesMatched||=n,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),n}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(let n of this._defaultViews)n.enforceState(e)}}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return t})(),Zd=(()=>{class t{ngSwitch;_view;ngSwitchCase;constructor(e,n,o){this.ngSwitch=o,o._addCase(),this._view=new Qh(e,n)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(n){return new(n||t)(w(Mt),w(bt),w(js,9))};static \u0275dir=B({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return t})(),sC=(()=>{class t{constructor(e,n,o){o._addDefault(new Qh(e,n))}static \u0275fac=function(n){return new(n||t)(w(Mt),w(bt),w(js,9))};static \u0275dir=B({type:t,selectors:[["","ngSwitchDefault",""]]})}return t})();var lC=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,n,o){this._ngEl=e,this._differs=n,this._renderer=o}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,n){let[o,r]=e.split("."),a=o.indexOf("-")===-1?void 0:Uo.DashCase;n!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,r?`${n}${r}`:n,a):this._renderer.removeStyle(this._ngEl.nativeElement,o,a)}_applyChanges(e){e.forEachRemovedItem(n=>this._setStyle(n.key,null)),e.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),e.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}static \u0275fac=function(n){return new(n||t)(w(K),w(Uh),w(St))};static \u0275dir=B({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),Xd=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,n,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,o):!1,get:(e,n,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,o)}})}static \u0275fac=function(n){return new(n||t)(w(Mt))};static \u0275dir=B({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ge]})}return t})();function Jz(t,i){return new z(2100,!1)}var oC=class{createSubscription(i,e,n){return _n(()=>i.subscribe({next:e,error:n}))}dispose(i){_n(()=>i.unsubscribe())}},rC=class{createSubscription(i,e,n){return i.then(o=>e?.(o),o=>n?.(o)),{unsubscribe:()=>{e=null,n=null}}}dispose(i){i.unsubscribe()}},e4=new rC,t4=new oC,cC=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=p(yi);constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,n=>this._updateLatestValue(e,n),n=>this.applicationErrorHandler(n))}_selectStrategy(e){if(Zr(e))return e4;if(Rh(e))return t4;throw Jz(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,n){e===this._obj&&(this._latestValue=n,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(n){return new(n||t)(w(Te,16))};static \u0275pipe=Go({name:"async",type:t,pure:!1})}return t})();function n4(t,i){return{key:t,value:i}}var dC=(()=>{class t{differs;constructor(e){this.differs=e}differ;keyValues=[];compareFn=o1;transform(e,n=o1){if(!e||!(e instanceof Map)&&typeof e!="object")return null;this.differ??=this.differs.find(e).create();let o=this.differ.diff(e),r=n!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(a=>{this.keyValues.push(n4(a.key,a.currentValue))})),(o||r)&&(n&&this.keyValues.sort(n),this.compareFn=n),this.keyValues}static \u0275fac=function(n){return new(n||t)(w(Uh,16))};static \u0275pipe=Go({name:"keyvalue",type:t,pure:!1})}return t})();function o1(t,i){let e=t.key,n=i.key;if(e===n)return 0;if(e==null)return 1;if(n==null)return-1;if(typeof e=="string"&&typeof n=="string")return e{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();function eu(t,i){i=encodeURIComponent(i);for(let e of t.split(";")){let n=e.indexOf("="),[o,r]=n==-1?[e,""]:[e.slice(0,n),e.slice(n+1)];if(o.trim()===i)return decodeURIComponent(r)}return null}var zs=class{};var mC="browser";function r1(t){return t===mC}var a1=(()=>{class t{static \u0275prov=F({token:t,providedIn:"root",factory:()=>new uC(p(ce),window)})}return t})(),uC=class{document;window;offset=()=>[0,0];constructor(i,e){this.document=i,this.window=e}setOffset(i){Array.isArray(i)?this.offset=()=>i:this.offset=i}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(i,e){this.window.scrollTo(Be(L({},e),{left:i[0],top:i[1]}))}scrollToAnchor(i,e){let n=i4(this.document,i);n&&(this.scrollToElement(n,e),n.focus())}setHistoryScrollRestoration(i){try{this.window.history.scrollRestoration=i}catch{console.warn(uo(2400,!1))}}scrollToElement(i,e){let n=i.getBoundingClientRect(),o=n.left+this.window.pageXOffset,r=n.top+this.window.pageYOffset,a=this.offset();this.window.scrollTo(Be(L({},e),{left:o-a[0],top:r-a[1]}))}};function i4(t,i){let e=t.getElementById(i)||t.getElementsByName(i)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),o=n.currentNode;for(;o;){let r=o.shadowRoot;if(r){let a=r.getElementById(i)||r.querySelector(`[name="${i}"]`);if(a)return a}o=n.nextNode()}}return null}var tu=class{_doc;constructor(i){this._doc=i}manager},Kh=(()=>{class t extends tu{constructor(e){super(e)}supports(e){return!0}addEventListener(e,n,o,r){return e.addEventListener(n,o,r),()=>this.removeEventListener(e,n,o,r)}removeEventListener(e,n,o,r){return e.removeEventListener(n,o,r)}static \u0275fac=function(n){return new(n||t)(oe(ce))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})(),Xh=new T(""),_C=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,n){this._zone=n,e.forEach(a=>{a.manager=this});let o=e.filter(a=>!(a instanceof Kh));this._plugins=o.slice().reverse();let r=e.find(a=>a instanceof Kh);r&&this._plugins.push(r)}addEventListener(e,n,o,r){return this._findPluginFor(n).addEventListener(e,n,o,r)}getZone(){return this._zone}_findPluginFor(e){let n=this._eventNameToPlugin.get(e);if(n)return n;if(n=this._plugins.find(r=>r.supports(e)),!n)throw new z(5101,!1);return this._eventNameToPlugin.set(e,n),n}static \u0275fac=function(n){return new(n||t)(oe(Xh),oe(te))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})(),pC="ng-app-id";function s1(t){for(let i of t)i.remove()}function l1(t,i){let e=i.createElement("style");return e.textContent=t,e}function o4(t,i,e,n){let o=t.head?.querySelectorAll(`style[${pC}="${i}"],link[${pC}="${i}"]`);if(o)for(let r of o)r.removeAttribute(pC),r instanceof HTMLLinkElement?n.set(r.href.slice(r.href.lastIndexOf("/")+1),{usage:0,elements:[r]}):r.textContent&&e.set(r.textContent,{usage:0,elements:[r]})}function fC(t,i){let e=i.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var vC=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,n,o,r={}){this.doc=e,this.appId=n,this.nonce=o,o4(e,n,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,n){for(let o of e)this.addUsage(o,this.inline,l1);n?.forEach(o=>this.addUsage(o,this.external,fC))}removeStyles(e,n){for(let o of e)this.removeUsage(o,this.inline);n?.forEach(o=>this.removeUsage(o,this.external))}addUsage(e,n,o){let r=n.get(e);r?r.usage++:n.set(e,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,o(e,this.doc)))})}removeUsage(e,n){let o=n.get(e);o&&(o.usage--,o.usage<=0&&(s1(o.elements),n.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])s1(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[n,{elements:o}]of this.inline)o.push(this.addElement(e,l1(n,this.doc)));for(let[n,{elements:o}]of this.external)o.push(this.addElement(e,fC(n,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,n){return this.nonce&&n.setAttribute("nonce",this.nonce),e.appendChild(n)}static \u0275fac=function(n){return new(n||t)(oe(ce),oe(Ta),oe(ql,8),oe(Ls))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})(),hC={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},bC=/%COMP%/g;var d1="%COMP%",r4=`_nghost-${d1}`,a4=`_ngcontent-${d1}`,s4=!0,l4=new T("",{providedIn:"root",factory:()=>s4});function c4(t){return a4.replace(bC,t)}function d4(t){return r4.replace(bC,t)}function u1(t,i){return i.map(e=>e.replace(bC,t))}var ou=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,n,o,r,a,s,l=null,m=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=o,this.removeStylesOnCompDestroy=r,this.doc=a,this.ngZone=s,this.nonce=l,this.tracingService=m,this.platformIsServer=!1,this.defaultRenderer=new nu(e,a,s,this.platformIsServer,this.tracingService)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;let o=this.getOrCreateRenderer(e,n);return o instanceof Zh?o.applyToHost(e):o instanceof iu&&o.applyStyles(),o}getOrCreateRenderer(e,n){let o=this.rendererByCompId,r=o.get(n.id);if(!r){let a=this.doc,s=this.ngZone,l=this.eventManager,m=this.sharedStylesHost,f=this.removeStylesOnCompDestroy,v=this.platformIsServer,D=this.tracingService;switch(n.encapsulation){case qr.Emulated:r=new Zh(l,m,n,this.appId,f,a,s,v,D);break;case qr.ShadowDom:return new gC(l,m,e,n,a,s,this.nonce,v,D);default:r=new iu(l,m,n,f,a,s,v,D);break}o.set(n.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(n){return new(n||t)(oe(_C),oe(vC),oe(Ta),oe(l4),oe(ce),oe(te),oe(ql),oe(Aa,8))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})(),nu=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(i,e,n,o,r){this.eventManager=i,this.doc=e,this.ngZone=n,this.platformIsServer=o,this.tracingService=r}destroy(){}destroyNode=null;createElement(i,e){return e?this.doc.createElementNS(hC[e]||e,i):this.doc.createElement(i)}createComment(i){return this.doc.createComment(i)}createText(i){return this.doc.createTextNode(i)}appendChild(i,e){(c1(i)?i.content:i).appendChild(e)}insertBefore(i,e,n){i&&(c1(i)?i.content:i).insertBefore(e,n)}removeChild(i,e){e.remove()}selectRootElement(i,e){let n=typeof i=="string"?this.doc.querySelector(i):i;if(!n)throw new z(-5104,!1);return e||(n.textContent=""),n}parentNode(i){return i.parentNode}nextSibling(i){return i.nextSibling}setAttribute(i,e,n,o){if(o){e=o+":"+e;let r=hC[o];r?i.setAttributeNS(r,e,n):i.setAttribute(e,n)}else i.setAttribute(e,n)}removeAttribute(i,e,n){if(n){let o=hC[n];o?i.removeAttributeNS(o,e):i.removeAttribute(`${n}:${e}`)}else i.removeAttribute(e)}addClass(i,e){i.classList.add(e)}removeClass(i,e){i.classList.remove(e)}setStyle(i,e,n,o){o&(Uo.DashCase|Uo.Important)?i.style.setProperty(e,n,o&Uo.Important?"important":""):i.style[e]=n}removeStyle(i,e,n){n&Uo.DashCase?i.style.removeProperty(e):i.style[e]=""}setProperty(i,e,n){i!=null&&(i[e]=n)}setValue(i,e){i.nodeValue=e}listen(i,e,n,o){if(typeof i=="string"&&(i=Zi().getGlobalEventTarget(this.doc,i),!i))throw new z(5102,!1);let r=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(r=this.tracingService.wrapEventListener(i,e,r)),this.eventManager.addEventListener(i,e,r,o)}decoratePreventDefault(i){return e=>{if(e==="__ngUnwrap__")return i;i(e)===!1&&e.preventDefault()}}};function c1(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var gC=class extends nu{sharedStylesHost;hostEl;shadowRoot;constructor(i,e,n,o,r,a,s,l,m){super(i,r,a,l,m),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let f=o.styles;f=u1(o.id,f);for(let D of f){let x=document.createElement("style");s&&x.setAttribute("nonce",s),x.textContent=D,this.shadowRoot.appendChild(x)}let v=o.getExternalStyles?.();if(v)for(let D of v){let x=fC(D,r);s&&x.setAttribute("nonce",s),this.shadowRoot.appendChild(x)}}nodeOrShadowRoot(i){return i===this.hostEl?this.shadowRoot:i}appendChild(i,e){return super.appendChild(this.nodeOrShadowRoot(i),e)}insertBefore(i,e,n){return super.insertBefore(this.nodeOrShadowRoot(i),e,n)}removeChild(i,e){return super.removeChild(null,e)}parentNode(i){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(i)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},iu=class extends nu{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(i,e,n,o,r,a,s,l,m){super(i,r,a,s,l),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o;let f=n.styles;this.styles=m?u1(m,f):f,this.styleUrls=n.getExternalStyles?.(m)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Ns.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Zh=class extends iu{contentAttr;hostAttr;constructor(i,e,n,o,r,a,s,l,m){let f=o+"-"+n.id;super(i,e,n,r,a,s,l,m,f),this.contentAttr=c4(f),this.hostAttr=d4(f)}applyToHost(i){this.applyStyles(),this.setAttribute(i,this.hostAttr,"")}createElement(i,e){let n=super.createElement(i,e);return super.setAttribute(n,this.contentAttr,""),n}};var Jh=class t extends Kd{supportsDOMEvents=!0;static makeCurrent(){tC(new t)}onAndCancel(i,e,n,o){return i.addEventListener(e,n,o),()=>{i.removeEventListener(e,n,o)}}dispatchEvent(i,e){i.dispatchEvent(e)}remove(i){i.remove()}createElement(i,e){return e=e||this.getDefaultDocument(),e.createElement(i)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(i){return i.nodeType===Node.ELEMENT_NODE}isShadowRoot(i){return i instanceof DocumentFragment}getGlobalEventTarget(i,e){return e==="window"?window:e==="document"?i:e==="body"?i.body:null}getBaseHref(i){let e=u4();return e==null?null:m4(e)}resetBaseElement(){ru=null}getUserAgent(){return window.navigator.userAgent}getCookie(i){return eu(document.cookie,i)}},ru=null;function u4(){return ru=ru||document.head.querySelector("base"),ru?ru.getAttribute("href"):null}function m4(t){return new URL(t,document.baseURI).pathname}var ef=class{addToWindow(i){pi.getAngularTestability=(n,o=!0)=>{let r=i.findTestabilityInTree(n,o);if(r==null)throw new z(5103,!1);return r},pi.getAllAngularTestabilities=()=>i.getAllTestabilities(),pi.getAllAngularRootElements=()=>i.getAllRootElements();let e=n=>{let o=pi.getAllAngularTestabilities(),r=o.length,a=function(){r--,r==0&&n()};o.forEach(s=>{s.whenStable(a)})};pi.frameworkStabilizers||(pi.frameworkStabilizers=[]),pi.frameworkStabilizers.push(e)}findTestabilityInTree(i,e,n){if(e==null)return null;let o=i.getTestability(e);return o??(n?Zi().isShadowRoot(e)?this.findTestabilityInTree(i,e.host,!0):this.findTestabilityInTree(i,e.parentElement,!0):null)}},p4=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})(),m1=["alt","control","meta","shift"],h4={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},f4={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},p1=(()=>{class t extends tu{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,n,o,r){let a=t.parseEventName(n),s=t.eventCallback(a.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Zi().onAndCancel(e,a.domEventName,s,r))}static parseEventName(e){let n=e.toLowerCase().split("."),o=n.shift();if(n.length===0||!(o==="keydown"||o==="keyup"))return null;let r=t._normalizeKey(n.pop()),a="",s=n.indexOf("code");if(s>-1&&(n.splice(s,1),a="code."),m1.forEach(m=>{let f=n.indexOf(m);f>-1&&(n.splice(f,1),a+=m+".")}),a+=r,n.length!=0||r.length===0)return null;let l={};return l.domEventName=o,l.fullKey=a,l}static matchEventFullKeyCode(e,n){let o=h4[e.key]||e.key,r="";return n.indexOf("code.")>-1&&(o=e.code,r="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),m1.forEach(a=>{if(a!==o){let s=f4[a];s(e)&&(r+=a+".")}}),r+=o,r===n)}static eventCallback(e,n,o){return r=>{t.matchEventFullKeyCode(r,e)&&o.runGuarded(()=>n(r))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(n){return new(n||t)(oe(ce))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})();function g4(){Jh.makeCurrent()}function _4(){return new Yn}function v4(){return Wy(document),document}var b4=[{provide:Ls,useValue:mC},{provide:hh,useValue:g4,multi:!0},{provide:ce,useFactory:v4}],yC=J0($T,"browser",b4);var y4=[{provide:Kl,useClass:ef},{provide:Ah,useClass:Wd,deps:[te,$d,Kl]},{provide:Wd,useClass:Wd,deps:[te,$d,Kl]}],C4=[{provide:vd,useValue:"root"},{provide:Yn,useFactory:_4},{provide:Xh,useClass:Kh,multi:!0,deps:[ce]},{provide:Xh,useClass:p1,multi:!0,deps:[ce]},ou,vC,_C,{provide:Cn,useExisting:ou},{provide:zs,useClass:p4},[]],au=(()=>{class t{constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[...C4,...y4],imports:[Jd,qT]})}return t})();var Hs=class{},su=class{},Sr=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(i){i?typeof i=="string"?this.lazyInit=()=>{this.headers=new Map,i.split(` +`).forEach(e=>{let n=e.indexOf(":");if(n>0){let o=e.slice(0,n),r=e.slice(n+1).trim();this.addHeaderEntry(o,r)}})}:typeof Headers<"u"&&i instanceof Headers?(this.headers=new Map,i.forEach((e,n)=>{this.addHeaderEntry(n,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(i).forEach(([e,n])=>{this.setHeaderEntries(e,n)})}:this.headers=new Map}has(i){return this.init(),this.headers.has(i.toLowerCase())}get(i){this.init();let e=this.headers.get(i.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(i){return this.init(),this.headers.get(i.toLowerCase())||null}append(i,e){return this.clone({name:i,value:e,op:"a"})}set(i,e){return this.clone({name:i,value:e,op:"s"})}delete(i,e){return this.clone({name:i,value:e,op:"d"})}maybeSetNormalizedName(i,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,i)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(i=>this.applyUpdate(i)),this.lazyUpdate=null))}copyFrom(i){i.init();for(let[e,n]of i.headers.entries())this.headers.set(e,n),this.normalizedNames.set(e,i.normalizedNames.get(e))}clone(i){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([i]),e}applyUpdate(i){let e=i.name.toLowerCase();switch(i.op){case"a":case"s":let n=i.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(i.name,e);let o=i.op==="a"?(this.headers.get(e)||[]).slice():[];o.push(...n),this.headers.set(e,o);break;case"d":let r=i.value;if(r===void 0)this.headers.delete(e),this.normalizedNames.delete(e);else{let a=Array.isArray(r)?r:[r],s=this.headers.get(e);if(!s)return;s=s.filter(l=>a.indexOf(l)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(i,e){let n=i.toLowerCase();this.maybeSetNormalizedName(i,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e])}setHeaderEntries(i,e){let n=(Array.isArray(e)?e:[e]).map(r=>r.toString()),o=i.toLowerCase();this.headers.set(o,n),this.maybeSetNormalizedName(i,o)}forEach(i){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>i(this.normalizedNames.get(e),this.headers.get(e)))}};var nf=class{encodeKey(i){return h1(i)}encodeValue(i){return h1(i)}decodeKey(i){return decodeURIComponent(i)}decodeValue(i){return decodeURIComponent(i)}};function w4(t,i){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{let r=o.indexOf("="),[a,s]=r==-1?[i.decodeKey(o),""]:[i.decodeKey(o.slice(0,r)),i.decodeValue(o.slice(r+1))],l=e.get(a)||[];l.push(s),e.set(a,l)}),e}var x4=/%(\d[a-f0-9])/gi,D4={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function h1(t){return encodeURIComponent(t).replace(x4,(i,e)=>D4[e]??i)}function tf(t){return`${t}`}var Jr=class t{map;encoder;updates=null;cloneFrom=null;constructor(i={}){if(this.encoder=i.encoder||new nf,i.fromString){if(i.fromObject)throw new z(2805,!1);this.map=w4(i.fromString,this.encoder)}else i.fromObject?(this.map=new Map,Object.keys(i.fromObject).forEach(e=>{let n=i.fromObject[e],o=Array.isArray(n)?n.map(tf):[tf(n)];this.map.set(e,o)})):this.map=null}has(i){return this.init(),this.map.has(i)}get(i){this.init();let e=this.map.get(i);return e?e[0]:null}getAll(i){return this.init(),this.map.get(i)||null}keys(){return this.init(),Array.from(this.map.keys())}append(i,e){return this.clone({param:i,value:e,op:"a"})}appendAll(i){let e=[];return Object.keys(i).forEach(n=>{let o=i[n];Array.isArray(o)?o.forEach(r=>{e.push({param:n,value:r,op:"a"})}):e.push({param:n,value:o,op:"a"})}),this.clone(e)}set(i,e){return this.clone({param:i,value:e,op:"s"})}delete(i,e){return this.clone({param:i,value:e,op:"d"})}toString(){return this.init(),this.keys().map(i=>{let e=this.encoder.encodeKey(i);return this.map.get(i).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(i=>i!=="").join("&")}clone(i){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(i),e}init(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[i,e]of this.cloneFrom.map.entries())this.map.set(i,e);this.updates.forEach(i=>{switch(i.op){case"a":case"s":let e=i.op==="a"?(this.map.get(i.param)||[]).slice():[];e.push(tf(i.value)),this.map.set(i.param,e);break;case"d":if(i.value!==void 0){let n=(this.map.get(i.param)||[]).slice(),o=n.indexOf(tf(i.value));o!==-1&&n.splice(o,1),n.length>0?this.map.set(i.param,n):this.map.delete(i.param)}else{this.map.delete(i.param);break}}}),this.cloneFrom=this.updates=null}}};var of=class{map=new Map;set(i,e){return this.map.set(i,e),this}get(i){return this.map.has(i)||this.map.set(i,i.defaultValue()),this.map.get(i)}delete(i){return this.map.delete(i),this}has(i){return this.map.has(i)}keys(){return this.map.keys()}};function E4(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function f1(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function g1(t){return typeof Blob<"u"&&t instanceof Blob}function _1(t){return typeof FormData<"u"&&t instanceof FormData}function S4(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var v1="Content-Type",b1="Accept",C1="X-Request-URL",w1="text/plain",x1="application/json",M4=`${x1}, ${w1}, */*`,tc=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(i,e,n,o){this.url=e,this.method=i.toUpperCase();let r;if(E4(this.method)||o?(this.body=n!==void 0?n:null,r=o):r=n,r){if(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,this.keepalive=!!r.keepalive,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),r.priority&&(this.priority=r.priority),r.cache&&(this.cache=r.cache),r.credentials&&(this.credentials=r.credentials),typeof r.timeout=="number"){if(r.timeout<1||!Number.isInteger(r.timeout))throw new z(2822,"");this.timeout=r.timeout}r.mode&&(this.mode=r.mode),r.redirect&&(this.redirect=r.redirect),r.integrity&&(this.integrity=r.integrity),r.referrer!==void 0&&(this.referrer=r.referrer),this.transferCache=r.transferCache}if(this.headers??=new Sr,this.context??=new of,!this.params)this.params=new Jr,this.urlWithParams=e;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=e;else{let s=e.indexOf("?"),l=s===-1?"?":sRi.set(Wn,i.setHeaders[Wn]),Ee)),i.setParams&&(Ft=Object.keys(i.setParams).reduce((Ri,Wn)=>Ri.set(Wn,i.setParams[Wn]),Ft)),new t(e,n,N,{params:Ft,headers:Ee,context:It,reportProgress:P,responseType:o,withCredentials:q,transferCache:x,keepalive:r,cache:s,priority:a,timeout:I,mode:l,redirect:m,credentials:f,referrer:v,integrity:D})}},Us=(function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t})(Us||{}),ic=class{headers;status;statusText;url;ok;type;redirected;constructor(i,e=200,n="OK"){this.headers=i.headers||new Sr,this.status=i.status!==void 0?i.status:e,this.statusText=i.statusText||n,this.url=i.url||null,this.redirected=i.redirected,this.ok=this.status>=200&&this.status<300}},rf=class t extends ic{constructor(i={}){super(i)}type=Us.ResponseHeader;clone(i={}){return new t({headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},lu=class t extends ic{body;constructor(i={}){super(i),this.body=i.body!==void 0?i.body:null}type=Us.Response;clone(i={}){return new t({body:i.body!==void 0?i.body:this.body,headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0,redirected:i.redirected??this.redirected})}},nc=class extends ic{name="HttpErrorResponse";message;error;ok=!1;constructor(i){super(i,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${i.url||"(unknown url)"}`:this.message=`Http failure response for ${i.url||"(unknown url)"}: ${i.status} ${i.statusText}`,this.error=i.error||null}},I4=200,T4=204;function CC(t,i){return{body:i,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,credentials:t.credentials,transferCache:t.transferCache,timeout:t.timeout,keepalive:t.keepalive,priority:t.priority,cache:t.cache,mode:t.mode,redirect:t.redirect,integrity:t.integrity,referrer:t.referrer}}var oc=(()=>{class t{handler;constructor(e){this.handler=e}request(e,n,o={}){let r;if(e instanceof tc)r=e;else{let l;o.headers instanceof Sr?l=o.headers:l=new Sr(o.headers);let m;o.params&&(o.params instanceof Jr?m=o.params:m=new Jr({fromObject:o.params})),r=new tc(e,n,o.body!==void 0?o.body:null,{headers:l,context:o.context,params:m,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,integrity:o.integrity,timeout:o.timeout})}let a=ie(r).pipe(cr(l=>this.handler.handle(l)));if(e instanceof tc||o.observe==="events")return a;let s=a.pipe(Ke(l=>l instanceof lu));switch(o.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return s.pipe(de(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new z(2806,!1);return l.body}));case"blob":return s.pipe(de(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new z(2807,!1);return l.body}));case"text":return s.pipe(de(l=>{if(l.body!==null&&typeof l.body!="string")throw new z(2808,!1);return l.body}));default:return s.pipe(de(l=>l.body))}case"response":return s;default:throw new z(2809,!1)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:new Jr().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,o={}){return this.request("PATCH",e,CC(o,n))}post(e,n,o={}){return this.request("POST",e,CC(o,n))}put(e,n,o={}){return this.request("PUT",e,CC(o,n))}static \u0275fac=function(n){return new(n||t)(oe(Hs))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})();var k4=new T("");function D1(t,i){return i(t)}function A4(t,i){return(e,n)=>i.intercept(e,{handle:o=>t(o,n)})}function R4(t,i,e){return(n,o)=>Qn(e,()=>i(n,r=>t(r,o)))}var E1=new T(""),xC=new T(""),S1=new T(""),DC=new T("",{providedIn:"root",factory:()=>!0});function O4(){let t=null;return(i,e)=>{t===null&&(t=(p(E1,{optional:!0})??[]).reduceRight(A4,D1));let n=p(As);if(p(DC)){let r=n.add();return t(i,e).pipe(dr(r))}else return t(i,e)}}var af=(()=>{class t extends Hs{backend;injector;chain=null;pendingTasks=p(As);contributeToStability=p(DC);constructor(e,n){super(),this.backend=e,this.injector=n}handle(e){if(this.chain===null){let n=this.injector.get(Hs,null,{skipSelf:!0}),o=n!==null&&this.backend===n,r=this.injector.get(S1,[],o?{self:!0}:void 0),a=Array.from(new Set([...this.injector.get(xC),...r]));this.chain=a.reduceRight((s,l)=>R4(s,l,this.injector),D1)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(dr(n))}else return this.chain(e,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||t)(oe(su),oe(Gt))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})();var P4=/^\)\]\}',?\n/,N4=RegExp(`^${C1}:`,"m");function F4(t){return"responseURL"in t&&t.responseURL?t.responseURL:N4.test(t.getAllResponseHeaders())?t.getResponseHeader(C1):null}var wC=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new z(-2800,!1);let n=this.xhrFactory;return ie(null).pipe(vt(()=>new Ae(r=>{let a=n.build();if(a.open(e.method,e.urlWithParams),e.withCredentials&&(a.withCredentials=!0),e.headers.forEach((q,P)=>a.setRequestHeader(q,P.join(","))),e.headers.has(b1)||a.setRequestHeader(b1,M4),!e.headers.has(v1)){let q=e.detectContentTypeHeader();q!==null&&a.setRequestHeader(v1,q)}if(e.timeout&&(a.timeout=e.timeout),e.responseType){let q=e.responseType.toLowerCase();a.responseType=q!=="json"?q:"text"}let s=e.serializeBody(),l=null,m=()=>{if(l!==null)return l;let q=a.statusText||"OK",P=new Sr(a.getAllResponseHeaders()),Ee=F4(a)||e.url;return l=new rf({headers:P,status:a.status,statusText:q,url:Ee}),l},f=()=>{let{headers:q,status:P,statusText:Ee,url:Ft}=m(),It=null;P!==T4&&(It=typeof a.response>"u"?a.responseText:a.response),P===0&&(P=It?I4:0);let Ri=P>=200&&P<300;if(e.responseType==="json"&&typeof It=="string"){let Wn=It;It=It.replace(P4,"");try{It=It!==""?JSON.parse(It):null}catch(ti){It=Wn,Ri&&(Ri=!1,It={error:ti,text:It})}}Ri?(r.next(new lu({body:It,headers:q,status:P,statusText:Ee,url:Ft||void 0})),r.complete()):r.error(new nc({error:It,headers:q,status:P,statusText:Ee,url:Ft||void 0}))},v=q=>{let{url:P}=m(),Ee=new nc({error:q,status:a.status||0,statusText:a.statusText||"Unknown Error",url:P||void 0});r.error(Ee)},D=v;e.timeout&&(D=q=>{let{url:P}=m(),Ee=new nc({error:new DOMException("Request timed out","TimeoutError"),status:a.status||0,statusText:a.statusText||"Request timeout",url:P||void 0});r.error(Ee)});let x=!1,I=q=>{x||(r.next(m()),x=!0);let P={type:Us.DownloadProgress,loaded:q.loaded};q.lengthComputable&&(P.total=q.total),e.responseType==="text"&&a.responseText&&(P.partialText=a.responseText),r.next(P)},N=q=>{let P={type:Us.UploadProgress,loaded:q.loaded};q.lengthComputable&&(P.total=q.total),r.next(P)};return a.addEventListener("load",f),a.addEventListener("error",v),a.addEventListener("timeout",D),a.addEventListener("abort",v),e.reportProgress&&(a.addEventListener("progress",I),s!==null&&a.upload&&a.upload.addEventListener("progress",N)),a.send(s),r.next({type:Us.Sent}),()=>{a.removeEventListener("error",v),a.removeEventListener("abort",v),a.removeEventListener("load",f),a.removeEventListener("timeout",D),e.reportProgress&&(a.removeEventListener("progress",I),s!==null&&a.upload&&a.upload.removeEventListener("progress",N)),a.readyState!==a.DONE&&a.abort()}})))}static \u0275fac=function(n){return new(n||t)(oe(zs))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})(),M1=new T(""),L4="XSRF-TOKEN",V4=new T("",{providedIn:"root",factory:()=>L4}),B4="X-XSRF-TOKEN",j4=new T("",{providedIn:"root",factory:()=>B4}),cu=class{},z4=(()=>{class t{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,n){this.doc=e,this.cookieName=n}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=eu(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(n){return new(n||t)(oe(ce),oe(V4))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})();function U4(t,i){if(!p(M1)||t.method==="GET"||t.method==="HEAD")return i(t);try{let o=p(Oa).href,{origin:r}=new URL(o),{origin:a}=new URL(t.url,r);if(r!==a)return i(t)}catch{return i(t)}let e=p(cu).getToken(),n=p(j4);return e!=null&&!t.headers.has(n)&&(t=t.clone({headers:t.headers.set(n,e)})),i(t)}var EC=(function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t})(EC||{});function H4(t,i){return{\u0275kind:t,\u0275providers:i}}function SC(...t){let i=[oc,wC,af,{provide:Hs,useExisting:af},{provide:su,useFactory:()=>p(k4,{optional:!0})??p(wC)},{provide:xC,useValue:U4,multi:!0},{provide:M1,useValue:!0},{provide:cu,useClass:z4}];for(let e of t)i.push(...e.\u0275providers);return Cs(i)}var y1=new T("");function MC(){return H4(EC.LegacyInterceptors,[{provide:y1,useFactory:O4},{provide:xC,useExisting:y1,multi:!0}])}var T1=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(n){return new(n||t)(oe(ce))};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Gs=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:function(n){let o=null;return n?o=new(n||t):o=oe(G4),o},providedIn:"root"})}return t})(),G4=(()=>{class t extends Gs{_doc;constructor(e){super(),this._doc=e}sanitize(e,n){if(n==null)return null;switch(e){case Lt.NONE:return n;case Lt.HTML:return Cr(n,"HTML")?Yi(n):vh(this._doc,String(n)).toString();case Lt.STYLE:return Cr(n,"Style")?Yi(n):n;case Lt.SCRIPT:if(Cr(n,"Script"))return Yi(n);throw new z(5200,!1);case Lt.URL:return Cr(n,"URL")?Yi(n):Vd(String(n));case Lt.RESOURCE_URL:if(Cr(n,"ResourceURL"))return Yi(n);throw new z(5201,!1);default:throw new z(5202,!1)}}bypassSecurityTrustHtml(e){return Yy(e)}bypassSecurityTrustStyle(e){return Qy(e)}bypassSecurityTrustScript(e){return Ky(e)}bypassSecurityTrustUrl(e){return Zy(e)}bypassSecurityTrustResourceUrl(e){return Xy(e)}static \u0275fac=function(n){return new(n||t)(oe(ce))};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ot="primary",xu=Symbol("RouteTitle"),OC=class{params;constructor(i){this.params=i||{}}has(i){return Object.prototype.hasOwnProperty.call(this.params,i)}get(i){if(this.has(i)){let e=this.params[i];return Array.isArray(e)?e[0]:e}return null}getAll(i){if(this.has(i)){let e=this.params[i];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function Ys(t){return new OC(t)}function L1(t,i,e){let n=e.path.split("/");if(n.length>t.length||e.pathMatch==="full"&&(i.hasChildren()||n.lengthn[r]===o)}else return t===i}function B1(t){return t.length>0?t[t.length-1]:null}function ea(t){return Sl(t)?t:Zr(t)?rn(Promise.resolve(t)):ie(t)}var $4={exact:z1,subset:U1},j1={exact:q4,subset:Y4,ignored:()=>!0};function k1(t,i,e){return $4[e.paths](t.root,i.root,e.matrixParams)&&j1[e.queryParams](t.queryParams,i.queryParams)&&!(e.fragment==="exact"&&t.fragment!==i.fragment)}function q4(t,i){return Mr(t,i)}function z1(t,i,e){if(!$s(t.segments,i.segments)||!cf(t.segments,i.segments,e)||t.numberOfChildren!==i.numberOfChildren)return!1;for(let n in i.children)if(!t.children[n]||!z1(t.children[n],i.children[n],e))return!1;return!0}function Y4(t,i){return Object.keys(i).length<=Object.keys(t).length&&Object.keys(i).every(e=>V1(t[e],i[e]))}function U1(t,i,e){return H1(t,i,i.segments,e)}function H1(t,i,e,n){if(t.segments.length>e.length){let o=t.segments.slice(0,e.length);return!(!$s(o,e)||i.hasChildren()||!cf(o,e,n))}else if(t.segments.length===e.length){if(!$s(t.segments,e)||!cf(t.segments,e,n))return!1;for(let o in i.children)if(!t.children[o]||!U1(t.children[o],i.children[o],n))return!1;return!0}else{let o=e.slice(0,t.segments.length),r=e.slice(t.segments.length);return!$s(t.segments,o)||!cf(t.segments,o,n)||!t.children[ot]?!1:H1(t.children[ot],i,r,n)}}function cf(t,i,e){return i.every((n,o)=>j1[e](t[o].parameters,n.parameters))}var Tr=class{root;queryParams;fragment;_queryParamMap;constructor(i=new Vt([],{}),e={},n=null){this.root=i,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Ys(this.queryParams),this._queryParamMap}toString(){return Z4.serialize(this)}},Vt=class{segments;children;parent=null;constructor(i,e){this.segments=i,this.children=e,Object.values(e).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return df(this)}},Pa=class{path;parameters;_parameterMap;constructor(i,e){this.path=i,this.parameters=e}get parameterMap(){return this._parameterMap??=Ys(this.parameters),this._parameterMap}toString(){return W1(this)}};function Q4(t,i){return $s(t,i)&&t.every((e,n)=>Mr(e.parameters,i[n].parameters))}function $s(t,i){return t.length!==i.length?!1:t.every((e,n)=>e.path===i[n].path)}function K4(t,i){let e=[];return Object.entries(t.children).forEach(([n,o])=>{n===ot&&(e=e.concat(i(o,n)))}),Object.entries(t.children).forEach(([n,o])=>{n!==ot&&(e=e.concat(i(o,n)))}),e}var Qs=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:()=>new Na,providedIn:"root"})}return t})(),Na=class{parse(i){let e=new FC(i);return new Tr(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(i){let e=`/${uu(i.root,!0)}`,n=eU(i.queryParams),o=typeof i.fragment=="string"?`#${X4(i.fragment)}`:"";return`${e}${n}${o}`}},Z4=new Na;function df(t){return t.segments.map(i=>W1(i)).join("/")}function uu(t,i){if(!t.hasChildren())return df(t);if(i){let e=t.children[ot]?uu(t.children[ot],!1):"",n=[];return Object.entries(t.children).forEach(([o,r])=>{o!==ot&&n.push(`${o}:${uu(r,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}else{let e=K4(t,(n,o)=>o===ot?[uu(t.children[ot],!1)]:[`${o}:${uu(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[ot]!=null?`${df(t)}/${e[0]}`:`${df(t)}/(${e.join("//")})`}}function G1(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function sf(t){return G1(t).replace(/%3B/gi,";")}function X4(t){return encodeURI(t)}function NC(t){return G1(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function uf(t){return decodeURIComponent(t)}function A1(t){return uf(t.replace(/\+/g,"%20"))}function W1(t){return`${NC(t.path)}${J4(t.parameters)}`}function J4(t){return Object.entries(t).map(([i,e])=>`;${NC(i)}=${NC(e)}`).join("")}function eU(t){let i=Object.entries(t).map(([e,n])=>Array.isArray(n)?n.map(o=>`${sf(e)}=${sf(o)}`).join("&"):`${sf(e)}=${sf(n)}`).filter(e=>e);return i.length?`?${i.join("&")}`:""}var IC=1073741824;function mf(t,i,e){Number(i)>=32&&!Object.hasOwn(t,IC)&&(t[IC]=e,delete t[IC]),t[i]=e}var tU=/^[^\/()?;#]+/;function TC(t){let i=t.match(tU);return i?i[0]:""}var nU=/^[^\/()?;=#]+/;function iU(t){let i=t.match(nU);return i?i[0]:""}var oU=/^[^=?&#]+/;function rU(t){let i=t.match(oU);return i?i[0]:""}var aU=/^[^&#]+/;function sU(t){let i=t.match(aU);return i?i[0]:""}var FC=class{url;remaining;constructor(i){this.url=i,this.remaining=i}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Vt([],{}):new Vt([],this.parseChildren())}parseQueryParams(){let i={};if(this.consumeOptional("?"))do this.parseQueryParam(i);while(this.consumeOptional("&"));return i}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let i=[];for(this.peekStartsWith("(")||i.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),i.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(i.length>0||Object.keys(e).length>0)&&(n[ot]=new Vt(i,e)),n}parseSegment(){let i=TC(this.remaining);if(i===""&&this.peekStartsWith(";"))throw new z(4009,!1);return this.capture(i),new Pa(uf(i),this.parseMatrixParams())}parseMatrixParams(){let i={};for(;this.consumeOptional(";");)this.parseParam(i);return i}parseParam(i){let e=iU(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let o=TC(this.remaining);o&&(n=o,this.capture(n))}mf(i,uf(e),uf(n))}parseQueryParam(i){let e=rU(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let a=sU(this.remaining);a&&(n=a,this.capture(n))}let o=A1(e),r=A1(n);if(i.hasOwnProperty(o)){let a=i[o];Array.isArray(a)||(a=[a],i[o]=a),a.push(r)}else i[o]=r}parseParens(i){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=TC(this.remaining),o=this.remaining[n.length];if(o!=="/"&&o!==")"&&o!==";")throw new z(4010,!1);let r;n.indexOf(":")>-1?(r=n.slice(0,n.indexOf(":")),this.capture(r),this.capture(":")):i&&(r=ot);let a=this.parseChildren(),s=Object.keys(a).length===1&&a[ot]?a[ot]:new Vt([],a);mf(e,r??ot,s),this.consumeOptional("//")}return e}peekStartsWith(i){return this.remaining.startsWith(i)}consumeOptional(i){return this.peekStartsWith(i)?(this.remaining=this.remaining.substring(i.length),!0):!1}capture(i){if(!this.consumeOptional(i))throw new z(4011,!1)}};function $1(t){return t.segments.length>0?new Vt([],{[ot]:t}):t}function q1(t){let i={};for(let[n,o]of Object.entries(t.children)){let r=q1(o);if(n===ot&&r.segments.length===0&&r.hasChildren())for(let[a,s]of Object.entries(r.children))mf(i,a,s);else(r.segments.length>0||r.hasChildren())&&mf(i,n,r)}let e=new Vt(t.segments,i);return lU(e)}function lU(t){if(t.numberOfChildren===1&&t.children[ot]){let i=t.children[ot];return new Vt(t.segments.concat(i.segments),i.children)}return t}function Fa(t){return t instanceof Tr}function Y1(t,i,e=null,n=null){let o=Q1(t);return K1(o,i,e,n)}function Q1(t){let i;function e(r){let a={};for(let l of r.children){let m=e(l);a[l.outlet]=m}let s=new Vt(r.url,a);return r===t&&(i=s),s}let n=e(t.root),o=$1(n);return i??o}function K1(t,i,e,n){let o=t;for(;o.parent;)o=o.parent;if(i.length===0)return kC(o,o,o,e,n);let r=cU(i);if(r.toRoot())return kC(o,o,new Vt([],{}),e,n);let a=dU(r,o,t),s=a.processChildren?pu(a.segmentGroup,a.index,r.commands):X1(a.segmentGroup,a.index,r.commands);return kC(o,a.segmentGroup,s,e,n)}function pf(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function fu(t){return typeof t=="object"&&t!=null&&t.outlets}function kC(t,i,e,n,o){let r={};n&&Object.entries(n).forEach(([l,m])=>{r[l]=Array.isArray(m)?m.map(f=>`${f}`):`${m}`});let a;t===i?a=e:a=Z1(t,i,e);let s=$1(q1(a));return new Tr(s,r,o)}function Z1(t,i,e){let n={};return Object.entries(t.children).forEach(([o,r])=>{r===i?n[o]=e:n[o]=Z1(r,i,e)}),new Vt(t.segments,n)}var hf=class{isAbsolute;numberOfDoubleDots;commands;constructor(i,e,n){if(this.isAbsolute=i,this.numberOfDoubleDots=e,this.commands=n,i&&n.length>0&&pf(n[0]))throw new z(4003,!1);let o=n.find(fu);if(o&&o!==B1(n))throw new z(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function cU(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new hf(!0,0,t);let i=0,e=!1,n=t.reduce((o,r,a)=>{if(typeof r=="object"&&r!=null){if(r.outlets){let s={};return Object.entries(r.outlets).forEach(([l,m])=>{s[l]=typeof m=="string"?m.split("/"):m}),[...o,{outlets:s}]}if(r.segmentPath)return[...o,r.segmentPath]}return typeof r!="string"?[...o,r]:a===0?(r.split("/").forEach((s,l)=>{l==0&&s==="."||(l==0&&s===""?e=!0:s===".."?i++:s!=""&&o.push(s))}),o):[...o,r]},[]);return new hf(e,i,n)}var ac=class{segmentGroup;processChildren;index;constructor(i,e,n){this.segmentGroup=i,this.processChildren=e,this.index=n}};function dU(t,i,e){if(t.isAbsolute)return new ac(i,!0,0);if(!e)return new ac(i,!1,NaN);if(e.parent===null)return new ac(e,!0,0);let n=pf(t.commands[0])?0:1,o=e.segments.length-1+n;return uU(e,o,t.numberOfDoubleDots)}function uU(t,i,e){let n=t,o=i,r=e;for(;r>o;){if(r-=o,n=n.parent,!n)throw new z(4005,!1);o=n.segments.length}return new ac(n,!1,o-r)}function mU(t){return fu(t[0])?t[0].outlets:{[ot]:t}}function X1(t,i,e){if(t??=new Vt([],{}),t.segments.length===0&&t.hasChildren())return pu(t,i,e);let n=pU(t,i,e),o=e.slice(n.commandIndex);if(n.match&&n.pathIndexr!==ot)&&t.children[ot]&&t.numberOfChildren===1&&t.children[ot].segments.length===0){let r=pu(t.children[ot],i,e);return new Vt(t.segments,r.children)}return Object.entries(n).forEach(([r,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(o[r]=X1(t.children[r],i,a))}),Object.entries(t.children).forEach(([r,a])=>{n[r]===void 0&&(o[r]=a)}),new Vt(t.segments,o)}}function pU(t,i,e){let n=0,o=i,r={match:!1,pathIndex:0,commandIndex:0};for(;o=e.length)return r;let a=t.segments[o],s=e[n];if(fu(s))break;let l=`${s}`,m=n0&&l===void 0)break;if(l&&m&&typeof m=="object"&&m.outlets===void 0){if(!O1(l,m,a))return r;n+=2}else{if(!O1(l,{},a))return r;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}function LC(t,i,e){let n=t.segments.slice(0,i),o=0;for(;o{typeof n=="string"&&(n=[n]),n!==null&&(i[e]=LC(new Vt([],{}),0,n))}),i}function R1(t){let i={};return Object.entries(t).forEach(([e,n])=>i[e]=`${n}`),i}function O1(t,i,e){return t==e.path&&Mr(i,e.parameters)}var sc="imperative",Bn=(function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t})(Bn||{}),Ji=class{id;url;constructor(i,e){this.id=i,this.url=e}},La=class extends Ji{type=Bn.NavigationStart;navigationTrigger;restoredState;constructor(i,e,n="imperative",o=null){super(i,e),this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},fo=class extends Ji{urlAfterRedirects;type=Bn.NavigationEnd;constructor(i,e,n){super(i,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},xi=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t})(xi||{}),cc=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(cc||{}),Ir=class extends Ji{reason;code;type=Bn.NavigationCancel;constructor(i,e,n,o){super(i,e),this.reason=n,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},kr=class extends Ji{reason;code;type=Bn.NavigationSkipped;constructor(i,e,n,o){super(i,e),this.reason=n,this.code=o}},dc=class extends Ji{error;target;type=Bn.NavigationError;constructor(i,e,n,o){super(i,e),this.error=n,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},gu=class extends Ji{urlAfterRedirects;state;type=Bn.RoutesRecognized;constructor(i,e,n,o){super(i,e),this.urlAfterRedirects=n,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ff=class extends Ji{urlAfterRedirects;state;type=Bn.GuardsCheckStart;constructor(i,e,n,o){super(i,e),this.urlAfterRedirects=n,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},gf=class extends Ji{urlAfterRedirects;state;shouldActivate;type=Bn.GuardsCheckEnd;constructor(i,e,n,o,r){super(i,e),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},_f=class extends Ji{urlAfterRedirects;state;type=Bn.ResolveStart;constructor(i,e,n,o){super(i,e),this.urlAfterRedirects=n,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},vf=class extends Ji{urlAfterRedirects;state;type=Bn.ResolveEnd;constructor(i,e,n,o){super(i,e),this.urlAfterRedirects=n,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},bf=class{route;type=Bn.RouteConfigLoadStart;constructor(i){this.route=i}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},yf=class{route;type=Bn.RouteConfigLoadEnd;constructor(i){this.route=i}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Cf=class{snapshot;type=Bn.ChildActivationStart;constructor(i){this.snapshot=i}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},wf=class{snapshot;type=Bn.ChildActivationEnd;constructor(i){this.snapshot=i}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},xf=class{snapshot;type=Bn.ActivationStart;constructor(i){this.snapshot=i}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Df=class{snapshot;type=Bn.ActivationEnd;constructor(i){this.snapshot=i}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},uc=class{routerEvent;position;anchor;type=Bn.Scroll;constructor(i,e,n){this.routerEvent=i,this.position=e,this.anchor=n}toString(){let i=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${i}')`}},_u=class{},mc=class{url;navigationBehaviorOptions;constructor(i,e){this.url=i,this.navigationBehaviorOptions=e}};function fU(t){return!(t instanceof _u)&&!(t instanceof mc)}function gU(t,i){return t.providers&&!t._injector&&(t._injector=Ql(t.providers,i,`Route: ${t.path}`)),t._injector??i}function Yo(t){return t.outlet||ot}function _U(t,i){let e=t.filter(n=>Yo(n)===i);return e.push(...t.filter(n=>Yo(n)!==i)),e}function fc(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let i=t.parent;i;i=i.parent){let e=i.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var Ef=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return fc(this.route?.snapshot)??this.rootInjector}constructor(i){this.rootInjector=i,this.children=new Ks(this.rootInjector)}},Ks=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,n){let o=this.getOrCreateContext(e);o.outlet=n,this.contexts.set(e,o)}onChildOutletDestroyed(e){let n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new Ef(this.rootInjector),this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(n){return new(n||t)(oe(Gt))};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Sf=class{_root;constructor(i){this._root=i}get root(){return this._root.value}parent(i){let e=this.pathFromRoot(i);return e.length>1?e[e.length-2]:null}children(i){let e=VC(i,this._root);return e?e.children.map(n=>n.value):[]}firstChild(i){let e=VC(i,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(i){let e=BC(i,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==i)}pathFromRoot(i){return BC(i,this._root).map(e=>e.value)}};function VC(t,i){if(t===i.value)return i;for(let e of i.children){let n=VC(t,e);if(n)return n}return null}function BC(t,i){if(t===i.value)return[i];for(let e of i.children){let n=BC(t,e);if(n.length)return n.unshift(i),n}return[]}var wi=class{value;children;constructor(i,e){this.value=i,this.children=e}toString(){return`TreeNode(${this.value})`}};function rc(t){let i={};return t&&t.children.forEach(e=>i[e.value.outlet]=e),i}var vu=class extends Sf{snapshot;constructor(i,e){super(i),this.snapshot=e,qC(this,i)}toString(){return this.snapshot.toString()}};function J1(t){let i=vU(t),e=new Qt([new Pa("",{})]),n=new Qt({}),o=new Qt({}),r=new Qt({}),a=new Qt(""),s=new Oe(e,n,r,a,o,ot,t,i.root);return s.snapshot=i.root,new vu(new wi(s,[]),i)}function vU(t){let i={},e={},n={},r=new qs([],i,n,"",e,ot,t,null,{});return new bu("",new wi(r,[]))}var Oe=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(i,e,n,o,r,a,s,l){this.urlSubject=i,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=r,this.outlet=a,this.component=s,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(de(m=>m[xu]))??ie(void 0),this.url=i,this.params=e,this.queryParams=n,this.fragment=o,this.data=r}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(de(i=>Ys(i))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(de(i=>Ys(i))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Mf(t,i,e="emptyOnly"){let n,{routeConfig:o}=t;return i!==null&&(e==="always"||o?.path===""||!i.component&&!i.routeConfig?.loadComponent)?n={params:Object.keys(t.params).length===0?i.params:Object.freeze(L(L({},i.params),t.params)),data:Object.freeze(L(L({},i.data),t.data)),resolve:L(L(L(L({},t.data),i.data),o?.data),t._resolvedData)}:n={params:Object.freeze(L({},t.params)),data:Object.freeze(L({},t.data)),resolve:L(L({},t.data),t._resolvedData??{})},o&&tk(o)&&(n.resolve[xu]=o.title),n}var qs=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[xu]}constructor(i,e,n,o,r,a,s,l,m){this.url=i,this.params=e,this.queryParams=n,this.fragment=o,this.data=r,this.outlet=a,this.component=s,this.routeConfig=l,this._resolve=m}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Ys(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ys(this.queryParams),this._queryParamMap}toString(){let i=this.url.map(n=>n.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${i}', path:'${e}')`}},bu=class extends Sf{url;constructor(i,e){super(e),this.url=i,qC(this,e)}toString(){return ek(this._root)}};function qC(t,i){i.value._routerState=t,i.children.forEach(e=>qC(t,e))}function ek(t){let i=t.children.length>0?` { ${t.children.map(ek).join(", ")} } `:"";return`${t.value}${i}`}function AC(t){if(t.snapshot){let i=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Mr(i.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),i.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),Mr(i.params,e.params)||t.paramsSubject.next(e.params),W4(i.url,e.url)||t.urlSubject.next(e.url),Mr(i.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function jC(t,i){let e=Mr(t.params,i.params)&&Q4(t.url,i.url),n=!t.parent!=!i.parent;return e&&!n&&(!t.parent||jC(t.parent,i.parent))}function tk(t){return typeof t.title=="string"||t.title===null}var nk=new T(""),Du=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=ot;activateEvents=new k;deactivateEvents=new k;attachEvents=new k;detachEvents=new k;routerOutletData=Wo();parentContexts=p(Ks);location=p(Mt);changeDetector=p(Te);inputBinder=p(Eu,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:n,previousValue:o}=e.name;if(n)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new z(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new z(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new z(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,n){this.activated=e,this._activatedRoute=n,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,n){if(this.isActivated)throw new z(4013,!1);this._activatedRoute=e;let o=this.location,a=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,l=new zC(e,s,o.injector,this.routerOutletData);this.activated=o.createComponent(a,{index:o.length,injector:l,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Ge]})}return t})(),zC=class{route;childContexts;parent;outletData;constructor(i,e,n,o){this.route=i,this.childContexts=e,this.parent=n,this.outletData=o}get(i,e){return i===Oe?this.route:i===Ks?this.childContexts:i===nk?this.outletData:this.parent.get(i,e)}},Eu=new T(""),YC=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:n}=e,o=Ui([n.queryParams,n.params,n.data]).pipe(vt(([r,a,s],l)=>(s=L(L(L({},r),a),s),l===0?ie(s):Promise.resolve(s)))).subscribe(r=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(e);return}let a=KT(n.component);if(!a){this.unsubscribeFromRouteData(e);return}for(let{templateName:s}of a.inputs)e.activatedComponentRef.setInput(s,r[s])});this.outletDataSubscriptions.set(e,o)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})(),QC=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(n,o){n&1&&M(0,"router-outlet")},dependencies:[Du],encapsulation:2})}return t})();function KC(t){let i=t.children&&t.children.map(KC),e=i?Be(L({},t),{children:i}):L({},t);return!e.component&&!e.loadComponent&&(i||e.loadChildren)&&e.outlet&&e.outlet!==ot&&(e.component=QC),e}function bU(t,i,e){let n=yu(t,i._root,e?e._root:void 0);return new vu(n,i)}function yu(t,i,e){if(e&&t.shouldReuseRoute(i.value,e.value.snapshot)){let n=e.value;n._futureSnapshot=i.value;let o=yU(t,i,e);return new wi(n,o)}else{if(t.shouldAttach(i.value)){let r=t.retrieve(i.value);if(r!==null){let a=r.route;return a.value._futureSnapshot=i.value,a.children=i.children.map(s=>yu(t,s)),a}}let n=CU(i.value),o=i.children.map(r=>yu(t,r));return new wi(n,o)}}function yU(t,i,e){return i.children.map(n=>{for(let o of e.children)if(t.shouldReuseRoute(n.value,o.value.snapshot))return yu(t,n,o);return yu(t,n)})}function CU(t){return new Oe(new Qt(t.url),new Qt(t.params),new Qt(t.queryParams),new Qt(t.fragment),new Qt(t.data),t.outlet,t.component,t)}var pc=class{redirectTo;navigationBehaviorOptions;constructor(i,e){this.redirectTo=i,this.navigationBehaviorOptions=e}},ik="ngNavigationCancelingError";function If(t,i){let{redirectTo:e,navigationBehaviorOptions:n}=Fa(i)?{redirectTo:i,navigationBehaviorOptions:void 0}:i,o=ok(!1,xi.Redirect);return o.url=e,o.navigationBehaviorOptions=n,o}function ok(t,i){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[ik]=!0,e.cancellationCode=i,e}function wU(t){return rk(t)&&Fa(t.url)}function rk(t){return!!t&&t[ik]}var xU=(t,i,e,n)=>de(o=>(new UC(i,o.targetRouterState,o.currentRouterState,e,n).activate(t),o)),UC=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(i,e,n,o,r){this.routeReuseStrategy=i,this.futureState=e,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=r}activate(i){let e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,i),AC(this.futureState.root),this.activateChildRoutes(e,n,i)}deactivateChildRoutes(i,e,n){let o=rc(e);i.children.forEach(r=>{let a=r.value.outlet;this.deactivateRoutes(r,o[a],n),delete o[a]}),Object.values(o).forEach(r=>{this.deactivateRouteAndItsChildren(r,n)})}deactivateRoutes(i,e,n){let o=i.value,r=e?e.value:null;if(o===r)if(o.component){let a=n.getContext(o.outlet);a&&this.deactivateChildRoutes(i,e,a.children)}else this.deactivateChildRoutes(i,e,n);else r&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(i,e){i.value.component&&this.routeReuseStrategy.shouldDetach(i.value.snapshot)?this.detachAndStoreRouteSubtree(i,e):this.deactivateRouteAndOutlet(i,e)}detachAndStoreRouteSubtree(i,e){let n=e.getContext(i.value.outlet),o=n&&i.value.component?n.children:e,r=rc(i);for(let a of Object.values(r))this.deactivateRouteAndItsChildren(a,o);if(n&&n.outlet){let a=n.outlet.detach(),s=n.children.onOutletDeactivated();this.routeReuseStrategy.store(i.value.snapshot,{componentRef:a,route:i,contexts:s})}}deactivateRouteAndOutlet(i,e){let n=e.getContext(i.value.outlet),o=n&&i.value.component?n.children:e,r=rc(i);for(let a of Object.values(r))this.deactivateRouteAndItsChildren(a,o);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(i,e,n){let o=rc(e);i.children.forEach(r=>{this.activateRoutes(r,o[r.value.outlet],n),this.forwardEvent(new Df(r.value.snapshot))}),i.children.length&&this.forwardEvent(new wf(i.value.snapshot))}activateRoutes(i,e,n){let o=i.value,r=e?e.value:null;if(AC(o),o===r)if(o.component){let a=n.getOrCreateContext(o.outlet);this.activateChildRoutes(i,e,a.children)}else this.activateChildRoutes(i,e,n);else if(o.component){let a=n.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let s=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),AC(s.route.value),this.activateChildRoutes(i,null,a.children)}else a.attachRef=null,a.route=o,a.outlet&&a.outlet.activateWith(o,a.injector),this.activateChildRoutes(i,null,a.children)}else this.activateChildRoutes(i,null,n)}},Tf=class{path;route;constructor(i){this.path=i,this.route=this.path[this.path.length-1]}},lc=class{component;route;constructor(i,e){this.component=i,this.route=e}};function DU(t,i,e){let n=t._root,o=i?i._root:null;return mu(n,o,e,[n.value])}function EU(t){let i=t.routeConfig?t.routeConfig.canActivateChild:null;return!i||i.length===0?null:{node:t,guards:i}}function gc(t,i){let e=Symbol(),n=i.get(t,e);return n===e?typeof t=="function"&&!nb(t)?t:i.get(t):n}function mu(t,i,e,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let r=rc(i);return t.children.forEach(a=>{SU(a,r[a.value.outlet],e,n.concat([a.value]),o),delete r[a.value.outlet]}),Object.entries(r).forEach(([a,s])=>hu(s,e.getContext(a),o)),o}function SU(t,i,e,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let r=t.value,a=i?i.value:null,s=e?e.getContext(t.value.outlet):null;if(a&&r.routeConfig===a.routeConfig){let l=MU(a,r,r.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new Tf(n)):(r.data=a.data,r._resolvedData=a._resolvedData),r.component?mu(t,i,s?s.children:null,n,o):mu(t,i,e,n,o),l&&s&&s.outlet&&s.outlet.isActivated&&o.canDeactivateChecks.push(new lc(s.outlet.component,a))}else a&&hu(i,s,o),o.canActivateChecks.push(new Tf(n)),r.component?mu(t,null,s?s.children:null,n,o):mu(t,null,e,n,o);return o}function MU(t,i,e){if(typeof e=="function")return e(t,i);switch(e){case"pathParamsChange":return!$s(t.url,i.url);case"pathParamsOrQueryParamsChange":return!$s(t.url,i.url)||!Mr(t.queryParams,i.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!jC(t,i)||!Mr(t.queryParams,i.queryParams);default:return!jC(t,i)}}function hu(t,i,e){let n=rc(t),o=t.value;Object.entries(n).forEach(([r,a])=>{o.component?i?hu(a,i.children.getContext(r),e):hu(a,null,e):hu(a,i,e)}),o.component?i&&i.outlet&&i.outlet.isActivated?e.canDeactivateChecks.push(new lc(i.outlet.component,o)):e.canDeactivateChecks.push(new lc(null,o)):e.canDeactivateChecks.push(new lc(null,o))}function Su(t){return typeof t=="function"}function IU(t){return typeof t=="boolean"}function TU(t){return t&&Su(t.canLoad)}function kU(t){return t&&Su(t.canActivate)}function AU(t){return t&&Su(t.canActivateChild)}function RU(t){return t&&Su(t.canDeactivate)}function OU(t){return t&&Su(t.canMatch)}function ak(t){return t instanceof Ro||t?.name==="EmptyError"}var lf=Symbol("INITIAL_VALUE");function hc(){return vt(t=>Ui(t.map(i=>i.pipe(Pt(1),Et(lf)))).pipe(de(i=>{for(let e of i)if(e!==!0){if(e===lf)return lf;if(e===!1||PU(e))return e}return!0}),Ke(i=>i!==lf),Pt(1)))}function PU(t){return Fa(t)||t instanceof pc}function NU(t,i){return fn(e=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:r,canDeactivateChecks:a}}=e;return a.length===0&&r.length===0?ie(Be(L({},e),{guardsResult:!0})):FU(a,n,o,t).pipe(fn(s=>s&&IU(s)?LU(n,r,t,i):ie(s)),de(s=>Be(L({},e),{guardsResult:s})))})}function FU(t,i,e,n){return rn(t).pipe(fn(o=>UU(o.component,o.route,e,i,n)),Br(o=>o!==!0,!0))}function LU(t,i,e,n){return rn(i).pipe(cr(o=>lr(BU(o.route.parent,n),VU(o.route,n),zU(t,o.path,e),jU(t,o.route,e))),Br(o=>o!==!0,!0))}function VU(t,i){return t!==null&&i&&i(new xf(t)),ie(!0)}function BU(t,i){return t!==null&&i&&i(new Cf(t)),ie(!0)}function jU(t,i,e){let n=i.routeConfig?i.routeConfig.canActivate:null;if(!n||n.length===0)return ie(!0);let o=n.map(r=>Hi(()=>{let a=fc(i)??e,s=gc(r,a),l=kU(s)?s.canActivate(i,t):Qn(a,()=>s(i,t));return ea(l).pipe(Br())}));return ie(o).pipe(hc())}function zU(t,i,e){let n=i[i.length-1],r=i.slice(0,i.length-1).reverse().map(a=>EU(a)).filter(a=>a!==null).map(a=>Hi(()=>{let s=a.guards.map(l=>{let m=fc(a.node)??e,f=gc(l,m),v=AU(f)?f.canActivateChild(n,t):Qn(m,()=>f(n,t));return ea(v).pipe(Br())});return ie(s).pipe(hc())}));return ie(r).pipe(hc())}function UU(t,i,e,n,o){let r=i&&i.routeConfig?i.routeConfig.canDeactivate:null;if(!r||r.length===0)return ie(!0);let a=r.map(s=>{let l=fc(i)??o,m=gc(s,l),f=RU(m)?m.canDeactivate(t,i,e,n):Qn(l,()=>m(t,i,e,n));return ea(f).pipe(Br())});return ie(a).pipe(hc())}function HU(t,i,e,n){let o=i.canLoad;if(o===void 0||o.length===0)return ie(!0);let r=o.map(a=>{let s=gc(a,t),l=TU(s)?s.canLoad(i,e):Qn(t,()=>s(i,e));return ea(l)});return ie(r).pipe(hc(),sk(n))}function sk(t){return kv(Ht(i=>{if(typeof i!="boolean")throw If(t,i)}),de(i=>i===!0))}function GU(t,i,e,n){let o=i.canMatch;if(!o||o.length===0)return ie(!0);let r=o.map(a=>{let s=gc(a,t),l=OU(s)?s.canMatch(i,e):Qn(t,()=>s(i,e));return ea(l)});return ie(r).pipe(hc(),sk(n))}var Cu=class{segmentGroup;constructor(i){this.segmentGroup=i||null}},wu=class extends Error{urlTree;constructor(i){super(),this.urlTree=i}};function Ws(t){return sr(new Cu(t))}function WU(t){return sr(new z(4e3,!1))}function $U(t){return sr(ok(!1,xi.GuardRejected))}var HC=class{urlSerializer;urlTree;constructor(i,e){this.urlSerializer=i,this.urlTree=e}lineralizeSegments(i,e){let n=[],o=e.root;for(;;){if(n=n.concat(o.segments),o.numberOfChildren===0)return ie(n);if(o.numberOfChildren>1||!o.children[ot])return WU(`${i.redirectTo}`);o=o.children[ot]}}applyRedirectCommands(i,e,n,o,r){return qU(e,o,r).pipe(de(a=>{if(a instanceof Tr)throw new wu(a);let s=this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),i,n);if(a[0]==="/")throw new wu(s);return s}))}applyRedirectCreateUrlTree(i,e,n,o){let r=this.createSegmentGroup(i,e.root,n,o);return new Tr(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(i,e){let n={};return Object.entries(i).forEach(([o,r])=>{if(typeof r=="string"&&r[0]===":"){let s=r.substring(1);n[o]=e[s]}else n[o]=r}),n}createSegmentGroup(i,e,n,o){let r=this.createSegments(i,e.segments,n,o),a={};return Object.entries(e.children).forEach(([s,l])=>{a[s]=this.createSegmentGroup(i,l,n,o)}),new Vt(r,a)}createSegments(i,e,n,o){return e.map(r=>r.path[0]===":"?this.findPosParam(i,r,o):this.findOrReturn(r,n))}findPosParam(i,e,n){let o=n[e.path.substring(1)];if(!o)throw new z(4001,!1);return o}findOrReturn(i,e){let n=0;for(let o of e){if(o.path===i.path)return e.splice(n),o;n++}return i}};function qU(t,i,e){if(typeof t=="string")return ie(t);let n=t,{queryParams:o,fragment:r,routeConfig:a,url:s,outlet:l,params:m,data:f,title:v}=i;return ea(Qn(e,()=>n({params:m,data:f,queryParams:o,fragment:r,routeConfig:a,url:s,outlet:l,title:v})))}var GC={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function YU(t,i,e,n,o){let r=lk(t,i,e);return r.matched?(n=gU(i,n),GU(n,i,e,o).pipe(de(a=>a===!0?r:L({},GC)))):ie(r)}function lk(t,i,e){if(i.path==="**")return QU(e);if(i.path==="")return i.pathMatch==="full"&&(t.hasChildren()||e.length>0)?L({},GC):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let o=(i.matcher||L1)(e,t,i);if(!o)return L({},GC);let r={};Object.entries(o.posParams??{}).forEach(([s,l])=>{r[s]=l.path});let a=o.consumed.length>0?L(L({},r),o.consumed[o.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:o.consumed,remainingSegments:e.slice(o.consumed.length),parameters:a,positionalParamSegments:o.posParams??{}}}function QU(t){return{matched:!0,parameters:t.length>0?B1(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function P1(t,i,e,n){return e.length>0&&XU(t,e,n)?{segmentGroup:new Vt(i,ZU(n,new Vt(e,t.children))),slicedSegments:[]}:e.length===0&&JU(t,e,n)?{segmentGroup:new Vt(t.segments,KU(t,e,n,t.children)),slicedSegments:e}:{segmentGroup:new Vt(t.segments,t.children),slicedSegments:e}}function KU(t,i,e,n){let o={};for(let r of e)if(Af(t,i,r)&&!n[Yo(r)]){let a=new Vt([],{});o[Yo(r)]=a}return L(L({},n),o)}function ZU(t,i){let e={};e[ot]=i;for(let n of t)if(n.path===""&&Yo(n)!==ot){let o=new Vt([],{});e[Yo(n)]=o}return e}function XU(t,i,e){return e.some(n=>Af(t,i,n)&&Yo(n)!==ot)}function JU(t,i,e){return e.some(n=>Af(t,i,n))}function Af(t,i,e){return(t.hasChildren()||i.length>0)&&e.pathMatch==="full"?!1:e.path===""}function eH(t,i,e){return i.length===0&&!t.hasChildren()}var WC=class{};function tH(t,i,e,n,o,r,a="emptyOnly"){return new $C(t,i,e,n,o,a,r).recognize()}var nH=31,$C=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;queryParams;constructor(i,e,n,o,r,a,s){this.injector=i,this.configLoader=e,this.rootComponentType=n,this.config=o,this.urlTree=r,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.applyRedirects=new HC(this.urlSerializer,this.urlTree),this.queryParams=Object.freeze(L({},this.urlTree.queryParams))}noMatchError(i){return new z(4002,`'${i.segmentGroup}'`)}recognize(){let i=P1(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(i).pipe(de(({children:e,rootSnapshot:n})=>{let o=new wi(n,e),r=new bu("",o),a=Y1(n,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,r.url=this.urlSerializer.serialize(a),{state:r,tree:a}}))}match(i){let e=new qs([],Object.freeze({}),this.queryParams,this.urlTree.fragment,Object.freeze({}),ot,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,i,ot,e).pipe(de(n=>({children:n,rootSnapshot:e})),qn(n=>{if(n instanceof wu)return this.urlTree=n.urlTree,this.queryParams=Object.freeze(L({},this.urlTree.queryParams)),this.match(n.urlTree.root);throw n instanceof Cu?this.noMatchError(n):n}))}processSegmentGroup(i,e,n,o,r){return n.segments.length===0&&n.hasChildren()?this.processChildren(i,e,n,r):this.processSegment(i,e,n,n.segments,o,!0,r).pipe(de(a=>a instanceof wi?[a]:[]))}processChildren(i,e,n,o){let r=[];for(let a of Object.keys(n.children))a==="primary"?r.unshift(a):r.push(a);return rn(r).pipe(cr(a=>{let s=n.children[a],l=_U(e,a);return this.processSegment(i,l,s,s.segments,a,!0,o)}),jv((a,s)=>(s instanceof wi&&a.push(s),a),[]),va(null),Bv(),fn(a=>{if(a===null)return Ws(n);let s=ck(a);return iH(s),ie(s)}))}processSegment(i,e,n,o,r,a,s){return rn(e).pipe(cr(l=>this.processSegmentAgainstRoute(l._injector??i,e,l,n,o,r,a,s).pipe(qn(m=>{if(m instanceof Cu)return ie(null);throw m}))),Br(l=>!!l),qn(l=>{if(ak(l))return eH(n,o)?ie(new WC):Ws(n);throw l}))}processSegmentAgainstRoute(i,e,n,o,r,a,s,l){return Yo(n)!==a&&(a===ot||!Af(o,r,n)||!n.children?.length&&!n.loadChildren||r.length===0&&!o.hasChildren())?Ws(o):n.redirectTo===void 0?this.matchSegmentAgainstRoute(i,o,n,r,a,l):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(i,o,e,n,r,a,l):Ws(o)}expandSegmentAgainstRouteUsingRedirect(i,e,n,o,r,a,s){let{matched:l,parameters:m,consumedSegments:f,positionalParamSegments:v,remainingSegments:D}=lk(e,o,r);if(!l)return Ws(e);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>nH&&(this.allowRedirects=!1));let x=new qs(r,m,this.queryParams,this.urlTree.fragment,N1(o),Yo(o),o.component??o._loadedComponent??null,o,F1(o)),I=Mf(x,s,this.paramsInheritanceStrategy);return x.params=I.params,x.data=I.data,this.applyRedirects.applyRedirectCommands(f,o.redirectTo,v,x,i).pipe(vt(q=>this.applyRedirects.lineralizeSegments(o,q)),fn(q=>this.processSegment(i,n,e,q.concat(D),a,!1,s)))}matchSegmentAgainstRoute(i,e,n,o,r,a){let s=YU(e,n,o,i,this.urlSerializer);return n.path==="**"&&(e.children={}),s.pipe(vt(l=>l.matched?(i=n._injector??i,this.getChildConfig(i,n,o).pipe(vt(({routes:m})=>{let f=n._loadedInjector??i,{parameters:v,consumedSegments:D,remainingSegments:x}=l,I=new qs(D,v,this.queryParams,this.urlTree.fragment,N1(n),Yo(n),n.component??n._loadedComponent??null,n,F1(n)),N=Mf(I,a,this.paramsInheritanceStrategy);I.params=N.params,I.data=N.data;let{segmentGroup:q,slicedSegments:P}=P1(e,D,x,m),Ee=Yo(n)===r;return Ee&&P.length===0&&q.hasChildren()?this.processChildren(f,m,q,I).pipe(de(Ft=>new wi(I,Ft))):Ee&&m.length===0&&P.length===0?ie(new wi(I,[])):this.processSegment(f,m,q,P,Ee?ot:r,!0,I).pipe(vt(Ft=>!Ee&&!(Ft instanceof wi)?Ws(e):ie(new wi(I,Ft instanceof wi?[Ft]:[]))))}))):Ws(e)))}getChildConfig(i,e,n){return e.children?ie({routes:e.children,injector:i}):e.loadChildren?e._loadedRoutes!==void 0?ie({routes:e._loadedRoutes,injector:e._loadedInjector}):HU(i,e,n,this.urlSerializer).pipe(fn(o=>o?this.configLoader.loadChildren(i,e).pipe(Ht(r=>{e._loadedRoutes=r.routes,e._loadedInjector=r.injector})):$U(e))):ie({routes:[],injector:i})}};function iH(t){t.sort((i,e)=>i.value.outlet===ot?-1:e.value.outlet===ot?1:i.value.outlet.localeCompare(e.value.outlet))}function oH(t){let i=t.value.routeConfig;return i&&i.path===""}function ck(t){let i=[],e=new Set;for(let o of t){if(!oH(o)){i.push(o);continue}let r=i.find(a=>o.value.routeConfig===a.value.routeConfig);r!==void 0?(r.children.push(...o.children),e.add(r)):i.push(o)}for(let o of e){let r=ck(o.children);i.push(new wi(o.value,r))}let n=i.filter(o=>!e.has(o));return rH(n),n}function rH(t){let i=Object.create(null);t.forEach(e=>{let n=i[e.value.outlet];if(n){let o=n.url.map(a=>a.toString()).join("/"),r=e.value.url.map(a=>a.toString()).join("/");throw new z(4006,!1)}i[e.value.outlet]=e.value})}function N1(t){return t.data||{}}function F1(t){return t.resolve||{}}function aH(t,i,e,n,o,r){return fn(a=>tH(t,i,e,n,a.extractedUrl,o,r).pipe(de(({state:s,tree:l})=>Be(L({},a),{targetSnapshot:s,urlAfterRedirects:l}))))}function sH(t,i){return fn(e=>{let{targetSnapshot:n,guards:{canActivateChecks:o}}=e;if(!o.length)return ie(e);let r=new Set(o.map(l=>l.route)),a=new Set;for(let l of r)if(!a.has(l))for(let m of dk(l))a.add(m);let s=0;return rn(a).pipe(cr(l=>r.has(l)?lH(l,n,t,i):(l.data=Mf(l,l.parent,t).resolve,ie(void 0))),Ht(()=>s++),Ml(1),fn(l=>s===a.size?ie(e):Tn))})}function dk(t){let i=t.children.map(e=>dk(e)).flat();return[t,...i]}function lH(t,i,e,n){let o=t.routeConfig,r=t._resolve;return o?.title!==void 0&&!tk(o)&&(r[xu]=o.title),Hi(()=>(t.data=Mf(t,t.parent,e).resolve,cH(r,t,i,n).pipe(de(a=>(t._resolvedData=a,t.data=L(L({},t.data),a),null)))))}function cH(t,i,e,n){let o=PC(t);if(o.length===0)return ie({});let r={};return rn(o).pipe(fn(a=>dH(t[a],i,e,n).pipe(Br(),Ht(s=>{if(s instanceof pc)throw If(new Na,s);r[a]=s}))),Ml(1),de(()=>r),qn(a=>ak(a)?Tn:sr(a)))}function dH(t,i,e,n){let o=fc(i)??n,r=gc(t,o),a=r.resolve?r.resolve(i,e):Qn(o,()=>r(i,e));return ea(a)}function RC(t){return vt(i=>{let e=t(i);return e?rn(e).pipe(de(()=>i)):ie(i)})}var ZC=(()=>{class t{buildTitle(e){let n,o=e.root;for(;o!==void 0;)n=this.getResolvedTitleForRoute(o)??n,o=o.children.find(r=>r.outlet===ot);return n}getResolvedTitleForRoute(e){return e.data[xu]}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:()=>p(uk),providedIn:"root"})}return t})(),uk=(()=>{class t extends ZC{title;constructor(e){super(),this.title=e}updateTitle(e){let n=this.buildTitle(e);n!==void 0&&this.title.setTitle(n)}static \u0275fac=function(n){return new(n||t)(oe(T1))};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Va=new T("",{providedIn:"root",factory:()=>({})}),_c=new T(""),Rf=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=p(L0);loadComponent(e,n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return ie(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let o=ea(Qn(e,()=>n.loadComponent())).pipe(de(pk),vt(hk),Ht(a=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=a}),dr(()=>{this.componentLoaders.delete(n)})),r=new ga(o,()=>new j).pipe(Dl());return this.componentLoaders.set(n,r),r}loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return ie({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let r=mk(n,this.compiler,e,this.onLoadEndListener).pipe(dr(()=>{this.childrenLoaders.delete(n)})),a=new ga(r,()=>new j).pipe(Dl());return this.childrenLoaders.set(n,a),a}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function mk(t,i,e,n){return ea(Qn(e,()=>t.loadChildren())).pipe(de(pk),vt(hk),fn(o=>o instanceof Th||Array.isArray(o)?ie(o):rn(i.compileModuleAsync(o))),de(o=>{n&&n(t);let r,a,s=!1;return Array.isArray(o)?(a=o,s=!0):(r=o.create(e).injector,a=r.get(_c,[],{optional:!0,self:!0}).flat()),{routes:a.map(KC),injector:r}}))}function uH(t){return t&&typeof t=="object"&&"default"in t}function pk(t){return uH(t)?t.default:t}function hk(t){return ie(t)}var Of=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:()=>p(mH),providedIn:"root"})}return t})(),mH=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),XC=new T(""),JC=new T("");function fk(t,i,e){let n=t.get(JC),o=t.get(ce);if(!o.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(m=>setTimeout(m));let r,a=new Promise(m=>{r=m}),s=o.startViewTransition(()=>(r(),pH(t)));s.ready.catch(m=>{});let{onViewTransitionCreated:l}=n;return l&&Qn(t,()=>l({transition:s,from:i,to:e})),a}function pH(t){return new Promise(i=>{xt({read:()=>setTimeout(i)},{injector:t})})}var ew=new T(""),Pf=(()=>{class t{currentNavigation=Ie(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new j;transitionAbortWithErrorSubject=new j;configLoader=p(Rf);environmentInjector=p(Gt);destroyRef=p(Ln);urlSerializer=p(Qs);rootContexts=p(Ks);location=p(Er);inputBindingEnabled=p(Eu,{optional:!0})!==null;titleStrategy=p(ZC);options=p(Va,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(Of);createViewTransition=p(XC,{optional:!0});navigationErrorHandler=p(ew,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>ie(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=o=>this.events.next(new bf(o)),n=o=>this.events.next(new yf(o));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let n=++this.navigationId;_n(()=>{this.transitions?.next(Be(L({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:n}))})}setupNavigations(e){return this.transitions=new Qt(null),this.transitions.pipe(Ke(n=>n!==null),vt(n=>{let o=!1;return ie(n).pipe(vt(r=>{if(this.navigationId>n.id)return this.cancelNavigationTransition(n,"",xi.SupersededByNewNavigation),Tn;this.currentTransition=n,this.currentNavigation.set({id:r.id,initialUrl:r.rawUrl,extractedUrl:r.extractedUrl,targetBrowserUrl:typeof r.extras.browserUrl=="string"?this.urlSerializer.parse(r.extras.browserUrl):r.extras.browserUrl,trigger:r.source,extras:r.extras,previousNavigation:this.lastSuccessfulNavigation?Be(L({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>r.abortController.abort()});let a=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),s=r.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!a&&s!=="reload")return this.events.next(new kr(r.id,this.urlSerializer.serialize(r.rawUrl),"",cc.IgnoredSameUrlNavigation)),r.resolve(!1),Tn;if(this.urlHandlingStrategy.shouldProcessUrl(r.rawUrl))return ie(r).pipe(vt(l=>(this.events.next(new La(l.id,this.urlSerializer.serialize(l.extractedUrl),l.source,l.restoredState)),l.id!==this.navigationId?Tn:Promise.resolve(l))),aH(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),Ht(l=>{n.targetSnapshot=l.targetSnapshot,n.urlAfterRedirects=l.urlAfterRedirects,this.currentNavigation.update(f=>(f.finalUrl=l.urlAfterRedirects,f));let m=new gu(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(m)}));if(a&&this.urlHandlingStrategy.shouldProcessUrl(r.currentRawUrl)){let{id:l,extractedUrl:m,source:f,restoredState:v,extras:D}=r,x=new La(l,this.urlSerializer.serialize(m),f,v);this.events.next(x);let I=J1(this.rootComponentType).snapshot;return this.currentTransition=n=Be(L({},r),{targetSnapshot:I,urlAfterRedirects:m,extras:Be(L({},D),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(N=>(N.finalUrl=m,N)),ie(n)}else return this.events.next(new kr(r.id,this.urlSerializer.serialize(r.extractedUrl),"",cc.IgnoredByUrlHandlingStrategy)),r.resolve(!1),Tn}),Ht(r=>{let a=new ff(r.id,this.urlSerializer.serialize(r.extractedUrl),this.urlSerializer.serialize(r.urlAfterRedirects),r.targetSnapshot);this.events.next(a)}),de(r=>(this.currentTransition=n=Be(L({},r),{guards:DU(r.targetSnapshot,r.currentSnapshot,this.rootContexts)}),n)),NU(this.environmentInjector,r=>this.events.next(r)),Ht(r=>{if(n.guardsResult=r.guardsResult,r.guardsResult&&typeof r.guardsResult!="boolean")throw If(this.urlSerializer,r.guardsResult);let a=new gf(r.id,this.urlSerializer.serialize(r.extractedUrl),this.urlSerializer.serialize(r.urlAfterRedirects),r.targetSnapshot,!!r.guardsResult);this.events.next(a)}),Ke(r=>r.guardsResult?!0:(this.cancelNavigationTransition(r,"",xi.GuardRejected),!1)),RC(r=>{if(r.guards.canActivateChecks.length!==0)return ie(r).pipe(Ht(a=>{let s=new _f(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(s)}),vt(a=>{let s=!1;return ie(a).pipe(sH(this.paramsInheritanceStrategy,this.environmentInjector),Ht({next:()=>s=!0,complete:()=>{s||this.cancelNavigationTransition(a,"",xi.NoDataFromResolver)}}))}),Ht(a=>{let s=new vf(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(s)}))}),RC(r=>{let a=s=>{let l=[];if(s.routeConfig?.loadComponent){let m=fc(s)??this.environmentInjector;l.push(this.configLoader.loadComponent(m,s.routeConfig).pipe(Ht(f=>{s.component=f}),de(()=>{})))}for(let m of s.children)l.push(...a(m));return l};return Ui(a(r.targetSnapshot.root)).pipe(va(null),Pt(1))}),RC(()=>this.afterPreactivation()),vt(()=>{let{currentSnapshot:r,targetSnapshot:a}=n,s=this.createViewTransition?.(this.environmentInjector,r.root,a.root);return s?rn(s).pipe(de(()=>n)):ie(n)}),de(r=>{let a=bU(e.routeReuseStrategy,r.targetSnapshot,r.currentRouterState);return this.currentTransition=n=Be(L({},r),{targetRouterState:a}),this.currentNavigation.update(s=>(s.targetRouterState=a,s)),n}),Ht(()=>{this.events.next(new _u)}),xU(this.rootContexts,e.routeReuseStrategy,r=>this.events.next(r),this.inputBindingEnabled),Pt(1),ke(new Ae(r=>{let a=n.abortController.signal,s=()=>r.next();return a.addEventListener("abort",s),()=>a.removeEventListener("abort",s)}).pipe(Ke(()=>!o&&!n.targetRouterState),Ht(()=>{this.cancelNavigationTransition(n,n.abortController.signal.reason+"",xi.Aborted)}))),Ht({next:r=>{o=!0,this.lastSuccessfulNavigation=_n(this.currentNavigation),this.events.next(new fo(r.id,this.urlSerializer.serialize(r.extractedUrl),this.urlSerializer.serialize(r.urlAfterRedirects))),this.titleStrategy?.updateTitle(r.targetRouterState.snapshot),r.resolve(!0)},complete:()=>{o=!0}}),ke(this.transitionAbortWithErrorSubject.pipe(Ht(r=>{throw r}))),dr(()=>{o||this.cancelNavigationTransition(n,"",xi.SupersededByNewNavigation),this.currentTransition?.id===n.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),qn(r=>{if(this.destroyed)return n.resolve(!1),Tn;if(o=!0,rk(r))this.events.next(new Ir(n.id,this.urlSerializer.serialize(n.extractedUrl),r.message,r.cancellationCode)),wU(r)?this.events.next(new mc(r.url,r.navigationBehaviorOptions)):n.resolve(!1);else{let a=new dc(n.id,this.urlSerializer.serialize(n.extractedUrl),r,n.targetSnapshot??void 0);try{let s=Qn(this.environmentInjector,()=>this.navigationErrorHandler?.(a));if(s instanceof pc){let{message:l,cancellationCode:m}=If(this.urlSerializer,s);this.events.next(new Ir(n.id,this.urlSerializer.serialize(n.extractedUrl),l,m)),this.events.next(new mc(s.redirectTo,s.navigationBehaviorOptions))}else throw this.events.next(a),r}catch(s){this.options.resolveNavigationPromiseOnError?n.resolve(!1):n.reject(s)}}return Tn}))}))}cancelNavigationTransition(e,n,o){let r=new Ir(e.id,this.urlSerializer.serialize(e.extractedUrl),n,o);this.events.next(r),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),n=_n(this.currentNavigation),o=n?.targetBrowserUrl??n?.extractedUrl;return e.toString()!==o?.toString()&&!n?.extras.skipLocationChange}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function hH(t){return t!==sc}var gk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:()=>p(fH),providedIn:"root"})}return t})(),kf=class{shouldDetach(i){return!1}store(i,e){}shouldAttach(i){return!1}retrieve(i){return null}shouldReuseRoute(i,e){return i.routeConfig===e.routeConfig}},fH=(()=>{class t extends kf{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ct(t)))(o||t)}})();static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),_k=(()=>{class t{urlSerializer=p(Qs);options=p(Va,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=p(Er);urlHandlingStrategy=p(Of);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Tr;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:n,targetBrowserUrl:o}){let r=e!==void 0?this.urlHandlingStrategy.merge(e,n):n,a=o??r;return a instanceof Tr?this.urlSerializer.serialize(a):a}commitTransition({targetRouterState:e,finalUrl:n,initialUrl:o}){n&&e?(this.currentUrlTree=n,this.rawUrlTree=this.urlHandlingStrategy.merge(n,o),this.routerState=e):this.rawUrlTree=o}routerState=J1(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:()=>p(gH),providedIn:"root"})}return t})(),gH=(()=>{class t extends _k{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(n=>{n.type==="popstate"&&setTimeout(()=>{e(n.url,n.state,"popstate")})})}handleRouterEvent(e,n){e instanceof La?this.updateStateMemento():e instanceof kr?this.commitTransition(n):e instanceof gu?this.urlUpdateStrategy==="eager"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof _u?(this.commitTransition(n),this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof Ir&&e.code!==xi.SupersededByNewNavigation&&e.code!==xi.Redirect?this.restoreHistory(n):e instanceof dc?this.restoreHistory(n,!0):e instanceof fo&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:n,id:o}){let{replaceUrl:r,state:a}=n;if(this.location.isCurrentPathEqualTo(e)||r){let s=this.browserPageId,l=L(L({},a),this.generateNgRouterState(o,s));this.location.replaceState(e,"",l)}else{let s=L(L({},a),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(e,"",s)}}restoreHistory(e,n=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,r=this.currentPageId-o;r!==0?this.location.historyGo(r):this.getCurrentUrlTree()===e.finalUrl&&r===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,n){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:n}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ct(t)))(o||t)}})();static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Nf(t,i){t.events.pipe(Ke(e=>e instanceof fo||e instanceof Ir||e instanceof dc||e instanceof kr),de(e=>e instanceof fo||e instanceof kr?0:(e instanceof Ir?e.code===xi.Redirect||e.code===xi.SupersededByNewNavigation:!1)?2:1),Ke(e=>e!==2),Pt(1)).subscribe(()=>{i()})}var _H={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},vH={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Qo=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p(kh);stateManager=p(_k);options=p(Va,{optional:!0})||{};pendingTasks=p(_r);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p(Pf);urlSerializer=p(Qs);location=p(Er);urlHandlingStrategy=p(Of);injector=p(Gt);_events=new j;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=p(gk);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=p(_c,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!p(Eu,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new _e;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(n=>{try{let o=this.navigationTransitions.currentTransition,r=_n(this.navigationTransitions.currentNavigation);if(o!==null&&r!==null){if(this.stateManager.handleRouterEvent(n,r),n instanceof Ir&&n.code!==xi.Redirect&&n.code!==xi.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof fo)this.navigated=!0;else if(n instanceof mc){let a=n.navigationBehaviorOptions,s=this.urlHandlingStrategy.merge(n.url,o.currentRawUrl),l=L({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||hH(o.source)},a);this.scheduleNavigation(s,sc,null,l,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}fU(n)&&this._events.next(n)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),sc,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,n,o)=>{this.navigateToSyncWithBrowser(e,o,n)})}navigateToSyncWithBrowser(e,n,o){let r={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let l=L({},o);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(r.state=l)}let s=this.parseUrl(e);this.scheduleNavigation(s,n,a,r).catch(l=>{this.disposed||this.injector.get(yi)(l)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return _n(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(KC),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,n={}){let{relativeTo:o,queryParams:r,fragment:a,queryParamsHandling:s,preserveFragment:l}=n,m=l?this.currentUrlTree.fragment:a,f=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":f=L(L({},this.currentUrlTree.queryParams),r);break;case"preserve":f=this.currentUrlTree.queryParams;break;default:f=r||null}f!==null&&(f=this.removeEmptyProps(f));let v;try{let D=o?o.snapshot:this.routerState.snapshot.root;v=Q1(D)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),v=this.currentUrlTree.root}return K1(v,e,f,m??null)}navigateByUrl(e,n={skipLocationChange:!1}){let o=Fa(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(r,sc,null,n)}navigate(e,n={skipLocationChange:!1}){return bH(e),this.navigateByUrl(this.createUrlTree(e,n),n)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.console.warn(uo(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,n){let o;if(n===!0?o=L({},_H):n===!1?o=L({},vH):o=n,Fa(e))return k1(this.currentUrlTree,e,o);let r=this.parseUrl(e);return k1(this.currentUrlTree,r,o)}removeEmptyProps(e){return Object.entries(e).reduce((n,[o,r])=>(r!=null&&(n[o]=r),n),{})}scheduleNavigation(e,n,o,r,a){if(this.disposed)return Promise.resolve(!1);let s,l,m;a?(s=a.resolve,l=a.reject,m=a.promise):m=new Promise((v,D)=>{s=v,l=D});let f=this.pendingTasks.add();return Nf(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(f))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:r,resolve:s,reject:l,promise:m,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),m.catch(v=>Promise.reject(v))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function bH(t){for(let i=0;i{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=Ie(null);get href(){return _n(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new j;applicationErrorHandler=p(yi);options=p(Va,{optional:!0});constructor(e,n,o,r,a,s){this.router=e,this.route=n,this.tabIndexAttribute=o,this.renderer=r,this.el=a,this.locationStrategy=s,this.reactiveHref.set(p(new Vn("href"),{optional:!0}));let l=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area"||!!(typeof customElements=="object"&&customElements.get(l)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(this.subscription!==void 0||!this.isAnchorElement)return;let e=this.preserveFragment,n=o=>o==="merge"||o==="preserve";e||=n(this.queryParamsHandling),e||=!this.queryParamsHandling&&!n(this.options?.defaultQueryParamsHandling),e&&(this.subscription=this.router.events.subscribe(o=>{o instanceof fo&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Fa(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,n,o,r,a){let s=this.urlTree;if(s===null||this.isAnchorElement&&(e!==0||n||o||r||a||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(s,l)?.catch(m=>{this.applicationErrorHandler(m)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.reactiveHref.set(e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null)}applyAttributeValue(e,n){let o=this.renderer,r=this.el.nativeElement;n!==null?o.setAttribute(r,e,n):o.removeAttribute(r,e)}get urlTree(){return this.routerLinkInput===null?null:Fa(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(n){return new(n||t)(w(Qo),w(Oe),Ld("tabindex"),w(St),w(K),w(qo))};static \u0275dir=B({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(n,o){n&1&&b("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),n&2&&ee("href",o.reactiveHref(),Jy)("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",$],skipLocationChange:[2,"skipLocationChange","skipLocationChange",$],replaceUrl:[2,"replaceUrl","replaceUrl",$],routerLink:"routerLink"},features:[Ge]})}return t})();var Mu=class{};var vk=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,n,o,r){this.router=e,this.injector=n,this.preloadingStrategy=o,this.loader=r}setUpPreloading(){this.subscription=this.router.events.pipe(Ke(e=>e instanceof fo),cr(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,n){let o=[];for(let r of n){r.providers&&!r._injector&&(r._injector=Ql(r.providers,e,`Route: ${r.path}`));let a=r._injector??e,s=r._loadedInjector??a;(r.loadChildren&&!r._loadedRoutes&&r.canLoad===void 0||r.loadComponent&&!r._loadedComponent)&&o.push(this.preloadConfig(a,r)),(r.children||r._loadedRoutes)&&o.push(this.processRoutes(s,r.children??r._loadedRoutes))}return rn(o).pipe(_a())}preloadConfig(e,n){return this.preloadingStrategy.preload(n,()=>{let o;n.loadChildren&&n.canLoad===void 0?o=this.loader.loadChildren(e,n):o=ie(null);let r=o.pipe(fn(a=>a===null?ie(void 0):(n._loadedRoutes=a.routes,n._loadedInjector=a.injector,this.processRoutes(a.injector??e,a.routes))));if(n.loadComponent&&!n._loadedComponent){let a=this.loader.loadComponent(e,n);return rn([r,a]).pipe(_a())}else return r})}static \u0275fac=function(n){return new(n||t)(oe(Qo),oe(Gt),oe(Mu),oe(Rf))};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),bk=new T(""),yH=(()=>{class t{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=sc;restoredId=0;store={};constructor(e,n,o,r,a={}){this.urlSerializer=e,this.transitions=n,this.viewportScroller=o,this.zone=r,this.options=a,a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof La?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof fo?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof kr&&e.code===cc.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof uc))return;let n={behavior:"instant"};e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],n):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position,n):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,n){this.zone.runOutsideAngular(()=>V(this,null,function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new uc(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,n))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(n){Vs()};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})();function CH(t){return t.routerState.root}function Iu(t,i){return{\u0275kind:t,\u0275providers:i}}function wH(){let t=p(re);return i=>{let e=t.get(Kn);if(i!==e.components[0])return;let n=t.get(Qo),o=t.get(yk);t.get(nw)===1&&n.initialNavigation(),t.get(xk,null,{optional:!0})?.setUpPreloading(),t.get(bk,null,{optional:!0})?.init(),n.resetRootComponentType(e.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var yk=new T("",{factory:()=>new j}),nw=new T("",{providedIn:"root",factory:()=>1});function Ck(){let t=[{provide:fh,useValue:!0},{provide:nw,useValue:0},Oh(()=>{let i=p(re);return i.get(nC,Promise.resolve()).then(()=>new Promise(n=>{let o=i.get(Qo),r=i.get(yk);Nf(o,()=>{n(!0)}),i.get(Pf).afterPreactivation=()=>(n(!0),r.closed?ie(void 0):r),o.initialNavigation()}))})];return Iu(2,t)}function wk(){let t=[Oh(()=>{p(Qo).setUpLocationChangeListener()}),{provide:nw,useValue:2}];return Iu(3,t)}var xk=new T("");function Dk(t){return Iu(0,[{provide:xk,useExisting:vk},{provide:Mu,useExisting:t}])}function Ek(){return Iu(8,[YC,{provide:Eu,useExisting:YC}])}function Sk(t){Ho("NgRouterViewTransitions");let i=[{provide:XC,useValue:fk},{provide:JC,useValue:L({skipNextTransition:!!t?.skipInitialTransition},t)}];return Iu(9,i)}var Mk=[Er,{provide:Qs,useClass:Na},Qo,Ks,{provide:Oe,useFactory:CH,deps:[Qo]},Rf,[]],Ff=(()=>{class t{constructor(){}static forRoot(e,n){return{ngModule:t,providers:[Mk,[],{provide:_c,multi:!0,useValue:e},[],n?.errorHandler?{provide:ew,useValue:n.errorHandler}:[],{provide:Va,useValue:n||{}},n?.useHash?DH():EH(),xH(),n?.preloadingStrategy?Dk(n.preloadingStrategy).\u0275providers:[],n?.initialNavigation?SH(n):[],n?.bindToComponentInputs?Ek().\u0275providers:[],n?.enableViewTransitions?Sk().\u0275providers:[],MH()]}}static forChild(e){return{ngModule:t,providers:[{provide:_c,multi:!0,useValue:e}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();function xH(){return{provide:bk,useFactory:()=>{let t=p(a1),i=p(te),e=p(Va),n=p(Pf),o=p(Qs);return e.scrollOffset&&t.setOffset(e.scrollOffset),new yH(o,n,t,i,e)}}}function DH(){return{provide:qo,useClass:aC}}function EH(){return{provide:qo,useClass:$h}}function SH(t){return[t.initialNavigation==="disabled"?wk().\u0275providers:[],t.initialNavigation==="enabledBlocking"?Ck().\u0275providers:[]]}var tw=new T("");function MH(){return[{provide:tw,useFactory:wH},{provide:Ph,multi:!0,useExisting:tw}]}var Lf=class{constructor(i){this.user=i.user,this.role=i.role,this.admin=i.admin}get isStaff(){return this.role==="staff"||this.role==="admin"}get isAdmin(){return this.role==="admin"}get isLogged(){return this.user!=null}};var Tu=class{_attachedHost;attach(i){return this._attachedHost=i,i.attach(this)}detach(){let i=this._attachedHost;i!=null&&(this._attachedHost=null,i.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(i){this._attachedHost=i}},Ni=class extends Tu{component;viewContainerRef;injector;projectableNodes;constructor(i,e,n,o){super(),this.component=i,this.viewContainerRef=e,this.injector=n,this.projectableNodes=o}},jn=class extends Tu{templateRef;viewContainerRef;context;injector;constructor(i,e,n,o){super(),this.templateRef=i,this.viewContainerRef=e,this.context=n,this.injector=o}get origin(){return this.templateRef.elementRef}attach(i,e=this.context){return this.context=e,super.attach(i)}detach(){return this.context=void 0,super.detach()}},iw=class extends Tu{element;constructor(i){super(),this.element=i instanceof K?i.nativeElement:i}},Ba=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(i){if(i instanceof Ni)return this._attachedPortal=i,this.attachComponentPortal(i);if(i instanceof jn)return this._attachedPortal=i,this.attachTemplatePortal(i);if(this.attachDomPortal&&i instanceof iw)return this._attachedPortal=i,this.attachDomPortal(i)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(i){this._disposeFn=i}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},vc=class extends Ba{outletElement;_appRef;_defaultInjector;constructor(i,e,n){super(),this.outletElement=i,this._appRef=e,this._defaultInjector=n}attachComponentPortal(i){let e;if(i.viewContainerRef){let n=i.injector||i.viewContainerRef.injector,o=n.get(br,null,{optional:!0})||void 0;e=i.viewContainerRef.createComponent(i.component,{index:i.viewContainerRef.length,injector:n,ngModuleRef:o,projectableNodes:i.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else{let n=this._appRef,o=i.injector||this._defaultInjector||re.NULL,r=o.get(Gt,n.injector);e=Hh(i.component,{elementInjector:o,environmentInjector:r,projectableNodes:i.projectableNodes||void 0}),n.attachView(e.hostView),this.setDisposeFn(()=>{n.viewCount>0&&n.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=i,e}attachTemplatePortal(i){let e=i.viewContainerRef,n=e.createEmbeddedView(i.templateRef,i.context,{injector:i.injector});return n.rootNodes.forEach(o=>this.outletElement.appendChild(o)),n.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(n);o!==-1&&e.remove(o)}),this._attachedPortal=i,n}attachDomPortal=i=>{let e=i.element;e.parentNode;let n=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),this._attachedPortal=i,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(i){return i.hostView.rootNodes[0]}},Ik=(()=>{class t extends jn{constructor(){let e=p(bt),n=p(Mt);super(e,n)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[ye]})}return t})();var Di=(()=>{class t extends Ba{_moduleRef=p(br,{optional:!0});_document=p(ce);_viewContainerRef=p(Mt);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new k;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let n=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,o=n.createComponent(e.component,{index:n.length,injector:e.injector||n.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return n!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(e){e.setAttachedHost(this);let n=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=n,this.attached.emit(n),n}attachDomPortal=e=>{let n=e.element;n.parentNode;let o=this._document.createComment("dom-portal");e.setAttachedHost(this),n.parentNode.insertBefore(o,n),this._getRootNode().appendChild(n),this._attachedPortal=e,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(n,o)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[ye]})}return t})();var eo=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();function Zs(t){return t.buttons===0||t.detail===0}function Xs(t){let i=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!i&&i.identifier===-1&&(i.radiusX==null||i.radiusX===1)&&(i.radiusY==null||i.radiusY===1)}var ow;function Tk(){if(ow==null){let t=typeof document<"u"?document.head:null;ow=!!(t&&(t.createShadowRoot||t.attachShadow))}return ow}function rw(t){if(Tk()){let i=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&i instanceof ShadowRoot)return i}return null}function go(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let i=t.shadowRoot.activeElement;if(i===t)break;t=i}return t}function ii(t){return t.composedPath?t.composedPath()[0]:t.target}var aw;try{aw=typeof Intl<"u"&&Intl.v8BreakIterator}catch{aw=!1}var nt=(()=>{class t{_platformId=p(Ls);isBrowser=this._platformId?r1(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||aw)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ku;function kk(){if(ku==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ku=!0}))}finally{ku=ku||!1}return ku}function ja(t){return kk()?t:!!t.capture}function Ko(t,i=0){return Vf(t)?Number(t):arguments.length===2?i:0}function Vf(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Ei(t){return t instanceof K?t.nativeElement:t}var Ak=new T("cdk-input-modality-detector-options"),Rk={ignoreKeys:[18,17,224,91,16]},Ok=650,sw={passive:!0,capture:!0},Pk=(()=>{class t{_platform=p(nt);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new Qt(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(n=>n===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=ii(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs{if(Xs(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=ii(e)};constructor(){let e=p(te),n=p(ce),o=p(Ak,{optional:!0});if(this._options=L(L({},Rk),o),this.modalityDetected=this._modality.pipe(fs(1)),this.modalityChanged=this.modalityDetected.pipe(up()),this._platform.isBrowser){let r=p(Cn).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[r.listen(n,"keydown",this._onKeydown,sw),r.listen(n,"mousedown",this._onMousedown,sw),r.listen(n,"touchstart",this._onTouchstart,sw)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Au=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})(Au||{}),Nk=new T("cdk-focus-monitor-default-options"),Bf=ja({passive:!0,capture:!0}),An=(()=>{class t{_ngZone=p(te);_platform=p(nt);_inputModalityDetector=p(Pk);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=p(ce);_stopInputModalityDetector=new j;constructor(){let e=p(Nk,{optional:!0});this._detectionMode=e?.detectionMode||Au.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let n=ii(e);for(let o=n;o;o=o.parentElement)e.type==="focus"?this._onFocus(e,o):this._onBlur(e,o)};monitor(e,n=!1){let o=Ei(e);if(!this._platform.isBrowser||o.nodeType!==1)return ie();let r=rw(o)||this._document,a=this._elementInfo.get(o);if(a)return n&&(a.checkChildren=!0),a.subject;let s={checkChildren:n,subject:new j,rootNode:r};return this._elementInfo.set(o,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let n=Ei(e),o=this._elementInfo.get(n);o&&(o.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(o))}focusVia(e,n,o){let r=Ei(e),a=this._document.activeElement;r===a?this._getClosestElementsInfo(r).forEach(([s,l])=>this._originChanged(s,n,l)):(this._setOrigin(n),typeof r.focus=="function"&&r.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,n)=>this.stopMonitoring(n))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Au.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,n){e.classList.toggle("cdk-focused",!!n),e.classList.toggle("cdk-touch-focused",n==="touch"),e.classList.toggle("cdk-keyboard-focused",n==="keyboard"),e.classList.toggle("cdk-mouse-focused",n==="mouse"),e.classList.toggle("cdk-program-focused",n==="program")}_setOrigin(e,n=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&n,this._detectionMode===Au.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Ok:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(e,n){let o=this._elementInfo.get(n),r=ii(e);!o||!o.checkChildren&&n!==r||this._originChanged(n,this._getFocusOrigin(r),o)}_onBlur(e,n){let o=this._elementInfo.get(n);!o||o.checkChildren&&e.relatedTarget instanceof Node&&n.contains(e.relatedTarget)||(this._setClasses(n),this._emitOrigin(o,null))}_emitOrigin(e,n){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(n))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let n=e.rootNode,o=this._rootNodeFocusListenerCount.get(n)||0;o||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,Bf),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,Bf)}),this._rootNodeFocusListenerCount.set(n,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ke(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){let n=e.rootNode;if(this._rootNodeFocusListenerCount.has(n)){let o=this._rootNodeFocusListenerCount.get(n);o>1?this._rootNodeFocusListenerCount.set(n,o-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Bf),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Bf),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,n,o){this._setClasses(e,n),this._emitOrigin(o,n),this._lastFocusOrigin=n}_getClosestElementsInfo(e){let n=[];return this._elementInfo.forEach((o,r)=>{(r===e||o.checkChildren&&r.contains(e))&&n.push([r,o])}),n}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:n,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!n||n===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let r=e.labels;if(r){for(let a=0;a{class t{_elementRef=p(K);_focusMonitor=p(An);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new k;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(n=>{this._focusOrigin=n,this.cdkFocusChange.emit(n)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();var jf=new WeakMap,Dt=(()=>{class t{_appRef;_injector=p(re);_environmentInjector=p(Gt);load(e){let n=this._appRef=this._appRef||this._injector.get(Kn),o=jf.get(n);o||(o={loaders:new Set,refs:[]},jf.set(n,o),n.onDestroy(()=>{jf.get(n)?.refs.forEach(r=>r.destroy()),jf.delete(n)})),o.loaders.has(e)||(o.loaders.add(e),o.refs.push(Hh(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var _o=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(n,o){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0} +`],encapsulation:2,changeDetection:0})}return t})();function ta(t){return Array.isArray(t)?t:[t]}var Fk=new Set,Js,zf=(()=>{class t{_platform=p(nt);_nonce=p(ql,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):TH}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&IH(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function IH(t,i){if(!Fk.has(t))try{Js||(Js=document.createElement("style"),i&&Js.setAttribute("nonce",i),Js.setAttribute("type","text/css"),document.head.appendChild(Js)),Js.sheet&&(Js.sheet.insertRule(`@media ${t} {body{ }}`,0),Fk.add(t))}catch(e){console.error(e)}}function TH(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var el=(()=>{class t{_mediaMatcher=p(zf);_zone=p(te);_queries=new Map;_destroySubject=new j;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Lk(ta(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let o=Lk(ta(e)).map(a=>this._registerQuery(a).observable),r=Ui(o);return r=lr(r.pipe(Pt(1)),r.pipe(fs(1),Vr(0))),r.pipe(de(a=>{let s={matches:!1,breakpoints:{}};return a.forEach(({matches:l,query:m})=>{s.matches=s.matches||l,s.breakpoints[m]=l}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let n=this._mediaMatcher.matchMedia(e),r={observable:new Ae(a=>{let s=l=>this._zone.run(()=>a.next(l));return n.addListener(s),()=>{n.removeListener(s)}}).pipe(Et(n),de(({matches:a})=>({query:e,matches:a})),ke(this._destroySubject)),mql:n};return this._queries.set(e,r),r}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Lk(t){return t.map(i=>i.split(",")).reduce((i,e)=>i.concat(e)).map(i=>i.trim())}function kH(t){if(t.type==="characterData"&&t.target instanceof Comment)return!0;if(t.type==="childList"){for(let i=0;i{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Bk=(()=>{class t{_mutationObserverFactory=p(Vk);_observedElements=new Map;_ngZone=p(te);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,n)=>this._cleanupObserver(n))}observe(e){let n=Ei(e);return new Ae(o=>{let a=this._observeElement(n).pipe(de(s=>s.filter(l=>!kH(l))),Ke(s=>!!s.length)).subscribe(s=>{this._ngZone.run(()=>{o.next(s)})});return()=>{a.unsubscribe(),this._unobserveElement(n)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let n=new j,o=this._mutationObserverFactory.create(r=>n.next(r));o&&o.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:o,stream:n,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:n,stream:o}=this._observedElements.get(e);n&&n.disconnect(),o.complete(),this._observedElements.delete(e)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),jk=(()=>{class t{_contentObserver=p(Bk);_elementRef=p(K);event=new k;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(e){this._debounce=Ko(e),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(Vr(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",$],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return t})(),Uf=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[Vk]})}return t})();var dw=(()=>{class t{_platform=p(nt);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return RH(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let n=AH(jH(e));if(n&&(zk(n)===-1||!this.isVisible(n)))return!1;let o=e.nodeName.toLowerCase(),r=zk(e);return e.hasAttribute("contenteditable")?r!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!VH(e)?!1:o==="audio"?e.hasAttribute("controls")?r!==-1:!1:o==="video"?r===-1?!1:r!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,n){return BH(e)&&!this.isDisabled(e)&&(n?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function AH(t){try{return t.frameElement}catch{return null}}function RH(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function OH(t){let i=t.nodeName.toLowerCase();return i==="input"||i==="select"||i==="button"||i==="textarea"}function PH(t){return FH(t)&&t.type=="hidden"}function NH(t){return LH(t)&&t.hasAttribute("href")}function FH(t){return t.nodeName.toLowerCase()=="input"}function LH(t){return t.nodeName.toLowerCase()=="a"}function Gk(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let i=t.getAttribute("tabindex");return!!(i&&!isNaN(parseInt(i,10)))}function zk(t){if(!Gk(t))return null;let i=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}function VH(t){let i=t.nodeName.toLowerCase(),e=i==="input"&&t.type;return e==="text"||e==="password"||i==="select"||i==="textarea"}function BH(t){return PH(t)?!1:OH(t)||NH(t)||t.hasAttribute("contenteditable")||Gk(t)}function jH(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var cw=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(i){this._enabled=i,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_enabled=!0;constructor(i,e,n,o,r=!1,a){this._element=i,this._checker=e,this._ngZone=n,this._document=o,this._injector=a,r||this.attachAnchors()}destroy(){let i=this._startAnchor,e=this._endAnchor;i&&(i.removeEventListener("focus",this.startAnchorListener),i.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(i)))})}focusFirstTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(i)))})}focusLastTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(i)))})}_getRegionBoundary(i){let e=this._element.querySelectorAll(`[cdk-focus-region-${i}], [cdkFocusRegion${i}], [cdk-focus-${i}]`);return i=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(i){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let n=this._getFirstTabbableElement(e);return n?.focus(i),!!n}return e.focus(i),!0}return this.focusFirstTabbableElement(i)}focusFirstTabbableElement(i){let e=this._getRegionBoundary("start");return e&&e.focus(i),!!e}focusLastTabbableElement(i){let e=this._getRegionBoundary("end");return e&&e.focus(i),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(i){if(this._checker.isFocusable(i)&&this._checker.isTabbable(i))return i;let e=i.children;for(let n=0;n=0;n--){let o=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(o)return o}return null}_createAnchor(){let i=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,i),i.classList.add("cdk-visually-hidden"),i.classList.add("cdk-focus-trap-anchor"),i.setAttribute("aria-hidden","true"),i}_toggleAnchorTabIndex(i,e){i?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(i){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_executeOnStable(i){this._injector?xt(i,{injector:this._injector}):setTimeout(i)}},Hf=(()=>{class t{_checker=p(dw);_ngZone=p(te);_document=p(ce);_injector=p(re);constructor(){p(Dt).load(_o)}create(e,n=!1){return new cw(e,this._checker,this._ngZone,this._document,n,this._injector)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),uw=(()=>{class t{_elementRef=p(K);_focusTrapFactory=p(Hf);focusTrap;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}autoCapture;constructor(){p(nt).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(e){let n=e.autoCapture;n&&!n.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=go(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",$],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",$]},exportAs:["cdkTrapFocus"],features:[Ge]})}return t})(),Wk=new T("liveAnnouncerElement",{providedIn:"root",factory:$k});function $k(){return null}var qk=new T("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),zH=0,Ou=(()=>{class t{_ngZone=p(te);_defaultOptions=p(qk,{optional:!0});_liveElement;_document=p(ce);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=p(Wk,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...n){let o=this._defaultOptions,r,a;return n.length===1&&typeof n[0]=="number"?a=n[0]:[r,a]=n,this.clear(),clearTimeout(this._previousTimeout),r||(r=o&&o.politeness?o.politeness:"polite"),a==null&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",r),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",n=this._document.getElementsByClassName(e),o=this._document.createElement("div");for(let r=0;r .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{class t{_platform=p(nt);_hasCheckedHighContrastMode;_document=p(ce);_breakpointSubscription;constructor(){this._breakpointSubscription=p(el).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return za.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let n=this._document.defaultView||window,o=n&&n.getComputedStyle?n.getComputedStyle(e):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return za.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return za.BLACK_ON_WHITE}return za.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(lw,Uk,Hk),this._hasCheckedHighContrastMode=!0;let n=this.getHighContrastMode();n===za.BLACK_ON_WHITE?e.add(lw,Uk):n===za.WHITE_ON_BLACK&&e.add(lw,Hk)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),tl=(()=>{class t{constructor(){p(Gf)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[Uf]})}return t})();function kt(t,...i){return i.length?i.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}function mw(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Mn(t){return t==null?"":typeof t=="string"?t:`${t}px`}var UH=new T("cdk-dir-doc",{providedIn:"root",factory:HH});function HH(){return p(ce)}var GH=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function Yk(t){let i=t?.toLowerCase()||"";return i==="auto"&&typeof navigator<"u"&&navigator?.language?GH.test(navigator.language)?"rtl":"ltr":i==="rtl"?"rtl":"ltr"}var Bt=(()=>{class t{get value(){return this.valueSignal()}valueSignal=Ie("ltr");change=new k;constructor(){let e=p(UH,{optional:!0});if(e){let n=e.body?e.body.dir:null,o=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(Yk(n||o||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Zo=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(Zo||{}),Wf,nl;function $f(){if(nl==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return nl=!1,nl;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)nl=!0;else{let t=Element.prototype.scrollTo;t?nl=!/\{\s*\[native code\]\s*\}/.test(t.toString()):nl=!1}}return nl}function bc(){if(typeof document!="object"||!document)return Zo.NORMAL;if(Wf==null){let t=document.createElement("div"),i=t.style;t.dir="rtl",i.width="1px",i.overflow="auto",i.visibility="hidden",i.pointerEvents="none",i.position="absolute";let e=document.createElement("div"),n=e.style;n.width="2px",n.height="1px",t.appendChild(e),document.body.appendChild(t),Wf=Zo.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,Wf=t.scrollLeft===0?Zo.NEGATED:Zo.INVERTED),t.remove()}return Wf}var Ua=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();var Pu=class{};function Nu(t){return t&&typeof t.connect=="function"&&!(t instanceof ga)}var Ha=(function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t})(Ha||{}),yc=new T("_ViewRepeater");var WH=20,Ga=(()=>{class t{_ngZone=p(te);_platform=p(nt);_renderer=p(Cn).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new j;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let n=this.scrollContainers.get(e);n&&(n.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=WH){return this._platform.isBrowser?new Ae(n=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let o=e>0?this._scrolled.pipe(dp(e)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):ie()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(e,n){let o=this.getAncestorScrollContainers(e);return this.scrolled(n).pipe(Ke(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(e){let n=[];return this.scrollContainers.forEach((o,r)=>{this._scrollableContainsElement(r,e)&&n.push(r)}),n}_scrollableContainsElement(e,n){let o=Ei(n),r=e.getElementRef().nativeElement;do if(o==r)return!0;while(o=o.parentElement);return!1}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Fu=(()=>{class t{elementRef=p(K);scrollDispatcher=p(Ga);ngZone=p(te);dir=p(Bt,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new j;_renderer=p(St);_cleanupScroll;_elementScrolled=new j;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let n=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=o?e.end:e.start),e.right==null&&(e.right=o?e.start:e.end),e.bottom!=null&&(e.top=n.scrollHeight-n.clientHeight-e.bottom),o&&bc()!=Zo.NORMAL?(e.left!=null&&(e.right=n.scrollWidth-n.clientWidth-e.left),bc()==Zo.INVERTED?e.left=e.right:bc()==Zo.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=n.scrollWidth-n.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let n=this.elementRef.nativeElement;$f()?n.scrollTo(e):(e.top!=null&&(n.scrollTop=e.top),e.left!=null&&(n.scrollLeft=e.left))}measureScrollOffset(e){let n="left",o="right",r=this.elementRef.nativeElement;if(e=="top")return r.scrollTop;if(e=="bottom")return r.scrollHeight-r.clientHeight-r.scrollTop;let a=this.dir&&this.dir.value=="rtl";return e=="start"?e=a?o:n:e=="end"&&(e=a?n:o),a&&bc()==Zo.INVERTED?e==n?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:a&&bc()==Zo.NEGATED?e==n?r.scrollLeft+r.scrollWidth-r.clientWidth:-r.scrollLeft:e==n?r.scrollLeft:r.scrollWidth-r.clientWidth-r.scrollLeft}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return t})(),$H=20,oi=(()=>{class t{_platform=p(nt);_listeners;_viewportSize;_change=new j;_document=p(ce);constructor(){let e=p(te),n=p(Cn).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let o=r=>this._change.next(r);this._listeners=[n.listen("window","resize",o),n.listen("window","orientationchange",o)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:n,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+n,height:o,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,n=this._getWindow(),o=e.documentElement,r=o.getBoundingClientRect(),a=-r.top||e.body.scrollTop||n.scrollY||o.scrollTop||0,s=-r.left||e.body.scrollLeft||n.scrollX||o.scrollLeft||0;return{top:a,left:s}}change(e=$H){return e>0?this._change.pipe(dp(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var to=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})(),Lu=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[Ua,to,Ua,to]})}return t})();var pw={},mt=(()=>{class t{_appId=p(Ta);getId(e){return this._appId!=="ng"&&(e+=this._appId),pw.hasOwnProperty(e)||(pw[e]=0),`${e}${pw[e]++}`}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Kk=$f();function Wa(t){return new qf(t.get(oi),t.get(ce))}var qf=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(i,e){this._viewportRuler=i,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let i=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=i.style.left||"",this._previousHTMLStyles.top=i.style.top||"",i.style.left=Mn(-this._previousScrollPosition.left),i.style.top=Mn(-this._previousScrollPosition.top),i.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let i=this._document.documentElement,e=this._document.body,n=i.style,o=e.style,r=n.scrollBehavior||"",a=o.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,i.classList.remove("cdk-global-scrollblock"),Kk&&(n.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Kk&&(n.scrollBehavior=r,o.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,n=this._viewportRuler.getViewportSize();return e.scrollHeight>n.height||e.scrollWidth>n.width}};function iA(t,i){return new Yf(t.get(Ga),t.get(te),t.get(oi),i)}var Yf=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(i,e,n,o){this._scrollDispatcher=i,this._ngZone=e,this._viewportRuler=n,this._config=o}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(this._scrollSubscription)return;let i=this._scrollDispatcher.scrolled(0).pipe(Ke(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=i.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=i.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};var Vu=class{enable(){}disable(){}attach(){}};function hw(t,i){return i.some(e=>{let n=t.bottome.bottom,r=t.righte.right;return n||o||r||a})}function Zk(t,i){return i.some(e=>{let n=t.tope.bottom,r=t.lefte.right;return n||o||r||a})}function zn(t,i){return new Qf(t.get(Ga),t.get(oi),t.get(te),i)}var Qf=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(i,e,n,o){this._scrollDispatcher=i,this._viewportRuler=e,this._ngZone=n,this._config=o}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(!this._scrollSubscription){let i=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(i).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:o}=this._viewportRuler.getViewportSize();hw(e,[{width:n,height:o,bottom:o,right:n,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},oA=(()=>{class t{_injector=p(re);constructor(){}noop=()=>new Vu;close=e=>iA(this._injector,e);block=()=>Wa(this._injector);reposition=e=>zn(this._injector,e);static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Si=class{positionStrategy;scrollStrategy=new Vu;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(i){if(i){let e=Object.keys(i);for(let n of e)i[n]!==void 0&&(this[n]=i[n])}}};var Kf=class{connectionPair;scrollableViewProperties;constructor(i,e){this.connectionPair=i,this.scrollableViewProperties=e}};var rA=(()=>{class t{_attachedOverlays=[];_document=p(ce);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let n=this._attachedOverlays.indexOf(e);n>-1&&this._attachedOverlays.splice(n,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),aA=(()=>{class t extends rA{_ngZone=p(te);_renderer=p(Cn).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let n=this._attachedOverlays;for(let o=n.length-1;o>-1;o--)if(n[o]._keydownEvents.observers.length>0){this._ngZone.run(()=>n[o]._keydownEvents.next(e));break}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ct(t)))(o||t)}})();static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),sA=(()=>{class t extends rA{_platform=p(nt);_ngZone=p(te);_renderer=p(Cn).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){let n=this._document.body,o={capture:!0},r=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[r.listen(n,"pointerdown",this._pointerDownListener,o),r.listen(n,"click",this._clickListener,o),r.listen(n,"auxclick",this._clickListener,o),r.listen(n,"contextmenu",this._clickListener,o)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=ii(e)};_clickListener=e=>{let n=ii(e),o=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:n;this._pointerDownEventTarget=null;let r=this._attachedOverlays.slice();for(let a=r.length-1;a>-1;a--){let s=r[a];if(s._outsidePointerEvents.observers.length<1||!s.hasAttached())continue;if(Xk(s.overlayElement,n)||Xk(s.overlayElement,o))break;let l=s._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(e)):l.next(e)}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ct(t)))(o||t)}})();static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Xk(t,i){let e=typeof ShadowRoot<"u"&&ShadowRoot,n=i;for(;n;){if(n===t)return!0;n=e&&n instanceof ShadowRoot?n.host:n.parentNode}return!1}var lA=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(n,o){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll} +`],encapsulation:2,changeDetection:0})}return t})(),Xf=(()=>{class t{_platform=p(nt);_containerElement;_document=p(ce);_styleLoader=p(Dt);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||mw()){let o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;r{let i=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(i,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),i.style.pointerEvents="none",i.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}},Cc=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new j;_attachments=new j;_detachments=new j;_positionStrategy;_scrollStrategy;_locationChanges=_e.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new j;_outsidePointerEvents=new j;_afterNextRenderRef;constructor(i,e,n,o,r,a,s,l,m,f=!1,v,D){this._portalOutlet=i,this._host=e,this._pane=n,this._config=o,this._ngZone=r,this._keyboardDispatcher=a,this._document=s,this._location=l,this._outsideClickDispatcher=m,this._animationsDisabled=f,this._injector=v,this._renderer=D,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(i){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(i);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=xt(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let i=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),i}dispose(){let i=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,i&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(i){i!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=i,this.hasAttached()&&(i.attach(this),this.updatePosition()))}updateSize(i){this._config=L(L({},this._config),i),this._updateElementSize()}setDirection(i){this._config=Be(L({},this._config),{direction:i}),this._updateElementDirection()}addPanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!0)}removePanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!1)}getDirection(){let i=this._config.direction;return i?typeof i=="string"?i:i.value:"ltr"}updateScrollStrategy(i){i!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=i,this.hasAttached()&&(i.attach(this),i.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let i=this._pane.style;i.width=Mn(this._config.width),i.height=Mn(this._config.height),i.minWidth=Mn(this._config.minWidth),i.minHeight=Mn(this._config.minHeight),i.maxWidth=Mn(this._config.maxWidth),i.maxHeight=Mn(this._config.maxHeight)}_togglePointerEvents(i){this._pane.style.pointerEvents=i?"":"none"}_attachBackdrop(){let i="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new fw(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(i))}):this._backdropRef.element.classList.add(i)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(i,e,n){let o=ta(e||[]).filter(r=>!!r);o.length&&(n?i.classList.add(...o):i.classList.remove(...o))}_detachContentWhenEmpty(){let i=!1;try{this._detachContentAfterRenderRef=xt(()=>{i=!0,this._detachContent()},{injector:this._injector})}catch(e){if(i)throw e;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let i=this._scrollStrategy;i?.disable(),i?.detach?.()}},Jk="cdk-overlay-connected-position-bounding-box",qH=/([A-Za-z%]+)$/;function Xo(t,i){return new wc(i,t.get(oi),t.get(ce),t.get(nt),t.get(Xf))}var wc=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new j;_resizeSubscription=_e.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(i,e,n,o,r){this._viewportRuler=e,this._document=n,this._platform=o,this._overlayContainer=r,this.setOrigin(i)}attach(i){this._overlayRef&&this._overlayRef,this._validatePositions(),i.hostElement.classList.add(Jk),this._overlayRef=i,this._boundingBox=i.hostElement,this._pane=i.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let i=this._originRect,e=this._overlayRect,n=this._viewportRect,o=this._containerRect,r=[],a;for(let s of this._preferredPositions){let l=this._getOriginPoint(i,o,s),m=this._getOverlayPoint(l,e,s),f=this._getOverlayFit(m,e,n,s);if(f.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,l);return}if(this._canFitWithFlexibleDimensions(f,m,n)){r.push({position:s,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,s)});continue}(!a||a.overlayFit.visibleAreal&&(l=f,s=m)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&il(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Jk),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let i=this._lastPosition;if(i){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,i);this._applyPosition(i,e)}else this.apply()}withScrollableContainers(i){return this._scrollables=i,this}withPositions(i){return this._preferredPositions=i,i.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(i){return this._viewportMargin=i,this}withFlexibleDimensions(i=!0){return this._hasFlexibleDimensions=i,this}withGrowAfterOpen(i=!0){return this._growAfterOpen=i,this}withPush(i=!0){return this._canPush=i,this}withLockedPosition(i=!0){return this._positionLocked=i,this}setOrigin(i){return this._origin=i,this}withDefaultOffsetX(i){return this._offsetX=i,this}withDefaultOffsetY(i){return this._offsetY=i,this}withTransformOriginOn(i){return this._transformOriginSelector=i,this}_getOriginPoint(i,e,n){let o;if(n.originX=="center")o=i.left+i.width/2;else{let a=this._isRtl()?i.right:i.left,s=this._isRtl()?i.left:i.right;o=n.originX=="start"?a:s}e.left<0&&(o-=e.left);let r;return n.originY=="center"?r=i.top+i.height/2:r=n.originY=="top"?i.top:i.bottom,e.top<0&&(r-=e.top),{x:o,y:r}}_getOverlayPoint(i,e,n){let o;n.overlayX=="center"?o=-e.width/2:n.overlayX==="start"?o=this._isRtl()?-e.width:0:o=this._isRtl()?0:-e.width;let r;return n.overlayY=="center"?r=-e.height/2:r=n.overlayY=="top"?0:-e.height,{x:i.x+o,y:i.y+r}}_getOverlayFit(i,e,n,o){let r=tA(e),{x:a,y:s}=i,l=this._getOffset(o,"x"),m=this._getOffset(o,"y");l&&(a+=l),m&&(s+=m);let f=0-a,v=a+r.width-n.width,D=0-s,x=s+r.height-n.height,I=this._subtractOverflows(r.width,f,v),N=this._subtractOverflows(r.height,D,x),q=I*N;return{visibleArea:q,isCompletelyWithinViewport:r.width*r.height===q,fitsInViewportVertically:N===r.height,fitsInViewportHorizontally:I==r.width}}_canFitWithFlexibleDimensions(i,e,n){if(this._hasFlexibleDimensions){let o=n.bottom-e.y,r=n.right-e.x,a=eA(this._overlayRef.getConfig().minHeight),s=eA(this._overlayRef.getConfig().minWidth),l=i.fitsInViewportVertically||a!=null&&a<=o,m=i.fitsInViewportHorizontally||s!=null&&s<=r;return l&&m}return!1}_pushOverlayOnScreen(i,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:i.x+this._previousPushAmount.x,y:i.y+this._previousPushAmount.y};let o=tA(e),r=this._viewportRect,a=Math.max(i.x+o.width-r.width,0),s=Math.max(i.y+o.height-r.height,0),l=Math.max(r.top-n.top-i.y,0),m=Math.max(r.left-n.left-i.x,0),f=0,v=0;return o.width<=r.width?f=m||-a:f=i.xI&&!this._isInitialRender&&!this._growAfterOpen&&(a=i.y-I/2)}let l=e.overlayX==="start"&&!o||e.overlayX==="end"&&o,m=e.overlayX==="end"&&!o||e.overlayX==="start"&&o,f,v,D;if(m)D=n.width-i.x+this._viewportMargin*2,f=i.x-this._viewportMargin;else if(l)v=i.x,f=n.right-i.x;else{let x=Math.min(n.right-i.x+n.left,i.x),I=this._lastBoundingBoxSize.width;f=x*2,v=i.x-x,f>I&&!this._isInitialRender&&!this._growAfterOpen&&(v=i.x-I/2)}return{top:a,left:v,bottom:s,right:D,width:f,height:r}}_setBoundingBoxStyles(i,e){let n=this._calculateBoundingBoxRect(i,e);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));let o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{let r=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;o.height=Mn(n.height),o.top=Mn(n.top),o.bottom=Mn(n.bottom),o.width=Mn(n.width),o.left=Mn(n.left),o.right=Mn(n.right),e.overlayX==="center"?o.alignItems="center":o.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?o.justifyContent="center":o.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",r&&(o.maxHeight=Mn(r)),a&&(o.maxWidth=Mn(a))}this._lastBoundingBoxSize=n,il(this._boundingBox.style,o)}_resetBoundingBoxStyles(){il(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){il(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(i,e){let n={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(o){let f=this._viewportRuler.getViewportScrollPosition();il(n,this._getExactOverlayY(e,i,f)),il(n,this._getExactOverlayX(e,i,f))}else n.position="static";let s="",l=this._getOffset(e,"x"),m=this._getOffset(e,"y");l&&(s+=`translateX(${l}px) `),m&&(s+=`translateY(${m}px)`),n.transform=s.trim(),a.maxHeight&&(o?n.maxHeight=Mn(a.maxHeight):r&&(n.maxHeight="")),a.maxWidth&&(o?n.maxWidth=Mn(a.maxWidth):r&&(n.maxWidth="")),il(this._pane.style,n)}_getExactOverlayY(i,e,n){let o={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,i);if(this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),i.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;o.bottom=`${a-(r.y+this._overlayRect.height)}px`}else o.top=Mn(r.y);return o}_getExactOverlayX(i,e,n){let o={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,i);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));let a;if(this._isRtl()?a=i.overlayX==="end"?"left":"right":a=i.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;o.right=`${s-(r.x+this._overlayRect.width)}px`}else o.left=Mn(r.x);return o}_getScrollVisibility(){let i=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Zk(i,n),isOriginOutsideView:hw(i,n),isOverlayClipped:Zk(e,n),isOverlayOutsideView:hw(e,n)}}_subtractOverflows(i,...e){return e.reduce((n,o)=>n-Math.max(o,0),i)}_getNarrowedViewportRect(){let i=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+i-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:i-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(i,e){return e==="x"?i.offsetX==null?this._offsetX:i.offsetX:i.offsetY==null?this._offsetY:i.offsetY}_validatePositions(){}_addPanelClasses(i){this._pane&&ta(i).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(i=>{this._pane.classList.remove(i)}),this._appliedPanelClasses=[])}_getOriginRect(){let i=this._origin;if(i instanceof K)return i.nativeElement.getBoundingClientRect();if(i instanceof Element)return i.getBoundingClientRect();let e=i.width||0,n=i.height||0;return{top:i.y,bottom:i.y+n,left:i.x,right:i.x+e,height:n,width:e}}};function il(t,i){for(let e in i)i.hasOwnProperty(e)&&(t[e]=i[e]);return t}function eA(t){if(typeof t!="number"&&t!=null){let[i,e]=t.split(qH);return!e||e==="px"?parseFloat(i):null}return t||null}function tA(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function YH(t,i){return t===i?!0:t.isOriginClipped===i.isOriginClipped&&t.isOriginOutsideView===i.isOriginOutsideView&&t.isOverlayClipped===i.isOverlayClipped&&t.isOverlayOutsideView===i.isOverlayOutsideView}var nA="cdk-global-overlay-wrapper";function Ar(t){return new Zf}var Zf=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(i){let e=i.getConfig();this._overlayRef=i,this._width&&!e.width&&i.updateSize({width:this._width}),this._height&&!e.height&&i.updateSize({height:this._height}),i.hostElement.classList.add(nA),this._isDisposed=!1}top(i=""){return this._bottomOffset="",this._topOffset=i,this._alignItems="flex-start",this}left(i=""){return this._xOffset=i,this._xPosition="left",this}bottom(i=""){return this._topOffset="",this._bottomOffset=i,this._alignItems="flex-end",this}right(i=""){return this._xOffset=i,this._xPosition="right",this}start(i=""){return this._xOffset=i,this._xPosition="start",this}end(i=""){return this._xOffset=i,this._xPosition="end",this}width(i=""){return this._overlayRef?this._overlayRef.updateSize({width:i}):this._width=i,this}height(i=""){return this._overlayRef?this._overlayRef.updateSize({height:i}):this._height=i,this}centerHorizontally(i=""){return this.left(i),this._xPosition="center",this}centerVertically(i=""){return this.top(i),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:o,height:r,maxWidth:a,maxHeight:s}=n,l=(o==="100%"||o==="100vw")&&(!a||a==="100%"||a==="100vw"),m=(r==="100%"||r==="100vh")&&(!s||s==="100%"||s==="100vh"),f=this._xPosition,v=this._xOffset,D=this._overlayRef.getConfig().direction==="rtl",x="",I="",N="";l?N="flex-start":f==="center"?(N="center",D?I=v:x=v):D?f==="left"||f==="end"?(N="flex-end",x=v):(f==="right"||f==="start")&&(N="flex-start",I=v):f==="left"||f==="start"?(N="flex-start",x=v):(f==="right"||f==="end")&&(N="flex-end",I=v),i.position=this._cssPosition,i.marginLeft=l?"0":x,i.marginTop=m?"0":this._topOffset,i.marginBottom=this._bottomOffset,i.marginRight=l?"0":I,e.justifyContent=N,e.alignItems=m?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(nA),n.justifyContent=n.alignItems=i.marginTop=i.marginBottom=i.marginLeft=i.marginRight=i.position="",this._overlayRef=null,this._isDisposed=!0}},cA=(()=>{class t{_injector=p(re);constructor(){}global(){return Ar()}flexibleConnectedTo(e){return Xo(this._injector,e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ii(t,i){t.get(Dt).load(lA);let e=t.get(Xf),n=t.get(ce),o=t.get(mt),r=t.get(Kn),a=t.get(Bt),s=n.createElement("div"),l=n.createElement("div");l.id=o.getId("cdk-overlay-"),l.classList.add("cdk-overlay-pane"),s.appendChild(l),e.getContainerElement().appendChild(s);let m=new vc(l,r,t),f=new Si(i),v=t.get(St,null,{optional:!0})||t.get(Cn).createRenderer(null,null);return f.direction=f.direction||a.value,new Cc(m,s,l,f,t.get(te),t.get(aA),n,t.get(Er),t.get(sA),i?.disableAnimations??t.get(ka,null,{optional:!0})==="NoopAnimations",t.get(Gt),v)}var dA=(()=>{class t{scrollStrategies=p(oA);_positionBuilder=p(cA);_injector=p(re);constructor(){}create(e){return Ii(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),QH=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],uA=new T("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=p(re);return()=>zn(t)}}),xc=(()=>{class t{elementRef=p(K);constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),Jf=(()=>{class t{_dir=p(Bt,{optional:!0});_injector=p(re);_overlayRef;_templatePortal;_backdropSubscription=_e.EMPTY;_attachSubscription=_e.EMPTY;_detachSubscription=_e.EMPTY;_positionSubscription=_e.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=p(uA);_disposeOnNavigation=!1;_ngZone=p(te);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}backdropClick=new k;positionChange=new k;attach=new k;detach=new k;overlayKeydown=new k;overlayOutsideClick=new k;constructor(){let e=p(bt),n=p(Mt);this._templatePortal=new jn(e,n),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=QH);let e=this._overlayRef=Ii(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(n=>{this.overlayKeydown.next(n),n.keyCode===27&&!this.disableClose&&!kt(n)&&(n.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(n=>{let o=this._getOriginElement(),r=ii(n);(!o||o!==r&&!o.contains(r))&&this.overlayOutsideClick.next(n)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),n=new Si({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(n.width=this.width),(this.height||this.height===0)&&(n.height=this.height),(this.minWidth||this.minWidth===0)&&(n.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(n.minHeight=this.minHeight),this.backdropClass&&(n.backdropClass=this.backdropClass),this.panelClass&&(n.panelClass=this.panelClass),n}_updatePositionStrategy(e){let n=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=Xo(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof xc?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof xc?this.origin.elementRef.nativeElement:this.origin instanceof K?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Uv(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",$],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",$],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",$],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",$],push:[2,"cdkConnectedOverlayPush","push",$],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",$]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Ge]})}return t})();function KH(t){let i=p(re);return()=>zn(i)}var ZH={provide:uA,useFactory:KH},ri=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[dA,ZH],imports:[Ua,eo,Lu,Lu]})}return t})();function XH(t,i){}var $a=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext};var _w=(()=>{class t extends Ba{_elementRef=p(K);_focusTrapFactory=p(Hf);_config;_interactivityChecker=p(dw);_ngZone=p(te);_focusMonitor=p(An);_renderer=p(St);_changeDetectorRef=p(Te);_injector=p(re);_platform=p(nt);_document=p(ce);_portalOutlet;_focusTrapped=new j;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=p($a,{optional:!0})||new $a,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let n=this._ariaLabelledByQueue.indexOf(e);n>-1&&(this._ariaLabelledByQueue.splice(n,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let n=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),n}attachTemplatePortal(e){this._portalOutlet.hasAttached();let n=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),n}attachDomPortal=e=>{this._portalOutlet.hasAttached();let n=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),n};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,n){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{r(),a(),e.removeAttribute("tabindex")},r=this._renderer.listen(e,"blur",o),a=this._renderer.listen(e,"mousedown",o)})),e.focus(n)}_focusByCssSelector(e,n){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,n)}_trapFocus(e){this._isDestroyed||xt(()=>{let n=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||n.focus(e);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,n=null;if(typeof e=="string"?n=this._document.querySelector(e):typeof e=="boolean"?n=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(n=e),this._config.restoreFocus&&n&&typeof n.focus=="function"){let o=go(),r=this._elementRef.nativeElement;(!o||o===this._document.body||o===r||r.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(n,this._closeInteractionType),this._closeInteractionType=null):n.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(e){this._elementRef.nativeElement.focus?.(e)}_containsFocus(){let e=this._elementRef.nativeElement,n=go();return e===n||e.contains(n)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=go()))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(n,o){if(n&1&&le(Di,7),n&2){let r;Y(r=Q())&&(o._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(n,o){n&2&&ee("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},features:[ye],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(n,o){n&1&&S(0,XH,0,0,"ng-template",0)},dependencies:[Di],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit} +`],encapsulation:2})}return t})(),Bu=class{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new j;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(i,e){this.overlayRef=i,this.config=e,this.disableClose=e.disableClose,this.backdropClick=i.backdropClick(),this.keydownEvents=i.keydownEvents(),this.outsidePointerEvents=i.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(n=>{n.keyCode===27&&!this.disableClose&&!kt(n)&&(n.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=i.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(i,e){if(this._canClose(i)){let n=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),n.next(i),n.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(i="",e=""){return this.overlayRef.updateSize({width:i,height:e}),this}addPanelClass(i){return this.overlayRef.addPanelClass(i),this}removePanelClass(i){return this.overlayRef.removePanelClass(i),this}_canClose(i){let e=this.config;return!!this.containerInstance&&(!e.closePredicate||e.closePredicate(i,e,this.componentInstance))}},JH=new T("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=p(re);return()=>Wa(t)}}),e5=new T("DialogData"),t5=new T("DefaultDialogConfig");function n5(t){let i=Ie(t),e=new k;return{valueSignal:i,get value(){return i()},change:e,ngOnDestroy(){e.complete()}}}var vw=(()=>{class t{_injector=p(re);_defaultOptions=p(t5,{optional:!0});_parentDialog=p(t,{optional:!0,skipSelf:!0});_overlayContainer=p(Xf);_idGenerator=p(mt);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new j;_afterOpenedAtThisLevel=new j;_ariaHiddenElements=new Map;_scrollStrategy=p(JH);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=Hi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Et(void 0)));constructor(){}open(e,n){let o=this._defaultOptions||new $a;n=L(L({},o),n),n.id=n.id||this._idGenerator.getId("cdk-dialog-"),n.id&&this.getDialogById(n.id);let r=this._getOverlayConfig(n),a=Ii(this._injector,r),s=new Bu(a,n),l=this._attachContainer(a,s,n);if(s.containerInstance=l,!this.openDialogs.length){let m=this._overlayContainer.getContainerElement();l._focusTrapped?l._focusTrapped.pipe(Pt(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(m)}):this._hideNonDialogContentFromAssistiveTechnology(m)}return this._attachDialogContent(e,s,l,n),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s}closeAll(){gw(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(n=>n.id===e)}ngOnDestroy(){gw(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),gw(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let n=new Si({positionStrategy:e.positionStrategy||Ar().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation,disableAnimations:e.disableAnimations});return e.backdropClass&&(n.backdropClass=e.backdropClass),n}_attachContainer(e,n,o){let r=o.injector||o.viewContainerRef?.injector,a=[{provide:$a,useValue:o},{provide:Bu,useValue:n},{provide:Cc,useValue:e}],s;o.container?typeof o.container=="function"?s=o.container:(s=o.container.type,a.push(...o.container.providers(o))):s=_w;let l=new Ni(s,o.viewContainerRef,re.create({parent:r||this._injector,providers:a}));return e.attach(l).instance}_attachDialogContent(e,n,o,r){if(e instanceof bt){let a=this._createInjector(r,n,o,void 0),s={$implicit:r.data,dialogRef:n};r.templateContext&&(s=L(L({},s),typeof r.templateContext=="function"?r.templateContext():r.templateContext)),o.attachTemplatePortal(new jn(e,null,s,a))}else{let a=this._createInjector(r,n,o,this._injector),s=o.attachComponentPortal(new Ni(e,r.viewContainerRef,a));n.componentRef=s,n.componentInstance=s.instance}}_createInjector(e,n,o,r){let a=e.injector||e.viewContainerRef?.injector,s=[{provide:e5,useValue:e.data},{provide:Bu,useValue:n}];return e.providers&&(typeof e.providers=="function"?s.push(...e.providers(n,e,o)):s.push(...e.providers)),e.direction&&(!a||!a.get(Bt,null,{optional:!0}))&&s.push({provide:Bt,useValue:n5(e.direction)}),re.create({parent:a||r,providers:s})}_removeOpenDialog(e,n){let o=this.openDialogs.indexOf(e);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((r,a)=>{r?a.setAttribute("aria-hidden",r):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),n&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let n=e.parentElement.children;for(let o=n.length-1;o>-1;o--){let r=n[o];r!==e&&r.nodeName!=="SCRIPT"&&r.nodeName!=="STYLE"&&!r.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function gw(t,i){let e=t.length;for(;e--;)i(t[e])}var mA=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[vw],imports:[ri,eo,tl,eo]})}return t})();function vo(t){return t!=null&&`${t}`!="false"}function pA(t,i=/\s+/){let e=[];if(t!=null){let n=Array.isArray(t)?t:`${t}`.split(i);for(let o of n){let r=`${o}`.trim();r&&e.push(r)}}return e}var eg={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var i5=new T("MATERIAL_ANIMATIONS");var hA=null;function bw(){return p(i5,{optional:!0})?.animationsDisabled||p(ka,{optional:!0})==="NoopAnimations"?"di-disabled":(hA??=p(zf).matchMedia("(prefers-reduced-motion)").matches,hA?"reduced-motion":"enabled")}function rt(){return bw()!=="enabled"}var o5=200,tg=class{_letterKeyStream=new j;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new j;selectedItem=this._selectedItem;constructor(i,e){let n=typeof e?.debounceInterval=="number"?e.debounceInterval:o5;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(i),this._setupKeyHandler(n)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(i){this._selectedItemIndex=i}setItems(i){this._items=i}handleKey(i){let e=i.keyCode;i.key&&i.key.length===1?this._letterKeyStream.next(i.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(i){this._letterKeyStream.pipe(Ht(e=>this._pressedLetters.push(e)),Vr(i),Ke(()=>this._pressedLetters.length>0),de(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let n=1;ni.disabled;constructor(i,e){this._items=i,i instanceof qi?this._itemChangesSubscription=i.changes.subscribe(n=>this._itemsChanged(n.toArray())):gr(i)&&(this._effectRef=Xr(()=>this._itemsChanged(i()),{injector:e}))}tabOut=new j;change=new j;skipPredicate(i){return this._skipPredicateFn=i,this}withWrap(i=!0){return this._wrap=i,this}withVerticalOrientation(i=!0){return this._vertical=i,this}withHorizontalOrientation(i){return this._horizontal=i,this}withAllowedModifierKeys(i){return this._allowedModifierKeys=i,this}withTypeAhead(i=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new tg(e,{debounceInterval:typeof i=="number"?i:void 0,skipPredicate:n=>this._skipPredicateFn(n)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(n=>{this.setActiveItem(n)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(i=!0){return this._homeAndEnd=i,this}withPageUpDown(i=!0,e=10){return this._pageUpAndDown={enabled:i,delta:e},this}setActiveItem(i){let e=this._activeItem();this.updateActiveItem(i),this._activeItem()!==e&&this.change.next(this._activeItemIndex())}onKeydown(i){let e=i.keyCode,o=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!i[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&o){this.setNextItemActive();break}else return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&o){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&o){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&o){let r=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&o){let r=this._activeItemIndex()+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(r-1&&n!==this._activeItemIndex()&&(this._activeItemIndex.set(n),this._typeahead?.setCurrentSelectedItemIndex(n))}}};var ol=class extends Dc{setActiveItem(i){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(i),this.activeItem&&this.activeItem.setActiveStyles()}};var na=class extends Dc{_origin="program";setFocusOrigin(i){return this._origin=i,this}setActiveItem(i){super.setActiveItem(i),this.activeItem&&this.activeItem.focus(this._origin)}};var _A=" ";function Mc(t,i,e){let n=og(t,i);e=e.trim(),!n.some(o=>o.trim()===e)&&(n.push(e),t.setAttribute(i,n.join(_A)))}function qa(t,i,e){let n=og(t,i);e=e.trim();let o=n.filter(r=>r!==e);o.length?t.setAttribute(i,o.join(_A)):t.removeAttribute(i)}function og(t,i){return t.getAttribute(i)?.match(/\S+/g)??[]}var vA="cdk-describedby-message",ig="cdk-describedby-host",Cw=0,rg=(()=>{class t{_platform=p(nt);_document=p(ce);_messageRegistry=new Map;_messagesContainer=null;_id=`${Cw++}`;constructor(){p(Dt).load(_o),this._id=p(Ta)+"-"+Cw++}describe(e,n,o){if(!this._canBeDescribed(e,n))return;let r=yw(n,o);typeof n!="string"?(gA(n,this._id),this._messageRegistry.set(r,{messageElement:n,referenceCount:0})):this._messageRegistry.has(r)||this._createMessageElement(n,o),this._isElementDescribedByMessage(e,r)||this._addMessageReference(e,r)}removeDescription(e,n,o){if(!n||!this._isElementNode(e))return;let r=yw(n,o);if(this._isElementDescribedByMessage(e,r)&&this._removeMessageReference(e,r),typeof n=="string"){let a=this._messageRegistry.get(r);a&&a.referenceCount===0&&this._deleteMessageElement(r)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${ig}="${this._id}"]`);for(let n=0;no.indexOf(vA)!=0);e.setAttribute("aria-describedby",n.join(" "))}_addMessageReference(e,n){let o=this._messageRegistry.get(n);Mc(e,"aria-describedby",o.messageElement.id),e.setAttribute(ig,this._id),o.referenceCount++}_removeMessageReference(e,n){let o=this._messageRegistry.get(n);o.referenceCount--,qa(e,"aria-describedby",o.messageElement.id),e.removeAttribute(ig)}_isElementDescribedByMessage(e,n){let o=og(e,"aria-describedby"),r=this._messageRegistry.get(n),a=r&&r.messageElement.id;return!!a&&o.indexOf(a)!=-1}_canBeDescribed(e,n){if(!this._isElementNode(e))return!1;if(n&&typeof n=="object")return!0;let o=n==null?"":`${n}`.trim(),r=e.getAttribute("aria-label");return o?!r||r.trim()!==o:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function yw(t,i){return typeof t=="string"?`${i||""}/${t}`:t}function gA(t,i){t.id||(t.id=`${vA}-${i}-${Cw++}`)}var fe=(()=>{class t{constructor(){p(Gf)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[Ua,Ua]})}return t})();function r5(t,i){}var Hu=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration},ww="mdc-dialog--open",bA="mdc-dialog--opening",yA="mdc-dialog--closing",a5=150,s5=75,xA=(()=>{class t extends _w{_animationStateChanged=new k;_animationsEnabled=!rt();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?wA(this._config.enterAnimationDuration)??a5:0;_exitAnimationDuration=this._animationsEnabled?wA(this._config.exitAnimationDuration)??s5:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(CA,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(bA,ww)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(ww),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(ww),this._animationsEnabled?(this._hostElement.style.setProperty(CA,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(yA)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(bA,yA)}_waitForAnimationToComplete(e,n){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(n,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let n=super.attachComponentPortal(e);return n.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),n}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ct(t)))(o||t)}})();static \u0275cmp=E({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(n,o){n&2&&(cn("id",o._config.id),ee("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),ne("_mat-animation-noopable",!o._animationsEnabled)("mat-mdc-dialog-container-with-actions",o._actionSectionCount>0))},features:[ye],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1),S(2,r5,0,0,"ng-template",2),d()())},dependencies:[Di],styles:[`.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mat-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;box-sizing:border-box;min-height:52px;margin:0;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents} +`],encapsulation:2})}return t})(),CA="--mat-dialog-transition-duration";function wA(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?Ko(t.substring(0,t.length-2)):t.endsWith("s")?Ko(t.substring(0,t.length-1))*1e3:t==="0"?0:null}var Uu=(function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t})(Uu||{}),Le=class{_ref;_config;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new j;_beforeClosed=new j;_result;_closeFallbackTimeout;_state=Uu.OPEN;_closeInteractionType;constructor(i,e,n){this._ref=i,this._config=e,this._containerInstance=n,this.disableClose=e.disableClose,this.id=i.id,i.addPanelClass("mat-mdc-dialog-panel"),n._animationStateChanged.pipe(Ke(o=>o.state==="opened"),Pt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(Ke(o=>o.state==="closed"),Pt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),i.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Tt(this.backdropClick(),this.keydownEvents().pipe(Ke(o=>o.keyCode===27&&!this.disableClose&&!kt(o)))).subscribe(o=>{this.disableClose||(o.preventDefault(),xw(this,o.type==="keydown"?"keyboard":"mouse"))})}close(i){let e=this._config.closePredicate;e&&!e(i,this._config,this.componentInstance)||(this._result=i,this._containerInstance._animationStateChanged.pipe(Ke(n=>n.state==="closing"),Pt(1)).subscribe(n=>{this._beforeClosed.next(i),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),n.totalTime+100)}),this._state=Uu.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(i){let e=this._ref.config.positionStrategy;return i&&(i.left||i.right)?i.left?e.left(i.left):e.right(i.right):e.centerHorizontally(),i&&(i.top||i.bottom)?i.top?e.top(i.top):e.bottom(i.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(i="",e=""){return this._ref.updateSize(i,e),this}addPanelClass(i){return this._ref.addPanelClass(i),this}removePanelClass(i){return this._ref.removePanelClass(i),this}getState(){return this._state}_finishDialogClose(){this._state=Uu.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function xw(t,i,e){return t._closeInteractionType=i,t.close(e)}var We=new T("MatMdcDialogData"),DA=new T("mat-mdc-dialog-default-options"),EA=new T("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=p(re);return()=>Wa(t)}}),Ic=(()=>{class t{_defaultOptions=p(DA,{optional:!0});_scrollStrategy=p(EA);_parentDialog=p(t,{optional:!0,skipSelf:!0});_idGenerator=p(mt);_injector=p(re);_dialog=p(vw);_animationsDisabled=rt();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new j;_afterOpenedAtThisLevel=new j;dialogConfigClass=Hu;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=Hi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Et(void 0)));constructor(){this._dialogRefConstructor=Le,this._dialogContainerType=xA,this._dialogDataToken=We}open(e,n){let o;n=L(L({},this._defaultOptions||new Hu),n),n.id=n.id||this._idGenerator.getId("mat-mdc-dialog-"),n.scrollStrategy=n.scrollStrategy||this._scrollStrategy();let r=this._dialog.open(e,Be(L({},n),{positionStrategy:Ar(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||n.enterAnimationDuration?.toLocaleString()==="0"||n.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:n},{provide:$a,useValue:n}]},templateContext:()=>({dialogRef:o}),providers:(a,s,l)=>(o=new this._dialogRefConstructor(a,n,l),o.updatePosition(n?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=r.componentRef,o.componentInstance=r.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{let a=this.openDialogs.indexOf(o);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(n=>n.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let n=e.length;for(;n--;)e[n].close()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Yt=(()=>{class t{dialogRef=p(Le,{optional:!0});_elementRef=p(K);_dialog=p(Ic);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=MA(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let n=e._matDialogClose||e._matDialogCloseResult;n&&(this.dialogResult=n.currentValue)}_onButtonClick(e){xw(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(n,o){n&1&&b("click",function(a){return o._onButtonClick(a)}),n&2&&ee("aria-label",o.ariaLabel||null)("type",o.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Ge]})}return t})(),SA=(()=>{class t{_dialogRef=p(Le,{optional:!0});_elementRef=p(K);_dialog=p(Ic);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=MA(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t})}return t})(),Ze=(()=>{class t extends SA{id=p(mt).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ct(t)))(o||t)}})();static \u0275dir=B({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(n,o){n&2&&cn("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[ye]})}return t})(),Xe=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[M0([Fu])]})}return t})(),Je=(()=>{class t extends SA{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ct(t)))(o||t)}})();static \u0275dir=B({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(n,o){n&2&&ne("mat-mdc-dialog-actions-align-start",o.align==="start")("mat-mdc-dialog-actions-align-center",o.align==="center")("mat-mdc-dialog-actions-align-end",o.align==="end")},inputs:{align:"align"},features:[ye]})}return t})();function MA(t,i){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?i.find(n=>n.id===e.id):null}var Dw=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[Ic],imports:[mA,ri,eo,fe,fe]})}return t})();var IA,TA=[django.gettext("Sunday"),django.gettext("Monday"),django.gettext("Tuesday"),django.gettext("Wednesday"),django.gettext("Thursday"),django.gettext("Friday"),django.gettext("Saturday")],kA=[django.gettext("January"),django.gettext("February"),django.gettext("March"),django.gettext("April"),django.gettext("May"),django.gettext("June"),django.gettext("July"),django.gettext("August"),django.gettext("September"),django.gettext("October"),django.gettext("November"),django.gettext("December")];var AA=t=>{let i=[];return t.forEach(e=>{i.push(e.substring(0,3))}),i},Ya=(t,i,e)=>(typeof i>"u"&&(i=new Date),rl(t,i,e));var rl=(t,i,e,n)=>{n=n||{},i=i||new Date;let o=e||d5;o.formats=o.formats||{};let r=i.getTime();return(n.utc||typeof n.timezone=="number")&&(i=l5(i)),typeof n.timezone=="number"&&(i=new Date(i.getTime()+n.timezone*6e4)),t.replace(/%([-_0]?.)/g,(a,s)=>{let l,m,f,v,D,x,I,N;if(f=null,D=null,s.length===2){if(f=s[0],f==="-")D="";else if(f==="_")D=" ";else if(f==="0")D="0";else return a;s=s[1]}switch(s){case"A":return o.days[i.getDay()];case"a":return o.shortDays[i.getDay()];case"B":return o.months[i.getMonth()];case"b":return o.shortMonths[i.getMonth()];case"C":return ki(Math.floor(i.getFullYear()/100),D);case"D":return rl(o.formats.D||"%m/%d/%y",i,o);case"d":return ki(i.getDate(),D);case"e":return i.getDate();case"F":return rl(o.formats.F||"%Y-%m-%d",i,o);case"H":return ki(i.getHours(),D);case"h":return o.shortMonths[i.getMonth()];case"I":return ki(RA(i),D);case"j":return I=new Date(i.getFullYear(),0,1),l=Math.ceil((i.getTime()-I.getTime())/(1e3*60*60*24)),ki(l,3);case"k":return ki(i.getHours(),D===void 0?" ":D);case"L":return ki(Math.floor(r%1e3),3);case"l":return ki(RA(i),D===void 0?" ":D);case"M":return ki(i.getMinutes(),D);case"m":return ki(i.getMonth()+1,D);case"n":return` +`;case"o":return String(i.getDate())+c5(i.getDate());case"P":return"";case"p":return"";case"R":return rl(o.formats.R||"%H:%M",i,o);case"r":return rl(o.formats.r||"%I:%M:%S %p",i,o);case"S":return ki(i.getSeconds(),D);case"s":return Math.floor(r/1e3);case"T":return rl(o.formats.T||"%H:%M:%S",i,o);case"t":return" ";case"U":return ki(OA(i,"sunday"),D);case"u":return m=i.getDay(),m===0?7:m;case"v":return rl(o.formats.v||"%e-%b-%Y",i,o);case"W":return ki(OA(i,"monday"),D);case"w":return i.getDay();case"Y":return i.getFullYear();case"y":return N=String(i.getFullYear()),N.slice(N.length-2);case"Z":return n.utc?"GMT":(x=i.toString().match(/\((\w+)\)/),x&&x[1]||"");case"z":return n.utc?"+0000":(v=typeof n.timezone=="number"?n.timezone:-i.getTimezoneOffset(),(v<0?"-":"+")+ki(Math.abs(v/60))+ki(v%60));default:return s}})},l5=t=>{let i=(t.getTimezoneOffset()||0)*6e4;return new Date(t.getTime()+i)},ki=(t,i,e)=>{typeof i=="number"&&(e=i,i="0"),i=i??"0",e=e??2;let n=String(t);if(i)for(;n.length{let i;return i=t.getHours(),i===0?i=12:i>12&&(i-=12),i},c5=t=>{let i=t%10,e=t%100;if(e>=11&&e<=13||i===0||i>=4)return"th";switch(i){case 1:return"st";case 2:return"nd";case 3:return"rd"}return"th"},OA=(t,i)=>{i=i||"sunday";let e=t.getDay();i==="monday"&&(e===0?e=6:e--);let n=new Date(t.getFullYear(),0,1),o=Math.floor((t.getTime()-n.getTime())/864e5);return Math.floor((o+7-e)/7)},Ew=t=>t.replace(/./g,i=>{switch(i){case"a":case"A":return"%p";case"b":case"d":case"m":case"w":case"W":case"y":case"Y":return"%"+i;case"c":return"%FT%TZ";case"D":return"%a";case"e":return"%z";case"f":return"%I:%M";case"F":return"%F";case"h":case"g":return"%I";case"H":case"G":return"%H";case"i":return"%M";case"I":return"";case"j":return"%d";case"l":return"%A";case"L":return"";case"M":return"%b";case"n":return"%m";case"N":return"%b";case"o":return"%W";case"O":return"%z";case"P":return"%R %p";case"r":return"%a, %d %b %Y %T %z";case"s":return"%S";case"S":return"";case"t":return"";case"T":return"%Z";case"u":return"0";case"U":return"";case"z":return"%j";case"Z":return"z";default:return i}}),Xn=(t,i,e=null)=>{let n;if(i==="None"||i===null||i===void 0)i=7226578800,n=django.gettext("Never");else{let o=django.get_format(t);e&&(o+=e),n=Ya(Ew(o),new Date(i*1e3))}return n},PA=t=>({1e4:"OTHER",2e4:"DEBUG",3e4:"INFO",4e4:"WARN",5e4:"ERROR",6e4:"FATAL"})[t]||"OTHER",Sw=t=>!!(t==null||typeof t=="object"&&Object.keys(t).length===0&&t.constructor===Object||Array.isArray(t)&&t.length===0||typeof t=="string"&&t.trim()===""),NA=t=>t===""||t===null||t===void 0,ag=t=>t==="yes"||t===!0||t==="true"||t===1,d5={days:TA,shortDays:AA(TA),months:kA,shortMonths:AA(kA),AM:"AM",PM:"PM",am:"am",pm:"pm"},Rr=(t,i)=>{let e;if(t instanceof Promise)e=t;else if(t instanceof tn)e=t;else{if(i)return rp(t.pipe(Fv(i)));e=rp(t)}return e},tn=class{static{IA=Symbol.toStringTag}constructor(){this[IA]="Future",this.resolve=()=>{},this.reject=()=>{},this.promise=new Promise((i,e)=>{this.resolve=i,this.reject=e})}then(i,e){return this.promise.then(i,e)}catch(i){return this.promise.catch(i)}finally(i){return this.promise.finally(i)}};var Tc,FA=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Mw(){if(Tc)return Tc;if(typeof document!="object"||!document)return Tc=new Set(FA),Tc;let t=document.createElement("input");return Tc=new Set(FA.filter(i=>(t.setAttribute("type",i),t.type===i))),Tc}var Co=(function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t})(Co||{}),Iw=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=Co.HIDDEN;constructor(i,e,n,o=!1){this._renderer=i,this.element=e,this.config=n,this._animationForciblyDisabledThroughCss=o}fadeOut(){this._renderer.fadeOutRipple(this)}},LA=ja({passive:!0,capture:!0}),Tw=class{_events=new Map;addHandler(i,e,n,o){let r=this._events.get(e);if(r){let a=r.get(n);a?a.add(o):r.set(n,new Set([o]))}else this._events.set(e,new Map([[n,new Set([o])]])),i.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,LA)})}removeHandler(i,e,n){let o=this._events.get(i);if(!o)return;let r=o.get(e);r&&(r.delete(n),r.size===0&&o.delete(e),o.size===0&&(this._events.delete(i),document.removeEventListener(i,this._delegateEventHandler,LA)))}_delegateEventHandler=i=>{let e=ii(i);e&&this._events.get(i.type)?.forEach((n,o)=>{(o===e||o.contains(e))&&n.forEach(r=>r.handleEvent(i))})}},Gu={enterDuration:225,exitDuration:150},u5=800,VA=ja({passive:!0,capture:!0}),BA=["mousedown","touchstart"],jA=["mouseup","mouseleave","touchend","touchcancel"],m5=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(n,o){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none} +`],encapsulation:2,changeDetection:0})}return t})(),Wu=class t{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new Tw;constructor(i,e,n,o,r){this._target=i,this._ngZone=e,this._platform=o,o.isBrowser&&(this._containerElement=Ei(n)),r&&r.get(Dt).load(m5)}fadeInRipple(i,e,n={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=L(L({},Gu),n.animation);n.centered&&(i=o.left+o.width/2,e=o.top+o.height/2);let a=n.radius||p5(i,e,o),s=i-o.left,l=e-o.top,m=r.enterDuration,f=document.createElement("div");f.classList.add("mat-ripple-element"),f.style.left=`${s-a}px`,f.style.top=`${l-a}px`,f.style.height=`${a*2}px`,f.style.width=`${a*2}px`,n.color!=null&&(f.style.backgroundColor=n.color),f.style.transitionDuration=`${m}ms`,this._containerElement.appendChild(f);let v=window.getComputedStyle(f),D=v.transitionProperty,x=v.transitionDuration,I=D==="none"||x==="0s"||x==="0s, 0s"||o.width===0&&o.height===0,N=new Iw(this,f,n,I);f.style.transform="scale3d(1, 1, 1)",N.state=Co.FADING_IN,n.persistent||(this._mostRecentTransientRipple=N);let q=null;return!I&&(m||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let P=()=>{q&&(q.fallbackTimer=null),clearTimeout(Ft),this._finishRippleTransition(N)},Ee=()=>this._destroyRipple(N),Ft=setTimeout(Ee,m+100);f.addEventListener("transitionend",P),f.addEventListener("transitioncancel",Ee),q={onTransitionEnd:P,onTransitionCancel:Ee,fallbackTimer:Ft}}),this._activeRipples.set(N,q),(I||!m)&&this._finishRippleTransition(N),N}fadeOutRipple(i){if(i.state===Co.FADING_OUT||i.state===Co.HIDDEN)return;let e=i.element,n=L(L({},Gu),i.config.animation);e.style.transitionDuration=`${n.exitDuration}ms`,e.style.opacity="0",i.state=Co.FADING_OUT,(i._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(i)}fadeOutAll(){this._getActiveRipples().forEach(i=>i.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(i=>{i.config.persistent||i.fadeOut()})}setupTriggerEvents(i){let e=Ei(i);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,BA.forEach(n=>{t._eventManager.addHandler(this._ngZone,n,e,this)}))}handleEvent(i){i.type==="mousedown"?this._onMousedown(i):i.type==="touchstart"?this._onTouchStart(i):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{jA.forEach(e=>{this._triggerElement.addEventListener(e,this,VA)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(i){i.state===Co.FADING_IN?this._startFadeOutTransition(i):i.state===Co.FADING_OUT&&this._destroyRipple(i)}_startFadeOutTransition(i){let e=i===this._mostRecentTransientRipple,{persistent:n}=i.config;i.state=Co.VISIBLE,!n&&(!e||!this._isPointerDown)&&i.fadeOut()}_destroyRipple(i){let e=this._activeRipples.get(i)??null;this._activeRipples.delete(i),this._activeRipples.size||(this._containerRect=null),i===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),i.state=Co.HIDDEN,e!==null&&(i.element.removeEventListener("transitionend",e.onTransitionEnd),i.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),i.element.remove()}_onMousedown(i){let e=Zs(i),n=this._lastTouchStartEvent&&Date.now(){let e=i.state===Co.VISIBLE||i.config.terminateOnPointerUp&&i.state===Co.FADING_IN;!i.config.persistent&&e&&i.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let i=this._triggerElement;i&&(BA.forEach(e=>t._eventManager.removeHandler(e,i,this)),this._pointerUpEventsRegistered&&(jA.forEach(e=>i.removeEventListener(e,this,VA)),this._pointerUpEventsRegistered=!1))}};function p5(t,i,e){let n=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),o=Math.max(Math.abs(i-e.top),Math.abs(i-e.bottom));return Math.sqrt(n*n+o*o)}var kc=new T("mat-ripple-global-options"),no=(()=>{class t{_elementRef=p(K);_animationsDisabled=rt();color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=p(te),n=p(nt),o=p(kc,{optional:!0}),r=p(re);this._globalOptions=o||{},this._rippleRenderer=new Wu(this,e,this._elementRef,n,r)}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:L(L(L({},this._globalOptions.animation),this._animationsDisabled?{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,n=0,o){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,n,L(L({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,L(L({},this.rippleConfig),e))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(n,o){n&2&&ne("mat-ripple-unbounded",o.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return t})();var h5={capture:!0},f5=["focus","mousedown","mouseenter","touchstart"],kw="mat-ripple-loader-uninitialized",Aw="mat-ripple-loader-class-name",zA="mat-ripple-loader-centered",sg="mat-ripple-loader-disabled",lg=(()=>{class t{_document=p(ce);_animationsDisabled=rt();_globalRippleOptions=p(kc,{optional:!0});_platform=p(nt);_ngZone=p(te);_injector=p(re);_eventCleanups;_hosts=new Map;constructor(){let e=p(Cn).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>f5.map(n=>e.listen(this._document,n,this._onInteraction,h5)))}ngOnDestroy(){let e=this._hosts.keys();for(let n of e)this.destroyRipple(n);this._eventCleanups.forEach(n=>n())}configureRipple(e,n){e.setAttribute(kw,this._globalRippleOptions?.namespace??""),(n.className||!e.hasAttribute(Aw))&&e.setAttribute(Aw,n.className||""),n.centered&&e.setAttribute(zA,""),n.disabled&&e.setAttribute(sg,"")}setDisabled(e,n){let o=this._hosts.get(e);o?(o.target.rippleDisabled=n,!n&&!o.hasSetUpEvents&&(o.hasSetUpEvents=!0,o.renderer.setupTriggerEvents(e))):n?e.setAttribute(sg,""):e.removeAttribute(sg)}_onInteraction=e=>{let n=ii(e);if(n instanceof HTMLElement){let o=n.closest(`[${kw}="${this._globalRippleOptions?.namespace??""}"]`);o&&this._createRipple(o)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let n=this._document.createElement("span");n.classList.add("mat-ripple",e.getAttribute(Aw)),e.append(n);let o=this._globalRippleOptions,r=this._animationsDisabled?0:o?.animation?.enterDuration??Gu.enterDuration,a=this._animationsDisabled?0:o?.animation?.exitDuration??Gu.exitDuration,s={rippleDisabled:this._animationsDisabled||o?.disabled||e.hasAttribute(sg),rippleConfig:{centered:e.hasAttribute(zA),terminateOnPointerUp:o?.terminateOnPointerUp,animation:{enterDuration:r,exitDuration:a}}},l=new Wu(s,this._ngZone,n,this._platform,this._injector),m=!s.rippleDisabled;m&&l.setupTriggerEvents(e),this._hosts.set(e,{target:s,renderer:l,hasSetUpEvents:m}),e.removeAttribute(kw)}destroyRipple(e){let n=this._hosts.get(e);n&&(n.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var In=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(n,o){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}} +`],encapsulation:2,changeDetection:0})}return t})();var g5=["mat-icon-button",""],_5=["*"],v5=new T("MAT_BUTTON_CONFIG");function UA(t){return t==null?void 0:an(t)}var Rw=(()=>{class t{_elementRef=p(K);_ngZone=p(te);_animationsDisabled=rt();_config=p(v5,{optional:!0});_focusMonitor=p(An);_cleanupClick;_renderer=p(St);_rippleLoader=p(lg);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(e){this.tabIndex=e}constructor(){p(Dt).load(In);let e=this._elementRef.nativeElement;this._isAnchor=e.tagName==="A",this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(e,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",n){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,n):this._elementRef.nativeElement.focus(n)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this._isAnchor?this.disabled||null:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor?this.disabled&&!this.disabledInteractive?-1:this.tabIndex:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(n,o){n&2&&(ee("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled())("tabindex",o._getTabIndex()),Kt(o.color?"mat-"+o.color:""),ne("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("mat-unthemed",!o.color)("_mat-animation-noopable",o._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",$],disabled:[2,"disabled","disabled",$],ariaDisabled:[2,"aria-disabled","ariaDisabled",$],disabledInteractive:[2,"disabledInteractive","disabledInteractive",$],tabIndex:[2,"tabIndex","tabIndex",UA],_tabindex:[2,"tabindex","_tabindex",UA]}})}return t})(),Jn=(()=>{class t extends Rw{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[ye],attrs:g5,ngContentSelectors:_5,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&(He(),Ci(0,"span",0),ae(1),Ci(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));flex-shrink:0;text-align:center;width:var(--mat-icon-button-state-layer-size, 40px);height:var(--mat-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2);font-size:var(--mat-icon-button-icon-size, 24px);color:var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-icon-button-touch-target-size, 48px);display:var(--mat-icon-button-touch-target-display, block);left:50%;width:var(--mat-icon-button-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mat-icon-button-icon-size, 24px);height:var(--mat-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%))}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1} +`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}} +`],encapsulation:2,changeDetection:0})}return t})();var Or=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[fe,fe]})}return t})();var b5=["matButton",""],y5=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],C5=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var HA=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]),ge=(()=>{class t extends Rw{get appearance(){return this._appearance}set appearance(e){this.setAppearance(e||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let e=w5(this._elementRef.nativeElement);e&&this.setAppearance(e)}setAppearance(e){if(e===this._appearance)return;let n=this._elementRef.nativeElement.classList,o=this._appearance?HA.get(this._appearance):null,r=HA.get(e);o&&n.remove(...o),n.add(...r),this._appearance=e}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[ye],attrs:b5,ngContentSelectors:C5,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&(He(y5),Ci(0,"span",0),ae(1),gn(2,"span",1),ae(3,1),wn(),ae(4,2),Ci(5,"span",2)(6,"span",3)),n&2&&ne("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[`.mat-mdc-button-base{text-decoration:none}.mat-mdc-button-base .mat-icon{min-height:fit-content;flex-shrink:0}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-button-text-horizontal-padding, 12px);height:var(--mat-button-text-container-height, 40px);font-family:var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-text-label-text-transform);font-weight:var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mat-button-text-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mat-button-text-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-button-text-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-text-touch-target-size, 48px);display:var(--mat-button-text-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-filled-container-height, 40px);font-family:var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-filled-label-text-transform);font-weight:var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-filled-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-filled-touch-target-size, 48px);display:var(--mat-button-filled-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary));background-color:var(--mat-button-filled-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mat-button-filled-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1));height:var(--mat-button-protected-container-height, 40px);font-family:var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-protected-label-text-transform);font-weight:var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-protected-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-protected-touch-target-size, 48px);display:var(--mat-button-protected-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-raised-button:not(:disabled){color:var(--mat-button-protected-label-text-color, var(--mat-sys-primary));background-color:var(--mat-button-protected-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mat-button-protected-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-outlined-container-height, 40px);font-family:var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-outlined-label-text-transform);font-weight:var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full));border-width:var(--mat-button-outlined-outline-width, 1px);padding:0 var(--mat-button-outlined-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-outlined-touch-target-size, 48px);display:var(--mat-button-outlined-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-outlined-button:not(:disabled){color:var(--mat-button-outlined-label-text-color, var(--mat-sys-primary));border-color:var(--mat-button-outlined-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-tonal-container-height, 40px);font-family:var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-tonal-label-text-transform);font-weight:var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-tonal-horizontal-padding, 24px)}.mat-tonal-button:not(:disabled){color:var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container))}.mat-tonal-button,.mat-tonal-button .mdc-button__ripple{border-radius:var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full))}.mat-tonal-button[disabled],.mat-tonal-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-tonal-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}[dir=rtl] .mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}.mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}[dir=rtl] .mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}.mat-tonal-button .mat-ripple-element{background-color:var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-tonal-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-tonal-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-tonal-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-tonal-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-tonal-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-tonal-touch-target-size, 48px);display:var(--mat-button-tonal-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button,.mat-tonal-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon,.mat-tonal-button .mdc-button__label,.mat-tonal-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator,.mat-tonal-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before,.mat-tonal-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable,.mat-tonal-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon,.mat-tonal-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-tonal-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)} +`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}} +`],encapsulation:2,changeDetection:0})}return t})();function w5(t){return t.hasAttribute("mat-raised-button")?"elevated":t.hasAttribute("mat-stroked-button")?"outlined":t.hasAttribute("mat-flat-button")?"filled":t.hasAttribute("mat-button")?"text":null}var Pr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[fe,Or,fe]})}return t})();var se=(()=>{class t{constructor(e){this.el=e}ngOnInit(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim().replaceAll("&","&"))}static{this.\u0275fac=function(n){return new(n||t)(w(K))}}static{this.\u0275dir=B({type:t,selectors:[["uds-translate"]],standalone:!1})}}return t})();var cg=(()=>{class t{constructor(e){this.sanitizer=e}transform(e,n){return e=e.replace(/<\s*script\s*/gi,""),e=e.replace(/onclick|onmouseover|onmouseout|onmousemove|onmouseenter|onmouseleave|onmouseup|onmousedown|onkeyup|onkeydown|onkeypress|onkeydown|onkeypress|onkeyup|onchange|onfocus|onblur|onload|onunload|onabort|onerror|onresize|onscroll/gi,""),e=e.replace(/javascript\s*\:/gi,""),this.sanitizer.bypassSecurityTrustHtml(e)}static{this.\u0275fac=function(n){return new(n||t)(w(Gs,16))}}static{this.\u0275pipe=Go({name:"safeHtml",type:t,pure:!0,standalone:!1})}}return t})();function x5(t,i){if(t&1){let e=A();c(0,"button",4),b("click",function(){y(e);let o=_();return C(o.resolveAndClose(!1))}),c(1,"uds-translate"),g(2,"Close"),d(),g(3),d()}if(t&2){let e=_();u(3),tt(e.extra)}}function D5(t,i){if(t&1){let e=A();c(0,"button",5),b("click",function(){y(e);let o=_();return C(o.resolveAndClose(!0))}),c(1,"uds-translate"),g(2,"Yes"),d()()}if(t&2){let e=_();h("color",e.yesColor)}}function E5(t,i){if(t&1){let e=A();c(0,"button",5),b("click",function(){y(e);let o=_();return C(o.resolveAndClose(!1))}),c(1,"uds-translate"),g(2,"No"),d()()}if(t&2){let e=_();h("color",e.noColor)}}var $u=(function(t){return t[t.alert=0]="alert",t[t.question=1]="question",t})($u||{}),Ow=(()=>{class t{constructor(e,n){this.dialogRef=e,this.data=n,this.yesColor="primary",this.noColor="warn",this.extra="",this.subscription={},this.acceptance=new tn}resolveAndClose(e){this.acceptance.resolve(e),this.close()}close(){this.dialogRef.close()}closed(){this.subscription!==null&&this.subscription.unsubscribe()}setExtra(e){this.extra=" ("+Math.floor(e/1e3)+" "+django.gettext("seconds")+") "}initAlert(){return V(this,null,function*(){let e=this.data.autoclose||0;e>0&&(this.dialogRef.afterClosed().subscribe(n=>{this.closed()}),this.setExtra(e),this.subscription=Lv(1e3).subscribe(n=>{let o=e-(n+1)*1e3;this.setExtra(o),o<=0&&this.close()}))})}ngOnInit(){this.data.warnOnYes===!0&&(this.yesColor="warn",this.noColor="primary"),this.data.type===$u.alert&&this.initAlert()}static{this.\u0275fac=function(n){return new(n||t)(w(Le),w(We))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-modal"]],standalone:!1,decls:8,vars:9,consts:[["mat-dialog-title","",3,"innerHtml"],[3,"innerHTML"],["mat-raised-button","","mat-dialog-close","",3,"click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","",3,"color","click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","",3,"click"],["mat-raised-button","","mat-dialog-close","",3,"click","color"]],template:function(n,o){n&1&&(M(0,"h4",0),ht(1,"safeHtml"),M(2,"mat-dialog-content",1),ht(3,"safeHtml"),c(4,"mat-dialog-actions"),S(5,x5,4,1,"button",2)(6,D5,3,1,"button",3)(7,E5,3,1,"button",3),d()),n&2&&(h("innerHtml",wt(1,5,o.data.title),$t),u(2),h("innerHTML",wt(3,7,o.data.body),$t),u(3),h("ngIf",o.data.type===0),u(),h("ngIf",o.data.type===1),u(),h("ngIf",o.data.type===1))},dependencies:[pe,ge,Yt,Ze,Je,Xe,se,cg],styles:[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]})}}return t})();var si=(function(t){return t.TEXT="text",t.TEXT_AUTOCOMPLETE="text-autocomplete",t.TEXTBOX="textbox",t.NUMERIC="numeric",t.PASSWORD="password",t.HIDDEN="hidden",t.CHOICE="choice",t.MULTI_CHOICE="multichoice",t.EDITLIST="editlist",t.CHECKBOX="checkbox",t.IMAGECHOICE="imgchoice",t.DATE="date",t.DATETIME="datetime",t.TAGLIST="taglist",t.INFO="internal-info",t})(si||{}),qu=class{static locateChoice(i,e){let n=e.gui.choices;if(n===void 0)return{id:"",img:"",text:""};let o=n.find(r=>r.id===i);if(o===void 0)try{o=n[0]}catch{o={id:"",img:"",text:""}}return o}};var ZA=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,n){this._renderer=e,this._elementRef=n}setProperty(e,n){this._renderer.setProperty(this._elementRef.nativeElement,e,n)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(n){return new(n||t)(w(St),w(K))};static \u0275dir=B({type:t})}return t})(),XA=(()=>{class t extends ZA{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ct(t)))(o||t)}})();static \u0275dir=B({type:t,features:[ye]})}return t})(),Ai=new T("");var S5={provide:Ai,useExisting:Zt(()=>ct),multi:!0};function M5(){let t=Zi()?Zi().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var I5=new T(""),ct=(()=>{class t extends ZA{_compositionMode;_composing=!1;constructor(e,n,o){super(e,n),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!M5())}writeValue(e){let n=e??"";this.setProperty("value",n)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(n){return new(n||t)(w(St),w(K),w(I5,8))};static \u0275dir=B({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,o){n&1&&b("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},standalone:!1,features:[ve([S5]),ye]})}return t})();function Nw(t){return t==null||Fw(t)===0}function Fw(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var wo=new T(""),xg=new T(""),T5=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Nr=class{static min(i){return k5(i)}static max(i){return A5(i)}static required(i){return JA(i)}static requiredTrue(i){return R5(i)}static email(i){return O5(i)}static minLength(i){return P5(i)}static maxLength(i){return eR(i)}static pattern(i){return N5(i)}static nullValidator(i){return ug()}static compose(i){return aR(i)}static composeAsync(i){return sR(i)}};function k5(t){return i=>{if(i.value==null||t==null)return null;let e=parseFloat(i.value);return!isNaN(e)&&e{if(i.value==null||t==null)return null;let e=parseFloat(i.value);return!isNaN(e)&&e>t?{max:{max:t,actual:i.value}}:null}}function JA(t){return Nw(t.value)?{required:!0}:null}function R5(t){return t.value===!0?null:{required:!0}}function O5(t){return Nw(t.value)||T5.test(t.value)?null:{email:!0}}function P5(t){return i=>{let e=i.value?.length??Fw(i.value);return e===null||e===0?null:e{let e=i.value?.length??Fw(i.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function N5(t){if(!t)return ug;let i,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),i=new RegExp(e)):(e=t.toString(),i=t),n=>{if(Nw(n.value))return null;let o=n.value;return i.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}function ug(t){return null}function tR(t){return t!=null}function nR(t){return Zr(t)?rn(t):t}function iR(t){let i={};return t.forEach(e=>{i=e!=null?L(L({},i),e):i}),Object.keys(i).length===0?null:i}function oR(t,i){return i.map(e=>e(t))}function F5(t){return!t.validate}function rR(t){return t.map(i=>F5(i)?i:e=>i.validate(e))}function aR(t){if(!t)return null;let i=t.filter(tR);return i.length==0?null:function(e){return iR(oR(e,i))}}function Lw(t){return t!=null?aR(rR(t)):null}function sR(t){if(!t)return null;let i=t.filter(tR);return i.length==0?null:function(e){let n=oR(e,i).map(nR);return ld(n).pipe(de(iR))}}function Vw(t){return t!=null?sR(rR(t)):null}function WA(t,i){return t===null?[i]:Array.isArray(t)?[...t,i]:[t,i]}function lR(t){return t._rawValidators}function cR(t){return t._rawAsyncValidators}function Pw(t){return t?Array.isArray(t)?t:[t]:[]}function mg(t,i){return Array.isArray(t)?t.includes(i):t===i}function $A(t,i){let e=Pw(i);return Pw(t).forEach(o=>{mg(e,o)||e.push(o)}),e}function qA(t,i){return Pw(i).filter(e=>!mg(t,e))}var pg=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(i){this._rawValidators=i||[],this._composedValidatorFn=Lw(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=Vw(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(i){this._onDestroyCallbacks.push(i)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(i=>i()),this._onDestroyCallbacks=[]}reset(i=void 0){this.control&&this.control.reset(i)}hasError(i,e){return this.control?this.control.hasError(i,e):!1}getError(i,e){return this.control?this.control.getError(i,e):null}},ia=class extends pg{name;get formDirective(){return null}get path(){return null}},Fi=class extends pg{_parent=null;name=null;valueAccessor=null},hg=class{_cd;constructor(i){this._cd=i}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},L5={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},n0e=Be(L({},L5),{"[class.ng-submitted]":"isSubmitted"}),Ce=(()=>{class t extends hg{constructor(e){super(e)}static \u0275fac=function(n){return new(n||t)(w(Fi,2))};static \u0275dir=B({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,o){n&2&&ne("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[ye]})}return t})(),Dg=(()=>{class t extends hg{constructor(e){super(e)}static \u0275fac=function(n){return new(n||t)(w(ia,10))};static \u0275dir=B({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,o){n&2&&ne("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},standalone:!1,features:[ye]})}return t})();var Yu="VALID",dg="INVALID",Ac="PENDING",Qu="DISABLED",Qa=class{},fg=class extends Qa{value;source;constructor(i,e){super(),this.value=i,this.source=e}},Zu=class extends Qa{pristine;source;constructor(i,e){super(),this.pristine=i,this.source=e}},Xu=class extends Qa{touched;source;constructor(i,e){super(),this.touched=i,this.source=e}},Rc=class extends Qa{status;source;constructor(i,e){super(),this.status=i,this.source=e}},gg=class extends Qa{source;constructor(i){super(),this.source=i}},_g=class extends Qa{source;constructor(i){super(),this.source=i}};function dR(t){return(Eg(t)?t.validators:t)||null}function V5(t){return Array.isArray(t)?Lw(t):t||null}function uR(t,i){return(Eg(i)?i.asyncValidators:t)||null}function B5(t){return Array.isArray(t)?Vw(t):t||null}function Eg(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function j5(t,i,e){let n=t.controls;if(!(i?Object.keys(n):n).length)throw new z(1e3,"");if(!n[e])throw new z(1001,"")}function z5(t,i,e){t._forEachChild((n,o)=>{if(e[o]===void 0)throw new z(1002,"")})}var vg=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(i,e){this._assignValidators(i),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(i){this._rawValidators=this._composedValidatorFn=i}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(i){this._rawAsyncValidators=this._composedAsyncValidatorFn=i}get parent(){return this._parent}get status(){return _n(this.statusReactive)}set status(i){_n(()=>this.statusReactive.set(i))}_status=Ki(()=>this.statusReactive());statusReactive=Ie(void 0);get valid(){return this.status===Yu}get invalid(){return this.status===dg}get pending(){return this.status==Ac}get disabled(){return this.status===Qu}get enabled(){return this.status!==Qu}errors;get pristine(){return _n(this.pristineReactive)}set pristine(i){_n(()=>this.pristineReactive.set(i))}_pristine=Ki(()=>this.pristineReactive());pristineReactive=Ie(!0);get dirty(){return!this.pristine}get touched(){return _n(this.touchedReactive)}set touched(i){_n(()=>this.touchedReactive.set(i))}_touched=Ki(()=>this.touchedReactive());touchedReactive=Ie(!1);get untouched(){return!this.touched}_events=new j;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(i){this._assignValidators(i)}setAsyncValidators(i){this._assignAsyncValidators(i)}addValidators(i){this.setValidators($A(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators($A(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(qA(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(qA(i,this._rawAsyncValidators))}hasValidator(i){return mg(this._rawValidators,i)}hasAsyncValidator(i){return mg(this._rawAsyncValidators,i)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(i={}){let e=this.touched===!1;this.touched=!0;let n=i.sourceControl??this;this._parent&&!i.onlySelf&&this._parent.markAsTouched(Be(L({},i),{sourceControl:n})),e&&i.emitEvent!==!1&&this._events.next(new Xu(!0,n))}markAllAsDirty(i={}){this.markAsDirty({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(i))}markAllAsTouched(i={}){this.markAsTouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(i))}markAsUntouched(i={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=i.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:n})}),this._parent&&!i.onlySelf&&this._parent._updateTouched(i,n),e&&i.emitEvent!==!1&&this._events.next(new Xu(!1,n))}markAsDirty(i={}){let e=this.pristine===!0;this.pristine=!1;let n=i.sourceControl??this;this._parent&&!i.onlySelf&&this._parent.markAsDirty(Be(L({},i),{sourceControl:n})),e&&i.emitEvent!==!1&&this._events.next(new Zu(!1,n))}markAsPristine(i={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=i.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:i.emitEvent})}),this._parent&&!i.onlySelf&&this._parent._updatePristine(i,n),e&&i.emitEvent!==!1&&this._events.next(new Zu(!0,n))}markAsPending(i={}){this.status=Ac;let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Rc(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.markAsPending(Be(L({},i),{sourceControl:e}))}disable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=Qu,this.errors=null,this._forEachChild(o=>{o.disable(Be(L({},i),{onlySelf:!0}))}),this._updateValue();let n=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new fg(this.value,n)),this._events.next(new Rc(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Be(L({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=Yu,this._forEachChild(n=>{n.enable(Be(L({},i),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent}),this._updateAncestors(Be(L({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(i,e){this._parent&&!i.onlySelf&&(this._parent.updateValueAndValidity(i),i.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(i){this._parent=i}getRawValue(){return this.value}updateValueAndValidity(i={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Yu||this.status===Ac)&&this._runAsyncValidator(n,i.emitEvent)}let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new fg(this.value,e)),this._events.next(new Rc(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.updateValueAndValidity(Be(L({},i),{sourceControl:e}))}_updateTreeValidity(i={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(i)),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Qu:Yu}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i,e){if(this.asyncValidator){this.status=Ac,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:i!==!1};let n=nR(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:e,shouldHaveEmitted:i})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let i=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,i}return!1}setErrors(i,e={}){this.errors=i,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(i){let e=i;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((n,o)=>n&&n._find(o),this)}getError(i,e){let n=e?this.get(e):this;return n&&n.errors?n.errors[i]:null}hasError(i,e){return!!this.getError(i,e)}get root(){let i=this;for(;i._parent;)i=i._parent;return i}_updateControlsErrors(i,e,n){this.status=this._calculateStatus(),i&&this.statusChanges.emit(this.status),(i||n)&&this._events.next(new Rc(this.status,e)),this._parent&&this._parent._updateControlsErrors(i,e,n)}_initObservables(){this.valueChanges=new k,this.statusChanges=new k}_calculateStatus(){return this._allControlsDisabled()?Qu:this.errors?dg:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ac)?Ac:this._anyControlsHaveStatus(dg)?dg:Yu}_anyControlsHaveStatus(i){return this._anyControls(e=>e.status===i)}_anyControlsDirty(){return this._anyControls(i=>i.dirty)}_anyControlsTouched(){return this._anyControls(i=>i.touched)}_updatePristine(i,e){let n=!this._anyControlsDirty(),o=this.pristine!==n;this.pristine=n,this._parent&&!i.onlySelf&&this._parent._updatePristine(i,e),o&&this._events.next(new Zu(this.pristine,e))}_updateTouched(i={},e){this.touched=this._anyControlsTouched(),this._events.next(new Xu(this.touched,e)),this._parent&&!i.onlySelf&&this._parent._updateTouched(i,e)}_onDisabledChange=[];_registerOnCollectionChange(i){this._onCollectionChange=i}_setUpdateStrategy(i){Eg(i)&&i.updateOn!=null&&(this._updateOn=i.updateOn)}_parentMarkedDirty(i){let e=this._parent&&this._parent.dirty;return!i&&!!e&&!this._parent._anyControlsDirty()}_find(i){return null}_assignValidators(i){this._rawValidators=Array.isArray(i)?i.slice():i,this._composedValidatorFn=V5(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=B5(this._rawAsyncValidators)}},bg=class extends vg{constructor(i,e,n){super(dR(e),uR(n,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(i,e){return this.controls[i]?this.controls[i]:(this.controls[i]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(i,e,n={}){this.registerControl(i,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(i,e={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(i,e,n={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],e&&this.registerControl(i,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(i){return this.controls.hasOwnProperty(i)&&this.controls[i].enabled}setValue(i,e={}){z5(this,!0,i),Object.keys(i).forEach(n=>{j5(this,!0,n),this.controls[n].setValue(i[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(i,e={}){i!=null&&(Object.keys(i).forEach(n=>{let o=this.controls[n];o&&o.patchValue(i[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(i={},e={}){this._forEachChild((n,o)=>{n.reset(i?i[o]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new _g(this))}getRawValue(){return this._reduceChildren({},(i,e,n)=>(i[n]=e.getRawValue(),i))}_syncPendingControls(){let i=this._reduceChildren(!1,(e,n)=>n._syncPendingControls()?!0:e);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){Object.keys(this.controls).forEach(e=>{let n=this.controls[e];n&&i(n,e)})}_setUpControls(){this._forEachChild(i=>{i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(i){for(let[e,n]of Object.entries(this.controls))if(this.contains(e)&&i(n))return!0;return!1}_reduceValue(){let i={};return this._reduceChildren(i,(e,n,o)=>((n.enabled||this.disabled)&&(e[o]=n.value),e))}_reduceChildren(i,e){let n=i;return this._forEachChild((o,r)=>{n=e(n,o,r)}),n}_allControlsDisabled(){for(let i of Object.keys(this.controls))if(this.controls[i].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(i){return this.controls.hasOwnProperty(i)?this.controls[i]:null}};var Oc=new T("",{providedIn:"root",factory:()=>Sg}),Sg="always";function U5(t,i){return[...i.path,t]}function Ju(t,i,e=Sg){Bw(t,i),i.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&i.valueAccessor.setDisabledState?.(t.disabled),G5(t,i),$5(t,i),W5(t,i),H5(t,i)}function yg(t,i,e=!0){let n=()=>{};i.valueAccessor&&(i.valueAccessor.registerOnChange(n),i.valueAccessor.registerOnTouched(n)),wg(t,i),t&&(i._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Cg(t,i){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(i)})}function H5(t,i){if(i.valueAccessor.setDisabledState){let e=n=>{i.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(e),i._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function Bw(t,i){let e=lR(t);i.validator!==null?t.setValidators(WA(e,i.validator)):typeof e=="function"&&t.setValidators([e]);let n=cR(t);i.asyncValidator!==null?t.setAsyncValidators(WA(n,i.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let o=()=>t.updateValueAndValidity();Cg(i._rawValidators,o),Cg(i._rawAsyncValidators,o)}function wg(t,i){let e=!1;if(t!==null){if(i.validator!==null){let o=lR(t);if(Array.isArray(o)&&o.length>0){let r=o.filter(a=>a!==i.validator);r.length!==o.length&&(e=!0,t.setValidators(r))}}if(i.asyncValidator!==null){let o=cR(t);if(Array.isArray(o)&&o.length>0){let r=o.filter(a=>a!==i.asyncValidator);r.length!==o.length&&(e=!0,t.setAsyncValidators(r))}}}let n=()=>{};return Cg(i._rawValidators,n),Cg(i._rawAsyncValidators,n),e}function G5(t,i){i.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&mR(t,i)})}function W5(t,i){i.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&mR(t,i),t.updateOn!=="submit"&&t.markAsTouched()})}function mR(t,i){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function $5(t,i){let e=(n,o)=>{i.valueAccessor.writeValue(n),o&&i.viewToModelUpdate(n)};t.registerOnChange(e),i._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function pR(t,i){t==null,Bw(t,i)}function q5(t,i){return wg(t,i)}function hR(t,i){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(i,e.currentValue)}function Y5(t){return Object.getPrototypeOf(t.constructor)===XA}function fR(t,i){t._syncPendingControls(),i.forEach(e=>{let n=e.control;n.updateOn==="submit"&&n._pendingChange&&(e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function gR(t,i){if(!i)return null;Array.isArray(i);let e,n,o;return i.forEach(r=>{r.constructor===ct?e=r:Y5(r)?n=r:o=r}),o||n||e||null}function Q5(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}var K5={provide:ia,useExisting:Zt(()=>xo)},Ku=Promise.resolve(),xo=(()=>{class t extends ia{callSetDisabledState;get submitted(){return _n(this.submittedReactive)}_submitted=Ki(()=>this.submittedReactive());submittedReactive=Ie(!1);_directives=new Set;form;ngSubmit=new k;options;constructor(e,n,o){super(),this.callSetDisabledState=o,this.form=new bg({},Lw(e),Vw(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Ku.then(()=>{let n=this._findContainer(e.path);e.control=n.registerControl(e.name,e.control),Ju(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Ku.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Ku.then(()=>{let n=this._findContainer(e.path),o=new bg({});pR(o,e),n.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Ku.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,n){Ku.then(()=>{this.form.get(e.path).setValue(n)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),fR(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new gg(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(n){return new(n||t)(w(wo,10),w(xg,10),w(Oc,8))};static \u0275dir=B({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,o){n&1&&b("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ve([K5]),ye]})}return t})();function YA(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}function QA(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var Mg=class extends vg{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(i=null,e,n){super(dR(e),uR(n,e)),this._applyFormState(i),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Eg(e)&&(e.nonNullable||e.initialValueIsDefault)&&(QA(i)?this.defaultValue=i.value:this.defaultValue=i)}setValue(i,e={}){this.value=this._pendingValue=i,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(i,e={}){this.setValue(i,e)}reset(i=this.defaultValue,e={}){this._applyFormState(i),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1,e?.emitEvent!==!1&&this._events.next(new _g(this))}_updateValue(){}_anyControls(i){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(i){this._onChange.push(i)}_unregisterOnChange(i){YA(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){YA(this._onDisabledChange,i)}_forEachChild(i){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(i){QA(i)?(this.value=this._pendingValue=i.value,i.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=i}};var Z5=t=>t instanceof Mg;var X5={provide:Fi,useExisting:Zt(()=>xe)},KA=Promise.resolve(),xe=(()=>{class t extends Fi{_changeDetectorRef;callSetDisabledState;control=new Mg;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new k;constructor(e,n,o,r,a,s){super(),this._changeDetectorRef=a,this.callSetDisabledState=s,this._parent=e,this._setValidators(n),this._setAsyncValidators(o),this.valueAccessor=gR(this,r)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let n=e.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),hR(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Ju(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){KA.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let n=e.isDisabled.currentValue,o=n!==0&&$(n);KA.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?U5(e,this._parent):[e]}static \u0275fac=function(n){return new(n||t)(w(ia,9),w(wo,10),w(xg,10),w(Ai,10),w(Te,8),w(Oc,8))};static \u0275dir=B({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[ve([X5]),ye,Ge]})}return t})();var Ig=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})(),J5={provide:Ai,useExisting:Zt(()=>io),multi:!0},io=(()=>{class t extends XA{writeValue(e){let n=e??"";this.setProperty("value",n)}registerOnChange(e){this.onChange=n=>{e(n==""?null:parseFloat(n))}}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ct(t)))(o||t)}})();static \u0275dir=B({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,o){n&1&&b("input",function(a){return o.onChange(a.target.value)})("blur",function(){return o.onTouched()})},standalone:!1,features:[ve([J5]),ye]})}return t})();var _R=new T(""),e8={provide:Fi,useExisting:Zt(()=>jw)},jw=(()=>{class t extends Fi{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new k;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,n,o,r,a){super(),this._ngModelWarningConfig=r,this.callSetDisabledState=a,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=gR(this,o)}ngOnChanges(e){if(this._isControlChanged(e)){let n=e.form.previousValue;n&&yg(n,this,!1),Ju(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}hR(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&yg(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(n){return new(n||t)(w(wo,10),w(xg,10),w(Ai,10),w(_R,8),w(Oc,8))};static \u0275dir=B({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[ve([e8]),ye,Ge]})}return t})(),t8={provide:ia,useExisting:Zt(()=>Ka)},Ka=(()=>{class t extends ia{callSetDisabledState;get submitted(){return _n(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Ki(()=>this._submittedReactive());_submittedReactive=Ie(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new k;constructor(e,n,o){super(),this.callSetDisabledState=o,this._setValidators(e),this._setAsyncValidators(n)}ngOnChanges(e){e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(wg(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let n=this.form.get(e.path);return Ju(n,e,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),n}getControl(e){return this.form.get(e.path)}removeControl(e){yg(e.control||null,e,!1),Q5(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,n){this.form.get(e.path).setValue(n)}onSubmit(e){return this._submittedReactive.set(!0),fR(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new gg(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0,n={}){this.form.reset(e,n),this._submittedReactive.set(!1)}_updateDomValue(){this.directives.forEach(e=>{let n=e.control,o=this.form.get(e.path);n!==o&&(yg(n||null,e),Z5(o)&&(Ju(o,e,this.callSetDisabledState),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let n=this.form.get(e.path);pR(n,e),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let n=this.form.get(e.path);n&&q5(n,e)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Bw(this.form,this),this._oldForm&&wg(this._oldForm,this)}static \u0275fac=function(n){return new(n||t)(w(wo,10),w(xg,10),w(Oc,8))};static \u0275dir=B({type:t,selectors:[["","formGroup",""]],hostBindings:function(n,o){n&1&&b("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ve([t8]),ye,Ge]})}return t})();function n8(t){return typeof t=="number"?t:parseInt(t,10)}var vR=(()=>{class t{_validator=ug;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let n=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):ug,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,features:[Ge]})}return t})();var i8={provide:wo,useExisting:Zt(()=>Un),multi:!0};var Un=(()=>{class t extends vR{required;inputName="required";normalizeInput=$;createValidator=e=>JA;enabled(e){return e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ct(t)))(o||t)}})();static \u0275dir=B({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,o){n&2&&ee("required",o._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[ve([i8]),ye]})}return t})();var o8={provide:wo,useExisting:Zt(()=>al),multi:!0},al=(()=>{class t extends vR{maxlength;inputName="maxlength";normalizeInput=e=>n8(e);createValidator=e=>eR(e);static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ct(t)))(o||t)}})();static \u0275dir=B({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(n,o){n&2&&ee("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[ve([o8]),ye]})}return t})();var bR=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();var yR=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Oc,useValue:e.callSetDisabledState??Sg}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[bR]})}return t})(),Tg=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:_R,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Oc,useValue:e.callSetDisabledState??Sg}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[bR]})}return t})();var zw=class{_box;_destroyed=new j;_resizeSubject=new j;_resizeObserver;_elementObservables=new Map;constructor(i){this._box=i,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(i){return this._elementObservables.has(i)||this._elementObservables.set(i,new Ae(e=>{let n=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(i,{box:this._box}),()=>{this._resizeObserver?.unobserve(i),n.unsubscribe(),this._elementObservables.delete(i)}}).pipe(Ke(e=>e.some(n=>n.target===i)),hp({bufferSize:1,refCount:!0}),ke(this._destroyed))),this._elementObservables.get(i)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},kg=(()=>{class t{_cleanupErrorListener;_observers=new Map;_ngZone=p(te);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,n){let o=n?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new zw(o)),this._observers.get(o).observe(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var $w=["*"];function r8(t,i){t&1&&ae(0)}var a8=["tabListContainer"],s8=["tabList"],l8=["tabListInner"],c8=["nextPaginator"],d8=["previousPaginator"],u8=["content"];function m8(t,i){}var p8=["tabBodyWrapper"],h8=["tabHeader"];function f8(t,i){}function g8(t,i){if(t&1&&S(0,f8,0,0,"ng-template",12),t&2){let e=_().$implicit;h("cdkPortalOutlet",e.templateLabel)}}function _8(t,i){if(t&1&&g(0),t&2){let e=_().$implicit;tt(e.textLabel)}}function v8(t,i){if(t&1){let e=A();c(0,"div",7,2),b("click",function(){let o=y(e),r=o.$implicit,a=o.$index,s=_(),l=Se(1);return C(s._handleClick(r,l,a))})("cdkFocusChange",function(o){let r=y(e).$index,a=_();return C(a._tabFocusChanged(o,r))}),M(2,"span",8)(3,"div",9),c(4,"span",10)(5,"span",11),ue(6,g8,1,1,null,12)(7,_8,1,1),d()()()}if(t&2){let e=i.$implicit,n=i.$index,o=Se(1),r=_();Kt(e.labelClass),ne("mdc-tab--active",r.selectedIndex===n),h("id",r._getTabLabelId(e,n))("disabled",e.disabled)("fitInkBarToContent",r.fitInkBarToContent),ee("tabIndex",r._getTabIndex(n))("aria-posinset",n+1)("aria-setsize",r._tabs.length)("aria-controls",r._getTabContentId(n))("aria-selected",r.selectedIndex===n)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),u(3),h("matRippleTrigger",o)("matRippleDisabled",e.disabled||r.disableRipple),u(3),me(e.templateLabel?6:7)}}function b8(t,i){t&1&&ae(0)}function y8(t,i){if(t&1){let e=A();c(0,"mat-tab-body",13),b("_onCentered",function(){y(e);let o=_();return C(o._removeTabBodyWrapperHeight())})("_onCentering",function(o){y(e);let r=_();return C(r._setTabBodyWrapperHeight(o))})("_beforeCentering",function(o){y(e);let r=_();return C(r._bodyCentered(o))}),d()}if(t&2){let e=i.$implicit,n=i.$index,o=_();Kt(e.bodyClass),h("id",o._getTabContentId(n))("content",e.content)("position",e.position)("animationDuration",o.animationDuration)("preserveContent",o.preserveContent),ee("tabindex",o.contentTabIndex!=null&&o.selectedIndex===n?o.contentTabIndex:null)("aria-labelledby",o._getTabLabelId(e,n))("aria-hidden",o.selectedIndex!==n)}}var C8=new T("MatTabContent"),w8=(()=>{class t{template=p(bt);constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","matTabContent",""]],features:[ve([{provide:C8,useExisting:t}])]})}return t})(),x8=new T("MatTabLabel"),DR=new T("MAT_TAB"),nn=(()=>{class t extends Ik{_closestTab=p(DR,{optional:!0});static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ct(t)))(o||t)}})();static \u0275dir=B({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[ve([{provide:x8,useExisting:t}]),ye]})}return t})(),ER=new T("MAT_TAB_GROUP"),on=(()=>{class t{_viewContainerRef=p(Mt);_closestTabGroup=p(ER,{optional:!0});disabled=!1;get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}_templateLabel;_explicitContent=void 0;_implicitContent;textLabel="";ariaLabel;ariaLabelledby;labelClass;bodyClass;id=null;_contentPortal=null;get content(){return this._contentPortal}_stateChanges=new j;position=null;origin=null;isActive=!1;constructor(){p(Dt).load(In)}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new jn(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-tab"]],contentQueries:function(n,o,r){if(n&1&&(Fe(r,nn,5),Fe(r,w8,7,bt)),n&2){let a;Y(a=Q())&&(o.templateLabel=a.first),Y(a=Q())&&(o._explicitContent=a.first)}},viewQuery:function(n,o){if(n&1&&le(bt,7),n&2){let r;Y(r=Q())&&(o._implicitContent=r.first)}},hostAttrs:["hidden",""],hostVars:1,hostBindings:function(n,o){n&2&&ee("id",null)},inputs:{disabled:[2,"disabled","disabled",$],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass",id:"id"},exportAs:["matTab"],features:[ve([{provide:DR,useExisting:t}]),Ge],ngContentSelectors:$w,decls:1,vars:0,template:function(n,o){n&1&&(He(),Kr(0,r8,1,0,"ng-template"))},encapsulation:2})}return t})(),Uw="mdc-tab-indicator--active",CR="mdc-tab-indicator--no-transition",Hw=class{_items;_currentItem;constructor(i){this._items=i}hide(){this._items.forEach(i=>i.deactivateInkBar()),this._currentItem=void 0}alignToElement(i){let e=this._items.find(o=>o.elementRef.nativeElement===i),n=this._currentItem;if(e!==n&&(n?.deactivateInkBar(),e)){let o=n?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(o),this._currentItem=e}}},D8=(()=>{class t{_elementRef=p(K);_inkBarElement;_inkBarContentElement;_fitToContent=!1;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let n=this._elementRef.nativeElement;if(!e||!n.getBoundingClientRect||!this._inkBarContentElement){n.classList.add(Uw);return}let o=n.getBoundingClientRect(),r=e.width/o.width,a=e.left-o.left;n.classList.add(CR),this._inkBarContentElement.style.setProperty("transform",`translateX(${a}px) scaleX(${r})`),n.getBoundingClientRect(),n.classList.remove(CR),n.classList.add(Uw),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(Uw)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,n=this._inkBarElement=e.createElement("span"),o=this._inkBarContentElement=e.createElement("span");n.className="mdc-tab-indicator",o.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",n.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",$]}})}return t})();var SR=(()=>{class t extends D8{elementRef=p(K);disabled=!1;focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ct(t)))(o||t)}})();static \u0275dir=B({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(n,o){n&2&&(ee("aria-disabled",!!o.disabled),ne("mat-mdc-tab-disabled",o.disabled))},inputs:{disabled:[2,"disabled","disabled",$]},features:[ye]})}return t})(),wR={passive:!0},E8=650,S8=100,M8=(()=>{class t{_elementRef=p(K);_changeDetectorRef=p(Te);_viewportRuler=p(oi);_dir=p(Bt,{optional:!0});_ngZone=p(te);_platform=p(nt);_sharedResizeObserver=p(kg);_injector=p(re);_renderer=p(St);_animationsDisabled=rt();_eventCleanups;_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new j;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged;_keyManager;_currentTextContent;_stopScrolling=new j;disablePagination=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let n=isNaN(e)?0:e;this._selectedIndex!=n&&(this._selectedIndexChanged=!0,this._selectedIndex=n,this._keyManager&&this._keyManager.updateActiveItem(n))}_selectedIndex=0;selectFocusedIndex=new k;indexFocused=new k;constructor(){this._eventCleanups=this._ngZone.runOutsideAngular(()=>[this._renderer.listen(this._elementRef.nativeElement,"mouseleave",()=>this._stopInterval())])}ngAfterViewInit(){this._eventCleanups.push(this._renderer.listen(this._previousPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("before"),wR),this._renderer.listen(this._nextPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("after"),wR))}ngAfterContentInit(){let e=this._dir?this._dir.change:ie("ltr"),n=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(Vr(32),ke(this._destroyed)),o=this._viewportRuler.change(150).pipe(ke(this._destroyed)),r=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new na(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(Math.max(this._selectedIndex,0)),xt(r,{injector:this._injector}),Tt(e,o,n,this._items.changes,this._itemsResized()).pipe(ke(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),r()})}),this._keyManager?.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}_itemsResized(){return typeof ResizeObserver!="function"?Tn:this._items.changes.pipe(Et(this._items),vt(e=>new Ae(n=>this._ngZone.runOutsideAngular(()=>{let o=new ResizeObserver(r=>n.next(r));return e.forEach(r=>o.observe(r.elementRef.nativeElement)),()=>{o.disconnect()}}))),fs(1),Ke(e=>e.some(n=>n.contentRect.width>0&&n.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._eventCleanups.forEach(e=>e()),this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!kt(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let n=this._items.get(this.focusIndex);n&&!n.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager?.onKeydown(e)}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let n=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?n.scrollLeft=0:n.scrollLeft=n.scrollWidth-n.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,n=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(n)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){let n=this._tabListContainer.nativeElement.offsetWidth,o=(e=="before"?-1:1)*n/3;return this._scrollTo(this._scrollDistance+o)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let n=this._items?this._items.toArray()[e]:null;if(!n)return;let o=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:r,offsetWidth:a}=n.elementRef.nativeElement,s,l;this._getLayoutDirection()=="ltr"?(s=r,l=s+a):(l=this._tabListInner.nativeElement.offsetWidth-r,s=l-a);let m=this.scrollDistance,f=this.scrollDistance+o;sf&&(this.scrollDistance+=Math.min(l-f,s-m))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth,n=this._elementRef.nativeElement.offsetWidth,o=e-n>=5;o||(this.scrollDistance=0),o!==this._showPaginationControls&&(this._showPaginationControls=o,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,n=this._tabListContainer.nativeElement.offsetWidth;return e-n||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,n=e?e.elementRef.nativeElement:null;n?this._inkBar.alignToElement(n):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,n){n&&n.button!=null&&n.button!==0||(this._stopInterval(),Oo(E8,S8).pipe(ke(Tt(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:o,distance:r}=this._scrollHeader(e);(r===0||r>=o)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let n=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(n,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:n,distance:this._scrollDistance}}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,inputs:{disablePagination:[2,"disablePagination","disablePagination",$],selectedIndex:[2,"selectedIndex","selectedIndex",an]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}})}return t})(),I8=(()=>{class t extends M8{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=!1;ngAfterContentInit(){this._inkBar=new Hw(this._items),super.ngAfterContentInit()}_itemSelected(e){e.preventDefault()}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ct(t)))(o||t)}})();static \u0275cmp=E({type:t,selectors:[["mat-tab-header"]],contentQueries:function(n,o,r){if(n&1&&Fe(r,SR,4),n&2){let a;Y(a=Q())&&(o._items=a)}},viewQuery:function(n,o){if(n&1&&(le(a8,7),le(s8,7),le(l8,7),le(c8,5),le(d8,5)),n&2){let r;Y(r=Q())&&(o._tabListContainer=r.first),Y(r=Q())&&(o._tabList=r.first),Y(r=Q())&&(o._tabListInner=r.first),Y(r=Q())&&(o._nextPaginator=r.first),Y(r=Q())&&(o._previousPaginator=r.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(n,o){n&2&&ne("mat-mdc-tab-header-pagination-controls-enabled",o._showPaginationControls)("mat-mdc-tab-header-rtl",o._getLayoutDirection()=="rtl")},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",$]},features:[ye],ngContentSelectors:$w,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(n,o){if(n&1){let r=A();He(),c(0,"div",5,0),b("click",function(){return y(r),C(o._handlePaginatorClick("before"))})("mousedown",function(s){return y(r),C(o._handlePaginatorPress("before",s))})("touchend",function(){return y(r),C(o._stopInterval())}),M(2,"div",6),d(),c(3,"div",7,1),b("keydown",function(s){return y(r),C(o._handleKeydown(s))}),c(5,"div",8,2),b("cdkObserveContent",function(){return y(r),C(o._onContentChanges())}),c(7,"div",9,3),ae(9),d()()(),c(10,"div",10,4),b("mousedown",function(s){return y(r),C(o._handlePaginatorPress("after",s))})("click",function(){return y(r),C(o._handlePaginatorClick("after"))})("touchend",function(){return y(r),C(o._stopInterval())}),M(12,"div",6),d()}n&2&&(ne("mat-mdc-tab-header-pagination-disabled",o._disableScrollBefore),h("matRippleDisabled",o._disableScrollBefore||o.disableRipple),u(3),ne("_mat-animation-noopable",o._animationsDisabled),u(2),ee("aria-label",o.ariaLabel||null)("aria-labelledby",o.ariaLabelledby||null),u(5),ne("mat-mdc-tab-header-pagination-disabled",o._disableScrollAfter),h("matRippleDisabled",o._disableScrollAfter||o.disableRipple))},dependencies:[no,jk],styles:[`.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-pagination-icon-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-divider-height, 1px);border-bottom-color:var(--mat-tab-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-divider-height, 1px);border-top-color:var(--mat-tab-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mat-tab-container-height, 48px)}.mat-mdc-tab::before{margin:5px}@media(forced-colors: active){.mat-mdc-tab[aria-disabled=true]{color:GrayText}} +`],encapsulation:2})}return t})(),T8=new T("MAT_TABS_CONFIG"),xR=(()=>{class t extends Di{_host=p(Gw);_ngZone=p(te);_centeringSub=_e.EMPTY;_leavingSub=_e.EMPTY;constructor(){super()}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Et(this._host._isCenterPosition())).subscribe(e=>{this._host._content&&e&&!this.hasAttached()&&this._ngZone.run(()=>{Promise.resolve().then(),this.attach(this._host._content)})}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this._ngZone.run(()=>this.detach())})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","matTabBodyHost",""]],features:[ye]})}return t})(),Gw=(()=>{class t{_elementRef=p(K);_dir=p(Bt,{optional:!0});_ngZone=p(te);_injector=p(re);_renderer=p(St);_diAnimationsDisabled=rt();_eventCleanups;_initialized;_fallbackTimer;_positionIndex;_dirChangeSubscription=_e.EMPTY;_position;_previousPosition;_onCentering=new k;_beforeCentering=new k;_afterLeavingCenter=new k;_onCentered=new k(!0);_portalHost;_contentElement;_content;animationDuration="500ms";preserveContent=!1;set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(){if(this._dir){let e=p(Te);this._dirChangeSubscription=this._dir.change.subscribe(n=>{this._computePositionAnimationState(n),e.markForCheck()})}}ngOnInit(){this._bindTransitionEvents(),this._position==="center"&&(this._setActiveClass(!0),xt(()=>this._onCentering.emit(this._elementRef.nativeElement.clientHeight),{injector:this._injector})),this._initialized=!0}ngOnDestroy(){clearTimeout(this._fallbackTimer),this._eventCleanups?.forEach(e=>e()),this._dirChangeSubscription.unsubscribe()}_bindTransitionEvents(){this._ngZone.runOutsideAngular(()=>{let e=this._elementRef.nativeElement,n=o=>{o.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.remove("mat-tab-body-animating"),o.type==="transitionend"&&this._transitionDone())};this._eventCleanups=[this._renderer.listen(e,"transitionstart",o=>{o.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.add("mat-tab-body-animating"),this._transitionStarted())}),this._renderer.listen(e,"transitionend",n),this._renderer.listen(e,"transitioncancel",n)]})}_transitionStarted(){clearTimeout(this._fallbackTimer);let e=this._position==="center";this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_transitionDone(){this._position==="center"?this._onCentered.emit():this._previousPosition==="center"&&this._afterLeavingCenter.emit()}_setActiveClass(e){this._elementRef.nativeElement.classList.toggle("mat-mdc-tab-body-active",e)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(){return this._positionIndex===0}_computePositionAnimationState(e=this._getLayoutDirection()){this._previousPosition=this._position,this._positionIndex<0?this._position=e=="ltr"?"left":"right":this._positionIndex>0?this._position=e=="ltr"?"right":"left":this._position="center",this._animationsDisabled()?this._simulateTransitionEvents():this._initialized&&(this._position==="center"||this._previousPosition==="center")&&(clearTimeout(this._fallbackTimer),this._fallbackTimer=this._ngZone.runOutsideAngular(()=>setTimeout(()=>this._simulateTransitionEvents(),100)))}_simulateTransitionEvents(){this._transitionStarted(),xt(()=>this._transitionDone(),{injector:this._injector})}_animationsDisabled(){return this._diAnimationsDisabled||this.animationDuration==="0ms"||this.animationDuration==="0s"}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-tab-body"]],viewQuery:function(n,o){if(n&1&&(le(xR,5),le(u8,5)),n&2){let r;Y(r=Q())&&(o._portalHost=r.first),Y(r=Q())&&(o._contentElement=r.first)}},hostAttrs:[1,"mat-mdc-tab-body"],hostVars:1,hostBindings:function(n,o){n&2&&ee("inert",o._position==="center"?null:"")},inputs:{_content:[0,"content","_content"],animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(n,o){n&1&&(c(0,"div",1,0),S(2,m8,0,0,"ng-template",2),d()),n&2&&ne("mat-tab-body-content-left",o._position==="left")("mat-tab-body-content-right",o._position==="right")("mat-tab-body-content-can-animate",o._position==="center"||o._previousPosition==="center")},dependencies:[xR,Fu],styles:[`.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto;transform:none;visibility:hidden}.mat-tab-body-animating>.mat-mdc-tab-body-content,.mat-mdc-tab-body-active>.mat-mdc-tab-body-content{visibility:visible}.mat-tab-body-animating>.mat-mdc-tab-body-content{min-height:1px}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-tab-body-content-can-animate{transition:transform var(--mat-tab-animation-duration) 1ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable .mat-tab-body-content-can-animate{transition:none}.mat-tab-body-content-left{transform:translate3d(-100%, 0, 0)}.mat-tab-body-content-right{transform:translate3d(100%, 0, 0)} +`],encapsulation:2})}return t})(),sn=(()=>{class t{_elementRef=p(K);_changeDetectorRef=p(Te);_ngZone=p(te);_tabsSubscription=_e.EMPTY;_tabLabelSubscription=_e.EMPTY;_tabBodySubscription=_e.EMPTY;_diAnimationsDisabled=rt();_allTabs;_tabBodies;_tabBodyWrapper;_tabHeader;_tabs=new qi;_indexToSelect=0;_lastFocusedTabIndex=null;_tabBodyWrapperHeight=0;color;get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=e,this._changeDetectorRef.markForCheck()}_fitInkBarToContent=!1;stretchTabs=!0;alignTabs=null;dynamicHeight=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=isNaN(e)?null:e}_selectedIndex=null;headerPosition="above";get animationDuration(){return this._animationDuration}set animationDuration(e){let n=e+"";this._animationDuration=/^\d+$/.test(n)?e+"ms":n}_animationDuration;get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=isNaN(e)?null:e}_contentTabIndex;disablePagination=!1;disableRipple=!1;preserveContent=!1;get backgroundColor(){return this._backgroundColor}set backgroundColor(e){let n=this._elementRef.nativeElement.classList;n.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&n.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}_backgroundColor;ariaLabel;ariaLabelledby;selectedIndexChange=new k;focusChange=new k;animationDone=new k;selectedTabChange=new k(!0);_groupId;_isServer=!p(nt).isBrowser;constructor(){let e=p(T8,{optional:!0});this._groupId=p(mt).getId("mat-tab-group-"),this.animationDuration=e&&e.animationDuration?e.animationDuration:"500ms",this.disablePagination=e&&e.disablePagination!=null?e.disablePagination:!1,this.dynamicHeight=e&&e.dynamicHeight!=null?e.dynamicHeight:!1,e?.contentTabIndex!=null&&(this.contentTabIndex=e.contentTabIndex),this.preserveContent=!!e?.preserveContent,this.fitInkBarToContent=e&&e.fitInkBarToContent!=null?e.fitInkBarToContent:!1,this.stretchTabs=e&&e.stretchTabs!=null?e.stretchTabs:!0,this.alignTabs=e&&e.alignTabs!=null?e.alignTabs:null}ngAfterContentChecked(){let e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){let n=this._selectedIndex==null;if(!n){this.selectedTabChange.emit(this._createChangeEvent(e));let o=this._tabBodyWrapper.nativeElement;o.style.minHeight=o.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((o,r)=>o.isActive=r===e),n||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((n,o)=>{n.position=o-e,this._selectedIndex!=null&&n.position==0&&!n.origin&&(n.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){let n=this._tabs.toArray(),o;for(let r=0;r{n[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}ngAfterViewInit(){this._tabBodySubscription=this._tabBodies.changes.subscribe(()=>this._bodyCentered(!0))}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Et(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(n=>n._closestTabGroup===this||!n._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe(),this._tabBodySubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){let n=this._tabHeader;n&&(n.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){let n=new Ww;return n.index=e,this._tabs&&this._tabs.length&&(n.tab=this._tabs.toArray()[e]),n}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Tt(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e,n){return e.id||`${this._groupId}-label-${n}`}_getTabContentId(e){return`${this._groupId}-content-${e}`}_setTabBodyWrapperHeight(e){if(!this.dynamicHeight||!this._tabBodyWrapperHeight){this._tabBodyWrapperHeight=e;return}let n=this._tabBodyWrapper.nativeElement;n.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(n.style.height=e+"px")}_removeTabBodyWrapperHeight(){let e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this._ngZone.run(()=>this.animationDone.emit())}_handleClick(e,n,o){n.focusIndex=o,e.disabled||(this.selectedIndex=o)}_getTabIndex(e){let n=this._lastFocusedTabIndex??this.selectedIndex;return e===n?0:-1}_tabFocusChanged(e,n){e&&e!=="mouse"&&e!=="touch"&&(this._tabHeader.focusIndex=n)}_bodyCentered(e){e&&this._tabBodies?.forEach((n,o)=>n._setActiveClass(o===this._selectedIndex))}_animationsDisabled(){return this._diAnimationsDisabled||this.animationDuration==="0"||this.animationDuration==="0ms"}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-tab-group"]],contentQueries:function(n,o,r){if(n&1&&Fe(r,on,5),n&2){let a;Y(a=Q())&&(o._allTabs=a)}},viewQuery:function(n,o){if(n&1&&(le(p8,5),le(h8,5),le(Gw,5)),n&2){let r;Y(r=Q())&&(o._tabBodyWrapper=r.first),Y(r=Q())&&(o._tabHeader=r.first),Y(r=Q())&&(o._tabBodies=r)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:11,hostBindings:function(n,o){n&2&&(ee("mat-align-tabs",o.alignTabs),Kt("mat-"+(o.color||"primary")),Zn("--mat-tab-animation-duration",o.animationDuration),ne("mat-mdc-tab-group-dynamic-height",o.dynamicHeight)("mat-mdc-tab-group-inverted-header",o.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",o.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",$],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",$],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",$],selectedIndex:[2,"selectedIndex","selectedIndex",an],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",an],disablePagination:[2,"disablePagination","disablePagination",$],disableRipple:[2,"disableRipple","disableRipple",$],preserveContent:[2,"preserveContent","preserveContent",$],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[ve([{provide:ER,useExisting:t}])],ngContentSelectors:$w,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","class","content","position","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","_beforeCentering","id","content","position","animationDuration","preserveContent"]],template:function(n,o){if(n&1){let r=A();He(),c(0,"mat-tab-header",3,0),b("indexFocused",function(s){return y(r),C(o._focusChanged(s))})("selectFocusedIndex",function(s){return y(r),C(o.selectedIndex=s)}),wr(2,v8,8,17,"div",4,Xl),d(),ue(4,b8,1,0),c(5,"div",5,1),wr(7,y8,1,10,"mat-tab-body",6,Xl),d()}n&2&&(h("selectedIndex",o.selectedIndex||0)("disableRipple",o.disableRipple)("disablePagination",o.disablePagination),Zl("aria-label",o.ariaLabel)("aria-labelledby",o.ariaLabelledby),u(2),xr(o._tabs),u(2),me(o._isServer?4:-1),u(),ne("_mat-animation-noopable",o._animationsDisabled()),u(2),xr(o._tabs))},dependencies:[I8,SR,Ru,no,Di,Gw],styles:[`.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1;touch-action:manipulation}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mat-tab-container-height, 48px);font-family:var(--mat-tab-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mat-tab-active-indicator-height, 2px);border-radius:var(--mat-tab-active-indicator-shape, 0)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-focus-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-disabled-ripple-color, var(--mat-sys-on-surface-variant))}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-inactive-label-text-color, var(--mat-sys-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important} +`],encapsulation:2})}return t})(),Ww=class{index;tab};var MR=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[fe,fe]})}return t})();function k8(t,i){if(t&1){let e=A();c(0,"uds-field-text",2),b("changed",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()}if(t&2){let e=_();h("field",e.field)}}function A8(t,i){if(t&1){let e=A();c(0,"uds-field-autocomplete",2),b("changed",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()}if(t&2){let e=_();h("field",e.field)}}function R8(t,i){if(t&1){let e=A();c(0,"uds-field-textbox",2),b("changed",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()}if(t&2){let e=_();h("field",e.field)}}function O8(t,i){if(t&1){let e=A();c(0,"uds-field-numeric",2),b("changed",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()}if(t&2){let e=_();h("field",e.field)}}function P8(t,i){if(t&1){let e=A();c(0,"uds-field-password",2),b("changed",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()}if(t&2){let e=_();h("field",e.field)}}function N8(t,i){if(t&1){let e=A();c(0,"uds-field-hidden",2),b("changed",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()}if(t&2){let e=_();h("field",e.field)}}function F8(t,i){if(t&1){let e=A();c(0,"uds-field-choice",2),b("changed",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()}if(t&2){let e=_();h("field",e.field)}}function L8(t,i){if(t&1){let e=A();c(0,"uds-field-multichoice",2),b("changed",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()}if(t&2){let e=_();h("field",e.field)}}function V8(t,i){if(t&1){let e=A();c(0,"uds-field-editlist",2),b("changed",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()}if(t&2){let e=_();h("field",e.field)}}function B8(t,i){if(t&1){let e=A();c(0,"uds-field-checkbox",2),b("changed",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()}if(t&2){let e=_();h("field",e.field)}}function j8(t,i){if(t&1){let e=A();c(0,"uds-field-imgchoice",2),b("changed",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()}if(t&2){let e=_();h("field",e.field)}}function z8(t,i){if(t&1){let e=A();c(0,"uds-field-date",2),b("changed",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()}if(t&2){let e=_();h("field",e.field)}}function U8(t,i){if(t&1){let e=A();c(0,"uds-field-tags",2),b("changed",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()}if(t&2){let e=_();h("field",e.field)}}var Ag=(()=>{class t{constructor(){this.field={},this.changed=new k,this.udsGuiFieldType=si}ngOnInit(){}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:14,vars:15,consts:[["matTooltipShowDelay","1000",1,"field",3,"ngSwitch","matTooltip"],[3,"field","changed",4,"ngSwitchCase"],[3,"changed","field"]],template:function(n,o){n&1&&(c(0,"div",0),S(1,k8,1,1,"uds-field-text",1)(2,A8,1,1,"uds-field-autocomplete",1)(3,R8,1,1,"uds-field-textbox",1)(4,O8,1,1,"uds-field-numeric",1)(5,P8,1,1,"uds-field-password",1)(6,N8,1,1,"uds-field-hidden",1)(7,F8,1,1,"uds-field-choice",1)(8,L8,1,1,"uds-field-multichoice",1)(9,V8,1,1,"uds-field-editlist",1)(10,B8,1,1,"uds-field-checkbox",1)(11,j8,1,1,"uds-field-imgchoice",1)(12,z8,1,1,"uds-field-date",1)(13,U8,1,1,"uds-field-tags",1),d()),n&2&&(h("ngSwitch",o.field.gui.type)("matTooltip",o.field.gui.tooltip),u(),h("ngSwitchCase",o.udsGuiFieldType.TEXT),u(),h("ngSwitchCase",o.udsGuiFieldType.TEXT_AUTOCOMPLETE),u(),h("ngSwitchCase",o.udsGuiFieldType.TEXTBOX),u(),h("ngSwitchCase",o.udsGuiFieldType.NUMERIC),u(),h("ngSwitchCase",o.udsGuiFieldType.PASSWORD),u(),h("ngSwitchCase",o.udsGuiFieldType.HIDDEN),u(),h("ngSwitchCase",o.udsGuiFieldType.CHOICE),u(),h("ngSwitchCase",o.udsGuiFieldType.MULTI_CHOICE),u(),h("ngSwitchCase",o.udsGuiFieldType.EDITLIST),u(),h("ngSwitchCase",o.udsGuiFieldType.CHECKBOX),u(),h("ngSwitchCase",o.udsGuiFieldType.IMAGECHOICE),u(),h("ngSwitchCase",o.udsGuiFieldType.DATE),u(),h("ngSwitchCase",o.udsGuiFieldType.TAGLIST))},styles:["uds-field[_ngcontent-%COMP%]{flex:1 50%} .mat-mdc-form-field{width:calc(100% - 1px)} .mat-form-field-flex{padding-top:0!important} .mat-mdc-tooltip{font-size:.9rem!important;margin:0!important;max-width:26em!important}"]})}}return t})();function G8(t,i){if(t&1&&g(0),t&2){let e=_().$implicit;O(" ",e," ")}}function W8(t,i){if(t&1){let e=A();c(0,"uds-field",9),b("changed",function(o){y(e);let r=_(3);return C(r.changed.emit(o))}),d()}if(t&2){let e=i.$implicit;h("field",e)}}function $8(t,i){if(t&1&&(c(0,"mat-tab",4),S(1,G8,1,1,"ng-template",5),c(2,"div",6)(3,"div",7),S(4,W8,1,1,"uds-field",8),d()()()),t&2){let e=i.$implicit,n=_(2);u(4),h("ngForOf",n.fieldsByTab[e])}}function q8(t,i){if(t&1&&(c(0,"mat-tab-group",2),S(1,$8,5,1,"mat-tab",3),d()),t&2){let e=_();h("disableRipple",!1)("@.disabled",!0),u(),h("ngForOf",e.tabs)}}function Y8(t,i){if(t&1){let e=A();c(0,"div")(1,"uds-field",9),b("changed",function(o){y(e);let r=_(2);return C(r.changed.emit(o))}),d()()}if(t&2){let e=i.$implicit;u(),h("field",e)}}function Q8(t,i){if(t&1&&(c(0,"div",6),S(1,Y8,2,1,"div",10),d()),t&2){let e=_();u(),h("ngForOf",e.fields)}}var K8=django.gettext("Main"),IR=(()=>{class t{constructor(){this.fields=[],this.changed=new k,this.tabs=new Array,this.fieldsByTab={}}ngOnInit(){this.fieldsByTab={};for(let e of this.fields){let n=e.gui.tab===void 0?K8:e.gui.tab;this.tabs.includes(n)||(this.tabs.push(n),this.fieldsByTab[n]=new Array),this.fieldsByTab[n].push(e)}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-form"]],inputs:{fields:"fields"},outputs:{changed:"changed"},standalone:!1,decls:3,vars:2,consts:[["onlyone",""],["backgroundColor","primary",3,"disableRipple",4,"ngIf","ngIfElse"],["backgroundColor","primary",3,"disableRipple"],["class","noOverflow",4,"ngFor","ngForOf"],[1,"noOverflow"],["mat-tab-label",""],[1,"form-content"],[1,"content"],[3,"field","changed",4,"ngFor","ngForOf"],[3,"changed","field"],[4,"ngFor","ngForOf"]],template:function(n,o){if(n&1&&S(0,q8,2,3,"mat-tab-group",1)(1,Q8,2,1,"ng-template",null,0,Sn),n&2){let r=Se(2);h("ngIf",o.tabs.length>1)("ngIfElse",r)}},dependencies:[Ue,pe,nn,on,sn,Ag],styles:[".content[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;flex-wrap:wrap}.form-content[_ngcontent-%COMP%]{padding-top:1rem} .mat-mdc-tab-body-content{overflow:hidden!important} .mat-mdc-form-field-infix{min-height:3rem} .mat-mdc-tab-header{position:sticky;top:0;z-index:1000}"]})}}return t})();function X8(t,i){if(t&1){let e=A();c(0,"button",10),b("click",function(){y(e);let o=_();return C(o.customButtonClicked())}),g(1),d()}if(t&2){let e=_();u(),tt(e.data.customButton)}}var TR=(()=>{class t{constructor(e,n){this.dialogRef=e,this.data=n,this.onEvent=new k(!0),this.saving=!1}ngOnInit(){this.onEvent.emit({type:"init",data:null,dialog:this.dialogRef})}changed(e){this.onEvent.emit({type:"changed",data:e,dialog:this.dialogRef})}getFields(){let e={},n=[];return this.data.guiFields.forEach(o=>{let r=o.value;if(o.gui.required&&r!==0&&r!==!1&&(!r||r instanceof Array&&r.length===0)&&n.push(o.gui.label),typeof r=="number"){let a=parseInt((o.gui.minValue||987654321).toString(),10),s=parseInt((o.gui.maxValue||987654321).toString(),10);a!==987654321&&r= "+o.gui.minValue),s!==987654321&&r>s&&n.push(o.gui.label+" <= "+o.gui.maxValue),r=r.toString()}e[o.name]=r}),{data:e,errors:n}}save(){let e=this.getFields();if(e.errors.length>0){this.data.gui.alert(django.gettext("Error"),django.gettext("Please, fill in require fields: ")+e.errors.join(", "));return}this.onEvent.emit({data:e.data,type:"save",dialog:this.dialogRef})}cancel(){this.onEvent.emit({data:null,type:"cancel",dialog:this.dialogRef})}customButtonClicked(){let e=this.getFields();this.onEvent.emit({data:e.data,type:this.data.customButton||"",errors:e.errors,dialog:this.dialogRef})}static{this.\u0275fac=function(n){return new(n||t)(w(Le),w(We))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-modal-form"]],standalone:!1,decls:17,vars:7,consts:[["vc",""],["mat-dialog-title","",3,"innerHtml"],["autocomplete","off"],[3,"changed","fields"],[1,"buttons"],[1,"group1"],["ngClass","custom","mat-raised-button","",3,"click",4,"ngIf"],[1,"group2"],["mat-raised-button","",3,"click","disabled"],["mat-raised-button","","color","primary",3,"click","disabled"],["ngClass","custom","mat-raised-button","",3,"click"]],template:function(n,o){if(n&1){let r=A();M(0,"h4",1),ht(1,"safeHtml"),c(2,"mat-dialog-content",null,0)(4,"form",2)(5,"uds-form",3),b("changed",function(s){return y(r),C(o.changed(s))}),d()()(),c(6,"mat-dialog-actions")(7,"div",4)(8,"div",5),S(9,X8,2,1,"button",6),d(),c(10,"div",7)(11,"button",8),b("click",function(){return y(r),C(o.dialogRef.close())})("click",function(){return y(r),C(o.cancel())}),c(12,"uds-translate"),g(13,"Discard & close"),d()(),c(14,"button",9),b("click",function(){return y(r),C(o.save())}),c(15,"uds-translate"),g(16,"Save"),d()()()()()}n&2&&(h("innerHtml",wt(1,5,o.data.title),$t),u(5),h("fields",o.data.guiFields),u(4),h("ngIf",o.data.customButton!==void 0),u(2),h("disabled",o.saving),u(3),h("disabled",o.saving))},dependencies:[Xi,pe,Ig,Dg,xo,ge,Ze,Je,Xe,se,IR,cg],styles:["h4[_ngcontent-%COMP%]{margin-bottom:0}.buttons[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%} uds-field{flex:1 100%}button.custom[_ngcontent-%COMP%]{background-color:#4682b4;color:#fff}.modal-form[_ngcontent-%COMP%]{padding-top:1.5rem}"]})}}return t})();var Rg=class{constructor(i){this.gui=i}modalForm(i,e,n=null,o){e.sort((l,m)=>l.gui.order>m.gui.order?1:-1);let r=n!=null;n=r?n:{},e.forEach(l=>{(r===!1||l.gui.readonly===void 0)&&(l.gui.readonly=!1),l.gui.type===si.TEXT&&l.gui.lines&&(l.gui.type=si.TEXTBOX);let m=n[l.name];if(m!==void 0)if(m instanceof Array){let f=new Array;m.forEach(v=>f.push(v)),l.value=f}else l.value=m});let a=window.innerWidth<800?"80%":"50%";return this.gui.dialog.open(TR,{position:{top:"64px"},width:a,data:{title:i,guiFields:e,customButton:o,gui:this.gui},disableClose:!0}).componentInstance.onEvent}typedForm(i,e,n,o,r,a,s){return V(this,null,function*(){let l=s||{},m=l.callback||(()=>{}),f=o||[],v=n?django.gettext("Test"):void 0,D={},x={},I=P=>{if(x.hasOwnProperty(P.name)){let Ee=x[P.name];P.value!==""&&P.value!==void 0&&this.executeCallback(i,P,D)}},N=l.snack||this.gui.snackbar.open(django.gettext("Loading data..."),django.gettext("dismiss")),q=yield i.table.rest.gui(a);if(N.dismiss(),f!==void 0)for(let P of f)q.push(P);for(let P of q){if(P.gui.type===si.INFO){P.name==="title"&&(e+=" "+(P.value||P.gui.default||""));continue}D[P.name]=P,P.gui.fills!==void 0&&(x[P.name]=P.gui.fills)}this.modalForm(e,q,r,v).subscribe(P=>V(this,null,function*(){switch(P.data&&(P.data.data_type=a),P.type){case v:if(P.errors&&P.errors.length>0){this.gui.alert(django.gettext("Error"),django.gettext("Please, fill in require fields: ")+P.errors.join(", "));return}this.gui.snackbar.open(django.gettext("Testing..."),django.gettext("dismiss")),i.table.rest.test(a,P.data).then(Ee=>{Ee!=="ok"?this.gui.snackbar.open(django.gettext("Test failed:")+" "+Ee,django.gettext("dismiss")):this.gui.snackbar.open(django.gettext("Test passed successfully"),django.gettext("dismiss"),{duration:2e3})});break;case"changed":case"init":if(P.data===null)for(let Ee of q)I(Ee);else I(P.data.field);m({on:P.data,all:D});break;case"save":if(l.save===void 0){P.dialog.componentInstance.saving=!0;try{r?yield i.table.rest.save(P.data,r.id):yield i.table.rest.create(P.data),this.gui.snackbar.open(django.gettext("Successfully saved"),django.gettext("dismiss"),{duration:2e3}),P.dialog.close(),i.table.overview()}finally{P.dialog.componentInstance.saving=!1}}else P.dialog.close(),l.save.resolve(P.data);break;case"cancel":P.dialog.close();break}}))})}typedEditForm(i,e,n=!1,o,r=()=>{}){return V(this,null,function*(){let a=i.table.selection.selected[0],s=a.type,l=new k,m=this.gui.snackbar.open(django.gettext("Loading data..."),django.gettext("dismiss")),f=yield i.table.rest.get(a.id);return this.typedForm(i,e,n,o,f,s,{snack:m,callback:r})})}typedNewForm(i,e,n=!1,o,r=()=>{}){return V(this,null,function*(){let a=i.param?i.param.type:void 0;return this.typedForm(i,e,n,o,null,a,{callback:r})})}deleteForm(i,e,n,o){return V(this,null,function*(){let r=new Array,a=new Array;for(let m of i.table.selection.selected){let f=m.name||m.friendly_name||m[n||"name"]||m.id;if(f&&f.changingThisBreaksApplicationSecurity&&(f=f.changingThisBreaksApplicationSecurity),o){let v=f.indexOf("")+7;f=f.substring(0,v)+f.substring(v).replace(//g,">")}else f=f.replace(//g,">");r.push(f),a.push(m.id)}let s=django.gettext("Are you sure do you want to delete the following items?")+"
"+r.join(", ")+"";if(yield this.gui.questionDialog(e,s,!0)){for(let f of a)try{yield i.table.rest.delete(f)}catch(v){console.warn("Error deleting item",f,v)}let m=a.length;this.gui.snackbar.open(django.gettext("Deletion finished"),django.gettext("dismiss"),{duration:2e3}),i.table.overview()}})}executeCallback(r,a,s){return V(this,arguments,function*(i,e,n,o={}){let l=new Array;if(!e.gui.fills)return;for(let v of e.gui.fills.parameters)l.push(v+"="+encodeURIComponent(n[v].value));let m=yield i.table.rest.callback(e.gui.fills.callback_name,l.join("&")),f=new Array;for(let v of m){let D=n[v.name];if(D!==void 0){D.gui.fills!==void 0&&f.push(D);let x=new Array;for(let I of v.choices)x.push({id:I.id,text:I.text,img:I.img});if(D.gui.choices=x,D.value instanceof Array){let I=new Array;for(let N of D.gui.choices)D.value.indexOf(N.id)>=0&&I.push(N.id);D.value=I}else(!D.value||D.value instanceof Array&&D.value.length===0)&&(D.value=v.choices.length>0?v.choices[0].id:"")}}for(let v of f)o[v.name]===void 0&&(o[v.name]=!0,this.executeCallback(i,v,n,o))})}};var J8="display:inline-block; background-size: SIZE SIZE; background-repeat: no-repeat; width: SIZE; height: SIZE; vertical-align: middle; margin: 4px 8px 4px 0px;",Og=class{constructor(i,e){this.dialog=i,this.snackbar=e,this.forms=new Rg(this)}alert(i,e,n=0,o){return V(this,null,function*(){let r=o||(window.innerWidth<800?"80%":"40%");return this.dialog.open(Ow,{width:r,data:{title:i,body:e,autoclose:n,type:$u.alert},disableClose:!0}).componentInstance.acceptance})}questionDialog(i,e,n=!1){return V(this,null,function*(){let o=window.innerWidth<800?"80%":"40%",r=this.dialog.open(Ow,{width:o,data:{title:i,body:e,type:$u.question,warnOnYes:n},disableClose:!0});return Rr(r.componentInstance.acceptance)})}icon(i,e="24px"){return''}};var Pg={production:!0};var vn=(function(t){return t.NUMERIC="numeric",t.ALPHANUMERIC="alphanumeric",t.DATETIME="datetime",t.DATETIMESEC="datetimesec",t.DATE="date",t.TIME="time",t.ICON="iconType",t.CALLBACK="callback",t.DICTIONARY="dict",t.IMAGE="image",t})(vn||{}),st=(function(t){return t[t.ALWAYS=0]="ALWAYS",t[t.SINGLE_SELECT=1]="SINGLE_SELECT",t[t.MULTI_SELECT=2]="MULTI_SELECT",t[t.ONLY_MENU=3]="ONLY_MENU",t[t.ACCELERATOR=4]="ACCELERATOR",t})(st||{});var qw="provider",Yw="service",em="pool",e6="authenticator",tm="user",Qw="group",Kw="transport",Zw="osmanager",Ng="calendar",Xw="poolgroup",t6={provider:django.gettext("provider"),service:django.gettext("service"),pool:django.gettext("service pool"),authenticator:django.gettext("authenticator"),mfa:django.gettext("MFA"),user:django.gettext("user"),group:django.gettext("group"),transport:django.gettext("transport"),osmanager:django.gettext("OS manager"),calendar:django.gettext("calendar"),poolgroup:django.gettext("pool group")},Rn=class{constructor(i){this.router=i}static getGotoButton(i,e,n){return{id:i,html:'link'+django.gettext("Go to")+" "+t6[i]+"",type:st.ACCELERATOR,acceleratorProperties:[e,n||""]}}gotoProvider(i){i!==void 0?this.router.navigate(["services","providers",i]):this.router.navigate(["services","providers"])}gotoService(i,e){e!==void 0?this.router.navigate(["services","providers",i,"detail",e]):this.router.navigate(["services","providers",i,"detail"])}gotoServer(i){this.router.navigate(["services","servers",i])}gotoServerDetail(i){this.router.navigate(["services","servers",i,"detail"])}gotoServicePool(i){this.router.navigate(["pools","service-pools",i])}gotoServicePoolDetail(i){this.router.navigate(["pools","service-pools",i,"detail"])}gotoMetapool(i){this.router.navigate(["pools","meta-pools",i])}gotoMetapoolDetail(i){this.router.navigate(["pools","meta-pools",i,"detail"])}gotoCalendar(i){this.router.navigate(["pools","calendars",i])}gotoCalendarDetail(i){this.router.navigate(["pools","calendars",i,"detail"])}gotoAccount(i){this.router.navigate(["pools","accounts",i])}gotoAccountDetail(i){this.router.navigate(["pools","accounts",i,"detail"])}gotoPoolGroup(i){i=i||"",this.router.navigate(["pools","pool-groups",i])}gotoAuthenticator(i){this.router.navigate(["authenticators",i])}gotoAuthenticatorDetail(i){this.router.navigate(["authenticators",i,"detail"])}gotoMFA(i){this.router.navigate(["mfas",i])}gotoUser(i,e){this.router.navigate(["authenticators",i,"detail","users",e])}gotoGroup(i,e){this.router.navigate(["authenticators",i,"detail","groups",e])}gotoTransport(i){this.router.navigate(["connectivity/transports",i])}gotoTunnel(i){this.router.navigate(["connectivity/tunnels",i])}gotoTunnelDetail(i){this.router.navigate(["connectivity/tunnels",i,"detail"])}gotoOSManager(i){this.router.navigate(["osmanagers",i])}goto(i,e,n){let o=r=>{let a=e;if(n[r].split(".").forEach(s=>a=a[s]),!a)throw new Error("not going :)");return a};try{switch(i){case qw:this.gotoProvider(o(0));break;case Yw:this.gotoService(o(0),o(1));break;case em:this.gotoServicePool(o(0));break;case e6:this.gotoAuthenticator(o(0));break;case tm:this.gotoUser(o(0),o(1));break;case Qw:this.gotoGroup(o(0),o(1));break;case Kw:this.gotoTransport(o(0));break;case Zw:this.gotoOSManager(o(0));break;case Ng:this.gotoCalendar(o(0));break;case Xw:this.gotoPoolGroup(o(0));break}}catch{}}};function n6(t,i){if(t&1){let e=A();c(0,"div",1)(1,"button",2),b("click",function(){y(e);let o=_();return C(o.action())}),g(2),d()()}if(t&2){let e=_();u(2),O(" ",e.data.action," ")}}var i6=["label"];function o6(t,i){}var r6=Math.pow(2,31)-1,nm=class{_overlayRef;instance;containerInstance;_afterDismissed=new j;_afterOpened=new j;_onAction=new j;_durationTimeoutId;_dismissedByAction=!1;constructor(i,e){this._overlayRef=e,this.containerInstance=i,i._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(i){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(i,r6))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},kR=new T("MatSnackBarData"),Pc=class{politeness="polite";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"},a6=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return t})(),s6=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return t})(),l6=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return t})(),AR=(()=>{class t{snackBarRef=p(nm);data=p(kR);constructor(){}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["matButton","","matSnackBarAction","",3,"click"]],template:function(n,o){n&1&&(c(0,"div",0),g(1),d(),ue(2,n6,3,1,"div",1)),n&2&&(u(),O(" ",o.data.message,` +`),u(),me(o.hasAction?2:-1))},dependencies:[ge,a6,s6,l6],styles:[`.mat-mdc-simple-snack-bar{display:flex}.mat-mdc-simple-snack-bar .mat-mdc-snack-bar-label{max-height:50vh;overflow:auto} +`],encapsulation:2,changeDetection:0})}return t})(),Jw="_mat-snack-bar-enter",ex="_mat-snack-bar-exit",c6=(()=>{class t extends Ba{_ngZone=p(te);_elementRef=p(K);_changeDetectorRef=p(Te);_platform=p(nt);_animationsDisabled=rt();snackBarConfig=p(Pc);_document=p(ce);_trackedModals=new Set;_enterFallback;_exitFallback;_injector=p(re);_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;_onAnnounce=new j;_onExit=new j;_onEnter=new j;_animationState="void";_live;_label;_role;_liveElementId=p(mt).getId("mat-snack-bar-container-live-");constructor(){super();let e=this.snackBarConfig;e.politeness==="assertive"&&!e.announcementMessage?this._live="assertive":e.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();let n=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),n}attachTemplatePortal(e){this._assertNotAttached();let n=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),n}attachDomPortal=e=>{this._assertNotAttached();let n=this._portalOutlet.attachDomPortal(e);return this._afterPortalAttached(),n};onAnimationEnd(e){e===ex?this._completeExit():e===Jw&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?xt(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Jw)))},{injector:this._injector}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(Jw)},200)))}exit(){return this._destroyed?ie(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?xt(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(ex)))},{injector:this._injector}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(ex),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let e=this._elementRef.nativeElement,n=this.snackBarConfig.panelClass;n&&(Array.isArray(n)?n.forEach(a=>e.classList.add(a)):e.classList.add(n)),this._exposeToModals();let o=this._label.nativeElement,r="mdc-snackbar__label";o.classList.toggle(r,!o.querySelector(`.${r}`))}_exposeToModals(){let e=this._liveElementId,n=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let n=e.getAttribute("aria-owns");if(n){let o=n.replace(this._liveElementId,"").trim();o.length>0?e.setAttribute("aria-owns",o):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let e=this._elementRef.nativeElement,n=e.querySelector("[aria-hidden]"),o=e.querySelector("[aria-live]");if(n&&o){let r=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&n.contains(document.activeElement)&&(r=document.activeElement),n.removeAttribute("aria-hidden"),o.appendChild(n),r?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(n,o){if(n&1&&(le(Di,7),le(i6,7)),n&2){let r;Y(r=Q())&&(o._portalOutlet=r.first),Y(r=Q())&&(o._label=r.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(n,o){n&1&&b("animationend",function(a){return o.onAnimationEnd(a.animationName)})("animationcancel",function(a){return o.onAnimationEnd(a.animationName)}),n&2&&ne("mat-snack-bar-container-enter",o._animationState==="visible")("mat-snack-bar-container-exit",o._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!o._animationsDisabled)},features:[ye],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(n,o){n&1&&(c(0,"div",1)(1,"div",2,0)(3,"div",3),S(4,o6,0,0,"ng-template",4),d(),M(5,"div"),d()()),n&2&&(u(5),ee("aria-live",o._live)("role",o._role)("id",o._liveElementId))},dependencies:[Di],styles:[`@keyframes _mat-snack-bar-enter{from{transform:scale(0.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes _mat-snack-bar-exit{from{opacity:1}to{opacity:0}}.mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-snack-bar-container-animations-enabled{opacity:0}.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible{opacity:1}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter{animation:_mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit{animation:_mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mat-snack-bar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-snack-bar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-snack-bar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mat-snack-bar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-snack-bar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mat-snack-bar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mat-snack-bar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-button-text-state-layer-color: currentColor;--mat-button-text-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1} +`],encapsulation:2})}return t})();function d6(){return new Pc}var u6=new T("mat-snack-bar-default-options",{providedIn:"root",factory:d6}),tx=(()=>{class t{_live=p(Ou);_injector=p(re);_breakpointObserver=p(el);_parentSnackBar=p(t,{optional:!0,skipSelf:!0});_defaultConfig=p(u6);_animationsDisabled=rt();_snackBarRefAtThisLevel=null;simpleSnackBarComponent=AR;snackBarContainerComponent=c6;handsetCssClass="mat-mdc-snack-bar-handset";get _openedSnackBarRef(){let e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(){}openFromComponent(e,n){return this._attach(e,n)}openFromTemplate(e,n){return this._attach(e,n)}open(e,n="",o){let r=L(L({},this._defaultConfig),o);return r.data={message:e,action:n},r.announcementMessage===e&&(r.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,r)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,n){let o=n&&n.viewContainerRef&&n.viewContainerRef.injector,r=re.create({parent:o||this._injector,providers:[{provide:Pc,useValue:n}]}),a=new Ni(this.snackBarContainerComponent,n.viewContainerRef,r),s=e.attach(a);return s.instance.snackBarConfig=n,s.instance}_attach(e,n){let o=L(L(L({},new Pc),this._defaultConfig),n),r=this._createOverlay(o),a=this._attachSnackBarContainer(r,o),s=new nm(a,r);if(e instanceof bt){let l=new jn(e,null,{$implicit:o.data,snackBarRef:s});s.instance=a.attachTemplatePortal(l)}else{let l=this._createInjector(o,s),m=new Ni(e,void 0,l),f=a.attachComponentPortal(m);s.instance=f.instance}return this._breakpointObserver.observe(eg.HandsetPortrait).pipe(ke(r.detachments())).subscribe(l=>{r.overlayElement.classList.toggle(this.handsetCssClass,l.matches)}),o.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(o.announcementMessage,o.politeness)}),this._animateSnackBar(s,o),this._openedSnackBarRef=s,this._openedSnackBarRef}_animateSnackBar(e,n){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),n.announcementMessage&&this._live.clear()}),n.duration&&n.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(n.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter()}_createOverlay(e){let n=new Si;n.direction=e.direction;let o=Ar(this._injector),r=e.direction==="rtl",a=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!r||e.horizontalPosition==="end"&&r,s=!a&&e.horizontalPosition!=="center";return a?o.left("0"):s?o.right("0"):o.centerHorizontally(),e.verticalPosition==="top"?o.top("0"):o.bottom("0"),n.positionStrategy=o,n.disableAnimations=this._animationsDisabled,Ii(this._injector,n)}_createInjector(e,n){let o=e&&e.viewContainerRef&&e.viewContainerRef.injector;return re.create({parent:o||this._injector,providers:[{provide:nm,useValue:n},{provide:kR,useValue:e.data}]})}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var RR=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[tx],imports:[ri,eo,Pr,fe,AR,fe]})}return t})();var p6=["mat-internal-form-field",""],h6=["*"],Fg=(()=>{class t{labelPosition;static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(n,o){n&2&&ne("mdc-form-field--align-end",o.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},attrs:p6,ngContentSelectors:h6,decls:1,vars:0,template:function(n,o){n&1&&(He(),ae(0))},styles:[`.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0} +`],encapsulation:2,changeDetection:0})}return t})();var Za=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(i,e,n,o,r){this._defaultMatcher=i,this.ngControl=e,this._parentFormGroup=n,this._parentForm=o,this._stateChanges=r}updateErrorState(){let i=this.errorState,e=this._parentFormGroup||this._parentForm,n=this.matcher||this._defaultMatcher,o=this.ngControl?this.ngControl.control:null,r=n?.isErrorState(o,e)??!1;r!==i&&(this.errorState=r,this._stateChanges.next())}};var im=new T("MAT_DATE_LOCALE",{providedIn:"root",factory:f6});function f6(){return p(ec)}var Nc="Method not implemented",ei=class{locale;_localeChanges=new j;localeChanges=this._localeChanges;setTime(i,e,n,o){throw new Error(Nc)}getHours(i){throw new Error(Nc)}getMinutes(i){throw new Error(Nc)}getSeconds(i){throw new Error(Nc)}parseTime(i,e){throw new Error(Nc)}addSeconds(i,e){throw new Error(Nc)}getValidDateOrNull(i){return this.isDateInstance(i)&&this.isValid(i)?i:null}deserialize(i){return i==null||this.isDateInstance(i)&&this.isValid(i)?i:this.invalid()}setLocale(i){this.locale=i,this._localeChanges.next()}compareDate(i,e){return this.getYear(i)-this.getYear(e)||this.getMonth(i)-this.getMonth(e)||this.getDate(i)-this.getDate(e)}compareTime(i,e){return this.getHours(i)-this.getHours(e)||this.getMinutes(i)-this.getMinutes(e)||this.getSeconds(i)-this.getSeconds(e)}sameDate(i,e){if(i&&e){let n=this.isValid(i),o=this.isValid(e);return n&&o?!this.compareDate(i,e):n==o}return i==e}sameTime(i,e){if(i&&e){let n=this.isValid(i),o=this.isValid(e);return n&&o?!this.compareTime(i,e):n==o}return i==e}clampDate(i,e,n){return e&&this.compareDate(i,e)<0?e:n&&this.compareDate(i,n)>0?n:i}},Xa=new T("mat-date-formats");var sl=(()=>{class t{isErrorState(e,n){return!!(e&&e.invalid&&(e.touched||n&&n.submitted))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Lg=(()=>{class t{_animationsDisabled=rt();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(n,o){n&2&&ne("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(n,o){},styles:[`.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px} +`],encapsulation:2,changeDetection:0})}return t})();var OR=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[fe]})}return t})();var g6=["text"],_6=[[["mat-icon"]],"*"],v6=["mat-icon","*"];function b6(t,i){if(t&1&&M(0,"mat-pseudo-checkbox",1),t&2){let e=_();h("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function y6(t,i){if(t&1&&M(0,"mat-pseudo-checkbox",3),t&2){let e=_();h("disabled",e.disabled)}}function C6(t,i){if(t&1&&(c(0,"span",4),g(1),d()),t&2){let e=_();u(),O("(",e.group.label,")")}}var Lc=new T("MAT_OPTION_PARENT_COMPONENT"),Vc=new T("MatOptgroup");var Fc=class{source;isUserInput;constructor(i,e=!1){this.source=i,this.isUserInput=e}},$e=(()=>{class t{_element=p(K);_changeDetectorRef=p(Te);_parent=p(Lc,{optional:!0});group=p(Vc,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=p(mt).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=Ie(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new k;_text;_stateChanges=new j;constructor(){let e=p(Dt);e.load(In),e.load(_o),this._signalDisableRipple=!!this._parent&&gr(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,n){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(n)}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)&&!kt(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new Fc(this,e))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-option"]],viewQuery:function(n,o){if(n&1&&le(g6,7),n&2){let r;Y(r=Q())&&(o._text=r.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(n,o){n&1&&b("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),n&2&&(cn("id",o.id),ee("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),ne("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",$]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:v6,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(n,o){n&1&&(He(_6),ue(0,b6,1,2,"mat-pseudo-checkbox",1),ae(1),c(2,"span",2,0),ae(4,1),d(),ue(5,y6,1,1,"mat-pseudo-checkbox",3),ue(6,C6,2,1,"span",4),M(7,"div",5)),n&2&&(me(o.multiple?0:-1),u(5),me(!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),u(),me(o.group&&o.group._inert?6:-1),u(),h("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[Lg,no],styles:[`.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""} +`],encapsulation:2,changeDetection:0})}return t})();function om(t,i,e){if(e.length){let n=i.toArray(),o=e.toArray(),r=0;for(let a=0;ae+n?Math.max(0,t-n+i):e}var Bc=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[Or,fe,OR,$e]})}return t})();var x6=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,D6=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function nx(t,i){let e=Array(t);for(let n=0;n{class t extends ei{useUtcForDisplay=!1;_matDateLocale=p(im,{optional:!0});constructor(){super();let e=p(im,{optional:!0});e!==void 0&&(this._matDateLocale=e),super.setLocale(this._matDateLocale)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){let n=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return nx(12,o=>this._format(n,new Date(2017,o,1)))}getDateNames(){let e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return nx(31,n=>this._format(e,new Date(2017,0,n+1)))}getDayOfWeekNames(e){let n=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return nx(7,o=>this._format(n,new Date(2017,0,o+1)))}getYearName(e){let n=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(n,e)}getFirstDayOfWeek(){if(typeof Intl<"u"&&Intl.Locale){let e=new Intl.Locale(this.locale),n=(e.getWeekInfo?.()||e.weekInfo)?.firstDay??0;return n===7?0:n}return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,n,o){let r=this._createDateWithOverflow(e,n,o);return r.getMonth()!=n,r}today(){return new Date}parse(e,n){return typeof e=="number"?new Date(e):e?new Date(Date.parse(e)):null}format(e,n){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");let o=new Intl.DateTimeFormat(this.locale,Be(L({},n),{timeZone:"utc"}));return this._format(o,e)}addCalendarYears(e,n){return this.addCalendarMonths(e,n*12)}addCalendarMonths(e,n){let o=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+n,this.getDate(e));return this.getMonth(o)!=((this.getMonth(e)+n)%12+12)%12&&(o=this._createDateWithOverflow(this.getYear(o),this.getMonth(o),0)),o}addCalendarDays(e,n){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+n)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if(typeof e=="string"){if(!e)return null;if(x6.test(e)){let n=new Date(e);if(this.isValid(n))return n}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}setTime(e,n,o,r){let a=this.clone(e);return a.setHours(n,o,r,0),a}getHours(e){return e.getHours()}getMinutes(e){return e.getMinutes()}getSeconds(e){return e.getSeconds()}parseTime(e,n){if(typeof e!="string")return e instanceof Date?new Date(e.getTime()):null;let o=e.trim();if(o.length===0)return null;let r=this._parseTimeString(o);if(r===null){let a=o.replace(/[^0-9:(AM|PM)]/gi,"").trim();a.length>0&&(r=this._parseTimeString(a))}return r||this.invalid()}addSeconds(e,n){return new Date(e.getTime()+n*1e3)}_createDateWithOverflow(e,n,o){let r=new Date;return r.setFullYear(e,n,o),r.setHours(0,0,0,0),r}_2digit(e){return("00"+e).slice(-2)}_format(e,n){let o=new Date;return o.setUTCFullYear(n.getFullYear(),n.getMonth(),n.getDate()),o.setUTCHours(n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()),e.format(o)}_parseTimeString(e){let n=e.toUpperCase().match(D6);if(n){let o=parseInt(n[1]),r=parseInt(n[2]),a=n[3]==null?void 0:parseInt(n[3]),s=n[4];if(o===12?o=s==="AM"?0:o:s==="PM"&&(o+=12),ix(o,0,23)&&ix(r,0,59)&&(a==null||ix(a,0,59)))return this.setTime(this.today(),o,r,a||0)}return null}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})();function ix(t,i,e){return!isNaN(t)&&t>=i&&t<=e}var S6={parse:{dateInput:null,timeInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},timeInput:{hour:"numeric",minute:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"},timeOptionLabel:{hour:"numeric",minute:"numeric"}}};var PR=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[M6()]})}return t})();function M6(t=S6){return[{provide:ei,useClass:E6},{provide:Xa,useValue:t}]}var NR="dark-theme",FR="light-theme",G=(()=>{class t{constructor(e,n,o,r,a,s){this.http=e,this.router=n,this.dialog=o,this.snackbar=r,this.sanitizer=a,this.dateAdapter=s,this.user=new Lf(udsData.profile),this.navigation=new Rn(this.router),this.gui=new Og(this.dialog,this.snackbar),this.dateAdapter.setLocale(this.config.language)}get config(){return udsData.config}get csrfField(){return csrf.csrfField}get csrfToken(){return csrf.csrfToken}get notices(){return udsData.errors}restPath(e){return this.config.urls.rest+e}staticURL(e){return Pg.production?this.config.urls.static+e:"/static/"+e}logout(){window.location.href=this.config.urls.logout}gotoUser(){window.location.href=this.config.urls.user}putOnStorage(e,n){typeof Storage!==void 0&&localStorage.setItem(e,n)}getFromStorage(e){return typeof Storage!==void 0?localStorage.getItem(e):null}safeString(e){return this.sanitizer.bypassSecurityTrustHtml(e)}boolAsHumanString(e){return e?django.gettext("yes"):django.gettext("no")}switchTheme(e){let n=document.getElementsByTagName("html")[0];[NR,FR].forEach(o=>{n.classList.contains(o)&&n.classList.remove(o)}),n.classList.add(e?NR:FR)}static{this.\u0275fac=function(n){return new(n||t)(oe(oc),oe(Qo),oe(Ic),oe(tx),oe(Gs),oe(ei))}}static{this.\u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var LR=(()=>{class t{constructor(e){this.api=e}canActivate(e,n){return this.api.user.isStaff?!0:(window.location.href=this.api.config.urls.user,!1)}static{this.\u0275fac=function(n){return new(n||t)(oe(G))}}static{this.\u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var jc=3e4,oa=(function(t){return t[t.NONE=0]="NONE",t[t.READ=32]="READ",t[t.MANAGEMENT=64]="MANAGEMENT",t[t.ALL=96]="ALL",t})(oa||{}),bn=class{constructor(i,e,n){this.api=i,n===void 0&&(n={}),n.base===void 0&&(n.base=e);let o=(r,a)=>r===void 0?a:r;this.id=e,this.paths={base:n.base,get:o(n.get,n.base),log:o(n.log,n.base),put:o(n.put,n.base),test:o(n.test,n.base+"/test"),delete:o(n.delete,n.base),types:o(n.types,n.base+"/types"),gui:o(n.gui,n.base+"/gui"),tableInfo:o(n.tableInfo,n.base+"/tableinfo")},this.headers=new Sr().set("Content-Type","application/json; charset=utf8").set(this.api.config.auth_header,this.api.config.auth_token)}get(i){return this.typedGet(i)}getLogs(i){return this.doGet(this.getPath(this.paths.log,i)+"/log")}overview(i){return this.typedGet("overview"+(i!==void 0?"?filter="+i:""))}summary(i){return this.typedGet("overview?summarize"+(i!==void 0?"&filter="+i:""))}put(i,e){return this.typedPut(i,e)}create(i){return this.typedPut(i)}save(i,e){return e=e!==void 0?e:i.id,this.typedPut(i,e)}test(i,e){return Rr(this.api.http.post(this.getPath(this.paths.test,i),e,{headers:this.headers}).pipe(qn(n=>this.handleError(n))),jc)}delete(i){return Rr(this.api.http.delete(this.getPath(this.paths.delete,i),{headers:this.headers}).pipe(qn(e=>this.handleError(e))),jc)}permision(){return this.api.user.isAdmin?oa.ALL:oa.NONE}getPermissions(i){return this.doGet(this.getPath("permissions/"+this.paths.base+"/"+i))}addPermission(i,e,n,o){let r=this.getPath("permissions/"+this.paths.base+"/"+i+"/"+e+"/add/"+n),a={perm:o};return Rr(this.api.http.put(r,a,{headers:this.headers}).pipe(qn(s=>this.handleError(s))),jc)}revokePermission(i){let e=this.getPath("permissions/revoke"),n={items:i};return Rr(this.api.http.put(e,n,{headers:this.headers}).pipe(qn(o=>this.handleError(o))),jc)}types(){return this.doGet(this.getPath(this.paths.types))}gui(i){let e=this.getPath(this.paths.gui+(i!==void 0?"/"+i:""));return this.doGet(e)}callback(i,e){let n=this.getPath("gui/callback/"+i+"?"+e);return this.doGet(n)}tableInfo(){return this.doGet(this.getPath(this.paths.tableInfo))}detail(i,e){return new ox(this,i,e)}invoke(i,e){let n=i+(e?"?"+e:"");return this.typedGet(n)}getPath(i,e){if(i===void 0)throw new Error("Path is undefined");return this.api.restPath(i+(e!==void 0?"/"+e:""))}doGet(i){return Rr(this.api.http.get(i,{headers:this.headers}).pipe(qn(e=>this.handleError(e))),jc)}typedGet(i){return this.doGet(this.getPath(this.paths.get,i))}typedPut(i,e){return Rr(this.api.http.put(this.getPath(this.paths.put,e),i,{headers:this.headers}).pipe(qn(n=>this.handleError(n,!0))),jc)}handleError(i,e=!1){let n="";return i.error instanceof ErrorEvent?n=i.error.message:e?n=django.gettext("Error saving: ")+i.error:n=`Error ${i.status}: ${i.error}`,this.api.gui.alert(e?django.gettext("Error saving element"):django.gettext("Error handling your request"),n),sr(()=>new Error(n))}},ox=class extends bn{constructor(i,e,n,o){super(i.api,[i.paths.base,e,n].join("/")),this.parentModel=i,this.parentId=e,this.model=n,this.perm=o}permision(){return this.perm||oa.ALL}},Vg=class extends bn{constructor(i){super(i,"providers"),this.api=i}allServices(){return this.get("allservices")}service(i){return this.get("service/"+i)}maintenance(i){return this.get(i+"/maintenance")}},Bg=class extends bn{constructor(i){super(i,"authenticators"),this.api=i}search(i,e,n,o=12){return this.get(i+"/search?type="+encodeURIComponent(e)+"&term="+encodeURIComponent(n)+"&limit="+o)}},jg=class extends bn{constructor(i){super(i,"osmanagers"),this.api=i}},zg=class extends bn{constructor(i){super(i,"transports"),this.api=i}},Ug=class extends bn{constructor(i){super(i,"networks"),this.api=i}},Hg=class extends bn{constructor(i){super(i,"tunnels/tunnels"),this.api=i}maintenance(i){return this.get(i+"/maintenance")}tunnels(i){return this.get(i+"/tunnels")}assign(i,e){return this.get(i+"/assign/"+e)}},Gg=class extends bn{constructor(i){super(i,"servers/groups"),this.api=i}maintenance(i){return this.get(i+"/maintenance")}},Wg=class extends bn{constructor(i){super(i,"servicespools"),this.api=i}setFallbackAccess(i,e){return this.get(i+"/setFallbackAccess?fallbackAccess="+e)}getFallbackAccess(i){return this.get(i+"/getFallbackAccess")}actionsList(i){return this.get(i+"/actionsList")}listAssignables(i){return this.get(i+"/listAssignables")}createFromAssignable(i,e,n){return this.get(i+"/createFromAssignable?user_id="+encodeURIComponent(e)+"&assignable_id="+encodeURIComponent(n))}},$g=class extends bn{constructor(i){super(i,"metapools"),this.api=i}setFallbackAccess(i,e){return this.get(i+"/setFallbackAccess?fallbackAccess="+e)}getFallbackAccess(i){return this.get(i+"/getFallbackAccess")}},qg=class extends bn{constructor(i){super(i,"config"),this.api=i}},Yg=class extends bn{constructor(i){super(i,"gallery/images"),this.api=i}},Qg=class extends bn{constructor(i){super(i,"gallery/servicespoolgroups"),this.api=i}},Kg=class extends bn{constructor(i){super(i,"system"),this.api=i}information(){return this.get("overview")}stats(i,e){let n="stats/"+i;return e&&(n+="/"+e),this.get(n)}flushCache(){return this.doGet(this.getPath("cache","flush"))}},Zg=class extends bn{constructor(i){super(i,"reports"),this.api=i}types(){return Rr(ie([]))}},Xg=class extends bn{constructor(i){super(i,"calendars"),this.api=i}},Jg=class extends bn{constructor(i){super(i,"accounts"),this.api=i}timemark(i){return this.get(i+"/timemark")}},e_=class extends bn{constructor(i){super(i,"actortokens"),this.api=i}},t_=class extends bn{constructor(i){super(i,"servers/tokens"),this.api=i}},n_=class extends bn{constructor(i){super(i,"mfa"),this.api=i}},i_=class extends bn{constructor(i){super(i,"messaging/notifiers"),this.api=i}};var J=(()=>{class t{constructor(e){this.api=e,this.providers=new Vg(e),this.serverGroups=new Gg(e),this.authenticators=new Bg(e),this.mfas=new n_(e),this.osManagers=new jg(e),this.transports=new zg(e),this.networks=new Ug(e),this.tunnels=new Hg(e),this.servicesPools=new Wg(e),this.metaPools=new $g(e),this.gallery=new Yg(e),this.servicesPoolGroups=new Qg(e),this.calendars=new Xg(e),this.accounts=new Jg(e),this.system=new Kg(e),this.configuration=new qg(e),this.actorToken=new e_(e),this.serversTokens=new t_(e),this.reports=new Zg(e),this.notifiers=new i_(e)}static{this.\u0275fac=function(n){return new(n||t)(oe(G))}}static{this.\u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function T6(t){t||(t=p(Ln));let i=new Ae(e=>{if(t.destroyed){e.next();return}return t.onDestroy(e.next.bind(e))});return e=>e.pipe(ke(i))}var rx=class{source;destroyed=!1;destroyRef=p(Ln);constructor(i){this.source=i,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}subscribe(i){if(this.destroyed)throw new z(953,!1);let e=this.source.pipe(T6(this.destroyRef)).subscribe({next:n=>i(n)});return{unsubscribe:()=>e.unsubscribe()}}};function ft(t,i){return new rx(t)}function VR(t){let i=j0(t);return new Ae(e=>{let n=i?.onDestroy(()=>e.complete()),o=t.subscribe(r=>e.next(r));return()=>{o.unsubscribe(),n?.()}})}var BR=new T("NGX_ECHARTS_CONFIG"),ax=class{constructor(){this.subject=new zi(1),this.subscriptions=new _e}doFilter(i){this.subject.next(i)}dispose(){this.subscriptions.unsubscribe()}notEmpty(i,e){this.subscriptions.add(this.subject.subscribe(n=>{if(n[i]){let o=n[i].currentValue;o!=null&&e(o)}}))}has(i,e){this.subscriptions.add(this.subject.subscribe(n=>{if(n[i]){let o=n[i].currentValue;e(o)}}))}notFirst(i,e){this.subscriptions.add(this.subject.subscribe(n=>{if(n[i]&&!n[i].isFirstChange()){let o=n[i].currentValue;e(o)}}))}notFirstAndEmpty(i,e){this.subscriptions.add(this.subject.subscribe(n=>{if(n[i]&&!n[i].isFirstChange()){let o=n[i].currentValue;o!=null&&e(o)}}))}},o_=(()=>{class t{constructor(){this.el=p(K),this.ngZone=p(te),this.config=p(BR),this.options=Wo(null),this.theme=Wo(this.config.theme??null),this.initOpts=Wo(null),this.merge=Wo(null),this.autoResize=Wo(!0),this.loading=Wo(!1),this.loadingType=Wo("default"),this.loadingOpts=Wo(null),this.chartInit=Z0(),this.optionsError=Z0(),this.chartClick=ft(this.createLazyEvent("click")),this.chartDblClick=ft(this.createLazyEvent("dblclick")),this.chartMouseDown=ft(this.createLazyEvent("mousedown")),this.chartMouseMove=ft(this.createLazyEvent("mousemove")),this.chartMouseUp=ft(this.createLazyEvent("mouseup")),this.chartMouseOver=ft(this.createLazyEvent("mouseover")),this.chartMouseOut=ft(this.createLazyEvent("mouseout")),this.chartGlobalOut=ft(this.createLazyEvent("globalout")),this.chartContextMenu=ft(this.createLazyEvent("contextmenu")),this.chartHighlight=ft(this.createLazyEvent("highlight")),this.chartDownplay=ft(this.createLazyEvent("downplay")),this.chartSelectChanged=ft(this.createLazyEvent("selectchanged")),this.chartLegendSelectChanged=ft(this.createLazyEvent("legendselectchanged")),this.chartLegendSelected=ft(this.createLazyEvent("legendselected")),this.chartLegendUnselected=ft(this.createLazyEvent("legendunselected")),this.chartLegendLegendSelectAll=ft(this.createLazyEvent("legendselectall")),this.chartLegendLegendInverseSelect=ft(this.createLazyEvent("legendinverseselect")),this.chartLegendScroll=ft(this.createLazyEvent("legendscroll")),this.chartDataZoom=ft(this.createLazyEvent("datazoom")),this.chartDataRangeSelected=ft(this.createLazyEvent("datarangeselected")),this.chartGraphRoam=ft(this.createLazyEvent("graphroam")),this.chartGeoRoam=ft(this.createLazyEvent("georoam")),this.chartTreeRoam=ft(this.createLazyEvent("treeroam")),this.chartTimelineChanged=ft(this.createLazyEvent("timelinechanged")),this.chartTimelinePlayChanged=ft(this.createLazyEvent("timelineplaychanged")),this.chartRestore=ft(this.createLazyEvent("restore")),this.chartDataViewChanged=ft(this.createLazyEvent("dataviewchanged")),this.chartMagicTypeChanged=ft(this.createLazyEvent("magictypechanged")),this.chartGeoSelectChanged=ft(this.createLazyEvent("geoselectchanged")),this.chartGeoSelected=ft(this.createLazyEvent("geoselected")),this.chartGeoUnselected=ft(this.createLazyEvent("geounselected")),this.chartAxisAreaSelected=ft(this.createLazyEvent("axisareaselected")),this.chartBrush=ft(this.createLazyEvent("brush")),this.chartBrushEnd=ft(this.createLazyEvent("brushend")),this.chartBrushSelected=ft(this.createLazyEvent("brushselected")),this.chartGlobalCursorTaken=ft(this.createLazyEvent("globalcursortaken")),this.chartRendered=ft(this.createLazyEvent("rendered")),this.chartFinished=ft(this.createLazyEvent("finished")),this.animationFrameID=null,this.chart$=new zi(1),this.resize$=new j,this.changeFilter=new ax,this.resizeObFired=!1,this.echarts=this.config.echarts}ngOnChanges(e){this.changeFilter.doFilter(e)}ngOnInit(){if(!window.ResizeObserver)throw new Error("please install a polyfill for ResizeObserver");this.resizeSub=this.resize$.pipe(Hv(100,di,{leading:!1,trailing:!0})).subscribe(()=>this.resize()),this.autoResize()&&(this.resizeOb=this.ngZone.runOutsideAngular(()=>new window.ResizeObserver(e=>{for(let n of e)n.target===this.el.nativeElement&&(this.resizeObFired?this.animationFrameID=window.requestAnimationFrame(()=>{this.resize$.next()}):this.resizeObFired=!0)})),this.resizeOb.observe(this.el.nativeElement)),this.changeFilter.notFirstAndEmpty("options",e=>this.onOptionsChange(e)),this.changeFilter.notFirstAndEmpty("merge",e=>this.setOption(e)),this.changeFilter.has("loading",e=>this.toggleLoading(!!e)),this.changeFilter.notFirst("theme",()=>this.refreshChart())}ngOnDestroy(){window.clearTimeout(this.initChartTimer),this.resizeSub&&this.resizeSub.unsubscribe(),this.animationFrameID&&window.cancelAnimationFrame(this.animationFrameID),this.resizeOb&&this.resizeOb.unobserve(this.el.nativeElement),this.loadingSub&&this.loadingSub.unsubscribe(),this.changeFilter.dispose(),this.dispose()}ngAfterViewInit(){this.initChartTimer=window.setTimeout(()=>this.initChart())}dispose(){this.chart&&(this.chart.isDisposed()||this.chart.dispose(),this.chart=null)}resize(){this.chart&&this.chart.resize()}toggleLoading(e){this.chart?e?this.chart.showLoading(this.loadingType(),this.loadingOpts()):this.chart.hideLoading():this.loadingSub=this.chart$.subscribe(n=>e?n.showLoading(this.loadingType(),this.loadingOpts()):n.hideLoading())}setOption(e,n){if(this.chart)try{this.chart.setOption(e,n)}catch(o){console.error(o),this.optionsError.emit(o)}}refreshChart(){return V(this,null,function*(){this.dispose(),yield this.initChart()})}createChart(){let e=this.el.nativeElement;if(window&&window.getComputedStyle){let n=window.getComputedStyle(e,null).getPropertyValue("height");(!n||n==="0px")&&(!e.style.height||e.style.height==="0px")&&(e.style.height="400px")}return this.ngZone.runOutsideAngular(()=>(typeof this.echarts=="function"?this.echarts:()=>Promise.resolve(this.echarts))().then(({init:o})=>o(e,this.theme()??this.config?.theme,this.initOpts())))}initChart(){return V(this,null,function*(){yield this.onOptionsChange(this.options());let e=this.merge();e&&this.chart&&this.setOption(e)})}onOptionsChange(e){return V(this,null,function*(){e&&(this.chart?this.setOption(this.options(),!0):(this.chart=yield this.createChart(),this.chart$.next(this.chart),this.chartInit.emit(this.chart),this.setOption(this.options(),!0)))})}createLazyEvent(e){return VR(this.chartInit).pipe(vt(n=>new Ae(o=>(n.on(e,r=>this.ngZone.run(()=>o.next(r))),()=>{this.chart&&(this.chart.isDisposed()||n.off(e))}))))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=B({type:t,selectors:[["echarts"],["","echarts",""]],inputs:{options:[1,"options"],theme:[1,"theme"],initOpts:[1,"initOpts"],merge:[1,"merge"],autoResize:[1,"autoResize"],loading:[1,"loading"],loadingType:[1,"loadingType"],loadingOpts:[1,"loadingOpts"]},outputs:{chartInit:"chartInit",optionsError:"optionsError",chartClick:"chartClick",chartDblClick:"chartDblClick",chartMouseDown:"chartMouseDown",chartMouseMove:"chartMouseMove",chartMouseUp:"chartMouseUp",chartMouseOver:"chartMouseOver",chartMouseOut:"chartMouseOut",chartGlobalOut:"chartGlobalOut",chartContextMenu:"chartContextMenu",chartHighlight:"chartHighlight",chartDownplay:"chartDownplay",chartSelectChanged:"chartSelectChanged",chartLegendSelectChanged:"chartLegendSelectChanged",chartLegendSelected:"chartLegendSelected",chartLegendUnselected:"chartLegendUnselected",chartLegendLegendSelectAll:"chartLegendLegendSelectAll",chartLegendLegendInverseSelect:"chartLegendLegendInverseSelect",chartLegendScroll:"chartLegendScroll",chartDataZoom:"chartDataZoom",chartDataRangeSelected:"chartDataRangeSelected",chartGraphRoam:"chartGraphRoam",chartGeoRoam:"chartGeoRoam",chartTreeRoam:"chartTreeRoam",chartTimelineChanged:"chartTimelineChanged",chartTimelinePlayChanged:"chartTimelinePlayChanged",chartRestore:"chartRestore",chartDataViewChanged:"chartDataViewChanged",chartMagicTypeChanged:"chartMagicTypeChanged",chartGeoSelectChanged:"chartGeoSelectChanged",chartGeoSelected:"chartGeoSelected",chartGeoUnselected:"chartGeoUnselected",chartAxisAreaSelected:"chartAxisAreaSelected",chartBrush:"chartBrush",chartBrushEnd:"chartBrushEnd",chartBrushSelected:"chartBrushSelected",chartGlobalCursorTaken:"chartGlobalCursorTaken",chartRendered:"chartRendered",chartFinished:"chartFinished"},exportAs:["echarts"],features:[Ge]})}}return t})();function k6(t){return{provide:BR,useValue:t}}var jR=(()=>{class t{static forRoot(e){return{ngModule:t,providers:[k6(e)]}}static forChild(){return{ngModule:t}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=Z({})}}return t})();function A6(t,i){if(t&1&&(c(0,"div",21)(1,"div",11),M(2,"img",4),c(3,"div",12)(4,"ul")(5,"li"),g(6),c(7,"uds-translate"),g(8,"restrained services"),d()()()()(),c(9,"div",13)(10,"a",15)(11,"uds-translate"),g(12,"View service pools"),d()()()()),t&2){let e=_(2);u(2),h("src",e.api.staticURL("admin/img/icons/logs.png"),we),u(4),O("",e.data.restrained_services_pools," ")}}function R6(t,i){if(t&1){let e=A();c(0,"div")(1,"div",8)(2,"div",9)(3,"div",10)(4,"div",11),M(5,"img",4),c(6,"div",12)(7,"ul")(8,"li"),g(9),c(10,"uds-translate"),g(11,"total users"),d()(),c(12,"li"),g(13),c(14,"uds-translate"),g(15,"total groups"),d()(),c(16,"li"),g(17),c(18,"uds-translate"),g(19,"with services"),d()()()()(),c(20,"div",13)(21,"a",14)(22,"uds-translate"),g(23,"View authenticators"),d()()()(),c(24,"div",10)(25,"div",11),M(26,"img",4),c(27,"div",12)(28,"ul")(29,"li"),g(30),c(31,"uds-translate"),g(32,"total pools"),d()()()()(),c(33,"div",13)(34,"a",15)(35,"uds-translate"),g(36,"View service pools"),d()()()(),c(37,"div",10)(38,"div",11),M(39,"img",4),c(40,"div",12)(41,"ul")(42,"li"),g(43),c(44,"uds-translate"),g(45,"total services"),d()(),c(46,"li"),g(47),c(48,"uds-translate"),g(49,"assigned"),d()()()()(),c(50,"div",13)(51,"a",15)(52,"uds-translate"),g(53,"View service pools"),d()()()(),S(54,A6,13,2,"div",16),d(),c(55,"div",17)(56,"div",18)(57,"div",19)(58,"uds-translate"),g(59,"Assigned services chart"),d()(),c(60,"div",20),b("chartInit",function(o){y(e);let r=_();return C(r.chartInit("assigned",o))}),d()(),c(61,"div",18)(62,"div",19)(63,"uds-translate"),g(64,"In use services chart"),d()(),c(65,"div",20),b("chartInit",function(o){y(e);let r=_();return C(r.chartInit("inuse",o))}),d()()()()()}if(t&2){let e=_();u(5),h("src",e.api.staticURL("admin/img/icons/authenticators.png"),we),u(4),O("",e.data.users," "),u(4),O("",e.data.groups," "),u(4),O("",e.data.users_with_services," "),u(9),h("src",e.api.staticURL("admin/img/icons/pools.png"),we),u(4),O("",e.data.service_pools," "),u(9),h("src",e.api.staticURL("admin/img/icons/services.png"),we),u(4),O("",e.data.user_services," "),u(4),O("",e.data.assigned_user_services," "),u(7),h("ngIf",e.data.restrained_services_pools>0),u(6),h("options",e.assignedChartOpts),u(5),h("options",e.inuseChartOpts)}}function O6(t,i){t&1&&(c(0,"div",22)(1,"div",23)(2,"div",24)(3,"uds-translate"),g(4,"UDS Administration"),d()(),c(5,"div",25)(6,"p")(7,"uds-translate"),g(8,"You are accessing UDS Administration as staff member."),d()(),c(9,"p")(10,"uds-translate"),g(11,"This means that you have restricted access to elements."),d()(),c(12,"p")(13,"uds-translate"),g(14,"In order to increase your access privileges, please contact your local UDS administrator. "),d()(),M(15,"br"),c(16,"p")(17,"uds-translate"),g(18,"Thank you."),d()()()()())}var UR=(()=>{class t{constructor(e,n){this.api=e,this.rest=n,this.data={},this.assignedChartInstance=null,this.assignedChartOpts={},this.inuseChartOpts={},this.inuseChartInstance=null}onResize(e){this.assignedChartInstance&&this.assignedChartInstance.resize(),this.inuseChartInstance&&this.inuseChartInstance.resize()}ngOnInit(){if(this.api.user.isAdmin){this.rest.system.information().then(e=>{this.data=e});for(let e of["assigned","inuse"])this.rest.system.stats(e).then(n=>{let o={tooltip:{trigger:"axis"},toolbox:{feature:{dataZoom:{yAxisIndex:"none"},restore:{},saveAsImage:{}}},xAxis:{type:"category",data:n.map(r=>Xn("SHORT_DATE_FORMAT",new Date(r.stamp))),boundaryGap:!1},yAxis:{type:"value"},series:[{name:e==="assigned"?django.gettext("Assigned services"):django.gettext("Services in use"),type:"line",smooth:!0,areaStyle:{},data:n.map(r=>r.value)}]};e==="assigned"?this.assignedChartOpts=o:this.inuseChartOpts=o})}}chartInit(e,n){e==="assigned"?this.assignedChartInstance=n:this.inuseChartInstance=n}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(J))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-summary"]],hostBindings:function(n,o){n&1&&b("resize",function(a){return o.onResize(a)},jd)},standalone:!1,decls:11,vars:3,consts:[["noAdmin",""],[1,"card"],[1,"card-header"],[1,"card-title"],[3,"src"],[1,"card-subtitle"],[1,"card-content"],[4,"ngIf","ngIfElse"],[1,"admin"],[1,"information"],[1,"info-panel"],[1,"info-panel-data"],[1,"info-text"],[1,"info-panel-link"],["mat-button","","routerLink","/authenticators"],["mat-button","","routerLink","/pools/service-pools"],["class","info-panel info-danger",4,"ngIf"],[1,"statistics"],[1,"statistics-chart"],[1,"statistics-title"],["echarts","","theme","dark-digerati",3,"chartInit","options"],[1,"info-panel","info-danger"],[1,"staff-container"],[1,"staff","mat-elevation-z8"],[1,"staff-header"],[1,"staff-content"]],template:function(n,o){if(n&1&&(c(0,"div",1)(1,"div",2)(2,"div",3),M(3,"img",4),c(4,"uds-translate"),g(5,"Dashboard"),d()(),M(6,"div",5),d(),c(7,"div",6),S(8,R6,66,12,"div",7)(9,O6,19,0,"ng-template",null,0,Sn),d()()),n&2){let r=Se(10);u(3),h("src",o.api.staticURL("admin/img/icons/dashboard-monitor.png"),we),u(5),h("ngIf",o.api.user.isAdmin)("ngIfElse",r)}},dependencies:[pe,mn,ge,o_,se],styles:[".mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-0, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-1, 0px 2px 1px -1px --mat-sys-shadow, 0px 1px 1px 0px --mat-sys-shadow, 0px 1px 3px 0px --mat-sys-shadow)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-2, 0px 3px 1px -2px --mat-sys-shadow, 0px 2px 2px 0px --mat-sys-shadow, 0px 1px 5px 0px --mat-sys-shadow)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-3, 0px 3px 3px -2px --mat-sys-shadow, 0px 3px 4px 0px --mat-sys-shadow, 0px 1px 8px 0px --mat-sys-shadow)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-4, 0px 2px 4px -1px --mat-sys-shadow, 0px 4px 5px 0px --mat-sys-shadow, 0px 1px 10px 0px --mat-sys-shadow)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-5, 0px 3px 5px -1px --mat-sys-shadow, 0px 5px 8px 0px --mat-sys-shadow, 0px 1px 14px 0px --mat-sys-shadow)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-6, 0px 3px 5px -1px --mat-sys-shadow, 0px 6px 10px 0px --mat-sys-shadow, 0px 1px 18px 0px --mat-sys-shadow)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-7, 0px 4px 5px -2px --mat-sys-shadow, 0px 7px 10px 1px --mat-sys-shadow, 0px 2px 16px 1px --mat-sys-shadow)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-8, 0px 5px 5px -3px --mat-sys-shadow, 0px 8px 10px 1px --mat-sys-shadow, 0px 3px 14px 2px --mat-sys-shadow)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-9, 0px 5px 6px -3px --mat-sys-shadow, 0px 9px 12px 1px --mat-sys-shadow, 0px 3px 16px 2px --mat-sys-shadow)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-10, 0px 6px 6px -3px --mat-sys-shadow, 0px 10px 14px 1px --mat-sys-shadow, 0px 4px 18px 3px --mat-sys-shadow)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-11, 0px 6px 7px -4px --mat-sys-shadow, 0px 11px 15px 1px --mat-sys-shadow, 0px 4px 20px 3px --mat-sys-shadow)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-12, 0px 7px 8px -4px --mat-sys-shadow, 0px 12px 17px 2px --mat-sys-shadow, 0px 5px 22px 4px --mat-sys-shadow)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-13, 0px 7px 8px -4px --mat-sys-shadow, 0px 13px 19px 2px --mat-sys-shadow, 0px 5px 24px 4px --mat-sys-shadow)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-14, 0px 7px 9px -4px --mat-sys-shadow, 0px 14px 21px 2px --mat-sys-shadow, 0px 5px 26px 4px --mat-sys-shadow)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-15, 0px 8px 9px -5px --mat-sys-shadow, 0px 15px 22px 2px --mat-sys-shadow, 0px 6px 28px 5px --mat-sys-shadow)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-16, 0px 8px 10px -5px --mat-sys-shadow, 0px 16px 24px 2px --mat-sys-shadow, 0px 6px 30px 5px --mat-sys-shadow)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-17, 0px 8px 11px -5px --mat-sys-shadow, 0px 17px 26px 2px --mat-sys-shadow, 0px 6px 32px 5px --mat-sys-shadow)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-18, 0px 9px 11px -5px --mat-sys-shadow, 0px 18px 28px 2px --mat-sys-shadow, 0px 7px 34px 6px --mat-sys-shadow)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-19, 0px 9px 12px -6px --mat-sys-shadow, 0px 19px 29px 2px --mat-sys-shadow, 0px 7px 36px 6px --mat-sys-shadow)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-20, 0px 10px 13px -6px --mat-sys-shadow, 0px 20px 31px 3px --mat-sys-shadow, 0px 8px 38px 7px --mat-sys-shadow)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-21, 0px 10px 13px -6px --mat-sys-shadow, 0px 21px 33px 3px --mat-sys-shadow, 0px 8px 40px 7px --mat-sys-shadow)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-22, 0px 10px 14px -6px --mat-sys-shadow, 0px 22px 35px 3px --mat-sys-shadow, 0px 8px 42px 7px --mat-sys-shadow)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-23, 0px 11px 14px -7px --mat-sys-shadow, 0px 23px 36px 3px --mat-sys-shadow, 0px 9px 44px 8px --mat-sys-shadow)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-24, 0px 11px 15px -7px --mat-sys-shadow, 0px 24px 38px 3px --mat-sys-shadow, 0px 9px 46px 8px --mat-sys-shadow)}html[_ngcontent-%COMP%]{--mat-sys-on-surface: initial}.mat-app-background[_ngcontent-%COMP%]{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}.staff-container[_ngcontent-%COMP%]{margin-top:2rem;display:flex;justify-content:center}.staff[_ngcontent-%COMP%]{border:#337ab7;border-width:1px;border-style:solid}.staff-header[_ngcontent-%COMP%]{display:flex;justify-content:center;background-color:#337ab7;color:#fff;font-weight:700;padding:.5rem 1rem}.staff-content[_ngcontent-%COMP%]{padding:.5rem 1rem}.admin[_ngcontent-%COMP%]{display:flex;flex-direction:column}.information[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around;width:100%}.info-panel[_ngcontent-%COMP%]{border-color:#333;background-image:linear-gradient(135deg,#fdfcfb,#e2d1c3);box-shadow:#00000024 0 1px 4px;box-sizing:border-box;color:#333;display:flex;flex-direction:column;margin:2rem 1rem;width:100%}.info-danger[_ngcontent-%COMP%]{background-image:linear-gradient(to right,#f83600,#f9d423);color:#fff;font-weight:700;font-size:1.5em}.info-panel-data[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;padding:1rem}.info-panel-data[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-right:1rem;width:5rem}.info-text[_ngcontent-%COMP%]{width:100%;min-height:6.5rem;text-align:center;font-size:1.1rem}.info-text[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style-type:none;font-weight:700}.info-text[_ngcontent-%COMP%] uds-translate[_ngcontent-%COMP%]{font-weight:400}.info-panel-link[_ngcontent-%COMP%]{background:linear-gradient(60deg,#4b5266,#465d9c)}.info-panel-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%;color:#fff}.statistics[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around;width:100%}.statistics-title[_ngcontent-%COMP%]{background:linear-gradient(60deg,#4b5266,#465d9c);width:100%;color:#fff;padding:1rem 0rem;text-align:center}.statistics-chart[_ngcontent-%COMP%]{border-color:#333;box-shadow:#00000024 0 1px 4px;box-sizing:border-box;color:#333;display:flex;flex-direction:column;margin:2rem 1rem;width:100%;height:400px} .dark-theme .staff{border:#337ab7} .dark-theme .staff-header{color:#fff} .dark-theme .info-panel{border-color:lightned(#303030,60%);background-image:linear-gradient(135deg,#fdfcfb,#e2d1c3);box-shadow:#00000024 0 1px 4px;color:#b3b3b3} .dark-theme .info-danger{background-image:linear-gradient(to right,#f83600,#f9d423);color:#fff} .dark-theme .info-panel-link{background:#4682b4} .dark-theme .info-panel-link a{color:#fff} .dark-theme .statistics-title{color:#fff} .dark-theme .statistics-chart{border-color:#333;box-shadow:#00000024 0 1px 4px;color:#333}"]})}}return t})();var ll=class{applyChanges(i,e,n,o,r){i.forEachOperation((a,s,l)=>{let m,f;if(a.previousIndex==null){let v=n(a,s,l);m=e.createEmbeddedView(v.templateRef,v.context,v.index),f=Ha.INSERTED}else l==null?(e.remove(s),f=Ha.REMOVED):(m=e.get(s),e.move(m,l),f=Ha.MOVED);r&&r({context:m?.context,operation:f,record:a})})}detach(){}};var Fr=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new j;constructor(i=!1,e,n=!0,o){this._multiple=i,this._emitChanges=n,this.compareWith=o,e&&e.length&&(i?e.forEach(r=>this._markSelected(r)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...i){this._verifyValueAssignment(i),i.forEach(n=>this._markSelected(n));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...i){this._verifyValueAssignment(i),i.forEach(n=>this._unmarkSelected(n));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...i){this._verifyValueAssignment(i);let e=this.selected,n=new Set(i.map(r=>this._getConcreteValue(r)));i.forEach(r=>this._markSelected(r)),e.filter(r=>!n.has(this._getConcreteValue(r,n))).forEach(r=>this._unmarkSelected(r));let o=this._hasQueuedChanges();return this._emitChangeEvent(),o}toggle(i){return this.isSelected(i)?this.deselect(i):this.select(i)}clear(i=!0){this._unmarkAll();let e=this._hasQueuedChanges();return i&&this._emitChangeEvent(),e}isSelected(i){return this._selection.has(this._getConcreteValue(i))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(i){this._multiple&&this.selected&&this._selected.sort(i)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(i){i=this._getConcreteValue(i),this.isSelected(i)||(this._multiple||this._unmarkAll(),this.isSelected(i)||this._selection.add(i),this._emitChanges&&this._selectedToEmit.push(i))}_unmarkSelected(i){i=this._getConcreteValue(i),this.isSelected(i)&&(this._selection.delete(i),this._emitChanges&&this._deselectedToEmit.push(i))}_unmarkAll(){this.isEmpty()||this._selection.forEach(i=>this._unmarkSelected(i))}_verifyValueAssignment(i){i.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(i,e){if(this.compareWith){e=e??this._selection;for(let n of e)if(this.compareWith(i,n))return n;return i}else return i}};var P6=["notch"],N6=["matFormFieldNotchedOutline",""],F6=["*"],GR=["iconPrefixContainer"],WR=["textPrefixContainer"],$R=["iconSuffixContainer"],qR=["textSuffixContainer"],L6=["textField"],V6=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],B6=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function j6(t,i){t&1&&M(0,"span",21)}function z6(t,i){if(t&1&&(c(0,"label",20),ae(1,1),ue(2,j6,1,0,"span",21),d()),t&2){let e=_(2);h("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),ee("for",e._control.disableAutomaticLabeling?null:e._control.id),u(2),me(!e.hideRequiredMarker&&e._control.required?2:-1)}}function U6(t,i){if(t&1&&ue(0,z6,3,5,"label",20),t&2){let e=_();me(e._hasFloatingLabel()?0:-1)}}function H6(t,i){t&1&&M(0,"div",7)}function G6(t,i){}function W6(t,i){if(t&1&&S(0,G6,0,0,"ng-template",13),t&2){_(2);let e=Se(1);h("ngTemplateOutlet",e)}}function $6(t,i){if(t&1&&(c(0,"div",9),ue(1,W6,1,1,null,13),d()),t&2){let e=_();h("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),u(),me(e._forceDisplayInfixLabel()?-1:1)}}function q6(t,i){t&1&&(c(0,"div",10,2),ae(2,2),d())}function Y6(t,i){t&1&&(c(0,"div",11,3),ae(2,3),d())}function Q6(t,i){}function K6(t,i){if(t&1&&S(0,Q6,0,0,"ng-template",13),t&2){_();let e=Se(1);h("ngTemplateOutlet",e)}}function Z6(t,i){t&1&&(c(0,"div",14,4),ae(2,4),d())}function X6(t,i){t&1&&(c(0,"div",15,5),ae(2,5),d())}function J6(t,i){t&1&&M(0,"div",16)}function eG(t,i){t&1&&(c(0,"div",18),ae(1,6),d())}function tG(t,i){if(t&1&&(c(0,"mat-hint",22),g(1),d()),t&2){let e=_(2);h("id",e._hintLabelId),u(),tt(e.hintLabel)}}function nG(t,i){if(t&1&&(c(0,"div",19),ue(1,tG,2,2,"mat-hint",22),ae(2,7),M(3,"div",23),ae(4,8),d()),t&2){let e=_();u(),me(e.hintLabel?1:-1)}}var Pe=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["mat-label"]]})}return t})(),eO=new T("MatError");var sx=(()=>{class t{align="start";id=p(mt).getId("mat-mdc-hint-");static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(n,o){n&2&&(cn("id",o.id),ee("align",null),ne("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"}})}return t})(),tO=new T("MatPrefix");var lx=new T("MatSuffix"),ro=(()=>{class t{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[ve([{provide:lx,useExisting:t}])]})}return t})(),nO=new T("FloatingLabelParent"),YR=(()=>{class t{_elementRef=p(K);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=p(kg);_ngZone=p(te);_parent=p(nO);_resizeSubscription=new _e;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return iG(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(n,o){n&2&&ne("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return t})();function iG(t){let i=t;if(i.offsetParent!==null)return i.scrollWidth;let e=i.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let n=e.scrollWidth;return e.remove(),n}var QR="mdc-line-ripple--active",r_="mdc-line-ripple--deactivating",KR=(()=>{class t{_elementRef=p(K);_cleanupTransitionEnd;constructor(){let e=p(te),n=p(St);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=n.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(r_),e.add(QR)}deactivate(){this._elementRef.nativeElement.classList.add(r_)}_handleTransitionEnd=e=>{let n=this._elementRef.nativeElement.classList,o=n.contains(r_);e.propertyName==="opacity"&&o&&n.remove(QR,r_)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return t})(),ZR=(()=>{class t{_elementRef=p(K);_ngZone=p(te);open=!1;_notch;ngAfterViewInit(){let e=this._elementRef.nativeElement,n=e.querySelector(".mdc-floating-label");n?(e.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(n.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>n.style.transitionDuration="")}))):e.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){let n=this._notch.nativeElement;!this.open||!e?n.style.width="":n.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}_setMaxWidth(e){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${e}px)`)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(n,o){if(n&1&&le(P6,5),n&2){let r;Y(r=Q())&&(o._notch=r.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(n,o){n&2&&ne("mdc-notched-outline--notched",o.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:N6,ngContentSelectors:F6,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(n,o){n&1&&(He(),Ci(0,"div",1),gn(1,"div",2,0),ae(3),wn(),Ci(4,"div",3))},encapsulation:2,changeDetection:0})}return t})(),ra=(()=>{class t{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t})}return t})();var Do=new T("MatFormField"),a_=new T("MAT_FORM_FIELD_DEFAULT_OPTIONS"),XR="fill",oG="auto",JR="fixed",rG="translateY(-50%)",he=(()=>{class t{_elementRef=p(K);_changeDetectorRef=p(Te);_platform=p(nt);_idGenerator=p(mt);_ngZone=p(te);_defaults=p(a_,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=Qd("iconPrefixContainer");_textPrefixContainerSignal=Qd("textPrefixContainer");_iconSuffixContainerSignal=Qd("iconSuffixContainer");_textSuffixContainerSignal=Qd("textSuffixContainer");_prefixSuffixContainers=Ki(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=HT(Pe);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=vo(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||oG}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(e){let n=e||this._defaults?.appearance||XR;this._appearanceSignal.set(n)}_appearanceSignal=Ie(XR);get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||JR}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||JR}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new j;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=rt();constructor(){let e=this._defaults,n=p(Bt);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),Xr(()=>this._currentDirection=n.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=Ki(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let n=this._control,o="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(o+e.controlType),n.controlType&&this._elementRef.nativeElement.classList.add(o+n.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=n.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=n.stateChanges.pipe(Et([void 0,void 0]),de(()=>[n.errorState,n.userAriaDescribedBy]),pp(),Ke(([[r,a],[s,l]])=>r!==s||a!==l)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),n.ngControl&&n.ngControl.valueChanges&&(this._valueChanges=n.ngControl.valueChanges.pipe(ke(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Tt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){let e=this._control.focused;e&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!e&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",e),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",e)}_syncOutlineLabelOffset(){QT({earlyRead:()=>{if(this._appearanceSignal()!=="outline")return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(let e of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(e,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:e=>this._writeOutlinedLabelStyles(e())})}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=Ki(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let n=this._control?this._control.ngControl:null;return n&&n[e]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let r=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,a=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;r?e.push(r.id):this._hintLabel&&e.push(this._hintLabelId),a&&e.push(a.id)}else this._errorChildren&&e.push(...this._errorChildren.map(r=>r.id));let n=this._control.describedByIds,o;if(n){let r=this._describedByIds||e;o=e.concat(n.filter(a=>a&&!r.includes(a)))}else o=e;this._control.setDescribedByIds(o),this._describedByIds=e}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;let e=this._iconPrefixContainer?.nativeElement,n=this._textPrefixContainer?.nativeElement,o=this._iconSuffixContainer?.nativeElement,r=this._textSuffixContainer?.nativeElement,a=e?.getBoundingClientRect().width??0,s=n?.getBoundingClientRect().width??0,l=o?.getBoundingClientRect().width??0,m=r?.getBoundingClientRect().width??0,f=this._currentDirection==="rtl"?"-1":"1",v=`${a+s}px`,x=`calc(${f} * (${v} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,I=`var(--mat-mdc-form-field-label-transform, ${rG} translateX(${x}))`,N=a+s+l+m;return[I,N]}_writeOutlinedLabelStyles(e){if(e!==null){let[n,o]=e;this._floatingLabel&&(this._floatingLabel.element.style.transform=n),o!==null&&this._notchedOutline?._setMaxWidth(o)}}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let n=e.getRootNode();return n&&n!==e}return document.documentElement.contains(e)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-form-field"]],contentQueries:function(n,o,r){if(n&1&&(O0(r,o._labelChild,Pe,5),Fe(r,ra,5),Fe(r,tO,5),Fe(r,lx,5),Fe(r,eO,5),Fe(r,sx,5)),n&2){Fh();let a;Y(a=Q())&&(o._formFieldControl=a.first),Y(a=Q())&&(o._prefixChildren=a),Y(a=Q())&&(o._suffixChildren=a),Y(a=Q())&&(o._errorChildren=a),Y(a=Q())&&(o._hintChildren=a)}},viewQuery:function(n,o){if(n&1&&(Jl(o._iconPrefixContainerSignal,GR,5),Jl(o._textPrefixContainerSignal,WR,5),Jl(o._iconSuffixContainerSignal,$R,5),Jl(o._textSuffixContainerSignal,qR,5),le(L6,5),le(GR,5),le(WR,5),le($R,5),le(qR,5),le(YR,5),le(ZR,5),le(KR,5)),n&2){Fh(4);let r;Y(r=Q())&&(o._textField=r.first),Y(r=Q())&&(o._iconPrefixContainer=r.first),Y(r=Q())&&(o._textPrefixContainer=r.first),Y(r=Q())&&(o._iconSuffixContainer=r.first),Y(r=Q())&&(o._textSuffixContainer=r.first),Y(r=Q())&&(o._floatingLabel=r.first),Y(r=Q())&&(o._notchedOutline=r.first),Y(r=Q())&&(o._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(n,o){n&2&&ne("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[ve([{provide:Do,useExisting:t},{provide:nO,useExisting:t}])],ngContentSelectors:B6,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(n,o){if(n&1){let r=A();He(V6),S(0,U6,1,1,"ng-template",null,0,Sn),c(2,"div",6,1),b("click",function(s){return y(r),C(o._control.onContainerClick(s))}),ue(4,H6,1,0,"div",7),c(5,"div",8),ue(6,$6,2,2,"div",9),ue(7,q6,3,0,"div",10),ue(8,Y6,3,0,"div",11),c(9,"div",12),ue(10,K6,1,1,null,13),ae(11),d(),ue(12,Z6,3,0,"div",14),ue(13,X6,3,0,"div",15),d(),ue(14,J6,1,0,"div",16),d(),c(15,"div",17),ue(16,eG,2,0,"div",18)(17,nG,5,1,"div",19),d()}if(n&2){let r;u(2),ne("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),u(2),me(!o._hasOutline()&&!o._control.disabled?4:-1),u(2),me(o._hasOutline()?6:-1),u(),me(o._hasIconPrefix?7:-1),u(),me(o._hasTextPrefix?8:-1),u(2),me(!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),u(2),me(o._hasTextSuffix?12:-1),u(),me(o._hasIconSuffix?13:-1),u(),me(o._hasOutline()?-1:14),u(),ne("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic");let a=o._getSubscriptMessageType();u(),me((r=a)==="error"?16:r==="hint"?17:-1)}},dependencies:[YR,ZR,Xd,KR,sx],styles:[`.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator,.mdc-text-field__input::-webkit-search-cancel-button{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-filled-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline));border-width:var(--mat-form-field-outlined-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mat-form-field-outlined-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{max-width:min(100%,calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mat-form-field-filled-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mat-form-field-filled-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)} +`],encapsulation:2,changeDetection:0})}return t})();var Ja=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[fe,Uf,he,fe]})}return t})();var aG=["trigger"],sG=["panel"],lG=[[["mat-select-trigger"]],"*"],cG=["mat-select-trigger","*"];function dG(t,i){if(t&1&&(c(0,"span",4),g(1),d()),t&2){let e=_();u(),tt(e.placeholder)}}function uG(t,i){t&1&&ae(0)}function mG(t,i){if(t&1&&(c(0,"span",11),g(1),d()),t&2){let e=_(2);u(),tt(e.triggerValue)}}function pG(t,i){if(t&1&&(c(0,"span",5),ue(1,uG,1,0)(2,mG,2,1,"span",11),d()),t&2){let e=_();u(),me(e.customTrigger?1:2)}}function hG(t,i){if(t&1){let e=A();c(0,"div",12,1),b("keydown",function(o){y(e);let r=_();return C(r._handleKeydown(o))}),ae(2,1),d()}if(t&2){let e=_();Kt(P0("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme())),ne("mat-select-panel-animations-enabled",!e._animationsDisabled),h("ngClass",e.panelClass),ee("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var cx=new T("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=p(re);return()=>zn(t)}});function iO(t){let i=p(re);return()=>zn(i)}var oO=new T("MAT_SELECT_CONFIG"),rO={provide:cx,deps:[],useFactory:iO},dx=new T("MatSelectTrigger"),s_=class{source;value;constructor(i,e){this.source=i,this.value=e}},gt=(()=>{class t{_viewportRuler=p(oi);_changeDetectorRef=p(Te);_elementRef=p(K);_dir=p(Bt,{optional:!0});_idGenerator=p(mt);_renderer=p(St);_parentFormField=p(Do,{optional:!0});ngControl=p(Fi,{self:!0,optional:!0});_liveAnnouncer=p(Ou);_defaultOptions=p(oO,{optional:!0});_animationsDisabled=rt();_initialized=new j;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let n=this.options.toArray()[e];if(n){let o=this.panel.nativeElement,r=om(e,this.options,this.optionGroups),a=n._getHostElement();e===0&&r===1?o.scrollTop=0:o.scrollTop=rm(a.offsetTop,a.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new s_(this,e)}_scrollStrategyFactory=p(cx);_panelOpen=!1;_compareWith=(e,n)=>e===n;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new j;_errorStateTracker;stateChanges=new j;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(e){this._disableRipple.set(e)}_disableRipple=Ie(!1);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(Nr.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;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)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=Hi(()=>{let e=this.options;return e?e.changes.pipe(Et(e),vt(()=>Tt(...e.map(n=>n.onSelectionChange)))):this._initialized.pipe(vt(()=>this.optionSelectionChanges))});openedChange=new k;_openedStream=this.openedChange.pipe(Ke(e=>e),de(()=>{}));_closedStream=this.openedChange.pipe(Ke(e=>!e),de(()=>{}));selectionChange=new k;valueChange=new k;constructor(){let e=p(sl),n=p(xo,{optional:!0}),o=p(Ka,{optional:!0}),r=p(new Vn("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new Za(e,this.ngControl,o,n,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=r==null?0:parseInt(r)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Fr(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(ke(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(ke(this._destroy)).subscribe(e=>{e.added.forEach(n=>n.select()),e.removed.forEach(n=>n.deselect())}),this.options.changes.pipe(Et(null),ke(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),n=this.ngControl;if(e!==this._triggerAriaLabelledBy){let o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?o.setAttribute("aria-labelledby",e):o.removeAttribute("aria-labelledby")}n&&(this._previousControl!==n.control&&(this._previousControl!==void 0&&n.disabled!==null&&n.disabled!==this.disabled&&(this.disabled=n.disabled),this._previousControl=n.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe(Pt(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let n=`${this.id}-panel`;this._trackedModal&&qa(this._trackedModal,"aria-owns",n),Mc(e,"aria-owns",n),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;qa(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel){this._detachOverlay();return}this._cleanupDetach?.(),this._cleanupDetach=()=>{n(),clearTimeout(o),this._cleanupDetach=void 0};let e=this.panel.nativeElement,n=this._renderer.listen(e,"animationend",r=>{r.animationName==="_mat-select-exit"&&(this._cleanupDetach?.(),this._detachOverlay())}),o=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);e.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}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(n=>n.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let n=e.keyCode,o=n===40||n===38||n===37||n===39,r=n===13||n===32,a=this._keyManager;if(!a.isTyping()&&r&&!kt(e)||(this.multiple||e.altKey)&&o)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 n=this._keyManager,o=e.keyCode,r=o===40||o===38,a=n.isTyping();if(r&&e.altKey)e.preventDefault(),this.close();else if(!a&&(o===13||o===32)&&n.activeItem&&!kt(e))e.preventDefault(),n.activeItem._selectViaInteraction();else if(!a&&this._multiple&&o===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=n.activeItemIndex;n.onKeydown(e),this._multiple&&r&&e.shiftKey&&n.activeItem&&n.activeItemIndex!==s&&n.activeItem._selectViaInteraction()}}_handleOverlayKeydown(e){e.keyCode===27&&!kt(e)&&(e.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_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.options.forEach(n=>n.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(n=>this._selectOptionByValue(n)),this._sortValues();else{let n=this._selectOptionByValue(e);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let n=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return(o.value!=null||this.canSelectNullableOptions)&&this._compareWith(o.value,e)}catch{return!1}});return n&&this._selectionModel.select(n),n}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof xc?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new ol(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=Tt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(ke(e)).subscribe(n=>{this._onSelect(n.source,n.isUserInput),n.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Tt(...this.options.map(n=>n._stateChanges)).pipe(ke(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,n){let o=this._selectionModel.isSelected(e);!this.canSelectNullableOptions&&e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(o!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),n&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),n&&this.focus())),o!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((n,o)=>this.sortComparator?this.sortComparator(n,o,e):e.indexOf(n)-e.indexOf(o)),this.stateChanges.next()}}_propagateChanges(e){let n;this.multiple?n=this.selected.map(o=>o.value):n=this.selected?this.selected.value:e,this._value=n,this.valueChange.emit(n),this._onChange(n),this.selectionChange.emit(this._getChangeEvent(n)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let n=0;n0&&!!this._overlayDir}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,n=e?e+" ":"";return this.ariaLabelledby?n+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()||"";return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e||(e=this._valueId),e}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}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}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-select"]],contentQueries:function(n,o,r){if(n&1&&(Fe(r,dx,5),Fe(r,$e,5),Fe(r,Vc,5)),n&2){let a;Y(a=Q())&&(o.customTrigger=a.first),Y(a=Q())&&(o.options=a),Y(a=Q())&&(o.optionGroups=a)}},viewQuery:function(n,o){if(n&1&&(le(aG,5),le(sG,5),le(Jf,5)),n&2){let r;Y(r=Q())&&(o.trigger=r.first),Y(r=Q())&&(o.panel=r.first),Y(r=Q())&&(o._overlayDir=r.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:21,hostBindings:function(n,o){n&1&&b("keydown",function(a){return o._handleKeydown(a)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),n&2&&(ee("id",o.id)("tabindex",o.disabled?-1:o.tabIndex)("aria-controls",o.panelOpen?o.id+"-panel":null)("aria-expanded",o.panelOpen)("aria-label",o.ariaLabel||null)("aria-required",o.required.toString())("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState)("aria-activedescendant",o._getAriaActiveDescendant()),ne("mat-mdc-select-disabled",o.disabled)("mat-mdc-select-invalid",o.errorState)("mat-mdc-select-required",o.required)("mat-mdc-select-empty",o.empty)("mat-mdc-select-multiple",o.multiple)("mat-select-open",o.panelOpen))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",$],disableRipple:[2,"disableRipple","disableRipple",$],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:an(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",$],placeholder:"placeholder",required:[2,"required","required",$],multiple:[2,"multiple","multiple",$],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",$],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",an],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",$]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[ve([{provide:ra,useExisting:t},{provide:Lc,useExisting:t}]),Ge],ngContentSelectors:cG,decls:11,vars:9,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(n,o){if(n&1){let r=A();He(lG),c(0,"div",2,0),b("click",function(){return y(r),C(o.open())}),c(3,"div",3),ue(4,dG,2,1,"span",4)(5,pG,3,1,"span",5),d(),c(6,"div",6)(7,"div",7),Jt(),c(8,"svg",8),M(9,"path",9),d()()()(),S(10,hG,3,10,"ng-template",10),b("detach",function(){return y(r),C(o.close())})("backdropClick",function(){return y(r),C(o.close())})("overlayKeydown",function(s){return y(r),C(o._handleOverlayKeydown(s))})}if(n&2){let r=Se(1);u(3),ee("id",o._valueId),u(),me(o.empty?4:5),u(6),h("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||r)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[xc,Jf,Xi],styles:[`@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-select-open .mat-mdc-select-arrow{transform:rotate(180deg)}.mat-form-field-animations-enabled .mat-mdc-select-arrow{transition:transform 80ms linear}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))} +`],encapsulation:2,changeDetection:0})}return t})(),am=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["mat-select-trigger"]],features:[ve([{provide:dx,useExisting:t}])]})}return t})(),sm=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[rO],imports:[ri,Bc,fe,to,Ja,Bc,fe]})}return t})();var fG=["tooltip"],ux=20;var mx=new T("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=p(re);return()=>zn(t,{scrollThrottle:ux})}});function lO(t){let i=p(re);return()=>zn(i,{scrollThrottle:ux})}var px={provide:mx,deps:[],useFactory:lO};function cO(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var dO=new T("mat-tooltip-default-options",{providedIn:"root",factory:cO});var aO="tooltip-panel",sO=ja({passive:!0}),gG=8,_G=8,vG=24,bG=200,ao=(()=>{class t{_elementRef=p(K);_ngZone=p(te);_platform=p(nt);_ariaDescriber=p(rg);_focusMonitor=p(An);_dir=p(Bt);_injector=p(re);_viewContainerRef=p(Mt);_animationsDisabled=rt();_defaultOptions=p(dO,{optional:!0});_overlayRef;_tooltipInstance;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=uO;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;_dirSubscribed=!1;get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=vo(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let n=vo(e);this._disabled!==n&&(this._disabled=n,n?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Ko(e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Ko(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(e){let n=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(n)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_touchstartTimeout=null;_destroyed=new j;_isDestroyed=!1;constructor(){let e=this._defaultOptions;e&&(this._showDelay=e.showDelay,this._hideDelay=e.hideDelay,e.position&&(this.position=e.position),e.positionAtOrigin&&(this.positionAtOrigin=e.positionAtOrigin),e.touchGestures&&(this.touchGestures=e.touchGestures),e.tooltipClass&&(this.tooltipClass=e.tooltipClass)),this._viewportMargin=gG}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(ke(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([n,o])=>{e.removeEventListener(n,o,sO)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,n){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let o=this._createOverlay(n);this._detach(),this._portal=this._portal||new Ni(this._tooltipComponent,this._viewContainerRef);let r=this._tooltipInstance=o.attach(this._portal).instance;r._triggerElement=this._elementRef.nativeElement,r._mouseLeaveHideDelay=this._hideDelay,r.afterHidden().pipe(ke(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),r.show(e)}hide(e=this.hideDelay){let n=this._tooltipInstance;n&&(n.isVisible()?n.hide(e):(n._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let a=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&a._origin instanceof K)return this._overlayRef;this._detach()}let n=this._injector.get(Ga).getAncestorScrollContainers(this._elementRef),o=`${this._cssClassPrefix}-${aO}`,r=Xo(this._injector,this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(n);return r.positionChanges.pipe(ke(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=Ii(this._injector,{direction:this._dir,positionStrategy:r,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,o]:o,scrollStrategy:this._injector.get(mx)(),disableAnimations:this._animationsDisabled}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(ke(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(ke(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(ke(this._destroyed)).subscribe(a=>{this._isTooltipVisible()&&a.keyCode===27&&!kt(a)&&(a.preventDefault(),a.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(ke(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let n=e.getConfig().positionStrategy,o=this._getOrigin(),r=this._getOverlayPosition();n.withPositions([this._addOffset(L(L({},o.main),r.main)),this._addOffset(L(L({},o.fallback),r.fallback))])}_addOffset(e){let n=_G,o=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-n:e.originY==="bottom"?e.offsetY=n:e.originX==="start"?e.offsetX=o?-n:n:e.originX==="end"&&(e.offsetX=o?n:-n),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",n=this.position,o;n=="above"||n=="below"?o={originX:"center",originY:n=="above"?"top":"bottom"}:n=="before"||n=="left"&&e||n=="right"&&!e?o={originX:"start",originY:"center"}:(n=="after"||n=="right"&&e||n=="left"&&!e)&&(o={originX:"end",originY:"center"});let{x:r,y:a}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:r,originY:a}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",n=this.position,o;n=="above"?o={overlayX:"center",overlayY:"bottom"}:n=="below"?o={overlayX:"center",overlayY:"top"}:n=="before"||n=="left"&&e||n=="right"&&!e?o={overlayX:"end",overlayY:"center"}:(n=="after"||n=="right"&&e||n=="left"&&!e)&&(o={overlayX:"start",overlayY:"center"});let{x:r,y:a}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:r,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),xt(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,n){return this.position==="above"||this.position==="below"?n==="top"?n="bottom":n==="bottom"&&(n="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:n}}_updateCurrentPositionClass(e){let{overlayY:n,originX:o,originY:r}=e,a;if(n==="center"?this._dir&&this._dir.value==="rtl"?a=o==="end"?"left":"right":a=o==="start"?"left":"right":a=n==="bottom"&&r==="top"?"above":"below",a!==this._currentPosition){let s=this._overlayRef;if(s){let l=`${this._cssClassPrefix}-${aO}-`;s.removePanelClass(l+this._currentPosition),s.addPanelClass(l+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let n;e.x!==void 0&&e.y!==void 0&&(n=e),this.show(void 0,n)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let n=e.targetTouches?.[0],o=n?{x:n.clientX,y:n.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let r=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,o)},this._defaultOptions?.touchLongPressShowDelay??r)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",n=>{let o=n.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",n=>this._wheelListener(n)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let n=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};e.push(["touchend",n],["touchcancel",n])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([n,o])=>{this._elementRef.nativeElement.addEventListener(n,o,sO)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let n=this._injector.get(ce).elementFromPoint(e.clientX,e.clientY),o=this._elementRef.nativeElement;n!==o&&!o.contains(n)&&this.hide()}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let n=this._elementRef.nativeElement,o=n.style;(e==="on"||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA")&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),(e==="on"||!n.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._isDestroyed||xt({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(n,o){n&2&&ne("mat-mdc-tooltip-disabled",o.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return t})(),uO=(()=>{class t{_changeDetectorRef=p(Te);_elementRef=p(K);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=rt();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new j;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>vG&&e.width>=bG}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let n=this._tooltip.nativeElement,o=this._showAnimation,r=this._hideAnimation;if(n.classList.remove(e?r:o),n.classList.add(e?o:r),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(n);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(n.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(n,o){if(n&1&&le(fG,7),n&2){let r;Y(r=Q())&&(o._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(n,o){n&1&&b("mouseleave",function(a){return o._handleMouseLeave(a)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(n,o){if(n&1){let r=A();c(0,"div",1,0),b("animationend",function(s){return y(r),C(o._handleAnimationEnd(s))}),c(2,"div",2),g(3),d()()}n&2&&(ne("mdc-tooltip--multiline",o._isMultiline),h("ngClass",o.tooltipClass),u(3),tt(o.message))},dependencies:[Xi],styles:[`.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel{line-height:normal}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards} +`],encapsulation:2,changeDetection:0})}return t})();var lm=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[px],imports:[tl,ri,fe,fe,to]})}return t})();function yG(t,i){if(t&1&&(c(0,"mat-option",17),g(1),d()),t&2){let e=i.$implicit;h("value",e),u(),O(" ",e," ")}}function CG(t,i){if(t&1){let e=A();c(0,"mat-form-field",14)(1,"mat-select",16,0),b("selectionChange",function(o){y(e);let r=_(2);return C(r._changePageSize(o.value))}),wr(3,yG,2,2,"mat-option",17,Xl),d(),c(5,"div",18),b("click",function(){y(e);let o=Se(2);return C(o.open())}),d()()}if(t&2){let e=_(2);h("appearance",e._formFieldAppearance)("color",e.color),u(),h("value",e.pageSize)("disabled",e.disabled),Zl("aria-labelledby",e._pageSizeLabelId),h("panelClass",e.selectConfig.panelClass||"")("disableOptionCentering",e.selectConfig.disableOptionCentering),u(2),xr(e._displayedPageSizeOptions)}}function wG(t,i){if(t&1&&(c(0,"div",15),g(1),d()),t&2){let e=_(2);u(),tt(e.pageSize)}}function xG(t,i){if(t&1&&(c(0,"div",3)(1,"div",13),g(2),d(),ue(3,CG,6,7,"mat-form-field",14),ue(4,wG,2,1,"div",15),d()),t&2){let e=_();u(),ee("id",e._pageSizeLabelId),u(),O(" ",e._intl.itemsPerPageLabel," "),u(),me(e._displayedPageSizeOptions.length>1?3:-1),u(),me(e._displayedPageSizeOptions.length<=1?4:-1)}}function DG(t,i){if(t&1){let e=A();c(0,"button",19),b("click",function(){y(e);let o=_();return C(o._buttonClicked(0,o._previousButtonsDisabled()))}),Jt(),c(1,"svg",8),M(2,"path",20),d()()}if(t&2){let e=_();h("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("disabled",e._previousButtonsDisabled())("tabindex",e._previousButtonsDisabled()?-1:null),ee("aria-label",e._intl.firstPageLabel)}}function EG(t,i){if(t&1){let e=A();c(0,"button",21),b("click",function(){y(e);let o=_();return C(o._buttonClicked(o.getNumberOfPages()-1,o._nextButtonsDisabled()))}),Jt(),c(1,"svg",8),M(2,"path",22),d()()}if(t&2){let e=_();h("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("disabled",e._nextButtonsDisabled())("tabindex",e._nextButtonsDisabled()?-1:null),ee("aria-label",e._intl.lastPageLabel)}}var es=(()=>{class t{changes=new j;itemsPerPageLabel="Items per page:";nextPageLabel="Next page";previousPageLabel="Previous page";firstPageLabel="First page";lastPageLabel="Last page";getRangeLabel=(e,n,o)=>{if(o==0||n==0)return`0 of ${o}`;o=Math.max(o,0);let r=e*n,a=r{class t{_intl=p(es);_changeDetectorRef=p(Te);_formFieldAppearance;_pageSizeLabelId=p(mt).getId("mat-paginator-page-size-label-");_intlChanges;_isInitialized=!1;_initializedStream=new zi(1);color;get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(e||0,0),this._changeDetectorRef.markForCheck()}_pageIndex=0;get length(){return this._length}set length(e){this._length=e||0,this._changeDetectorRef.markForCheck()}_length=0;get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(e||0,0),this._updateDisplayedPageSizeOptions()}_pageSize;get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(n=>an(n,0)),this._updateDisplayedPageSizeOptions()}_pageSizeOptions=[];hidePageSize=!1;showFirstLastButtons=!1;selectConfig={};disabled=!1;page=new k;_displayedPageSizeOptions;initialized=this._initializedStream;constructor(){let e=this._intl,n=p(TG,{optional:!0});if(this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),n){let{pageSize:o,pageSizeOptions:r,hidePageSize:a,showFirstLastButtons:s}=n;o!=null&&(this._pageSize=o),r!=null&&(this._pageSizeOptions=r),a!=null&&(this.hidePageSize=a),s!=null&&(this.showFirstLastButtons=s)}this._formFieldAppearance=n?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){this.hasNextPage()&&this._navigate(this.pageIndex+1)}previousPage(){this.hasPreviousPage()&&this._navigate(this.pageIndex-1)}firstPage(){this.hasPreviousPage()&&this._navigate(0)}lastPage(){this.hasNextPage()&&this._navigate(this.getNumberOfPages()-1)}hasPreviousPage(){return this.pageIndex>=1&&this.pageSize!=0}hasNextPage(){let e=this.getNumberOfPages()-1;return this.pageIndexe-n),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}_navigate(e){let n=this.pageIndex;e!==n&&(this.pageIndex=e,this._emitPageEvent(n))}_buttonClicked(e,n){n||this._navigate(e)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",an],length:[2,"length","length",an],pageSize:[2,"pageSize","pageSize",an],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",$],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",$],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",$]},outputs:{page:"page"},exportAs:["matPaginator"],decls:14,vars:14,consts:[["selectRef",""],[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],[1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],[1,"mat-mdc-paginator-touch-target",3,"click"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(n,o){n&1&&(c(0,"div",1)(1,"div",2),ue(2,xG,5,4,"div",3),c(3,"div",4)(4,"div",5),g(5),d(),ue(6,DG,3,5,"button",6),c(7,"button",7),b("click",function(){return o._buttonClicked(o.pageIndex-1,o._previousButtonsDisabled())}),Jt(),c(8,"svg",8),M(9,"path",9),d()(),Bo(),c(10,"button",10),b("click",function(){return o._buttonClicked(o.pageIndex+1,o._nextButtonsDisabled())}),Jt(),c(11,"svg",8),M(12,"path",11),d()(),ue(13,EG,3,5,"button",12),d()()()),n&2&&(u(2),me(o.hidePageSize?-1:2),u(3),O(" ",o._intl.getRangeLabel(o.pageIndex,o.pageSize,o.length)," "),u(),me(o.showFirstLastButtons?6:-1),u(),h("matTooltip",o._intl.previousPageLabel)("matTooltipDisabled",o._previousButtonsDisabled())("disabled",o._previousButtonsDisabled())("tabindex",o._previousButtonsDisabled()?-1:null),ee("aria-label",o._intl.previousPageLabel),u(3),h("matTooltip",o._intl.nextPageLabel)("matTooltipDisabled",o._nextButtonsDisabled())("disabled",o._nextButtonsDisabled())("tabindex",o._nextButtonsDisabled()?-1:null),ee("aria-label",o._intl.nextPageLabel),u(3),me(o.showFirstLastButtons?13:-1))},dependencies:[he,gt,$e,Jn,ao],styles:[`.mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color, var(--mat-sys-on-surface));background-color:var(--mat-paginator-container-background-color, var(--mat-sys-surface));font-family:var(--mat-paginator-container-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-paginator-container-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-paginator-container-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-paginator-container-text-weight, var(--mat-sys-body-small-weight));letter-spacing:var(--mat-paginator-container-text-tracking, var(--mat-sys-body-small-tracking));--mat-form-field-container-height: var(--mat-paginator-form-field-container-height, 40px);--mat-form-field-container-vertical-padding: var(--mat-paginator-form-field-container-vertical-padding, 8px)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size, var(--mat-sys-body-small-size))}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size, 56px)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:var(--mat-paginator-page-size-select-width, 84px)}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}@media(forced-colors: active){.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon,.mat-mdc-paginator-icon{fill:currentColor}.mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}.mat-mdc-paginator-range-actions .mat-mdc-icon-button[aria-disabled]{color:GrayText}}.mat-mdc-paginator-touch-target{display:var(--mat-paginator-touch-target-display, block);position:absolute;top:50%;left:50%;width:var(--mat-paginator-page-size-select-width, 84px);height:var(--mat-paginator-page-size-select-touch-target-height, 48px);background-color:rgba(0,0,0,0);transform:translate(-50%, -50%);cursor:pointer} +`],encapsulation:2,changeDetection:0})}return t})(),mO=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[MG],imports:[Pr,sm,lm,aa]})}return t})();var kG=["mat-sort-header",""],AG=["*"];function RG(t,i){t&1&&(gn(0,"div",2),Jt(),gn(1,"svg",3),Ci(2,"path",4),wn()())}var hO=new T("MAT_SORT_DEFAULT_OPTIONS"),sa=(()=>{class t{_defaultOptions;_initializedStream=new zi(1);sortables=new Map;_stateChanges=new j;active;start="asc";get direction(){return this._direction}set direction(e){this._direction=e}_direction="";disableClear;disabled=!1;sortChange=new k;initialized=this._initializedStream;constructor(e){this._defaultOptions=e}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){if(!e)return"";let n=e?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear,o=OG(e.start||this.start,n),r=o.indexOf(this.direction)+1;return r>=o.length&&(r=0),o[r]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}static \u0275fac=function(n){return new(n||t)(w(hO,8))};static \u0275dir=B({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",$],disabled:[2,"matSortDisabled","disabled",$]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[Ge]})}return t})();function OG(t,i){let e=["asc","desc"];return t=="desc"&&e.reverse(),i||e.push(""),e}var l_=(()=>{class t{changes=new j;static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function PG(t){return t||new l_}var NG={provide:l_,deps:[[new yr,new Ia,l_]],useFactory:PG},c_=(()=>{class t{_intl=p(l_);_sort=p(sa,{optional:!0});_columnDef=p("MAT_SORT_HEADER_COLUMN_DEF",{optional:!0});_changeDetectorRef=p(Te);_focusMonitor=p(An);_elementRef=p(K);_ariaDescriber=p(rg,{optional:!0});_renderChanges;_animationsDisabled=rt();_recentlyCleared=Ie(null);_sortButton;id;arrowPosition="after";start;disabled=!1;get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}_sortActionDescription="Sort";disableClear;constructor(){p(Dt).load(In);let e=p(hO,{optional:!0});this._sort,e?.arrowPosition&&(this.arrowPosition=e?.arrowPosition)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._sort.register(this),this._renderChanges=Tt(this._sort._stateChanges,this._sort.sortChange).subscribe(()=>this._changeDetectorRef.markForCheck()),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(()=>{Promise.resolve().then(()=>this._recentlyCleared.set(null))})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._renderChanges?.unsubscribe(),this._sortButton&&this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription)}_toggleOnInteraction(){if(!this._isDisabled()){let e=this._isSorted(),n=this._sort.direction;this._sort.sort(this),this._recentlyCleared.set(e&&!this._isSorted()?n:null)}}_handleKeydown(e){(e.keyCode===32||e.keyCode===13)&&(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&(this._sort.direction==="asc"||this._sort.direction==="desc")}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?this._sort.direction=="asc"?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,e)),this._sortActionDescription=e}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(n,o){n&1&&b("click",function(){return o._toggleOnInteraction()})("keydown",function(a){return o._handleKeydown(a)})("mouseleave",function(){return o._recentlyCleared.set(null)}),n&2&&(ee("aria-sort",o._getAriaSortAttribute()),ne("mat-sort-header-disabled",o._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",$],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",$]},exportAs:["matSortHeader"],attrs:kG,ngContentSelectors:AG,decls:4,vars:17,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],["viewBox","0 -960 960 960","focusable","false","aria-hidden","true"],["d","M440-240v-368L296-464l-56-56 240-240 240 240-56 56-144-144v368h-80Z"]],template:function(n,o){n&1&&(He(),gn(0,"div",0)(1,"div",1),ae(2),wn(),ue(3,RG,3,0,"div",2),wn()),n&2&&(ne("mat-sort-header-sorted",o._isSorted())("mat-sort-header-position-before",o.arrowPosition==="before")("mat-sort-header-descending",o._sort.direction==="desc")("mat-sort-header-ascending",o._sort.direction==="asc")("mat-sort-header-recently-cleared-ascending",o._recentlyCleared()==="asc")("mat-sort-header-recently-cleared-descending",o._recentlyCleared()==="desc")("mat-sort-header-animations-disabled",o._animationsDisabled),ee("tabindex",o._isDisabled()?null:0)("role",o._isDisabled()?null:"button"),u(3),me(o._renderArrow()?3:-1))},styles:[`.mat-sort-header{cursor:pointer}.mat-sort-header-disabled{cursor:default}.mat-sort-header-container{display:flex;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}@keyframes _mat-sort-header-recently-cleared-ascending{from{transform:translateY(0);opacity:1}to{transform:translateY(-25%);opacity:0}}@keyframes _mat-sort-header-recently-cleared-descending{from{transform:translateY(0) rotate(180deg);opacity:1}to{transform:translateY(25%) rotate(180deg);opacity:0}}.mat-sort-header-arrow{height:12px;width:12px;position:relative;transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1),opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;overflow:visible;color:var(--mat-sort-arrow-color, var(--mat-sys-on-surface))}.mat-sort-header.cdk-keyboard-focused .mat-sort-header-arrow,.mat-sort-header.cdk-program-focused .mat-sort-header-arrow,.mat-sort-header:hover .mat-sort-header-arrow{opacity:.54}.mat-sort-header .mat-sort-header-sorted .mat-sort-header-arrow{opacity:1}.mat-sort-header-descending .mat-sort-header-arrow{transform:rotate(180deg)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transform:translateY(-25%)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-ascending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-recently-cleared-descending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-descending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-animations-disabled .mat-sort-header-arrow{transition-duration:0ms;animation-duration:0ms}.mat-sort-header-arrow svg{width:24px;height:24px;fill:currentColor;position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;transform:translateZ(0)}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0} +`],encapsulation:2,changeDetection:0})}return t})(),fO=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[NG],imports:[fe]})}return t})();var FG=[[["caption"]],[["colgroup"],["col"]],"*"],LG=["caption","colgroup, col","*"];function VG(t,i){t&1&&ae(0,2)}function BG(t,i){t&1&&(c(0,"thead",0),xn(1,1),d(),c(2,"tbody",0),xn(3,2)(4,3),d(),c(5,"tfoot",0),xn(6,4),d())}function jG(t,i){t&1&&xn(0,1)(1,2)(2,3)(3,4)}var Jo=new T("CDK_TABLE");var p_=(()=>{class t{template=p(bt);constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","cdkCellDef",""]]})}return t})(),h_=(()=>{class t{template=p(bt);constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","cdkHeaderCellDef",""]]})}return t})(),bO=(()=>{class t{template=p(bt);constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","cdkFooterCellDef",""]]})}return t})(),zc=(()=>{class t{_table=p(Jo,{optional:!0});_hasStickyChanged=!1;get name(){return this._name}set name(e){this._setNameInput(e)}_name;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}_stickyEnd=!1;cell;headerCell;footerCell;cssClassFriendlyName;_columnCssClassName;constructor(){}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(n,o,r){if(n&1&&(Fe(r,p_,5),Fe(r,h_,5),Fe(r,bO,5)),n&2){let a;Y(a=Q())&&(o.cell=a.first),Y(a=Q())&&(o.headerCell=a.first),Y(a=Q())&&(o.footerCell=a.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",$],stickyEnd:[2,"stickyEnd","stickyEnd",$]},features:[ve([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}])]})}return t})(),u_=class{constructor(i,e){e.nativeElement.classList.add(...i._columnCssClassName)}},yO=(()=>{class t extends u_{constructor(){super(p(zc),p(K))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[ye]})}return t})();var CO=(()=>{class t extends u_{constructor(){let e=p(zc),n=p(K);super(e,n);let o=e._table?._getCellRole();o&&n.nativeElement.setAttribute("role",o)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[ye]})}return t})();var fx=(()=>{class t{template=p(bt);_differs=p(Dr);columns;_columnsDiffer;constructor(){}ngOnChanges(e){if(!this._columnsDiffer){let n=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(n).create(),this._columnsDiffer.diff(n)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof cm?e.headerCell.template:this instanceof gx?e.footerCell.template:e.cell.template}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,features:[Ge]})}return t})(),cm=(()=>{class t extends fx{_table=p(Jo,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(p(bt),p(Dr))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",$]},features:[ye,Ge]})}return t})(),gx=(()=>{class t extends fx{_table=p(Jo,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(p(bt),p(Dr))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",$]},features:[ye,Ge]})}return t})(),f_=(()=>{class t extends fx{_table=p(Jo,{optional:!0});when;constructor(){super(p(bt),p(Dr))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[ye]})}return t})(),cl=(()=>{class t{_viewContainer=p(Mt);cells;context;static mostRecentCellOutlet=null;constructor(){t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","cdkCellOutlet",""]]})}return t})(),_x=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&xn(0,0)},dependencies:[cl],encapsulation:2})}return t})();var vx=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&xn(0,0)},dependencies:[cl],encapsulation:2})}return t})(),wO=(()=>{class t{templateRef=p(bt);_contentClassNames=["cdk-no-data-row","cdk-row"];_cellClassNames=["cdk-cell","cdk-no-data-cell"];_cellSelector="td, cdk-cell, [cdk-cell], .cdk-cell";constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["ng-template","cdkNoDataRow",""]]})}return t})(),_O=["top","bottom","left","right"],hx=class{_isNativeHtmlTable;_stickCellCss;_isBrowser;_needsPositionStickyOnElement;direction;_positionListener;_tableInjector;_elemSizeCache=new WeakMap;_resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(i=>this._updateCachedSizes(i)):null;_updatedStickyColumnsParamsToReplay=[];_stickyColumnsReplayTimeout=null;_cachedCellWidths=[];_borderCellCss;_destroyed=!1;constructor(i,e,n=!0,o=!0,r,a,s){this._isNativeHtmlTable=i,this._stickCellCss=e,this._isBrowser=n,this._needsPositionStickyOnElement=o,this.direction=r,this._positionListener=a,this._tableInjector=s,this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(i,e){(e.includes("left")||e.includes("right"))&&this._removeFromStickyColumnReplayQueue(i);let n=[];for(let o of i)o.nodeType===o.ELEMENT_NODE&&n.push(o,...Array.from(o.children));xt({write:()=>{for(let o of n)this._removeStickyStyle(o,e)}},{injector:this._tableInjector})}updateStickyColumns(i,e,n,o=!0,r=!0){if(!i.length||!this._isBrowser||!(e.some(q=>q)||n.some(q=>q))){this._positionListener?.stickyColumnsUpdated({sizes:[]}),this._positionListener?.stickyEndColumnsUpdated({sizes:[]});return}let a=i[0],s=a.children.length,l=this.direction==="rtl",m=l?"right":"left",f=l?"left":"right",v=e.lastIndexOf(!0),D=n.indexOf(!0),x,I,N;r&&this._updateStickyColumnReplayQueue({rows:[...i],stickyStartStates:[...e],stickyEndStates:[...n]}),xt({earlyRead:()=>{x=this._getCellWidths(a,o),I=this._getStickyStartColumnPositions(x,e),N=this._getStickyEndColumnPositions(x,n)},write:()=>{for(let q of i)for(let P=0;P!!q)&&(this._positionListener.stickyColumnsUpdated({sizes:v===-1?[]:x.slice(0,v+1).map((q,P)=>e[P]?q:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:D===-1?[]:x.slice(D).map((q,P)=>n[P+D]?q:null).reverse()}))}},{injector:this._tableInjector})}stickRows(i,e,n){if(!this._isBrowser)return;let o=n==="bottom"?i.slice().reverse():i,r=n==="bottom"?e.slice().reverse():e,a=[],s=[],l=[];xt({earlyRead:()=>{for(let m=0,f=0;m{let m=r.lastIndexOf(!0);for(let f=0;f{let n=i.querySelector("tfoot");n&&(e.some(o=>!o)?this._removeStickyStyle(n,["bottom"]):this._addStickyStyle(n,"bottom",0,!1))}},{injector:this._tableInjector})}destroy(){this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._resizeObserver?.disconnect(),this._destroyed=!0}_removeStickyStyle(i,e){if(!i.classList.contains(this._stickCellCss))return;for(let o of e)i.style[o]="",i.classList.remove(this._borderCellCss[o]);_O.some(o=>e.indexOf(o)===-1&&i.style[o])?i.style.zIndex=this._getCalculatedZIndex(i):(i.style.zIndex="",this._needsPositionStickyOnElement&&(i.style.position=""),i.classList.remove(this._stickCellCss))}_addStickyStyle(i,e,n,o){i.classList.add(this._stickCellCss),o&&i.classList.add(this._borderCellCss[e]),i.style[e]=`${n}px`,i.style.zIndex=this._getCalculatedZIndex(i),this._needsPositionStickyOnElement&&(i.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(i){let e={top:100,bottom:10,left:1,right:1},n=0;for(let o of _O)i.style[o]&&(n+=e[o]);return n?`${n}`:""}_getCellWidths(i,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;let n=[],o=i.children;for(let r=0;r0;r--)e[r]&&(n[r]=o,o+=i[r]);return n}_retrieveElementSize(i){let e=this._elemSizeCache.get(i);if(e)return e;let n=i.getBoundingClientRect(),o={width:n.width,height:n.height};return this._resizeObserver&&(this._elemSizeCache.set(i,o),this._resizeObserver.observe(i,{box:"border-box"})),o}_updateStickyColumnReplayQueue(i){this._removeFromStickyColumnReplayQueue(i.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(i)}_removeFromStickyColumnReplayQueue(i){let e=new Set(i);for(let n of this._updatedStickyColumnsParamsToReplay)n.rows=n.rows.filter(o=>!e.has(o));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(n=>!!n.rows.length)}_updateCachedSizes(i){let e=!1;for(let n of i){let o=n.borderBoxSize?.length?{width:n.borderBoxSize[0].inlineSize,height:n.borderBoxSize[0].blockSize}:{width:n.contentRect.width,height:n.contentRect.height};o.width!==this._elemSizeCache.get(n.target)?.width&&zG(n.target)&&(e=!0),this._elemSizeCache.set(n.target,o)}e&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(let n of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(n.rows,n.stickyStartStates,n.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null}},0))}};function zG(t){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(i=>t.classList.contains(i))}var m_=new T("CDK_SPL");var bx=(()=>{class t{viewContainer=p(Mt);elementRef=p(K);constructor(){let e=p(Jo);e._rowOutlet=this,e._outletAssigned()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","rowOutlet",""]]})}return t})(),yx=(()=>{class t{viewContainer=p(Mt);elementRef=p(K);constructor(){let e=p(Jo);e._headerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","headerRowOutlet",""]]})}return t})(),Cx=(()=>{class t{viewContainer=p(Mt);elementRef=p(K);constructor(){let e=p(Jo);e._footerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","footerRowOutlet",""]]})}return t})(),wx=(()=>{class t{viewContainer=p(Mt);elementRef=p(K);constructor(){let e=p(Jo);e._noDataRowOutlet=this,e._outletAssigned()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","noDataRowOutlet",""]]})}return t})(),xx=(()=>{class t{_differs=p(Dr);_changeDetectorRef=p(Te);_elementRef=p(K);_dir=p(Bt,{optional:!0});_platform=p(nt);_viewRepeater=p(yc);_viewportRuler=p(oi);_stickyPositioningListener=p(m_,{optional:!0,skipSelf:!0});_document=p(ce);_data;_onDestroy=new j;_renderRows;_renderChangeSubscription;_columnDefsByName=new Map;_rowDefs;_headerRowDefs;_footerRowDefs;_dataDiffer;_defaultRowDef;_customColumnDefs=new Set;_customRowDefs=new Set;_customHeaderRowDefs=new Set;_customFooterRowDefs=new Set;_customNoDataRow;_headerRowDefChanged=!0;_footerRowDefChanged=!0;_stickyColumnStylesNeedReset=!0;_forceRecalculateCellWidths=!0;_cachedRenderRowsMap=new Map;_isNativeHtmlTable;_stickyStyler;stickyCssClass="cdk-table-sticky";needsPositionStickyOnElement=!0;_isServer;_isShowingNoDataRow=!1;_hasAllOutlets=!1;_hasInitialized=!1;_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role");return e==="grid"||e==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}_cellRoleInternal=void 0;get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}_trackByFn;get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}_dataSource;get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}_multiTemplateDataRows=!1;get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}_fixedLayout=!1;contentChanged=new k;viewChange=new Qt({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;_injector=p(re);constructor(){p(new Vn("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE",this._dataDiffer=this._differs.find([]).create((n,o)=>this.trackBy?this.trackBy(o.dataIndex,o.data):o)}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe(ke(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){this._stickyStyler?.destroy(),[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Nu(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return}let n=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,n,(o,r,a)=>this._getEmbeddedViewArgs(o.item,a),o=>o.item.data,o=>{o.operation===Ha.INSERTED&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(o=>{let r=n.get(o.currentIndex);r.context.$implicit=o.item.data}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let o=vO(this._headerRowOutlet,"thead");o&&(o.style.display=e.length?"":"none")}let n=this._headerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,n,"top"),this._headerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let o=vO(this._footerRowOutlet,"tfoot");o&&(o.style.display=e.length?"":"none")}let n=this._footerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...n,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((r,a)=>{this._addStickyColumnStyles([r],this._headerRowDefs[a])}),this._rowDefs.forEach(r=>{let a=[];for(let s=0;s{this._addStickyColumnStyles([r],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(r=>r.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let n=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||n,this._forceRecalculateCellWidths=n,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let e=[],n=this._cachedRenderRowsMap;if(this._cachedRenderRowsMap=new Map,!this._data)return e;for(let o=0;o{let s=o&&o.has(a)?o.get(a):[];if(s.length){let l=s.shift();return l.dataIndex=n,l}else return{data:e,rowDef:a,dataIndex:n}})}_cacheColumnDefs(){this._columnDefsByName.clear(),d_(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(n=>{this._columnDefsByName.has(n.name),this._columnDefsByName.set(n.name,n)})}_cacheRowDefs(){this._headerRowDefs=d_(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=d_(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=d_(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(n=>!n.when);!this.multiTemplateDataRows&&e.length>1,this._defaultRowDef=e[0]}_renderUpdatedColumns(){let e=(a,s)=>{let l=!!s.getColumnsDiff();return a||l},n=this._rowDefs.reduce(e,!1);n&&this._forceRenderDataRows();let o=this._headerRowDefs.reduce(e,!1);o&&this._forceRenderHeaderRows();let r=this._footerRowDefs.reduce(e,!1);return r&&this._forceRenderFooterRows(),n||o||r}_switchDataSource(e){this._data=[],Nu(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;Nu(this.dataSource)?e=this.dataSource.connect(this):Sl(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=ie(this.dataSource)),this._renderChangeSubscription=e.pipe(ke(this._onDestroy)).subscribe(n=>{this._data=n||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,n)=>this._renderRow(this._headerRowOutlet,e,n)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,n)=>this._renderRow(this._footerRowOutlet,e,n)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,n){let o=Array.from(n?.columns||[]).map(s=>{let l=this._columnDefsByName.get(s);return l}),r=o.map(s=>s.sticky),a=o.map(s=>s.stickyEnd);this._stickyStyler.updateStickyColumns(e,r,a,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){let n=[];for(let o=0;o!r.when||r.when(n,e));else{let r=this._rowDefs.find(a=>a.when&&a.when(n,e))||this._defaultRowDef;r&&o.push(r)}return o.length,o}_getEmbeddedViewArgs(e,n){let o=e.rowDef,r={$implicit:e.data};return{templateRef:o.template,context:r,index:n}}_renderRow(e,n,o,r={}){let a=e.viewContainer.createEmbeddedView(n.template,r,o);return this._renderCellTemplateForItem(n,r),a}_renderCellTemplateForItem(e,n){for(let o of this._getCellTemplates(e))cl.mostRecentCellOutlet&&cl.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,n);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let n=0,o=e.length;n{let o=this._columnDefsByName.get(n);return e.extractCellTemplate(o)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let e=(n,o)=>n||o.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let e=this._dir?this._dir.value:"ltr";this._stickyStyler=new hx(this._isNativeHtmlTable,this.stickyCssClass,this._platform.isBrowser,this.needsPositionStickyOnElement,e,this._stickyPositioningListener,this._injector),(this._dir?this._dir.change:ie()).pipe(ke(this._onDestroy)).subscribe(n=>{this._stickyStyler.direction=n,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(n=>!n._table||n._table===this)}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let n=this._rowOutlet.viewContainer.length===0;if(n===this._isShowingNoDataRow)return;let o=this._noDataRowOutlet.viewContainer;if(n){let r=o.createEmbeddedView(e.templateRef),a=r.rootNodes[0];if(r.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE){a.setAttribute("role","row"),a.classList.add(...e._contentClassNames);let s=a.querySelectorAll(e._cellSelector);for(let l=0;l{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[Lu]})}return t})();var UG=[[["caption"]],[["colgroup"],["col"]],"*"],HG=["caption","colgroup, col","*"];function GG(t,i){t&1&&ae(0,2)}function WG(t,i){t&1&&(c(0,"thead",0),xn(1,1),d(),c(2,"tbody",2),xn(3,3)(4,4),d(),c(5,"tfoot",0),xn(6,5),d())}function $G(t,i){t&1&&xn(0,1)(1,3)(2,4)(3,5)}var g_=(()=>{class t extends xx{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=!1;static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ct(t)))(o||t)}})();static \u0275cmp=E({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(n,o){n&2&&ne("mdc-table-fixed-layout",o.fixedLayout)},exportAs:["matTable"],features:[ve([{provide:xx,useExisting:t},{provide:Jo,useExisting:t},{provide:yc,useClass:ll},{provide:m_,useValue:null}]),ye],ngContentSelectors:HG,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,o){n&1&&(He(UG),ae(0),ae(1,1),ue(2,GG,1,0),ue(3,WG,7,0)(4,$G,4,0)),n&2&&(u(2),me(o._isServer?2:-1),u(),me(o._isNativeHtmlTable?3:4))},dependencies:[yx,bx,wx,Cx],styles:[`.mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:var(--mat-table-header-container-height, 56px)}mat-row{min-height:var(--mat-table-row-item-container-height, 52px)}mat-footer-row{min-height:var(--mat-table-footer-container-height, 52px)}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-sys-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mdc-data-table__row:last-child>.mat-mdc-header-cell{border-bottom:none}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child>.mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch} +`],encapsulation:2})}return t})(),__=(()=>{class t extends p_{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ct(t)))(o||t)}})();static \u0275dir=B({type:t,selectors:[["","matCellDef",""]],features:[ve([{provide:p_,useExisting:t}]),ye]})}return t})(),v_=(()=>{class t extends h_{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ct(t)))(o||t)}})();static \u0275dir=B({type:t,selectors:[["","matHeaderCellDef",""]],features:[ve([{provide:h_,useExisting:t}]),ye]})}return t})();var b_=(()=>{class t extends zc{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ct(t)))(o||t)}})();static \u0275dir=B({type:t,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[ve([{provide:zc,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),ye]})}return t})(),y_=(()=>{class t extends yO{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ct(t)))(o||t)}})();static \u0275dir=B({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[ye]})}return t})();var C_=(()=>{class t extends CO{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ct(t)))(o||t)}})();static \u0275dir=B({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[ye]})}return t})();var w_=(()=>{class t extends cm{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ct(t)))(o||t)}})();static \u0275dir=B({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",$]},features:[ve([{provide:cm,useExisting:t}]),ye]})}return t})();var x_=(()=>{class t extends f_{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ct(t)))(o||t)}})();static \u0275dir=B({type:t,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[ve([{provide:f_,useExisting:t}]),ye]})}return t})(),D_=(()=>{class t extends _x{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ct(t)))(o||t)}})();static \u0275cmp=E({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[ve([{provide:_x,useExisting:t}]),ye],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&xn(0,0)},dependencies:[cl],encapsulation:2})}return t})();var E_=(()=>{class t extends vx{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ct(t)))(o||t)}})();static \u0275cmp=E({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[ve([{provide:vx,useExisting:t}]),ye],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&xn(0,0)},dependencies:[cl],encapsulation:2})}return t})();var DO=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[fe,xO,fe]})}return t})(),qG=9007199254740991,Uc=class extends Pu{_data;_renderData=new Qt([]);_filter=new Qt("");_internalPageChanges=new j;_renderChangesSubscription=null;filteredData;get data(){return this._data.value}set data(i){i=Array.isArray(i)?i:[],this._data.next(i),this._renderChangesSubscription||this._filterData(i)}get filter(){return this._filter.value}set filter(i){this._filter.next(i),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(i){this._sort=i,this._updateChangeSubscription()}_sort;get paginator(){return this._paginator}set paginator(i){this._paginator=i,this._updateChangeSubscription()}_paginator;sortingDataAccessor=(i,e)=>{let n=i[e];if(Vf(n)){let o=Number(n);return o{let n=e.active,o=e.direction;return!n||o==""?i:i.sort((r,a)=>{let s=this.sortingDataAccessor(r,n),l=this.sortingDataAccessor(a,n),m=typeof s,f=typeof l;m!==f&&(m==="number"&&(s+=""),f==="number"&&(l+=""));let v=0;return s!=null&&l!=null?s>l?v=1:s{let n=e.trim().toLowerCase();return Object.values(i).some(o=>`${o}`.toLowerCase().includes(n))};constructor(i=[]){super(),this._data=new Qt(i),this._updateChangeSubscription()}_updateChangeSubscription(){let i=this._sort?Tt(this._sort.sortChange,this._sort.initialized):ie(null),e=this._paginator?Tt(this._paginator.page,this._internalPageChanges,this._paginator.initialized):ie(null),n=this._data,o=Ui([n,this._filter]).pipe(de(([s])=>this._filterData(s))),r=Ui([o,i]).pipe(de(([s])=>this._orderData(s))),a=Ui([r,e]).pipe(de(([s])=>this._pageData(s)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=a.subscribe(s=>this._renderData.next(s))}_filterData(i){return this.filteredData=this.filter==null||this.filter===""?i:i.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(i){return this.sort?this.sortData(i.slice(),this.sort):i}_pageData(i){if(!this.paginator)return i;let e=this.paginator.pageIndex*this.paginator.pageSize;return i.slice(e,e+this.paginator.pageSize)}_updatePaginator(i){Promise.resolve().then(()=>{let e=this.paginator;if(e&&(e.length=i,e.pageIndex>0)){let n=Math.ceil(e.length/e.pageSize)-1||0,o=Math.min(e.pageIndex,n);o!==e.pageIndex&&(e.pageIndex=o,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}};var YG=["input"],QG=["label"],KG=["*"],ZG=new T("mat-checkbox-default-options",{providedIn:"root",factory:MO});function MO(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var fi=(function(t){return t[t.Init=0]="Init",t[t.Checked=1]="Checked",t[t.Unchecked=2]="Unchecked",t[t.Indeterminate=3]="Indeterminate",t})(fi||{}),Dx=class{source;checked},SO=MO(),Ex=(()=>{class t{_elementRef=p(K);_changeDetectorRef=p(Te);_ngZone=p(te);_animationsDisabled=rt();_options=p(ZG,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let n=new Dx;return n.source=this,n.checked=e,n}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required;labelPosition="after";name=null;change=new k;indeterminateChange=new k;value;disableRipple;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=fi.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){p(Dt).load(In);let e=p(new Vn("tabindex"),{optional:!0});this._options=this._options||SO,this.color=this._options.color||SO.color,this.tabIndex=e==null?0:parseInt(e)||0,this.id=this._uniqueId=p(mt).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.disabledInteractive??!1}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this.indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}_checked=!1;get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate()}set indeterminate(e){let n=e!=this._indeterminate();this._indeterminate.set(e),n&&(e?this._transitionCheckState(fi.Indeterminate):this._transitionCheckState(this.checked?fi.Checked:fi.Unchecked),this.indeterminateChange.emit(e)),this._syncIndeterminate(e)}_indeterminate=Ie(!1);_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let n=this._currentCheckState,o=this._getAnimationTargetElement();if(!(n===e||!o)&&(this._currentAnimationClass&&o.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(n,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){o.classList.add(this._currentAnimationClass);let r=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{o.classList.remove(r)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate.set(!1),this.indeterminateChange.emit(!1)}),this._checked=!this._checked,this._transitionCheckState(this._checked?fi.Checked:fi.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&e==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,n){if(this._animationsDisabled)return"";switch(e){case fi.Init:if(n===fi.Checked)return this._animationClasses.uncheckedToChecked;if(n==fi.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case fi.Unchecked:return n===fi.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case fi.Checked:return n===fi.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case fi.Indeterminate:return n===fi.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let n=this._inputElement;n&&(n.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-checkbox"]],viewQuery:function(n,o){if(n&1&&(le(YG,5),le(QG,5)),n&2){let r;Y(r=Q())&&(o._inputElement=r.first),Y(r=Q())&&(o._labelElement=r.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(n,o){n&2&&(cn("id",o.id),ee("tabindex",null)("aria-label",null)("aria-labelledby",null),Kt(o.color?"mat-"+o.color:"mat-accent"),ne("_mat-animation-noopable",o._animationsDisabled)("mdc-checkbox--disabled",o.disabled)("mat-mdc-checkbox-disabled",o.disabled)("mat-mdc-checkbox-checked",o.checked)("mat-mdc-checkbox-disabled-interactive",o.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",$],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",$],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",$],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:an(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",$],checked:[2,"checked","checked",$],disabled:[2,"disabled","disabled",$],indeterminate:[2,"indeterminate","indeterminate",$]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[ve([{provide:Ai,useExisting:Zt(()=>t),multi:!0},{provide:wo,useExisting:t,multi:!0}]),Ge],ngContentSelectors:KG,decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(n,o){if(n&1){let r=A();He(),c(0,"div",3),b("click",function(s){return y(r),C(o._preventBubblingFromLabel(s))}),c(1,"div",4,0)(3,"div",5),b("click",function(){return y(r),C(o._onTouchTargetClick())}),d(),c(4,"input",6,1),b("blur",function(){return y(r),C(o._onBlur())})("click",function(){return y(r),C(o._onInputClick())})("change",function(s){return y(r),C(o._onInteractionEvent(s))}),d(),M(6,"div",7),c(7,"div",8),Jt(),c(8,"svg",9),M(9,"path",10),d(),Bo(),M(10,"div",11),d(),M(11,"div",12),d(),c(12,"label",13,2),ae(14),d()()}if(n&2){let r=Se(2);h("labelPosition",o.labelPosition),u(4),ne("mdc-checkbox--selected",o.checked),h("checked",o.checked)("indeterminate",o.indeterminate)("disabled",o.disabled&&!o.disabledInteractive)("id",o.inputId)("required",o.required)("tabIndex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex),ee("aria-label",o.ariaLabel||null)("aria-labelledby",o.ariaLabelledby)("aria-describedby",o.ariaDescribedby)("aria-checked",o.indeterminate?"mixed":null)("aria-controls",o.ariaControls)("aria-disabled",o.disabled&&o.disabledInteractive?!0:null)("aria-expanded",o.ariaExpanded)("aria-owns",o.ariaOwns)("name",o.name)("value",o.value),u(7),h("matRippleTrigger",r)("matRippleDisabled",o.disableRipple||o.disabled)("matRippleCentered",!0),u(),h("for",o.inputId)}},dependencies:[no,Fg],styles:[`.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover>.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:hover>.mat-mdc-checkbox-ripple>.mat-ripple-element{background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active>.mdc-checkbox__native-control+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active>.mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control+.mdc-checkbox__ripple{background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1;width:var(--mat-checkbox-state-layer-size, 40px);height:var(--mat-checkbox-state-layer-size, 40px);top:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2);right:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2);left:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mat-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));top:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}@media(forced-colors: active){.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mat-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover>.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mat-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover>.mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover>.mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:GrayText}}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:GrayText}}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-touch-target,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__native-control,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__ripple,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-ripple::before,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__mixedmark{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{color:GrayText}}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox .mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox .mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-checkbox-touch-target-size, 48px);width:var(--mat-checkbox-touch-target-size, 48px);transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display, block)}.mat-mdc-checkbox .mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-focus-indicator::before{content:""} +`],encapsulation:2,changeDetection:0})}return t})(),IO=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[Ex,fe,fe]})}return t})();var S_=(()=>{class t{get vertical(){return this._vertical}set vertical(e){this._vertical=vo(e)}_vertical=!1;get inset(){return this._inset}set inset(e){this._inset=vo(e)}_inset=!1;static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(n,o){n&2&&(ee("aria-orientation",o.vertical?"vertical":"horizontal"),ne("mat-divider-vertical",o.vertical)("mat-divider-horizontal",!o.vertical)("mat-divider-inset",o.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(n,o){},styles:[`.mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-sys-outline-variant));border-top-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-sys-outline-variant));border-right-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px} +`],encapsulation:2,changeDetection:0})}return t})(),TO=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[fe,fe]})}return t})();var JG=["determinateSpinner"];function eW(t,i){if(t&1&&(Jt(),c(0,"svg",11),M(1,"circle",12),d()),t&2){let e=_();ee("viewBox",e._viewBox()),u(),Zn("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),ee("r",e._circleRadius())}}var tW=new T("mat-progress-spinner-default-options",{providedIn:"root",factory:nW});function nW(){return{diameter:kO}}var kO=100,iW=10,M_=(()=>{class t{_elementRef=p(K);_noopAnimations;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;_defaultColor="primary";_determinateCircle;constructor(){let e=p(tW),n=bw(),o=this._elementRef.nativeElement;this._noopAnimations=n==="di-disabled"&&!!e&&!e._forceAnimations,this.mode=o.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",!this._noopAnimations&&n==="reduced-motion"&&o.classList.add("mat-progress-spinner-reduced-motion"),e&&(e.color&&(this.color=this._defaultColor=e.color),e.diameter&&(this.diameter=e.diameter),e.strokeWidth&&(this.strokeWidth=e.strokeWidth))}mode;get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}_value=0;get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}_diameter=kO;get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_strokeWidth;_circleRadius(){return(this.diameter-iW)/2}_viewBox(){let e=this._circleRadius()*2+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(n,o){if(n&1&&le(JG,5),n&2){let r;Y(r=Q())&&(o._determinateCircle=r.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(n,o){n&2&&(ee("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",o.mode==="determinate"?o.value:null)("mode",o.mode),Kt("mat-"+o.color),Zn("width",o.diameter,"px")("height",o.diameter,"px")("--mat-progress-spinner-size",o.diameter+"px")("--mat-progress-spinner-active-indicator-width",o.diameter+"px"),ne("_mat-animation-noopable",o._noopAnimations)("mdc-circular-progress--indeterminate",o.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",an],diameter:[2,"diameter","diameter",an],strokeWidth:[2,"strokeWidth","strokeWidth",an]},exportAs:["matProgressSpinner"],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(n,o){if(n&1&&(S(0,eW,2,8,"ng-template",null,0,Sn),c(2,"div",2,1),Jt(),c(4,"svg",3),M(5,"circle",4),d()(),Bo(),c(6,"div",5)(7,"div",6)(8,"div",7),xn(9,8),d(),c(10,"div",9),xn(11,8),d(),c(12,"div",10),xn(13,8),d()()()),n&2){let r=Se(1);u(4),ee("viewBox",o._viewBox()),u(),Zn("stroke-dasharray",o._strokeCircumference(),"px")("stroke-dashoffset",o._strokeDashOffset(),"px")("stroke-width",o._circleStrokeWidth(),"%"),ee("r",o._circleRadius()),u(4),h("ngTemplateOutlet",r),u(2),h("ngTemplateOutlet",r),u(2),h("ngTemplateOutlet",r)}},dependencies:[Xd],styles:[`.mat-mdc-progress-spinner{--mat-progress-spinner-animation-multiplier: 1;display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mat-progress-spinner-active-indicator-width, 4px)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}}.mat-progress-spinner-reduced-motion{--mat-progress-spinner-animation-multiplier: 1.25}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate calc(1568.2352941176ms*var(--mat-progress-spinner-animation-multiplier)) linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mat-progress-spinner-active-indicator-color, var(--mat-sys-primary))}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin calc(1333ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin calc(1333ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate calc(5332ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}} +`],encapsulation:2,changeDetection:0})}return t})();var AO=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[fe]})}return t})();var I_;function rW(){if(I_===void 0&&(I_=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(I_=t.trustedTypes.createPolicy("angular#components",{createHTML:i=>i}))}return I_}function dm(t){return rW()?.createHTML(t)||t}function RO(t){return Error(`Unable to find icon with the name "${t}"`)}function aW(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function OO(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function PO(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}var la=class{url;svgText;options;svgElement;constructor(i,e,n){this.url=i,this.svgText=e,this.options=n}},FO=(()=>{class t{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,n,o,r){this._httpClient=e,this._sanitizer=n,this._errorHandler=r,this._document=o}addSvgIcon(e,n,o){return this.addSvgIconInNamespace("",e,n,o)}addSvgIconLiteral(e,n,o){return this.addSvgIconLiteralInNamespace("",e,n,o)}addSvgIconInNamespace(e,n,o,r){return this._addSvgIconConfig(e,n,new la(o,null,r))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,n,o,r){let a=this._sanitizer.sanitize(Lt.HTML,o);if(!a)throw PO(o);let s=dm(a);return this._addSvgIconConfig(e,n,new la("",s,r))}addSvgIconSet(e,n){return this.addSvgIconSetInNamespace("",e,n)}addSvgIconSetLiteral(e,n){return this.addSvgIconSetLiteralInNamespace("",e,n)}addSvgIconSetInNamespace(e,n,o){return this._addSvgIconSetConfig(e,new la(n,null,o))}addSvgIconSetLiteralInNamespace(e,n,o){let r=this._sanitizer.sanitize(Lt.HTML,n);if(!r)throw PO(n);let a=dm(r);return this._addSvgIconSetConfig(e,new la("",a,o))}registerFontClassAlias(e,n=e){return this._fontCssClassesByAlias.set(e,n),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let n=this._sanitizer.sanitize(Lt.RESOURCE_URL,e);if(!n)throw OO(e);let o=this._cachedIconsByUrl.get(n);return o?ie(T_(o)):this._loadSvgIconFromConfig(new la(e,null)).pipe(Ht(r=>this._cachedIconsByUrl.set(n,r)),de(r=>T_(r)))}getNamedSvgIcon(e,n=""){let o=NO(n,e),r=this._svgIconConfigs.get(o);if(r)return this._getSvgFromConfig(r);if(r=this._getIconConfigFromResolvers(n,e),r)return this._svgIconConfigs.set(o,r),this._getSvgFromConfig(r);let a=this._iconSetConfigs.get(n);return a?this._getSvgFromIconSetConfigs(e,a):sr(RO(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?ie(T_(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(de(n=>T_(n)))}_getSvgFromIconSetConfigs(e,n){let o=this._extractIconWithNameFromAnySet(e,n);if(o)return ie(o);let r=n.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(qn(s=>{let m=`Loading icon set URL: ${this._sanitizer.sanitize(Lt.RESOURCE_URL,a.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(m)),ie(null)})));return ld(r).pipe(de(()=>{let a=this._extractIconWithNameFromAnySet(e,n);if(!a)throw RO(e);return a}))}_extractIconWithNameFromAnySet(e,n){for(let o=n.length-1;o>=0;o--){let r=n[o];if(r.svgText&&r.svgText.toString().indexOf(e)>-1){let a=this._svgElementFromConfig(r),s=this._extractSvgIconFromSet(a,e,r.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Ht(n=>e.svgText=n),de(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?ie(null):this._fetchIcon(e).pipe(Ht(n=>e.svgText=n))}_extractSvgIconFromSet(e,n,o){let r=e.querySelector(`[id="${n}"]`);if(!r)return null;let a=r.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,o);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),o);let s=this._svgElementFromString(dm(""));return s.appendChild(a),this._setSvgAttributes(s,o)}_svgElementFromString(e){let n=this._document.createElement("DIV");n.innerHTML=e;let o=n.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(e){let n=this._svgElementFromString(dm("")),o=e.attributes;for(let r=0;rdm(m)),dr(()=>this._inProgressUrlFetches.delete(a)),dd());return this._inProgressUrlFetches.set(a,l),l}_addSvgIconConfig(e,n,o){return this._svgIconConfigs.set(NO(e,n),o),this}_addSvgIconSetConfig(e,n){let o=this._iconSetConfigs.get(e);return o?o.push(n):this._iconSetConfigs.set(e,[n]),this}_svgElementFromConfig(e){if(!e.svgElement){let n=this._svgElementFromString(e.svgText);this._setSvgAttributes(n,e.options),e.svgElement=n}return e.svgElement}_getIconConfigFromResolvers(e,n){for(let o=0;oi?i.pathname+i.search:""}}var LO=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],mW=LO.map(t=>`[${t}]`).join(", "),pW=/^url\(['"]?#(.*?)['"]?\)$/,VO=(()=>{class t{_elementRef=p(K);_iconRegistry=p(FO);_location=p(dW);_errorHandler=p(Yn);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let n=this._cleanupFontValue(e);n!==this._fontSet&&(this._fontSet=n,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let n=this._cleanupFontValue(e);n!==this._fontIcon&&(this._fontIcon=n,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=_e.EMPTY;constructor(){let e=p(new Vn("aria-hidden"),{optional:!0}),n=p(cW,{optional:!0});n&&(n.color&&(this.color=this._defaultColor=n.color),n.fontSet&&(this.fontSet=n.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let n=e.split(":");switch(n.length){case 1:return["",n[0]];case 2:return n;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let n=this._location.getPathname();n!==this._previousPath&&(this._previousPath=n,this._prependPathToReferences(n))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,n=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();n--;){let o=e.childNodes[n];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,n=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>e.classList.remove(o)),n.forEach(o=>e.classList.add(o)),this._previousFontSetClass=n,this.fontIcon!==this._previousFontIconClass&&!n.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let n=this._elementsWithExternalReferences;n&&n.forEach((o,r)=>{o.forEach(a=>{r.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){let n=e.querySelectorAll(mW),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let r=0;r{let s=n[r],l=s.getAttribute(a),m=l?l.match(pW):null;if(m){let f=o.get(s);f||(f=[],o.set(s,f)),f.push({name:a,value:m[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[n,o]=this._splitIconName(e);n&&(this._svgNamespace=n),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,n).pipe(Pt(1)).subscribe(r=>this._setSvgElement(r),r=>{let a=`Error retrieving icon ${n}:${o}! ${r.message}`;this._errorHandler.handleError(new Error(a))})}}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(n,o){n&2&&(ee("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),Kt(o.color?"mat-"+o.color:""),ne("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",$],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:lW,decls:1,vars:0,template:function(n,o){n&1&&(He(),ae(0))},styles:[`mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto} +`],encapsulation:2,changeDetection:0})}return t})();var hW=["searchSelectInput"],fW=["innerSelectSearch"],gW=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]],[["","ngxMatSelectNoEntriesFound",""]]],_W=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]","[ngxMatSelectNoEntriesFound]"];function vW(t,i){if(t&1){let e=A();c(0,"mat-checkbox",10),b("change",function(o){y(e);let r=_();return C(r._emitSelectAllBooleanToParent(o.checked))}),d()}if(t&2){let e=_();h("color",e.matFormField==null?null:e.matFormField.color)("checked",e.toggleAllCheckboxChecked)("indeterminate",e.toggleAllCheckboxIndeterminate)("matTooltip",e.toggleAllCheckboxTooltipMessage)("matTooltipPosition",e.toggleAllCheckboxTooltipPosition)}}function bW(t,i){t&1&&M(0,"mat-spinner",7)}function yW(t,i){t&1&&ae(0,1)}function CW(t,i){if(t&1&&M(0,"mat-icon",12),t&2){let e=_(2);h("svgIcon",e.closeSvgIcon)}}function wW(t,i){if(t&1&&(c(0,"mat-icon"),g(1),d()),t&2){let e=_(2);u(),O(" ",e.closeIcon," ")}}function xW(t,i){if(t&1){let e=A();c(0,"button",11),b("click",function(){y(e);let o=_();return C(o._reset(!0))}),ue(1,yW,1,0)(2,CW,1,1,"mat-icon",12)(3,wW,2,1,"mat-icon"),d()}if(t&2){let e=_();u(),me(e.clearIcon?1:e.closeSvgIcon?2:3)}}function DW(t,i){t&1&&ae(0,2)}function EW(t,i){if(t&1&&g(0),t&2){let e=_(2);O(" ",e.noEntriesFoundLabel," ")}}function SW(t,i){if(t&1&&(c(0,"div",9),ue(1,DW,1,0)(2,EW,1,1),d()),t&2){let e=_();u(),me(e.noEntriesFound?1:2)}}var MW=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","ngxMatSelectSearchClear",""]]})}return t})(),IW=["ariaLabel","clearSearchInput","closeIcon","closeSvgIcon","disableInitialFocus","disableScrollToActiveOnOptionsChanged","enableClearOnEscapePressed","hideClearSearchButton","noEntriesFoundLabel","placeholderLabel","preventHomeEndKeyPropagation","searching"],TW=new T("mat-selectsearch-default-options");var kW=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","ngxMatSelectNoEntriesFound",""]]})}return t})(),Mx=(()=>{class t{matSelect;changeDetectorRef;_viewportRuler;matOption;matFormField;placeholderLabel="Suche";type="text";closeIcon="close";closeSvgIcon;noEntriesFoundLabel="Keine Optionen gefunden";clearSearchInput=!0;searching=!1;disableInitialFocus=!1;enableClearOnEscapePressed=!1;preventHomeEndKeyPropagation=!1;disableScrollToActiveOnOptionsChanged=!1;ariaLabel="dropdown search";showToggleAllCheckbox=!1;toggleAllCheckboxChecked=!1;toggleAllCheckboxIndeterminate=!1;toggleAllCheckboxTooltipMessage="";toggleAllCheckboxTooltipPosition="below";hideClearSearchButton=!1;alwaysRestoreSelectedOptionsMulti=!1;recreateValuesArray=!1;toggleAll=new k;searchSelectInput;innerSelectSearch;clearIcon;noEntriesFound;get value(){return this._formControl.value}_lastExternalInputValue;onTouched=()=>{};set _options(e){this._options$.next(e)}get _options(){return this._options$.getValue()}_options$=new Qt(null);optionsList$=this._options$.pipe(vt(e=>e?e.changes.pipe(de(n=>n.toArray()),Et(e.toArray())):ie(null)));optionsLength$=this.optionsList$.pipe(de(e=>e?e.length:0));previousSelectedValues;_formControl=new Mg("",{nonNullable:!0});_showNoEntriesFound$=Ui([this._formControl.valueChanges,this.optionsLength$]).pipe(de(([e,n])=>!!(this.noEntriesFoundLabel&&e&&n===this.getOptionsLengthOffset())));_onDestroy=new j;activeDescendant;_removePanelKeydownListener;constructor(e,n,o,r,a,s){this.matSelect=e,this.changeDetectorRef=n,this._viewportRuler=o,this.matOption=r,this.matFormField=a,this.applyDefaultOptions(s)}applyDefaultOptions(e){if(e)for(let n of IW)Object.prototype.hasOwnProperty.call(e,n)&&(this[n]=e[n])}ngOnInit(){this.matOption?(this.matOption.disabled=!0,this.matOption._getHostElement().classList.add("contains-mat-select-search"),this.matOption._getHostElement().setAttribute("role","presentation")):console.error(" must be placed inside a element"),this.matSelect.openedChange.pipe(cd(1),ke(this._onDestroy)).subscribe(e=>{e?(this.updateInputWidth(),this.disableInitialFocus||this._focus(),this._installPanelKeydownListener()):(this._removePanelKeydownListener?.(),this._removePanelKeydownListener=void 0,this.clearSearchInput&&this._reset())}),this.matSelect.openedChange.pipe(Pt(1),vt(()=>{this._options=this.matSelect.options;let e=this._options.toArray()[this.getOptionsLengthOffset()];return this._options.changes.pipe(Ht(()=>{setTimeout(()=>{let n=this._options.toArray(),o=n[this.getOptionsLengthOffset()],r=this.matSelect._keyManager;r&&this.matSelect.panelOpen&&o&&((!e||!this.matSelect.compareWith(e.value,o.value)||!r.activeItem||!n.find(s=>this.matSelect.compareWith(s.value,r.activeItem?.value)))&&r.setActiveItem(this.getOptionsLengthOffset()),setTimeout(()=>{this.updateInputWidth()})),e=o})}))})).pipe(ke(this._onDestroy)).subscribe(),this._showNoEntriesFound$.pipe(ke(this._onDestroy)).subscribe(e=>{this.matOption&&(e?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe(ke(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe(ke(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(e){this.toggleAll.emit(e)}ngOnDestroy(){this._removePanelKeydownListener?.(),this._removePanelKeydownListener=void 0,this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(e){(e.key&&e.key.length===1||this.preventHomeEndKeyPropagation&&(e.key==="Home"||e.key==="End"))&&e.stopPropagation(),this.matSelect.multiple&&e.key&&e.key==="Enter"&&setTimeout(()=>this._focus()),this.enableClearOnEscapePressed&&e.key==="Escape"&&this.value&&(this._reset(!0),e.stopPropagation())}_installPanelKeydownListener(){this._removePanelKeydownListener?.(),this._removePanelKeydownListener=void 0;let e=this.matSelect.panel?.nativeElement;if(!e)return;let n=o=>{o.key!=="Escape"&&o.stopPropagation()};e.addEventListener("keydown",n),this._removePanelKeydownListener=()=>e.removeEventListener("keydown",n)}_handleKeyup(e){if(e.key==="ArrowUp"||e.key==="ArrowDown"){let n=this.matSelect._getAriaActiveDescendant(),o=this._options.toArray().findIndex(r=>r.id===n);o!==-1&&(this.unselectActiveDescendant(),this.activeDescendant=this._options.toArray()[o]._getHostElement(),this.activeDescendant.setAttribute("aria-selected","true"),this.searchSelectInput.nativeElement.setAttribute("aria-activedescendant",n))}}writeValue(e){this._lastExternalInputValue=e,this._formControl.setValue(e),this.changeDetectorRef.markForCheck()}onBlur(){this.unselectActiveDescendant(),this.onTouched()}registerOnChange(e){this._formControl.valueChanges.pipe(Ke(n=>n!==this._lastExternalInputValue),Ht(()=>this._lastExternalInputValue=void 0),ke(this._onDestroy)).subscribe(e)}registerOnTouched(e){this.onTouched=e}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;let e=this.matSelect.panel.nativeElement,n=e.scrollTop;this.searchSelectInput.nativeElement.focus(),e.scrollTop=n}_reset(e){this._formControl.setValue(""),e&&this._focus()}initMultipleHandling(){if(!this.matSelect.ngControl){this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true");return}this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges&&this.matSelect.ngControl.valueChanges.pipe(ke(this._onDestroy)).subscribe(e=>{let n=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!e||!Array.isArray(e))&&(e=[]);let o=this.matSelect.options.map(r=>r.value);this.previousSelectedValues.forEach(r=>{!e.some(a=>this.matSelect.compareWith(a,r))&&!o.some(a=>this.matSelect.compareWith(a,r))&&(this.recreateValuesArray?e=[...e,r]:e.push(r),n=!0)})}this.previousSelectedValues=e,n&&this.matSelect._onChange(e)})}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let e=this.innerSelectSearch.nativeElement,n=null;for(;e&&e.parentElement;)if(e=e.parentElement,e.classList.contains("mat-select-panel")){n=e;break}n&&(this.innerSelectSearch.nativeElement.style.width=n.clientWidth+"px")}getOptionsLengthOffset(){return this.matOption?1:0}unselectActiveDescendant(){this.activeDescendant?.removeAttribute("aria-selected"),this.searchSelectInput.nativeElement.removeAttribute("aria-activedescendant")}static \u0275fac=function(n){return new(n||t)(w(gt),w(Te),w(oi),w($e,8),w(he,8),w(TW,8))};static \u0275cmp=E({type:t,selectors:[["ngx-mat-select-search"]],contentQueries:function(n,o,r){if(n&1&&(Fe(r,MW,5),Fe(r,kW,5)),n&2){let a;Y(a=Q())&&(o.clearIcon=a.first),Y(a=Q())&&(o.noEntriesFound=a.first)}},viewQuery:function(n,o){if(n&1&&(le(hW,7,K),le(fW,7,K)),n&2){let r;Y(r=Q())&&(o.searchSelectInput=r.first),Y(r=Q())&&(o.innerSelectSearch=r.first)}},inputs:{placeholderLabel:"placeholderLabel",type:"type",closeIcon:"closeIcon",closeSvgIcon:"closeSvgIcon",noEntriesFoundLabel:"noEntriesFoundLabel",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toggleAllCheckboxTooltipPosition:"toggleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti",recreateValuesArray:"recreateValuesArray"},outputs:{toggleAll:"toggleAll"},features:[ve([{provide:Ai,useExisting:Zt(()=>t),multi:!0}])],ngContentSelectors:_W,decls:13,vars:14,consts:[["innerSelectSearch",""],["searchSelectInput",""],["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header"],[1,"mat-select-search-inner-row"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"color","checked","indeterminate","matTooltip","matTooltipPosition"],["autocomplete","off",1,"mat-select-search-input",3,"keydown","keyup","blur","type","formControl","placeholder"],["diameter","16",1,"mat-select-search-spinner"],["mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear"],[1,"mat-select-search-no-entries-found"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"change","color","checked","indeterminate","matTooltip","matTooltipPosition"],["mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[3,"svgIcon"]],template:function(n,o){if(n&1){let r=A();He(gW),M(0,"input",2),c(1,"div",3,0)(3,"div",4),ue(4,vW,1,5,"mat-checkbox",5),c(5,"input",6,1),b("keydown",function(s){return y(r),C(o._handleKeydown(s))})("keyup",function(s){return y(r),C(o._handleKeyup(s))})("blur",function(){return y(r),C(o.onBlur())}),d(),ue(7,bW,1,0,"mat-spinner",7),ue(8,xW,4,1,"button",8),ae(9),d(),M(10,"mat-divider"),d(),ue(11,SW,3,1,"div",9),ht(12,"async")}n&2&&(u(),ne("mat-select-search-inner-multiple",o.matSelect.multiple)("mat-select-search-inner-toggle-all",o._isToggleAllCheckboxVisible()),u(3),me(o._isToggleAllCheckboxVisible()?4:-1),u(),h("type",o.type)("formControl",o._formControl)("placeholder",o.placeholderLabel),ee("aria-label",o.ariaLabel),u(2),me(o.searching?7:-1),u(),me(!o.hideClearSearchButton&&o.value&&!o.searching?8:-1),u(3),me(wt(12,12,o._showNoEntriesFound$)?11:-1))},dependencies:[Tg,ct,Ce,jw,Ex,S_,ao,M_,VO,Pr,Jn,cC],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;z-index:100;font-size:inherit;box-shadow:none;background-color:var(--mat-sys-surface-container, var(--mat-select-panel-background-color, white))}.mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-inner-row[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-select-search-input[_ngcontent-%COMP%]{box-sizing:border-box;width:100%;border:none;font-family:inherit;font-size:inherit;color:currentColor;outline:none;background-color:var(--mat-sys-surface-container, var(--mat-select-panel-background-color, white));padding:0 44px 0 16px;height:47px;line-height:47px}[dir=rtl][_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-right:16px;padding-left:44px}.mat-select-search-input[_ngcontent-%COMP%]::placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mdc-filled-text-field-input-text-placeholder-color))}.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-left:5px}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding-top:8px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:0}[dir=rtl][_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{right:auto;left:4px}.mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:16px;top:calc(50% - 8px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{right:auto;left:16px} .mat-mdc-option[aria-disabled=true].contains-mat-select-search{position:sticky;top:-8px;z-index:1;opacity:1;margin-top:-8px;pointer-events:all} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0;margin-left:0} .mat-mdc-option[aria-disabled=true].contains-mat-select-search mat-pseudo-checkbox{display:none} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mdc-list-item__primary-text{opacity:1}.mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:5px}[dir=rtl][_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:0;padding-right:5px}"],changeDetection:0})}return t})();var BO=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[Mx]})}return t})();function RW(t,i){if(t&1){let e=A();c(0,"mat-option")(1,"ngx-mat-select-search",1),b("ngModelChange",function(o){y(e);let r=_();return C(r.changed.emit(o))}),d()()}if(t&2){let e=_();u(),h("placeholderLabel",e.placeholderLabel)("noEntriesFoundLabel",e.noEntriesFoundLabel)}}var pn=(()=>{class t{constructor(){this.placeholderLabel=django.gettext("Filter"),this.noEntriesFoundLabel=django.gettext("No entries found"),this.changed=new k,this.notIfLessThan=7}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-cond-select-search"]],inputs:{placeholderLabel:"placeholderLabel",noEntriesFoundLabel:"noEntriesFoundLabel",options:"options",notIfLessThan:"notIfLessThan"},outputs:{changed:"changed"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],["ngModel","",3,"ngModelChange","placeholderLabel","noEntriesFoundLabel"]],template:function(n,o){n&1&&S(0,RW,2,2,"mat-option",0),n&2&&h("ngIf",o.options&&o.options.length>o.notIfLessThan)},dependencies:[pe,Ce,xe,$e,Mx],encapsulation:2})}}return t})();function OW(t,i){t&1&&(c(0,"uds-translate"),g(1,"New user permission for"),d())}function PW(t,i){t&1&&(c(0,"uds-translate"),g(1,"New group permission for"),d())}function NW(t,i){if(t&1&&(c(0,"mat-option",11),g(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),tt(e.text)}}function FW(t,i){if(t&1&&(c(0,"mat-option",11),g(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),tt(e.text)}}function LW(t,i){if(t&1&&(c(0,"mat-option",11),g(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),tt(e.text)}}var jO=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.data=r,this.filterUser="",this.authenticators=[],this.entities=[],this.permissions=[{id:"1",text:django.gettext("Read only")},{id:"2",text:django.gettext("Full Access")}],this.authenticator="",this.entity="",this.permission="1",this.done=new tn}static launch(e,n,o){return V(this,null,function*(){let r=window.innerWidth<800?"80%":"50%";return e.gui.dialog.open(t,{width:r,data:{type:n,item:o},disableClose:!0}).componentInstance.done})}ngOnInit(){return V(this,null,function*(){let e=yield this.rest.authenticators.summary();for(let n of e)this.authenticators.push({id:n.id,text:n.name})})}changeAuth(e){return V(this,null,function*(){this.entities.length=0,this.entity="";let n=yield this.rest.authenticators.detail(e,this.data.type+"s").summary();for(let o of n)this.entities.push({id:o.id,text:o.name})})}save(){this.done.resolve({authenticator:this.authenticator,entity:this.entity,permissision:this.permission}),this.dialogRef.close()}cancel(){this.done.resolve(null),this.dialogRef.close()}filteredEntities(){let e=new Array;return this.entities.forEach(n=>{(!this.filterUser||n.text.toLocaleLowerCase().includes(this.filterUser.toLocaleLowerCase()))&&e.push(n)}),e}getFieldLabel(e){return e==="user"?django.gettext("User"):e==="group"?django.gettext("Group"):e==="auth"?django.gettext("Authenticator"):django.gettext("Permission")}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(J),w(Le),w(We))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-new-permission"]],standalone:!1,decls:24,vars:13,consts:[["titleGroup",""],["mat-dialog-title",""],[4,"ngIf","ngIfElse"],[3,"innerHTML"],[1,"container"],[3,"valueChange","ngModelChange","placeholder","ngModel"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModelChange","placeholder","ngModel"],[3,"changed","options"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"]],template:function(n,o){if(n&1){let r=A();c(0,"h4",1),S(1,OW,2,0,"uds-translate",2),M(2,"b",3),S(3,PW,2,0,"ng-template",null,0,Sn),d(),c(5,"mat-dialog-content")(6,"div",4)(7,"mat-form-field")(8,"mat-select",5),b("valueChange",function(s){return y(r),C(o.changeAuth(s))}),H("ngModelChange",function(s){return y(r),W(o.authenticator,s)||(o.authenticator=s),C(s)}),S(9,NW,2,2,"mat-option",6),d()(),c(10,"mat-form-field")(11,"mat-select",7),H("ngModelChange",function(s){return y(r),W(o.entity,s)||(o.entity=s),C(s)}),c(12,"uds-cond-select-search",8),b("changed",function(s){return y(r),C(o.filterUser=s)}),d(),S(13,FW,2,2,"mat-option",6),d()(),c(14,"mat-form-field")(15,"mat-select",7),H("ngModelChange",function(s){return y(r),W(o.permission,s)||(o.permission=s),C(s)}),S(16,LW,2,2,"mat-option",6),d()()()(),c(17,"mat-dialog-actions")(18,"button",9),b("click",function(){return y(r),C(o.cancel())}),c(19,"uds-translate"),g(20,"Cancel"),d()(),c(21,"button",10),b("click",function(){return y(r),C(o.save())}),c(22,"uds-translate"),g(23,"Ok"),d()()()}if(n&2){let r=Se(4);u(),h("ngIf",o.data.type==="user")("ngIfElse",r),u(),h("innerHTML",o.data.item.name,$t),u(6),h("placeholder",o.getFieldLabel("auth")),U("ngModel",o.authenticator),u(),h("ngForOf",o.authenticators),u(2),h("placeholder",o.getFieldLabel(o.data.type)),U("ngModel",o.entity),u(),h("options",o.entities),u(),h("ngForOf",o.filteredEntities()),u(2),h("placeholder",o.getFieldLabel("perm")),U("ngModel",o.permission),u(),h("ngForOf",o.permissions)}},dependencies:[Ue,pe,Ce,xe,ge,Ze,Je,Xe,he,gt,$e,se,pn],styles:[".container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]})}}return t})();var VW=(t,i)=>[t,i];function BW(t,i){if(t&1){let e=A();c(0,"div",11)(1,"div",12),g(2),d(),c(3,"div",13),g(4),c(5,"a",14),b("click",function(){let o=y(e).$implicit,r=_(2);return C(r.revokePermission(o))}),c(6,"i",15),g(7,"close"),d()()()()}if(t&2){let e=i.$implicit;u(2),Qi(" ",e.entity_name,"@",e.auth_name," "),u(2),O(" ",e.perm_name," \xA0")}}function jW(t,i){if(t&1){let e=A();c(0,"div",7)(1,"div",8)(2,"div",9),b("click",function(o){let r=y(e).$implicit;return _().newPermission(r),C(o.preventDefault())}),c(3,"uds-translate"),g(4,"New permission..."),d()(),S(5,BW,8,3,"div",10),d()()}if(t&2){let e=i.$implicit;u(5),h("ngForOf",e)}}var zO=(()=>{class t{constructor(e,n,o){this.api=e,this.dialogRef=n,this.data=o,this.userPermissions=[],this.groupPermissions=[]}static launch(e,n,o){let r=window.innerWidth<800?"90%":"60%",a=e.gui.dialog.open(t,{width:r,data:{rest:n,item:o},disableClose:!1})}ngOnInit(){return V(this,null,function*(){yield this.reload()})}reload(){return V(this,null,function*(){let e=yield this.data.rest.getPermissions(this.data.item.id);this.updatePermissions(e)})}updatePermissions(e){this.userPermissions.length=0,this.groupPermissions.length=0;for(let n of e)n.type==="user"?this.userPermissions.push(n):this.groupPermissions.push(n)}revokePermission(e){return V(this,null,function*(){if(yield this.api.gui.questionDialog(django.gettext("Remove"),django.gettext("Confirm revokation of permission")+" "+e.entity_name+"@"+e.auth_name+" "+e.perm_name+"")){let n=yield this.data.rest.revokePermission([e.id]);this.reload()}})}newPermission(e){return V(this,null,function*(){let n=e===this.userPermissions?"user":"group",o=yield jO.launch(this.api,n,this.data.item);o&&(yield this.data.rest.addPermission(this.data.item.id,n+"s",o.entity,o.permissision),this.reload())})}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(Le),w(We))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-permissions-form"]],standalone:!1,decls:17,vars:5,consts:[["mat-dialog-title",""],[3,"innerHTML"],[1,"titles"],[1,"title"],[1,"permissions"],["class","content",4,"ngFor","ngForOf"],["mat-raised-button","","mat-dialog-close","","color","primary"],[1,"content"],[1,"perms"],[1,"perm","new",3,"click"],["class","perm",4,"ngFor","ngForOf"],[1,"perm"],[1,"owner"],[1,"permission"],[3,"click"],[1,"material-icons"]],template:function(n,o){n&1&&(c(0,"h4",0)(1,"uds-translate"),g(2,"Permissions for"),d(),g(3,"\xA0"),M(4,"b",1),d(),c(5,"mat-dialog-content")(6,"div",2)(7,"uds-translate",3),g(8,"Users"),d(),c(9,"uds-translate",3),g(10,"Groups"),d()(),c(11,"div",4),S(12,jW,6,1,"div",5),d()(),c(13,"mat-dialog-actions")(14,"button",6)(15,"uds-translate"),g(16,"Ok"),d()()()),n&2&&(u(4),h("innerHTML",o.data.item.name,$t),u(8),h("ngForOf",F0(2,VW,o.userPermissions,o.groupPermissions)))},dependencies:[Ue,ge,Yt,Ze,Je,Xe,se],styles:[".titles[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around;margin-bottom:.4rem}.title[_ngcontent-%COMP%]{font-size:1.4rem}.permissions[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-start}.perms[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:16rem;overflow-y:auto;border-color:#333;border-radius:1px;box-shadow:#00000024 0 1px 4px;margin-bottom:1rem;margin-right:1rem;padding:.5rem}.perm[_ngcontent-%COMP%]{font-family:Courier New,Courier,monospace;font-size:1.2rem;display:flex;justify-content:space-between;white-space:nowrap;flex-wrap:nowrap;margin-right:.4rem}.perm[_ngcontent-%COMP%]:hover:not(.new){background-color:#333;color:#fff;cursor:default}.owner[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:.2rem}.new[_ngcontent-%COMP%]{color:#00f;justify-content:center}.new[_ngcontent-%COMP%]:hover{color:#fff;background-color:#00f;cursor:pointer}.content[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;justify-content:space-between}.material-icons[_ngcontent-%COMP%]{font-size:1em;padding-bottom:1px}.material-icons[_ngcontent-%COMP%]:hover{cursor:pointer;color:red}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]})}}return t})();var WO=nd(um()),zW="text/csv",UO=",",HO=`\r +`,GO=t=>(t.changingThisBreaksApplicationSecurity!==void 0&&(t=t.changingThisBreaksApplicationSecurity.replace(/<.*>/g,"")),t=""+t,'"'+t.replace('"','""')+'"'),k_=t=>{let i="";t.columns.forEach(o=>{i+=GO(o.title)+UO}),i=i.slice(0,-1)+HO;let e=t.dataSource.data;for(let o of e){for(let r of t.columns){let a=o[r.name];switch(r.type){case vn.DATE:a=Xn("SHORT_DATE_FORMAT",a);break;case vn.DATETIME:a=Xn("SHORT_DATETIME_FORMAT",a);break;case vn.DATETIMESEC:a=Xn("SHORT_DATE_FORMAT",a," H:i:s");break;case vn.TIME:a=Xn("TIME_FORMAT",a);break;default:break}i+=GO(a)+UO}i=i.slice(0,-1)+HO}let n=new Blob([i],{type:zW});setTimeout(()=>{(0,WO.saveAs)(n,t.title+".csv",{autoBom:!1})})};var kx=class{_document;_textarea;constructor(i,e){this._document=e;let n=this._textarea=this._document.createElement("textarea"),o=n.style;o.position="fixed",o.top=o.opacity="0",o.left="-999em",n.setAttribute("aria-hidden","true"),n.value=i,n.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(n)}copy(){let i=this._textarea,e=!1;try{if(i){let n=this._document.activeElement;i.select(),i.setSelectionRange(0,i.value.length),e=this._document.execCommand("copy"),n&&n.focus()}}catch{}return e}destroy(){let i=this._textarea;i&&(i.remove(),this._textarea=void 0)}},$O=(()=>{class t{_document=p(ce);constructor(){}copy(e){let n=this.beginCopy(e),o=n.copy();return n.destroy(),o}beginCopy(e){return new kx(e,this._document)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var qO=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();var HW=["mat-menu-item",""],GW=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],WW=["mat-icon, [matMenuItemIcon]","*"];function $W(t,i){t&1&&(Jt(),c(0,"svg",2),M(1,"polygon",3),d())}var qW=["*"];function YW(t,i){if(t&1){let e=A();gn(0,"div",0),Nh("click",function(){y(e);let o=_();return C(o.closed.emit("click"))})("animationstart",function(o){y(e);let r=_();return C(r._onAnimationStart(o.animationName))})("animationend",function(o){y(e);let r=_();return C(r._onAnimationDone(o.animationName))})("animationcancel",function(o){y(e);let r=_();return C(r._onAnimationDone(o.animationName))}),gn(1,"div",1),ae(2),wn()()}if(t&2){let e=_();Kt(e._classList),ne("mat-menu-panel-animations-disabled",e._animationsDisabled)("mat-menu-panel-exit-animation",e._panelAnimationState==="void")("mat-menu-panel-animating",e._isAnimating()),cn("id",e.panelId),ee("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}var Rx=new T("MAT_MENU_PANEL"),dl=(()=>{class t{_elementRef=p(K);_document=p(ce);_focusMonitor=p(An);_parentMenu=p(Rx,{optional:!0});_changeDetectorRef=p(Te);role="menuitem";disabled=!1;disableRipple=!1;_hovered=new j;_focused=new j;_highlighted=!1;_triggersSubmenu=!1;constructor(){p(Dt).load(In),this._parentMenu?.addItem?.(this)}focus(e,n){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,n):this._getHostElement().focus(n),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let e=this._elementRef.nativeElement.cloneNode(!0),n=e.querySelectorAll("mat-icon, .material-icons");for(let o=0;o{class t{_template=p(bt);_appRef=p(Kn);_injector=p(re);_viewContainerRef=p(Mt);_document=p(ce);_changeDetectorRef=p(Te);_portal;_outlet;_attached=new j;constructor(){}attach(e={}){this._portal||(this._portal=new jn(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new vc(this._document.createElement("div"),this._appRef,this._injector));let n=this._template.elementRef.nativeElement;n.parentNode.insertBefore(this._outlet.outletElement,n),this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,e),this._attached.next()}detach(){this._portal?.isAttached&&this._portal.detach()}ngOnDestroy(){this.detach(),this._outlet?.dispose()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["ng-template","matMenuContent",""]],features:[ve([{provide:YO,useExisting:t}])]})}return t})(),QW=new T("mat-menu-default-options",{providedIn:"root",factory:KW});function KW(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var Ax="_mat-menu-enter",A_="_mat-menu-exit",ts=(()=>{class t{_elementRef=p(K);_changeDetectorRef=p(Te);_injector=p(re);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_exitFallbackTimeout;_animationsDisabled=rt();_allItems;_directDescendantItems=new qi;_classList={};_panelAnimationState="void";_animationDone=new j;_isAnimating=Ie(!1);parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger;hasBackdrop;set panelClass(e){let n=this._previousPanelClass,o=L({},this._classList);n&&n.length&&n.split(" ").forEach(r=>{o[r]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(r=>{o[r]=!0}),this._elementRef.nativeElement.className=""),this._classList=o}_previousPanelClass;get classList(){return this.panelClass}set classList(e){this.panelClass=e}closed=new k;close=this.closed;panelId=p(mt).getId("mat-menu-panel-");constructor(){let e=p(QW);this.overlayPanelClass=e.overlayPanelClass||"",this._xPosition=e.xPosition,this._yPosition=e.yPosition,this.backdropClass=e.backdropClass,this.overlapTrigger=e.overlapTrigger,this.hasBackdrop=e.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new na(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Et(this._directDescendantItems),vt(e=>Tt(...e.map(n=>n._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{let n=this._keyManager;if(this._panelAnimationState==="enter"&&n.activeItem?._hasFocus()){let o=e.toArray(),r=Math.max(0,Math.min(o.length-1,n.activeItemIndex||0));o[r]&&!o[r].disabled?n.setActiveItem(r):n.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy(),clearTimeout(this._exitFallbackTimeout)}_hovered(){return this._directDescendantItems.changes.pipe(Et(this._directDescendantItems),vt(n=>Tt(...n.map(o=>o._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){let n=e.keyCode,o=this._keyManager;switch(n){case 27:kt(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(n===38||n===40)&&o.setFocusOrigin("keyboard"),o.onKeydown(e);return}}focusFirstItem(e="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=xt(()=>{let n=this._resolvePanel();if(!n||!n.contains(document.activeElement)){let o=this._keyManager;o.setFocusOrigin(e).setFirstItemActive(),!o.activeItem&&n&&n.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){}setPositionClasses(e=this.xPosition,n=this.yPosition){this._classList=Be(L({},this._classList),{"mat-menu-before":e==="before","mat-menu-after":e==="after","mat-menu-above":n==="above","mat-menu-below":n==="below"}),this._changeDetectorRef.markForCheck()}_onAnimationDone(e){let n=e===A_;(n||e===Ax)&&(n&&(clearTimeout(this._exitFallbackTimeout),this._exitFallbackTimeout=void 0),this._animationDone.next(n?"void":"enter"),this._isAnimating.set(!1))}_onAnimationStart(e){(e===Ax||e===A_)&&this._isAnimating.set(!0)}_setIsOpen(e){if(this._panelAnimationState=e?"enter":"void",e){if(this._keyManager.activeItemIndex===0){let n=this._resolvePanel();n&&(n.scrollTop=0)}}else this._animationsDisabled||(this._exitFallbackTimeout=setTimeout(()=>this._onAnimationDone(A_),200));this._animationsDisabled&&setTimeout(()=>{this._onAnimationDone(e?Ax:A_)}),this._changeDetectorRef.markForCheck()}_updateDirectDescendants(){this._allItems.changes.pipe(Et(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(n=>n._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}_resolvePanel(){let e=null;return this._directDescendantItems.length&&(e=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),e}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-menu"]],contentQueries:function(n,o,r){if(n&1&&(Fe(r,YO,5),Fe(r,dl,5),Fe(r,dl,4)),n&2){let a;Y(a=Q())&&(o.lazyContent=a.first),Y(a=Q())&&(o._allItems=a),Y(a=Q())&&(o.items=a)}},viewQuery:function(n,o){if(n&1&&le(bt,5),n&2){let r;Y(r=Q())&&(o.templateRef=r.first)}},hostVars:3,hostBindings:function(n,o){n&2&&ee("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",$],hasBackdrop:[2,"hasBackdrop","hasBackdrop",e=>e==null?null:$(e)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[ve([{provide:Rx,useExisting:t}])],ngContentSelectors:qW,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","animationstart","animationend","animationcancel","id"],[1,"mat-mdc-menu-content"]],template:function(n,o){n&1&&(He(),Kr(0,YW,3,12,"ng-template"))},styles:[`mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-sys-label-large-weight))}@keyframes _mat-menu-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-menu-exit{from{opacity:1}to{opacity:0}}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;box-sizing:border-box;outline:0;animation:_mat-menu-enter 120ms cubic-bezier(0, 0, 0.2, 1);border-radius:var(--mat-menu-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-sys-surface-container));box-shadow:var(--mat-menu-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));will-change:transform,opacity}.mat-mdc-menu-panel.mat-menu-panel-exit-animation{animation:_mat-menu-exit 100ms 25ms linear forwards}.mat-mdc-menu-panel.mat-menu-panel-animations-disabled{animation:none}.mat-mdc-menu-panel.mat-menu-panel-animating{pointer-events:none}.mat-mdc-menu-panel.mat-menu-panel-animating:has(.mat-mdc-menu-content:empty){display:none}@media(forced-colors: active){.mat-mdc-menu-panel{outline:solid 1px}}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-sys-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing, 8px);margin-top:var(--mat-menu-divider-top-spacing, 8px)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px;padding-left:var(--mat-menu-item-leading-spacing, 12px);padding-right:var(--mat-menu-item-trailing-spacing, 12px);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-menu-item::-moz-focus-inner{border:0}[dir=rtl] .mat-mdc-menu-item{padding-left:var(--mat-menu-item-trailing-spacing, 12px);padding-right:var(--mat-menu-item-leading-spacing, 12px)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-trailing-spacing, 12px)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-trailing-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-leading-spacing, 12px)}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing, 12px);height:var(--mat-menu-item-icon-size, 24px);width:var(--mat-menu-item-icon-size, 24px)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing, 12px)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(forced-colors: active){.mat-mdc-menu-item{margin-top:1px}}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size, 24px);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing, 12px)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing, 12px);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}@media(forced-colors: active){.mat-mdc-menu-submenu-icon{fill:CanvasText}}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none} +`],encapsulation:2,changeDetection:0})}return t})(),KO=new T("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let t=p(re);return()=>zn(t)}});function ZW(t){let i=p(re);return()=>zn(i)}var XW={provide:KO,deps:[],useFactory:ZW};var Hc=new WeakMap,JW=(()=>{class t{_canHaveBackdrop;_element=p(K);_viewContainerRef=p(Mt);_menuItemInstance=p(dl,{optional:!0,self:!0});_dir=p(Bt,{optional:!0});_focusMonitor=p(An);_ngZone=p(te);_injector=p(re);_scrollStrategy=p(KO);_changeDetectorRef=p(Te);_animationsDisabled=rt();_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=_e.EMPTY;_menuCloseSubscription=_e.EMPTY;_pendingRemoval;_parentMaterialMenu;_parentInnerPadding;_openedBy=void 0;get _menu(){return this._menuInternal}set _menu(e){e!==this._menuInternal&&(this._menuInternal=e,this._menuCloseSubscription.unsubscribe(),e&&(this._parentMaterialMenu,this._menuCloseSubscription=e.close.subscribe(n=>{this._destroyMenu(n),(n==="click"||n==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(n)})),this._menuItemInstance?._setTriggersSubmenu(this._triggersSubmenu()))}_menuInternal;constructor(e){this._canHaveBackdrop=e;let n=p(Rx,{optional:!0});this._parentMaterialMenu=n instanceof ts?n:void 0}ngOnDestroy(){this._menu&&this._ownsMenu(this._menu)&&Hc.delete(this._menu),this._pendingRemoval?.unsubscribe(),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this._menu)}_closeMenu(){this._menu?.close.emit()}_openMenu(e){let n=this._menu;if(this._menuOpen||!n)return;this._pendingRemoval?.unsubscribe();let o=Hc.get(n);Hc.set(n,this),o&&o!==this&&o._closeMenu();let r=this._createOverlay(n),a=r.getConfig(),s=a.positionStrategy;this._setPosition(n,s),this._canHaveBackdrop?a.hasBackdrop=n.hasBackdrop==null?!this._triggersSubmenu():n.hasBackdrop:a.hasBackdrop=!1,r.hasAttached()||(r.attach(this._getPortal(n)),n.lazyContent?.attach(this.menuData)),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this._closeMenu()),n.parentMenu=this._triggersSubmenu()?this._parentMaterialMenu:void 0,n.direction=this.dir,e&&n.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0),n instanceof ts&&(n._setIsOpen(!0),n._directDescendantItems.changes.pipe(ke(n.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}focus(e,n){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,n):this._element.nativeElement.focus(n)}_destroyMenu(e){let n=this._overlayRef,o=this._menu;!n||!this.menuOpen||(this._closingActionsSubscription.unsubscribe(),this._pendingRemoval?.unsubscribe(),o instanceof ts&&this._ownsMenu(o)?(this._pendingRemoval=o._animationDone.pipe(Pt(1)).subscribe(()=>{n.detach(),Hc.has(o)||o.lazyContent?.detach()}),o._setIsOpen(!1)):(n.detach(),o?.lazyContent?.detach()),o&&this._ownsMenu(o)&&Hc.delete(o),this.restoreFocus&&(e==="keydown"||!this._openedBy||!this._triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,this._setIsMenuOpen(!1))}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this._triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){let n=this._getOverlayConfig(e);this._subscribeToPositions(e,n.positionStrategy),this._overlayRef=Ii(this._injector,n),this._overlayRef.keydownEvents().subscribe(o=>{this._menu instanceof ts&&this._menu._handleKeydown(o)})}return this._overlayRef}_getOverlayConfig(e){return new Si({positionStrategy:Xo(this._injector,this._getOverlayOrigin()).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr",disableAnimations:this._animationsDisabled})}_subscribeToPositions(e,n){e.setPositionClasses&&n.positionChanges.subscribe(o=>{this._ngZone.run(()=>{let r=o.connectionPair.overlayX==="start"?"after":"before",a=o.connectionPair.overlayY==="top"?"below":"above";e.setPositionClasses(r,a)})})}_setPosition(e,n){let[o,r]=e.xPosition==="before"?["end","start"]:["start","end"],[a,s]=e.yPosition==="above"?["bottom","top"]:["top","bottom"],[l,m]=[a,s],[f,v]=[o,r],D=0;if(this._triggersSubmenu()){if(v=o=e.xPosition==="before"?"start":"end",r=f=o==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let x=this._parentMaterialMenu.items.first;this._parentInnerPadding=x?x._getHostElement().offsetTop:0}D=a==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(l=a==="top"?"bottom":"top",m=s==="top"?"bottom":"top");n.withPositions([{originX:o,originY:l,overlayX:f,overlayY:a,offsetY:D},{originX:r,originY:l,overlayX:v,overlayY:a,offsetY:D},{originX:o,originY:m,overlayX:f,overlayY:s,offsetY:-D},{originX:r,originY:m,overlayX:v,overlayY:s,offsetY:-D}])}_menuClosingActions(){let e=this._getOutsideClickStream(this._overlayRef),n=this._overlayRef.detachments(),o=this._parentMaterialMenu?this._parentMaterialMenu.closed:ie(),r=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Ke(a=>this._menuOpen&&a!==this._menuItemInstance)):ie();return Tt(e,o,r,n)}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new jn(e.templateRef,this._viewContainerRef)),this._portal}_ownsMenu(e){return Hc.get(e)===this}static \u0275fac=function(n){Vs()};static \u0275dir=B({type:t})}return t})(),R_=(()=>{class t extends JW{_cleanupTouchstart;_hoverSubscription=_e.EMPTY;get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){this._menu=e}menuData;restoreFocus=!0;menuOpened=new k;onMenuOpen=this.menuOpened;menuClosed=new k;onMenuClose=this.menuClosed;constructor(){super(!0);let e=p(St);this._cleanupTouchstart=e.listen(this._element.nativeElement,"touchstart",n=>{Xs(n)||(this._openedBy="touch")},{passive:!0})}triggersSubmenu(){return super._triggersSubmenu()}toggleMenu(){return this.menuOpen?this.closeMenu():this.openMenu()}openMenu(){this._openMenu(!0)}closeMenu(){this._closeMenu()}updatePosition(){this._overlayRef?.updatePosition()}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTouchstart(),this._hoverSubscription.unsubscribe()}_getOverlayOrigin(){return this._element}_getOutsideClickStream(e){return e.backdropClick()}_handleMousedown(e){Zs(e)||(this._openedBy=e.button===0?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){let n=e.keyCode;(n===13||n===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(n===39&&this.dir==="ltr"||n===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().subscribe(e=>{e===this._menuItemInstance&&!e.disabled&&this._parentMaterialMenu?._panelAnimationState!=="void"&&(this._openedBy="mouse",this._openMenu(!1))}))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(n,o){n&1&&b("click",function(a){return o._handleClick(a)})("mousedown",function(a){return o._handleMousedown(a)})("keydown",function(a){return o._handleKeydown(a)}),n&2&&ee("aria-haspopup",o.menu?"menu":null)("aria-expanded",o.menuOpen)("aria-controls",o.menuOpen?o.menu==null?null:o.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],features:[ye]})}return t})();var ZO=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[XW],imports:[Or,fe,ri,to,fe]})}return t})(),XO={transformMenu:{type:7,name:"transformMenu",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(0.8)"},offset:null}},{type:1,expr:"void => enter",animation:{type:4,styles:{type:6,styles:{opacity:1,transform:"scale(1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}},fadeInItems:{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null}},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}},hIe=XO.fadeInItems,fIe=XO.transformMenu;var e$=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(n,o){},styles:[`textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms} +`],encapsulation:2,changeDetection:0})}return t})(),t$={passive:!0},eP=(()=>{class t{_platform=p(nt);_ngZone=p(te);_renderer=p(Cn).createRenderer(null,null);_styleLoader=p(Dt);_monitoredElements=new Map;constructor(){}monitor(e){if(!this._platform.isBrowser)return Tn;this._styleLoader.load(e$);let n=Ei(e),o=this._monitoredElements.get(n);if(o)return o.subject;let r=new j,a="cdk-text-field-autofilled",s=m=>{m.animationName==="cdk-text-field-autofill-start"&&!n.classList.contains(a)?(n.classList.add(a),this._ngZone.run(()=>r.next({target:m.target,isAutofilled:!0}))):m.animationName==="cdk-text-field-autofill-end"&&n.classList.contains(a)&&(n.classList.remove(a),this._ngZone.run(()=>r.next({target:m.target,isAutofilled:!1})))},l=this._ngZone.runOutsideAngular(()=>(n.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(n,"animationstart",s,t$)));return this._monitoredElements.set(n,{subject:r,unlisten:l}),r}stopMonitoring(e){let n=Ei(e),o=this._monitoredElements.get(n);o&&(o.unlisten(),o.subject.complete(),n.classList.remove("cdk-text-field-autofill-monitored"),n.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(n))}ngOnDestroy(){this._monitoredElements.forEach((e,n)=>this.stopMonitoring(n))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var tP=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();var O_=new T("MAT_INPUT_VALUE_ACCESSOR");var n$=["button","checkbox","file","hidden","image","radio","range","reset","submit"],i$=new T("MAT_INPUT_CONFIG"),pt=(()=>{class t{_elementRef=p(K);_platform=p(nt);ngControl=p(Fi,{optional:!0,self:!0});_autofillMonitor=p(eP);_ngZone=p(te);_formField=p(Do,{optional:!0});_renderer=p(St);_uid=p(mt).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_config=p(i$,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new j;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=vo(e),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(e){this._id=e||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(Nr.required)??!1}set required(e){this._required=vo(e)}_required;get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Mw().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=vo(e)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>Mw().has(e));constructor(){let e=p(xo,{optional:!0}),n=p(Ka,{optional:!0}),o=p(sl),r=p(O_,{optional:!0,self:!0}),a=this._elementRef.nativeElement,s=a.nodeName.toLowerCase();r?gr(r.value)?this._signalBasedValueAccessor=r:this._inputValueAccessor=r:this._inputValueAccessor=a,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(a,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Za(o,this.ngControl,n,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=s==="select",this._isTextarea=s==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=a.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&Xr(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let n=this._elementRef.nativeElement;n.type==="number"?(n.type="text",n.setSelectionRange(0,0),n.type="number"):n.setSelectionRange(0,0)}this.focused=e,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let n=this._elementRef.nativeElement;this._previousPlaceholder=e,e?n.setAttribute("placeholder",e):n.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){n$.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,n=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&n&&n.label)}else return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let n=this._elementRef.nativeElement;e.length?n.setAttribute("aria-describedby",e.join(" ")):n.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let n=e.target;!n.value&&n.selectionStart===0&&n.selectionEnd===0&&(n.setSelectionRange(1,1),n.setSelectionRange(0,0))};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(n,o){n&1&&b("focus",function(){return o._focusChanged(!0)})("blur",function(){return o._focusChanged(!1)})("input",function(){return o._onInput()}),n&2&&(cn("id",o.id)("disabled",o.disabled&&!o.disabledInteractive)("required",o.required),ee("name",o.name||null)("readonly",o._getReadonlyAttribute())("aria-disabled",o.disabled&&o.disabledInteractive?"true":null)("aria-invalid",o.empty&&o.required?null:o.errorState)("aria-required",o.required)("id",o.id),ne("mat-input-server",o._isServer)("mat-mdc-form-field-textarea-control",o._isInFormField&&o._isTextarea)("mat-mdc-form-field-input-control",o._isInFormField)("mat-mdc-input-disabled-interactive",o.disabledInteractive)("mdc-text-field__input",o._isInFormField)("mat-mdc-native-select-inline",o._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",$]},exportAs:["matInput"],features:[ve([{provide:ra,useExisting:t}]),Ge]})}return t})(),nP=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[fe,Ja,Ja,tP,fe]})}return t})();var iP=(()=>{class t{transform(e){return Sw(e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=Go({name:"isEmpty",type:t,pure:!0,standalone:!1})}}return t})(),Dn=(()=>{class t{transform(e){return!Sw(e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=Go({name:"notEmpty",type:t,pure:!0,standalone:!1})}}return t})();var oP=(()=>{class t{transform(e,n){let o;return n===void 0?o=(r,a)=>r>a?1:-1:o=(r,a)=>r[n]>a[n]?1:-1,e.sort(o)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=Go({name:"sort",type:t,pure:!0,standalone:!1})}}return t})();var r$=["trigger"],a$=()=>[5,10,25,100,1e3];function s$(t,i){if(t&1&&M(0,"img",39),t&2){let e=_();h("src",e.icon,we)}}function l$(t,i){if(t&1){let e=A();c(0,"button",47),b("click",function(){let o=y(e).$implicit,r=_(5);return C(r.newAction.emit({param:o,table:r}))}),d()}if(t&2){let e=i.$implicit,n=_(5);h("innerHTML",n.api.safeString(n.api.gui.icon(e.icon)+e.name),$t)}}function c$(t,i){if(t&1&&(dt(0),c(1,"button",44),g(2),d(),c(3,"mat-menu",45,3),S(5,l$,1,1,"button",46),ht(6,"sort"),d(),ut()),t&2){let e=i.$implicit,n=Se(4);u(),h("matMenuTriggerFor",n),u(),tt(e.key),u(),h("overlapTrigger",!1),u(2),h("ngForOf",Lh(6,4,e.value,"name"))}}function d$(t,i){if(t&1&&(dt(0),c(1,"mat-menu",40,2),S(3,c$,7,7,"ng-container",41),ht(4,"keyvalue"),d(),c(5,"a",42)(6,"i",22),g(7,"insert_drive_file"),d(),c(8,"span",43)(9,"uds-translate"),g(10,"New"),d()(),c(11,"i",22),g(12,"arrow_drop_down"),d()(),ut()),t&2){let e=Se(2),n=_(3);u(),h("overlapTrigger",!1),u(2),h("ngForOf",wt(4,3,n.grpTypes)),u(2),h("matMenuTriggerFor",e)}}function u$(t,i){if(t&1){let e=A();c(0,"button",49),b("click",function(){let o=y(e).$implicit,r=_(4);return C(r.newAction.emit({param:o,table:r}))}),d()}if(t&2){let e=i.$implicit,n=_(4);h("innerHTML",n.api.safeString(n.api.gui.icon(e.icon)+e.name),$t)}}function m$(t,i){if(t&1&&(dt(0),c(1,"mat-menu",40,2),S(3,u$,1,1,"button",48),ht(4,"sort"),d(),c(5,"a",42)(6,"i",22),g(7,"insert_drive_file"),d(),c(8,"span",43)(9,"uds-translate"),g(10,"New"),d()(),c(11,"i",22),g(12,"arrow_drop_down"),d()(),ut()),t&2){let e=Se(2),n=_(3);u(),h("overlapTrigger",!1),u(2),h("ngForOf",Lh(4,3,n.oTypes,"name")),u(2),h("matMenuTriggerFor",e)}}function p$(t,i){if(t&1&&(dt(0),S(1,d$,13,5,"ng-container",13)(2,m$,13,6,"ng-container",13),ut()),t&2){let e=_(2);u(),h("ngIf",e.newGrouped),u(),h("ngIf",!e.newGrouped)}}function h$(t,i){if(t&1){let e=A();dt(0),c(1,"a",50),b("click",function(){y(e);let o=_(2);return C(o.newAction.emit({param:void 0,table:o}))}),c(2,"i",22),g(3,"insert_drive_file"),d(),c(4,"span",43)(5,"uds-translate"),g(6,"New"),d()()(),ut()}}function f$(t,i){if(t&1&&(dt(0),S(1,p$,3,2,"ng-container",13)(2,h$,7,0,"ng-container",13),ut()),t&2){let e=_();u(),h("ngIf",e.oTypes!==void 0&&e.oTypes.length!==0),u(),h("ngIf",e.oTypes!==void 0&&e.oTypes.length===0)}}function g$(t,i){if(t&1){let e=A();dt(0),c(1,"a",51),b("click",function(){y(e);let o=_();return C(o.emitIfSelection(o.editAction))}),c(2,"i",22),g(3,"edit"),d(),c(4,"span",43)(5,"uds-translate"),g(6,"Edit"),d()()(),ut()}if(t&2){let e=_();u(),h("disabled",e.selection.selected.length!==1)}}function _$(t,i){if(t&1){let e=A();dt(0),c(1,"a",51),b("click",function(){y(e);let o=_();return C(o.permissions())}),c(2,"i",22),g(3,"perm_identity"),d(),c(4,"span",43)(5,"uds-translate"),g(6,"Permissions"),d()()(),ut()}if(t&2){let e=_();u(),h("disabled",e.selection.selected.length!==1)}}function v$(t,i){if(t&1){let e=A();c(0,"a",53),b("click",function(){let o=y(e).$implicit,r=_(2);return C(r.emitCustom(o))}),d()}if(t&2){let e=i.$implicit,n=_(2);h("disabled",n.isCustomDisabled(e))("innerHTML",e.html,$t)}}function b$(t,i){if(t&1&&(dt(0),S(1,v$,1,2,"a",52),ut()),t&2){let e=_();u(),h("ngForOf",e.getcustomButtons())}}function y$(t,i){if(t&1){let e=A();dt(0),c(1,"a",54),b("click",function(){y(e);let o=_();return C(o.export())}),c(2,"i",22),g(3,"import_export"),d(),c(4,"span",43)(5,"uds-translate"),g(6,"Export CSV"),d()()(),ut()}}function C$(t,i){if(t&1){let e=A();dt(0),c(1,"a",55),b("click",function(){y(e);let o=_();return C(o.emitIfSelection(o.deleteAction,!0))}),c(2,"i",22),g(3,"delete_forever"),d(),c(4,"span",43)(5,"uds-translate"),g(6,"Delete"),d()()(),ut()}if(t&2){let e=_();u(),h("disabled",e.selection.isEmpty())}}function w$(t,i){if(t&1){let e=A();c(0,"button",56),b("click",function(){y(e);let o=_();return o.filterText="",C(o.applyFilter())}),c(1,"i",22),g(2,"clear"),d()()}}function x$(t,i){t&1&&M(0,"mat-header-cell")}function D$(t,i){t&1&&(c(0,"i",61),g(1,"check_box"),d())}function E$(t,i){t&1&&(c(0,"i",62),g(1,"check_box_outline_blank"),d())}function S$(t,i){if(t&1){let e=A();c(0,"mat-cell",59),b("click",function(o){let r=y(e).$implicit,a=_(2);return C(a.clickRow(r,o))}),S(1,D$,2,0,"i",60)(2,E$,2,0,"ng-template",null,4,Sn),d()}if(t&2){let e=i.$implicit,n=Se(3),o=_(2);u(),h("ngIf",o.selection.isSelected(e))("ngIfElse",n)}}function M$(t,i){t&1&&(dt(0,57),S(1,x$,1,0,"mat-header-cell",27)(2,S$,4,2,"mat-cell",58),ut())}function I$(t,i){t&1&&M(0,"mat-header-cell")}function T$(t,i){if(t&1){let e=A();c(0,"mat-cell")(1,"div",63),b("click",function(o){let r=y(e).$implicit,a=_();return a.detailAction.emit({param:r,table:a}),C(o.stopPropagation())}),c(2,"i",22),g(3,"subdirectory_arrow_right"),d()()()}}function k$(t,i){if(t&1&&(c(0,"mat-header-cell",67),g(1),d()),t&2){let e=_().$implicit;u(),tt(e.title)}}function A$(t,i){if(t&1){let e=A();c(0,"mat-cell",68),b("click",function(o){let r=y(e).$implicit,a=_(2);return C(a.clickRow(r,o))})("contextmenu",function(o){let r=y(e).$implicit,a=_().$implicit,s=_();return C(s.onContextMenu(r,a,o))}),M(1,"div",69),d()}if(t&2){let e=i.$implicit,n=_().$implicit,o=_();u(),h("innerHtml",o.getRowColumn(e,n),$t)}}function R$(t,i){if(t&1&&(dt(0,64),S(1,k$,2,1,"mat-header-cell",65)(2,A$,2,1,"mat-cell",66),ut()),t&2){let e=i.$implicit;h("matColumnDef",Ra(e.name))}}function O$(t,i){t&1&&M(0,"mat-header-row")}function P$(t,i){if(t&1&&M(0,"mat-row",70),t&2){let e=i.$implicit,n=_();h("ngClass",n.rowClass(e))}}function N$(t,i){if(t&1&&(c(0,"div",71),g(1),c(2,"uds-translate"),g(3,"Selected items"),d()()),t&2){let e=_();u(),O(" ",e.selection.selected.length," ")}}function F$(t,i){if(t&1){let e=A();c(0,"button",75),b("click",function(){y(e);let o=_(2);return C(o.copyToClipboard())}),c(1,"i",76),g(2,"content_copy"),d(),c(3,"uds-translate"),g(4,"Copy"),d()()}}function L$(t,i){if(t&1){let e=A();c(0,"button",75),b("click",function(){y(e);let o=_().item,r=_();return C(r.detailAction.emit({param:o,table:r}))}),c(1,"i",76),g(2,"subdirectory_arrow_right"),d(),c(3,"uds-translate"),g(4,"Detail"),d()()}}function V$(t,i){if(t&1){let e=A();c(0,"button",75),b("click",function(){y(e);let o=_(2);return C(o.emitIfSelection(o.editAction))}),c(1,"i",76),g(2,"edit"),d(),c(3,"uds-translate"),g(4,"Edit"),d()()}}function B$(t,i){if(t&1){let e=A();c(0,"button",75),b("click",function(){y(e);let o=_(2);return C(o.permissions())}),c(1,"i",76),g(2,"perm_identity"),d(),c(3,"uds-translate"),g(4,"Permissions"),d()()}}function j$(t,i){if(t&1){let e=A();c(0,"button",77),b("click",function(){let o=y(e).$implicit,r=_(2);return C(r.emitCustom(o))}),d()}if(t&2){let e=i.$implicit,n=_(2);h("disabled",n.isCustomDisabled(e))("innerHTML",e.html,$t)}}function z$(t,i){if(t&1){let e=A();c(0,"button",78),b("click",function(){y(e);let o=_(2);return C(o.emitIfSelection(o.deleteAction))}),c(1,"i",76),g(2,"delete_forever"),d(),c(3,"uds-translate"),g(4,"Delete"),d()()}}function U$(t,i){if(t&1){let e=A();c(0,"button",77),b("click",function(){let o=y(e).$implicit,r=_(3);return C(r.emitCustom(o))}),d()}if(t&2){let e=i.$implicit,n=_(3);h("disabled",n.isCustomDisabled(e))("innerHTML",e.html,$t)}}function H$(t,i){if(t&1&&(dt(0),M(1,"mat-divider"),S(2,U$,1,2,"button",73),ut()),t&2){let e=_(2);u(2),h("ngForOf",e.getCustomAccelerators())}}function G$(t,i){if(t&1&&S(0,F$,5,0,"button",72)(1,L$,5,0,"button",72)(2,V$,5,0,"button",72)(3,B$,5,0,"button",72)(4,j$,1,2,"button",73)(5,z$,5,0,"button",74)(6,H$,3,1,"ng-container",13),t&2){let e=_();h("ngIf",e.allowCopy===!0),u(),h("ngIf",e.detailAction.observed),u(),h("ngIf",e.editAction.observed),u(),h("ngIf",e.hasPermissions===!0),u(),h("ngForOf",e.getCustomMenu()),u(),h("ngIf",e.deleteAction.observed),u(),h("ngIf",e.hasAccelerators)}}var Me=(()=>{class t{constructor(e,n){this.api=e,this.clipboard=n,this.contextMenu={},this.paginator={},this.sort={},this.rest={},this.tableId="",this.pageSize=10,this.newGrouped=!1,this.allowCopy=!0,this.titleOverride="",this.loaded=new k,this.rowSelected=new k,this.newAction=new k,this.editAction=new k,this.deleteAction=new k,this.customButtonAction=new k,this.detailAction=new k,this.title="",this.subtitle="",this.displayedColumns=[],this.columns=[],this.types=new Map,this.oTypes=[],this.grpTypes=new Map,this.rowStyleInfo=null,this.selection=new Fr(!0,[]),this.lastSel=null,this.dataSource=new Uc([]),this.firstLoad=!0,this.loading=!1,this.lastClickInfo={time:0,x:-1e4,y:-1e4},this.clipValue="",this.contextMenuPosition={x:"0px",y:"0px"},this.filterText="",this.hasCustomButtons=!1,this.hasButtons=!1,this.hasActions=!1,this.hasAccelerators=!1}ngOnInit(){return V(this,null,function*(){this.customButtons===void 0||this.customButtons.length===0||!this.customButtonAction.observed?this.hasCustomButtons=!1:this.hasCustomButtons=!0,this.hasAccelerators=this.getCustomAccelerators().length>0,this.hasButtons=this.hasCustomButtons||this.detailAction.observed||this.editAction.observed||this.hasPermissions||this.deleteAction.observed,this.hasActions=this.hasButtons||this.customButtons!==void 0&&this.customButtons.length>0,this.tableId=this.tableId||this.rest.id,this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.dataSource.sortingDataAccessor=(r,a)=>{if(!(a in r))return"";let s=r[a];return typeof s=="number"?s:typeof s=="string"?s.toLocaleLowerCase():(s===null&&(s=7226578800),s.changingThisBreaksApplicationSecurity&&(s=s.changingThisBreaksApplicationSecurity),(""+s).replace(/<(span|\/span)[^>]*>/g,"").toLocaleLowerCase())},this.dataSource.filterPredicate=(r,a)=>{try{this.columns.forEach(s=>{if((""+r[s.name]).replace(/<(span|\/span)[^>]*>/g,"").toLocaleLowerCase().includes(a))throw Error()})}catch{return!0}return!1},this.dataSource.sort.active=this.api.getFromStorage(this.tableId+"sort-column")||"name",this.dataSource.sort.direction=this.api.getFromStorage(this.tableId+"sort-direction")||"asc",this.filterText=this.api.getFromStorage(this.tableId+"filterValue")||"",this.applyFilter(),this.selection=new Fr(this.multiSelect===!0,[]);let e=this.rest.permision();(e&oa.MANAGEMENT)===0&&(this.newAction.unsubscribe(),this.editAction.unsubscribe(),this.deleteAction.unsubscribe(),this.customButtonAction.unsubscribe()),e!==oa.ALL&&(this.hasPermissions=!1),this.icon!==void 0&&(this.icon=this.api.staticURL("admin/img/icons/"+this.icon+".png"));let n=yield this.rest.types(),o=yield this.rest.tableInfo();yield this.initialize(o,n)})}initialize(e,n){return V(this,null,function*(){this.oTypes=n,this.types=new Map,this.grpTypes=new Map;for(let r of n)if(this.types.set(r.type,r),r.group!==void 0){this.grpTypes.has(r.group)||this.grpTypes.set(r.group,[]);let a=this.grpTypes.get(r.group);a!==void 0&&a.push(r)}e["row-style"]!==void 0&&e["row-style"].field!==void 0?this.rowStyleInfo=e["row-style"]:this.rowStyleInfo=null,this.title=this.titleOverride||e.title,this.subtitle=e.subtitle||"",this.hasButtons&&this.displayedColumns.push("selection-column");let o=[];for(let r of e.fields)for(let a in r)if(r.hasOwnProperty(a)){let s=r[a];o.push({name:a,title:s.title,type:s.type===void 0?vn.ALPHANUMERIC:s.type,dict:s.dict}),(s.visible===void 0||s.visible)&&this.displayedColumns.push(a)}this.columns=o,this.detailAction.observed&&this.displayedColumns.push("detail-column"),yield this.overview()})}overview(){return V(this,null,function*(){if(!this.loading){this.selection.clear(),this.dataSource.data=[],this.loading=!0;try{let e=yield this.rest.overview();if(this.onItem)for(let n of e)this.onItem(n);this.dataSource.data=e,this.loaded.emit({param:this.firstLoad,table:this}),this.firstLoad=!1}finally{this.loading=!1}}})}getcustomButtons(){return this.customButtons?this.customButtons.filter(e=>e.type!==st.ONLY_MENU&&e.type!==st.ACCELERATOR):[]}getCustomMenu(){return this.customButtons?this.customButtons.filter(e=>e.type!==st.ACCELERATOR):[]}getCustomAccelerators(){return this.customButtons?this.customButtons.filter(e=>e.type===st.ACCELERATOR):[]}getRowColumn(e,n){let o=e[n.name];switch(n.type){case vn.IMAGE:return this.api.safeString(this.api.gui.icon(o,"48px"));case vn.DATE:o=Xn("SHORT_DATE_FORMAT",o);break;case vn.DATETIME:o=Xn("SHORT_DATETIME_FORMAT",o);break;case vn.TIME:o=Xn("TIME_FORMAT",o);break;case vn.DATETIMESEC:o=Xn("SHORT_DATE_FORMAT",o," H:i:s");break;case vn.ICON:typeof o=="string"&&(o=o.replace(//g,">"));try{o=this.api.gui.icon(this.types.get(e.type).icon)+o}catch{}return this.api.safeString(o);case vn.CALLBACK:break;case vn.DICTIONARY:try{o=n.dict[o]}catch{o=""}break}return typeof o=="string"&&(o=o.replace(/0&&(n===!0||o===1)&&e.emit({table:this,param:o})}isCustomDisabled(e){switch(e.type){case void 0:case st.SINGLE_SELECT:return this.selection.selected.length!==1||e.disabled===!0;case st.MULTI_SELECT:return this.selection.isEmpty()||e.disabled===!0;default:return!1}}emitCustom(e){!this.selection.selected.length&&e.type!==st.ALWAYS||(e.type===st.ACCELERATOR?this.api.navigation.goto(e.id,this.selection.selected[0],e.acceleratorProperties||[]):this.customButtonAction.emit({param:e,table:this}))}clickRow(e,n){let o=new Date().getTime();if((this.detailAction.observed||this.editAction.observed)&&Math.abs(this.lastClickInfo.x-n.x)<16&&Math.abs(this.lastClickInfo.y-n.y)<16&&o-this.lastClickInfo.time<250){this.selection.clear(),this.selection.select(e),this.detailAction.observed?this.detailAction.emit({param:e,table:this}):this.emitIfSelection(this.editAction,!1);return}this.lastClickInfo={time:o,x:n.x,y:n.y},this.doSelect(e,n)}doSelect(e,n){if(n.ctrlKey)this.lastSel=e,this.selection.toggle(e);else if(n.shiftKey){if(this.selection.isEmpty())this.selection.toggle(e);else if(this.selection.clear(),this.lastSel!==e){let o=!1,r=this.dataSource.sort?this.dataSource.sortData(this.dataSource.data,this.dataSource.sort):this.dataSource.data;for(let a of r){if((a===e||a===this.lastSel)&&(o=!o,o===!1)){this.selection.select(a);break}o&&this.selection.select(a)}}}else this.lastSel!==e&&this.selection.clear(),this.lastSel=e,this.selection.toggle(e);this.rowSelected.emit({param:null,table:this})}onContextMenu(e,n,o){o.preventDefault();let r=e[n.name];r.changingThisBreaksApplicationSecurity&&(r=r.changingThisBreaksApplicationSecurity.replace(/.*<\/span>/,"")),this.clipValue=""+r,this.hasActions&&(this.selection.clear(),this.selection.select(e),this.contextMenuPosition.x=o.clientX+"px",this.contextMenuPosition.y=o.clientY+"px",this.contextMenu.menuData={item:e},this.contextMenu.openMenu())}selectElement(e,n){(this.dataSource.sort?this.dataSource.sortData(this.dataSource.data,this.dataSource.sort):this.dataSource.data).forEach((r,a)=>{if(r[e]===n){let s=Math.floor(a/this.paginator.pageSize);this.selection.select(r),this.paginator.pageIndex=s,this.paginator.page.next({pageIndex:s,pageSize:this.paginator.pageSize,length:this.paginator.length})}})}export(){k_(this)}permissions(){this.selection.selected.length&&zO.launch(this.api,this.rest,this.selection.selected[0])}keyDown(e){switch(e.keyCode){case 36:this.paginator.firstPage(),e.preventDefault();break;case 35:this.paginator.lastPage(),e.preventDefault();break;case 39:this.paginator.nextPage(),e.preventDefault();break;case 37:this.paginator.previousPage(),e.preventDefault();break}}static{this.\u0275fac=function(n){return new(n||t)(w(G),w($O))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-table"]],viewQuery:function(n,o){if(n&1&&(le(r$,7),le(aa,7),le(sa,7)),n&2){let r;Y(r=Q())&&(o.contextMenu=r.first),Y(r=Q())&&(o.paginator=r.first),Y(r=Q())&&(o.sort=r.first)}},inputs:{rest:"rest",onItem:"onItem",icon:"icon",multiSelect:"multiSelect",allowExport:"allowExport",hasPermissions:"hasPermissions",customButtons:"customButtons",tableId:"tableId",pageSize:"pageSize",newGrouped:"newGrouped",allowCopy:"allowCopy",titleOverride:"titleOverride"},outputs:{loaded:"loaded",rowSelected:"rowSelected",newAction:"newAction",editAction:"editAction",deleteAction:"deleteAction",customButtonAction:"customButtonAction",detailAction:"detailAction"},standalone:!1,decls:51,vars:30,consts:[["trigger","matMenuTrigger"],["contextMenu","matMenu"],["newMenu","matMenu"],["sub_menu","matMenu"],["uncheck",""],[1,"card"],[1,"card-header"],[1,"card-title"],[3,"src",4,"ngIf"],[1,"card-subtitle"],[1,"card-content"],[1,"header"],[1,"buttons"],[4,"ngIf"],[1,"navigation"],[1,"filter"],["matInput","",3,"keyup","ngModelChange","ngModel"],["matSuffix","","mat-icon-button","","aria-label","Clear",3,"click",4,"ngIf"],[1,"paginator"],[3,"pageSize","hidePageSize","pageSizeOptions","showFirstLastButtons"],[1,"reload"],["mat-icon-button","",3,"click"],[1,"material-icons"],["tabindex","0",1,"table",3,"keydown"],["matSort","",3,"matSortChange","dataSource"],["matColumnDef","selection-column",4,"ngIf"],["matColumnDef","detail-column"],[4,"matHeaderCellDef"],[4,"matCellDef"],[3,"matColumnDef",4,"ngFor","ngForOf"],[4,"matHeaderRowDef"],[3,"ngClass",4,"matRowDef","matRowDefColumns"],[3,"hidden"],[1,"loading"],["mode","indeterminate"],[1,"footer"],["class","selection",4,"ngIf"],[2,"position","fixed",3,"matMenuTriggerFor"],["matMenuContent",""],[3,"src"],[1,"wide-menu",3,"overlapTrigger"],[4,"ngFor","ngForOf"],["mat-raised-button","","color","primary",3,"matMenuTriggerFor"],[1,"button-text"],["mat-menu-item","",1,"main-button",3,"matMenuTriggerFor"],[3,"overlapTrigger"],["mat-menu-item","",3,"innerHTML","click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click","innerHTML"],["mat-menu-item","","class","main-button",3,"innerHTML","click",4,"ngFor","ngForOf"],["mat-menu-item","",1,"main-button",3,"click","innerHTML"],["mat-raised-button","","color","primary",1,"main-button",3,"click"],["mat-raised-button","",3,"click","disabled"],["mat-raised-button","",3,"disabled","innerHTML","click",4,"ngFor","ngForOf"],["mat-raised-button","",3,"click","disabled","innerHTML"],["mat-raised-button","",3,"click"],["mat-raised-button","","color","warn",3,"click","disabled"],["matSuffix","","mat-icon-button","","aria-label","Clear",3,"click"],["matColumnDef","selection-column"],[3,"click",4,"matCellDef"],[3,"click"],["class","material-icons check checked",4,"ngIf","ngIfElse"],[1,"material-icons","check","checked"],[1,"material-icons","check"],[1,"detail-launcher",3,"click"],[3,"matColumnDef"],["mat-sort-header","",4,"matHeaderCellDef"],[3,"click","contextmenu",4,"matCellDef"],["mat-sort-header",""],[3,"click","contextmenu"],[3,"innerHtml"],[3,"ngClass"],[1,"selection"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"disabled","innerHTML","click",4,"ngFor","ngForOf"],["mat-menu-item","","class","menu-warn",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"material-icons","spaced"],["mat-menu-item","",3,"click","disabled","innerHTML"],["mat-menu-item","",1,"menu-warn",3,"click"]],template:function(n,o){if(n&1){let r=A();c(0,"div",5)(1,"div",6)(2,"div",7),S(3,s$,1,1,"img",8),g(4),d(),c(5,"div",9),g(6),d()(),c(7,"div",10)(8,"div",11)(9,"div",12),S(10,f$,3,2,"ng-container",13)(11,g$,7,1,"ng-container",13)(12,_$,7,1,"ng-container",13)(13,b$,2,1,"ng-container",13)(14,y$,7,0,"ng-container",13)(15,C$,7,1,"ng-container",13),d(),c(16,"div",14)(17,"div",15)(18,"mat-form-field")(19,"mat-label")(20,"uds-translate"),g(21,"Filter"),d()(),c(22,"input",16),b("keyup",function(){return y(r),C(o.applyFilter())}),H("ngModelChange",function(s){return y(r),W(o.filterText,s)||(o.filterText=s),C(s)}),d(),S(23,w$,3,0,"button",17),ht(24,"notEmpty"),d()(),c(25,"div",18),M(26,"mat-paginator",19),d(),c(27,"div",20)(28,"a",21),b("click",function(){return y(r),C(o.overview())}),c(29,"i",22),g(30,"autorenew"),d()()()()(),c(31,"div",23),b("keydown",function(s){return y(r),C(o.keyDown(s))}),c(32,"mat-table",24),b("matSortChange",function(s){return y(r),C(o.sortChanged(s))}),S(33,M$,3,0,"ng-container",25),dt(34,26),S(35,I$,1,0,"mat-header-cell",27)(36,T$,4,0,"mat-cell",28),ut(),S(37,R$,3,2,"ng-container",29)(38,O$,1,0,"mat-header-row",30)(39,P$,1,1,"mat-row",31),d(),c(40,"div",32)(41,"div",33),M(42,"mat-progress-spinner",34),d()()(),c(43,"div",35),g(44," \xA0 "),S(45,N$,4,1,"div",36),d()(),M(46,"div",37,0),c(48,"mat-menu",null,1),S(50,G$,7,7,"ng-template",38),d()()}if(n&2){let r=Se(49);u(3),h("ngIf",o.icon!==void 0),u(),O(" ",o.title," "),u(2),O(" ",o.subtitle," "),u(4),h("ngIf",o.newAction.observed),u(),h("ngIf",o.editAction.observed),u(),h("ngIf",o.hasPermissions===!0),u(),h("ngIf",o.hasCustomButtons),u(),h("ngIf",o.allowExport===!0),u(),h("ngIf",o.deleteAction.observed),u(7),U("ngModel",o.filterText),u(),h("ngIf",wt(24,27,o.filterText)),u(3),h("pageSize",o.pageSize)("hidePageSize",!0)("pageSizeOptions",Bs(29,a$))("showFirstLastButtons",!0),u(6),h("dataSource",o.dataSource),u(),h("ngIf",o.hasButtons),u(4),h("ngForOf",o.columns),u(),h("matHeaderRowDef",o.displayedColumns),u(),h("matRowDefColumns",o.displayedColumns),u(),h("hidden",!o.loading),u(5),h("ngIf",o.hasButtons&&o.selection.selected.length>0),u(),Zn("left",o.contextMenuPosition.x)("top",o.contextMenuPosition.y),h("matMenuTriggerFor",r)}},dependencies:[Xi,Ue,pe,ct,Ce,xe,ge,Jn,ts,dl,QO,R_,he,Pe,ro,pt,g_,v_,w_,b_,__,x_,y_,C_,D_,E_,aa,sa,c_,M_,S_,se,dC,Dn,oP],styles:[".mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-0, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-1, 0px 2px 1px -1px --mat-sys-shadow, 0px 1px 1px 0px --mat-sys-shadow, 0px 1px 3px 0px --mat-sys-shadow)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-2, 0px 3px 1px -2px --mat-sys-shadow, 0px 2px 2px 0px --mat-sys-shadow, 0px 1px 5px 0px --mat-sys-shadow)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-3, 0px 3px 3px -2px --mat-sys-shadow, 0px 3px 4px 0px --mat-sys-shadow, 0px 1px 8px 0px --mat-sys-shadow)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-4, 0px 2px 4px -1px --mat-sys-shadow, 0px 4px 5px 0px --mat-sys-shadow, 0px 1px 10px 0px --mat-sys-shadow)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-5, 0px 3px 5px -1px --mat-sys-shadow, 0px 5px 8px 0px --mat-sys-shadow, 0px 1px 14px 0px --mat-sys-shadow)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-6, 0px 3px 5px -1px --mat-sys-shadow, 0px 6px 10px 0px --mat-sys-shadow, 0px 1px 18px 0px --mat-sys-shadow)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-7, 0px 4px 5px -2px --mat-sys-shadow, 0px 7px 10px 1px --mat-sys-shadow, 0px 2px 16px 1px --mat-sys-shadow)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-8, 0px 5px 5px -3px --mat-sys-shadow, 0px 8px 10px 1px --mat-sys-shadow, 0px 3px 14px 2px --mat-sys-shadow)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-9, 0px 5px 6px -3px --mat-sys-shadow, 0px 9px 12px 1px --mat-sys-shadow, 0px 3px 16px 2px --mat-sys-shadow)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-10, 0px 6px 6px -3px --mat-sys-shadow, 0px 10px 14px 1px --mat-sys-shadow, 0px 4px 18px 3px --mat-sys-shadow)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-11, 0px 6px 7px -4px --mat-sys-shadow, 0px 11px 15px 1px --mat-sys-shadow, 0px 4px 20px 3px --mat-sys-shadow)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-12, 0px 7px 8px -4px --mat-sys-shadow, 0px 12px 17px 2px --mat-sys-shadow, 0px 5px 22px 4px --mat-sys-shadow)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-13, 0px 7px 8px -4px --mat-sys-shadow, 0px 13px 19px 2px --mat-sys-shadow, 0px 5px 24px 4px --mat-sys-shadow)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-14, 0px 7px 9px -4px --mat-sys-shadow, 0px 14px 21px 2px --mat-sys-shadow, 0px 5px 26px 4px --mat-sys-shadow)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-15, 0px 8px 9px -5px --mat-sys-shadow, 0px 15px 22px 2px --mat-sys-shadow, 0px 6px 28px 5px --mat-sys-shadow)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-16, 0px 8px 10px -5px --mat-sys-shadow, 0px 16px 24px 2px --mat-sys-shadow, 0px 6px 30px 5px --mat-sys-shadow)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-17, 0px 8px 11px -5px --mat-sys-shadow, 0px 17px 26px 2px --mat-sys-shadow, 0px 6px 32px 5px --mat-sys-shadow)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-18, 0px 9px 11px -5px --mat-sys-shadow, 0px 18px 28px 2px --mat-sys-shadow, 0px 7px 34px 6px --mat-sys-shadow)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-19, 0px 9px 12px -6px --mat-sys-shadow, 0px 19px 29px 2px --mat-sys-shadow, 0px 7px 36px 6px --mat-sys-shadow)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-20, 0px 10px 13px -6px --mat-sys-shadow, 0px 20px 31px 3px --mat-sys-shadow, 0px 8px 38px 7px --mat-sys-shadow)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-21, 0px 10px 13px -6px --mat-sys-shadow, 0px 21px 33px 3px --mat-sys-shadow, 0px 8px 40px 7px --mat-sys-shadow)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-22, 0px 10px 14px -6px --mat-sys-shadow, 0px 22px 35px 3px --mat-sys-shadow, 0px 8px 42px 7px --mat-sys-shadow)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-23, 0px 11px 14px -7px --mat-sys-shadow, 0px 23px 36px 3px --mat-sys-shadow, 0px 9px 44px 8px --mat-sys-shadow)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-24, 0px 11px 15px -7px --mat-sys-shadow, 0px 24px 38px 3px --mat-sys-shadow, 0px 9px 46px 8px --mat-sys-shadow)}html[_ngcontent-%COMP%]{--mat-sys-on-surface: initial}.mat-app-background[_ngcontent-%COMP%]{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}.header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-wrap:wrap;margin:1rem 1rem 0rem}.buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap}.buttons[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-right:1rem;margin-bottom:1rem}.buttons[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{margin-right:.1rem}.buttons[_ngcontent-%COMP%] .mat-mdc-raised-button[_ngcontent-%COMP%]:hover:not([disabled]){background-color:#fafafa;color:#000}button.mat-mdc-menu-item[_ngcontent-%COMP%]{height:2rem;line-height:2rem}.navigation[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;flex-wrap:wrap}.reload[_ngcontent-%COMP%]{margin-top:.5rem}.table[_ngcontent-%COMP%]{margin:0rem 1rem;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.footer[_ngcontent-%COMP%]{margin:1em;display:flex;justify-content:flex-end}mat-cell[_ngcontent-%COMP%]:first-of-type, mat-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:.5rem}mat-row[_ngcontent-%COMP%]:hover{background-color:#a0b0d0;cursor:pointer}.check[_ngcontent-%COMP%]{margin-left:.5rem;font-size:1.5rem;width:1.5rem}mat-table[_ngcontent-%COMP%]{width:100%;font-weight:300}.mat-column-detail-column[_ngcontent-%COMP%]{max-width:1.5rem;justify-content:center;color:#000!important;padding-right:.5rem}.detail-launcher[_ngcontent-%COMP%]{display:none}.mat-mdc-row[_ngcontent-%COMP%]:hover .detail-launcher[_ngcontent-%COMP%]{display:block}.mat-column-selection-column[_ngcontent-%COMP%]{max-width:2rem;justify-content:center;color:#000!important}.menu-warn[_ngcontent-%COMP%]{color:red}.menu-link[_ngcontent-%COMP%]{color:#00f}.loading[_ngcontent-%COMP%]{margin-top:2rem;margin-bottom:2rem;display:flex;justify-content:center} .mat-mdc-menu-panel{min-height:3rem} .mat-mdc-menu-panel.mat-mdc-menu-panel{max-width:32rem} .mat-mdc-paginator-range-label{min-width:6em}.mat-mdc-menu-item[_ngcontent-%COMP%]{min-height:2.5rem} .dark-theme .mat-mdc-paginator-container{background-color:#303030} .dark-theme .buttons .mat-mdc-raised-button:hover:not([disabled]){background-color:#303030;color:#fff} .dark-theme .mat-column-detail-column{color:#fff!important} .dark-theme .mat-column-selection-column{color:#fff!important} .dark-theme .menu-warn{color:red} .dark-theme .menu-link{color:#00f}.filter[_ngcontent-%COMP%]{display:flex;align-items:center;width:16rem}.filter[_ngcontent-%COMP%] .mat-mdc-form-field-infix{min-height:3rem;padding-top:1rem!important;padding-bottom:1rem!important}.filter[_ngcontent-%COMP%] .mat-mdc-form-field-bottom-align{height:0px}.mat-column-token[_ngcontent-%COMP%]{overflow-wrap:anywhere}"]})}}return t})();var rP='pause'+django.gettext("Maintenance")+"",W$='pause'+django.gettext("Exit maintenance mode")+"",$$='pause'+django.gettext("Enter maintenance mode")+"",Ox=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o,this.cButtons=[{id:"maintenance",html:rP,type:st.SINGLE_SELECT}]}get customButtons(){return this.api.user.isAdmin?this.cButtons:[]}ngOnInit(){}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New provider"),!0)}onEdit(e){this.api.gui.forms.typedEditForm(e,django.gettext("Edit provider"),!0)}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete provider"))}onMaintenance(e){let n=e.table.selection.selected[0],o=n.maintenance_mode?django.gettext("Exit maintenance mode?"):django.gettext("Enter maintenance mode?");this.api.gui.questionDialog(django.gettext("Maintenance mode for")+" "+n.name,o).then(r=>{r&&this.rest.providers.maintenance(n.id).then(()=>{e.table.overview()})})}onRowSelect(e){let n=e.table;if(n.selection.selected.length>1||n.selection.selected.length===0){this.customButtons[0].html=rP;return}n.selection.selected[0].maintenance_mode?this.customButtons[0].html=W$:this.customButtons[0].html=$$}onDetail(e){this.api.navigation.gotoService(e.param.id)}processElement(e){e.maintenance_state=e.maintenance_mode?django.gettext("In Maintenance"):django.gettext("Active")}onLoad(e){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("provider"))}static{this.\u0275fac=function(n){return new(n||t)(w(Oe),w(J),w(G))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-providers"]],standalone:!1,decls:1,vars:7,consts:[["tableId","service-providers","icon","providers",3,"customButtonAction","newAction","editAction","deleteAction","rowSelected","detailAction","loaded","rest","onItem","multiSelect","allowExport","hasPermissions","customButtons","pageSize"]],template:function(n,o){n&1&&(c(0,"uds-table",0),b("customButtonAction",function(a){return o.onMaintenance(a)})("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("rowSelected",function(a){return o.onRowSelect(a)})("detailAction",function(a){return o.onDetail(a)})("loaded",function(a){return o.onLoad(a)}),d()),n&2&&h("rest",o.rest.providers)("onItem",o.processElement)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("customButtons",o.customButtons)("pageSize",o.api.config.admin.page_size)},dependencies:[Me],styles:[".row-maintenance-true>mat-cell{color:#dc3131!important} .mat-column-services_count, .mat-column-user_services_count{max-width:7rem;justify-content:center} .mat-column-maintenance_state{max-width:10rem;justify-content:center}"]})}}return t})();var So=class{constructor(i,e,n,o){this.title=i,this.data=e,this.columns=n,this.id=o,this.columnsDefinition=Array.from(n,r=>{let a={};return a[r.field]={visible:!0,title:r.title,type:r.type===void 0?vn.ALPHANUMERIC:r.type},a})}get(i){return Promise.resolve({})}getLogs(i){return Promise.resolve([])}overview(i){return typeof this.data=="function"?Promise.resolve(this.data()):Promise.resolve(this.data)}summary(i){return this.overview()}put(i,e){return Promise.resolve()}create(i){return Promise.resolve()}save(i,e){return Promise.resolve()}test(i,e){return Promise.resolve("")}delete(i){return Promise.resolve()}permision(){return oa.ALL}getPermissions(i){return Promise.resolve([])}addPermission(i,e,n,o){return Promise.resolve({})}revokePermission(i){return Promise.resolve()}types(){return Promise.resolve([])}gui(i){return Promise.resolve({})}callback(i,e){return Promise.resolve([])}tableInfo(){return Promise.resolve({fields:this.columnsDefinition,title:this.title})}detail(i,e){return null}invoke(i,e){return Promise.resolve({})}};var q$=()=>[5,10,25,100,1e3];function Y$(t,i){if(t&1){let e=A();c(0,"button",24),b("click",function(){y(e);let o=_();return o.filterText="",C(o.applyFilter())}),c(1,"i",8),g(2,"close"),d()()}}function Q$(t,i){if(t&1&&(c(0,"mat-header-cell",28),g(1),d()),t&2){let e=_().$implicit;u(),tt(e)}}function K$(t,i){if(t&1&&(c(0,"mat-cell"),M(1,"div",29),d()),t&2){let e=i.$implicit,n=_().$implicit,o=_();u(),h("innerHtml",o.getRowColumn(e,n),$t)}}function Z$(t,i){if(t&1&&(dt(0,25),S(1,Q$,2,1,"mat-header-cell",26)(2,K$,2,1,"mat-cell",27),ut()),t&2){let e=i.$implicit;h("matColumnDef",e)}}function X$(t,i){t&1&&M(0,"mat-header-row")}function J$(t,i){if(t&1&&M(0,"mat-row",30),t&2){let e=i.$implicit,n=_();h("ngClass",n.rowClass(e))}}var Li=(()=>{class t{constructor(e){this.api=e,this.rest={},this.itemId="",this.tableId="",this.pageSize=10,this.paginator={},this.sort={},this.filterText="",this.title="Logs",this.displayedColumns=["date","level","source","message"],this.columns=[],this.dataSource=new Uc([]),this.selection=new Fr}ngOnInit(){this.tableId=this.tableId||this.rest.id,this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.dataSource.sort.active=this.api.getFromStorage("logs-sort-column")||"date",this.dataSource.sort.direction=this.api.getFromStorage("logs-sort-direction")||"desc";for(let e of this.displayedColumns){let n=e==="date"?vn.DATETIMESEC:vn.ALPHANUMERIC;this.columns.push({name:e,title:e,type:n})}this.filterText=this.api.getFromStorage(this.tableId+"filterValue")||"",this.applyFilter(),this.overview()}overview(){return V(this,null,function*(){this.dataSource.data=yield this.rest.getLogs(this.itemId)})}selectElement(e,n){}getRowColumn(e,n){let o=e[n];return n==="date"?o=Xn("SHORT_DATE_FORMAT",o," H:i:s"):n==="level"&&(o=PA(o)),o}rowClass(e){return["level-"+e.level]}applyFilter(){this.api.putOnStorage(this.tableId+"filterValue",this.filterText),this.dataSource.filter=this.filterText.trim().toLowerCase()}sortChanged(e){this.api.putOnStorage("logs-sort-column",e.active),this.api.putOnStorage("logs-sort-direction",e.direction)}export(){k_(this)}keyDown(e){switch(e.keyCode){case 36:this.paginator.firstPage(),e.preventDefault();break;case 35:this.paginator.lastPage(),e.preventDefault();break;case 39:this.paginator.nextPage(),e.preventDefault();break;case 37:this.paginator.previousPage(),e.preventDefault();break}}static{this.\u0275fac=function(n){return new(n||t)(w(G))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-logs-table"]],viewQuery:function(n,o){if(n&1&&(le(aa,7),le(sa,7)),n&2){let r;Y(r=Q())&&(o.paginator=r.first),Y(r=Q())&&(o.sort=r.first)}},inputs:{rest:"rest",itemId:"itemId",tableId:"tableId",pageSize:"pageSize"},standalone:!1,decls:37,vars:14,consts:[[1,"card"],[1,"card-header"],[1,"card-title"],[3,"src"],[1,"card-content"],[1,"header"],[1,"buttons"],["mat-raised-button","",3,"click"],[1,"material-icons"],[1,"button-text"],[1,"navigation"],[1,"filter"],["matInput","",3,"keyup","ngModelChange","ngModel"],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear",3,"click",4,"ngIf"],[1,"paginator"],[3,"pageSize","hidePageSize","pageSizeOptions","showFirstLastButtons"],[1,"reload"],["mat-icon-button","",3,"click"],["tabindex","0",1,"table",3,"keydown"],["matSort","",3,"matSortChange","dataSource"],[3,"matColumnDef",4,"ngFor","ngForOf"],[4,"matHeaderRowDef"],[3,"ngClass",4,"matRowDef","matRowDefColumns"],[1,"footer"],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear",3,"click"],[3,"matColumnDef"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["mat-sort-header",""],[3,"innerHtml"],[3,"ngClass"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1)(2,"div",2),M(3,"img",3),g(4," \xA0"),c(5,"uds-translate"),g(6,"Logs"),d()()(),c(7,"div",4)(8,"div",5)(9,"div",6)(10,"a",7),b("click",function(){return o.export()}),c(11,"i",8),g(12,"import_export"),d(),c(13,"span",9)(14,"uds-translate"),g(15,"Export"),d()()()(),c(16,"div",10)(17,"div",11)(18,"uds-translate"),g(19,"Filter"),d(),g(20,"\xA0 "),c(21,"mat-form-field")(22,"input",12),b("keyup",function(){return o.applyFilter()}),H("ngModelChange",function(a){return W(o.filterText,a)||(o.filterText=a),a}),d(),S(23,Y$,3,0,"button",13),ht(24,"notEmpty"),d()(),c(25,"div",14),M(26,"mat-paginator",15),d(),c(27,"div",16)(28,"a",17),b("click",function(){return o.overview()}),c(29,"i",8),g(30,"autorenew"),d()()()()(),c(31,"div",18),b("keydown",function(a){return o.keyDown(a)}),c(32,"mat-table",19),b("matSortChange",function(a){return o.sortChanged(a)}),S(33,Z$,3,1,"ng-container",20)(34,X$,1,0,"mat-header-row",21)(35,J$,1,1,"mat-row",22),d()(),M(36,"div",23),d()()),n&2&&(u(3),h("src",o.api.staticURL("admin/img/icons/logs.png"),we),u(19),U("ngModel",o.filterText),u(),h("ngIf",wt(24,11,o.filterText)),u(3),h("pageSize",o.pageSize)("hidePageSize",!0)("pageSizeOptions",Bs(13,q$))("showFirstLastButtons",!0),u(6),h("dataSource",o.dataSource),u(),h("ngForOf",o.displayedColumns),u(),h("matHeaderRowDef",o.displayedColumns),u(),h("matRowDefColumns",o.displayedColumns))},dependencies:[Xi,Ue,pe,ct,Ce,xe,ge,Jn,he,ro,pt,g_,v_,w_,b_,__,x_,y_,C_,D_,E_,aa,sa,c_,se,Dn],styles:[".header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-wrap:wrap;margin:1rem 1rem 0rem}.navigation[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;flex-wrap:wrap}.reload[_ngcontent-%COMP%]{margin-top:.5rem}.table[_ngcontent-%COMP%]{margin:0rem 1rem;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.mat-column-date[_ngcontent-%COMP%]{min-width:12rem;max-width:20rem}.mat-column-level[_ngcontent-%COMP%]{max-width:8rem;text-align:center}.mat-column-source[_ngcontent-%COMP%]{max-width:8rem} .level-60000>.mat-mdc-cell{color:#ff1e1e!important} .level-50000>.mat-mdc-cell{color:#ff1e1e!important} .level-40000>.mat-mdc-cell{color:#d65014!important}.filter[_ngcontent-%COMP%]{display:flex;align-items:center;width:16rem}.filter[_ngcontent-%COMP%] .mat-mdc-form-field-infix{min-height:3rem;padding-top:1rem!important;padding-bottom:1rem!important}.filter[_ngcontent-%COMP%] .mat-mdc-form-field-bottom-align{height:0px}"]})}}return t})();function e7(t,i){t&1&&(c(0,"uds-translate"),g(1,"Services pools"),d())}function t7(t,i){t&1&&(c(0,"uds-translate"),g(1,"Logs"),d())}var n7=[{field:"name",title:django.gettext("Pool")},{field:"state",title:django.gettext("State")},{field:"user_services_count",title:django.gettext("User Services")}],aP=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.customButtons=[Rn.getGotoButton(em,"id")],this.servicePools={},this.services=r.services,this.service=r.service}static launch(e,n,o){let r=window.innerWidth<800?"80%":"60%",a=e.gui.dialog.open(t,{width:r,position:{top:window.innerWidth<800?"0px":"7rem"},data:{service:o,services:n},disableClose:!1})}ngOnInit(){let e=()=>this.services.invoke(this.service.id+"/servicepools");this.servicePools=new So(django.gettext("Service pools"),e,n7,this.service.id+"infopsls")}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(J),w(Le),w(We))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-service-information"]],standalone:!1,decls:17,vars:8,consts:[["mat-dialog-title",""],["mat-tab-label",""],[3,"rest","customButtons","pageSize"],[1,"content"],[3,"rest","itemId","tableId","pageSize"],["mat-raised-button","","mat-dialog-close","","color","primary"]],template:function(n,o){n&1&&(c(0,"h4",0)(1,"uds-translate"),g(2,"Information for"),d(),g(3),d(),c(4,"mat-dialog-content")(5,"mat-tab-group")(6,"mat-tab"),S(7,e7,2,0,"ng-template",1),M(8,"uds-table",2),d(),c(9,"mat-tab"),S(10,t7,2,0,"ng-template",1),c(11,"div",3),M(12,"uds-logs-table",4),d()()()(),c(13,"mat-dialog-actions")(14,"button",5)(15,"uds-translate"),g(16,"Ok"),d()()()),n&2&&(u(3),O(" ",o.service.name,` +`),u(5),h("rest",o.servicePools)("customButtons",o.customButtons)("pageSize",6),u(4),h("rest",o.services)("itemId",o.service.id)("tableId","serviceInfo-d-log"+o.service.id)("pageSize",5))},dependencies:[ge,Yt,Ze,Je,Xe,nn,on,sn,se,Me,Li],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.mat-column-count[_ngcontent-%COMP%], .mat-column-image[_ngcontent-%COMP%], .mat-column-state[_ngcontent-%COMP%]{max-width:7rem;justify-content:center}.navigation[_ngcontent-%COMP%]{margin-top:1rem;display:flex;justify-content:flex-end;flex-wrap:wrap}.reload[_ngcontent-%COMP%]{margin-top:.5rem}"]})}}return t})();function i7(t,i){if(t&1&&(c(0,"div",3),M(1,"div",4)(2,"div",5),d()),t&2){let e=i.$implicit;u(),h("innerHTML",e.gui.label,$t),u(),h("innerHTML",e.value,$t)}}var Mo=(()=>{class t{constructor(e){this.api=e,this.gui=[]}ngOnInit(){this.processFields()}processFields(){if(!this.gui||!this.value)return;let e=this.gui.filter(n=>n.gui.type!==si.HIDDEN);for(let n of e){let o=this.value[n.name];switch(n.gui.type){case si.CHECKBOX:n.value=o?django.gettext("Yes"):django.gettext("No");break;case si.PASSWORD:n.value=django.gettext("(hidden)");break;case si.CHOICE:{let r=qu.locateChoice(o,n);n.value=r.text;break}case si.MULTI_CHOICE:n.value=django.gettext("Selected items :")+o.length;break;case si.IMAGECHOICE:{let r=qu.locateChoice(o,n);r.img&&(n.value=this.api.safeString(this.api.gui.icon(r.img)+" "+r.text));break}case si.INFO:continue;default:n.value=o}(n.value===""||n.value===void 0||n.value===null)&&(n.value="(empty)")}return e}static{this.\u0275fac=function(n){return new(n||t)(w(G))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-information"]],inputs:{value:"value",gui:"gui"},standalone:!1,decls:4,vars:1,consts:[[1,"card"],[1,"card-content"],["class","item",4,"ngFor","ngForOf"],[1,"item"],[1,"label",3,"innerHTML"],[1,"value",3,"innerHTML"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1),S(2,i7,3,2,"div",2),d(),M(3,"div"),d()),n&2&&(u(2),h("ngForOf",o.processFields()))},dependencies:[Ue],styles:[".card-content[_ngcontent-%COMP%]{padding:1rem;display:flex;flex-direction:column}.item[_ngcontent-%COMP%]{padding-bottom:.5rem;display:flex}.label[_ngcontent-%COMP%]{font-weight:700;width:32rem;overflow-x:hidden;text-overflow:ellipsis;text-align:end;margin-right:1rem;align-self:center}"]})}}return t})();var o7=t=>["/services","providers",t];function r7(t,i){t&1&&(c(0,"uds-translate"),g(1,"Summary"),d())}function a7(t,i){if(t&1&&M(0,"uds-information",15),t&2){let e=_(2);h("value",e.provider)("gui",e.gui)}}function s7(t,i){t&1&&(c(0,"uds-translate"),g(1,"Services"),d())}function l7(t,i){t&1&&(c(0,"uds-translate"),g(1,"Usage"),d())}function c7(t,i){t&1&&(c(0,"uds-translate"),g(1,"Logs"),d())}function d7(t,i){if(t&1){let e=A();c(0,"div",6)(1,"div",7)(2,"mat-tab-group",8),H("selectedIndexChange",function(o){y(e);let r=_();return W(r.selectedTab,o)||(r.selectedTab=o),C(o)}),c(3,"mat-tab"),S(4,r7,2,0,"ng-template",9),c(5,"div",10),S(6,a7,1,2,"uds-information",11),d()(),c(7,"mat-tab"),S(8,s7,2,0,"ng-template",9),c(9,"div",10)(10,"uds-table",12),b("newAction",function(o){y(e);let r=_();return C(r.onNewService(o))})("editAction",function(o){y(e);let r=_();return C(r.onEditService(o))})("deleteAction",function(o){y(e);let r=_();return C(r.onDeleteService(o))})("customButtonAction",function(o){y(e);let r=_();return C(r.onInformation(o))})("loaded",function(o){y(e);let r=_();return C(r.onLoad(o))}),d()()(),c(11,"mat-tab"),S(12,l7,2,0,"ng-template",9),c(13,"div",10)(14,"uds-table",13),b("deleteAction",function(o){y(e);let r=_();return C(r.onDeleteUsage(o))}),d()()(),c(15,"mat-tab"),S(16,c7,2,0,"ng-template",9),c(17,"div",10),M(18,"uds-logs-table",14),d()()()()()}if(t&2){let e=_();u(2),U("selectedIndex",e.selectedTab),h("@.disabled",!0),u(4),h("ngIf",e.provider&&e.gui),u(4),h("rest",e.services)("multiSelect",!0)("allowExport",!0)("customButtons",e.customButtons)("pageSize",e.api.config.admin.page_size)("tableId","providers-d-services"+e.provider.id),u(4),h("rest",e.usage)("multiSelect",!0)("allowExport",!0)("pageSize",e.api.config.admin.page_size)("tableId","providers-d-usage"+e.provider.id),u(4),h("rest",e.services.parentModel)("itemId",e.provider.id)("tableId","providers-d-log"+e.provider.id)}}var Px=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o,this.customButtons=[{id:"info",html:'info '+django.gettext("Information")+"",type:st.ONLY_MENU}],this.provider=null,this.gui=[],this.services={},this.usage={},this.selectedTab=1}ngOnInit(){let e=this.route.snapshot.paramMap.get("provider");e&&(this.services=this.rest.providers.detail(e,"services"),this.usage=this.rest.providers.detail(e,"usage"),this.services.parentModel.get(e).then(n=>{this.provider=n,this.services.parentModel.gui(n.type).then(o=>{this.gui=o})}))}onInformation(e){aP.launch(this.api,this.services,e.table.selection.selected[0])}onNewService(e){let n=django.gettext("New service")+": "+(e.param.name||"");this.api.gui.forms.typedNewForm(e,n,!1)}onEditService(e){let n=django.gettext("Edit service")+": "+(e.table.selection.selected[0].name||"");this.api.gui.forms.typedEditForm(e,n,!1)}onDeleteService(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete service"))}onDeleteUsage(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete user service"))}onLoad(e){if(e.param===!0){let n=this.route.snapshot.paramMap.get("service");if(n!==void 0){this.selectedTab=1;let o=e.table;o.dataSource.data.forEach(r=>{r.id===n&&o.selection.select(r)})}}}static{this.\u0275fac=function(n){return new(n||t)(w(Oe),w(J),w(G))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-provider-detail"]],standalone:!1,decls:9,vars:6,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary",3,"selectedIndexChange","selectedIndex"],["mat-tab-label",""],[1,"content"],[3,"value","gui",4,"ngIf"],["icon","providers",3,"newAction","editAction","deleteAction","customButtonAction","loaded","rest","multiSelect","allowExport","customButtons","pageSize","tableId"],["icon","usage",3,"deleteAction","rest","multiSelect","allowExport","pageSize","tableId"],[3,"rest","itemId","tableId"],[3,"value","gui"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),g(4,"arrow_back"),d()(),g(5," \xA0"),M(6,"img",4),g(7),d(),S(8,d7,19,17,"div",5),d()),n&2&&(u(2),h("routerLink",ni(4,o7,o.services.parentId)),u(4),h("src",o.api.staticURL("admin/img/icons/services.png"),we),u(),O(" \xA0",o.provider==null?null:o.provider.name," "),u(),h("ngIf",o.provider!==null))},dependencies:[pe,mn,nn,on,sn,se,Me,Li,Mo],encapsulation:2})}}return t})();var Nx=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o}ngOnInit(){}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New server"),!1)}onEdit(e){this.api.gui.forms.typedEditForm(e,django.gettext("Edit server"),!1)}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete server"))}onDetail(e){this.api.navigation.gotoServerDetail(e.param.id)}processElement(e){e.maintenance_state=e.maintenance_mode?django.gettext("In Maintenance"):django.gettext("Active")}onLoad(e){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("server"))}static{this.\u0275fac=function(n){return new(n||t)(w(Oe),w(J),w(G))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-servers"]],standalone:!1,decls:1,vars:7,consts:[["tableId","server-groups-table","icon","servers",3,"newAction","editAction","deleteAction","detailAction","loaded","rest","onItem","multiSelect","allowExport","hasPermissions","newGrouped","pageSize"]],template:function(n,o){n&1&&(c(0,"uds-table",0),b("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("detailAction",function(a){return o.onDetail(a)})("loaded",function(a){return o.onLoad(a)}),d()),n&2&&h("rest",o.rest.serverGroups)("onItem",o.processElement)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("newGrouped",!0)("pageSize",o.api.config.admin.page_size)},dependencies:[Me],encapsulation:2})}}return t})();var sP=nd(um());function u7(t,i){if(t&1){let e=A();c(0,"button",18),b("click",function(){y(e);let o=_();return C(o.downloadTemplate())}),c(1,"uds-translate"),g(2,"Download template"),d()()}}var P_=(()=>{class t{constructor(e,n,o){this.api=e,this.dialogRef=n,this.data=o,this.filename="",this.contains_header=!0,this.separator=",",this.result=[],this.title="Import CSV",this.help="Select a CSV file to import",this.template=[],o&&(this.title=o.title||this.title,this.help=o.help||this.help,this.template=o.template||this.template)}static launch(e,n){return V(this,null,function*(){let o=window.innerWidth<800?"60%":"40%",r=e.gui.dialog.open(t,{width:o,data:n,disableClose:!1});return new Promise((a,s)=>{r.afterClosed().subscribe(l=>{a({data:r.componentInstance.result})})})})}loadCSV(e){return V(this,null,function*(){let n=e.split(` `).map(r=>r.trim());this.contains_header&&(n=n.slice(1));let o=[];for(let r of n){let a=r.split(this.separator);a.length===1&&a[0]===""||o.push(a)}return o})}downloadTemplate(){let e=this.separator==="tab"?" ":this.separator,n=new Blob([this.template.join(e)+`\r -`],{type:"text/csv;charset=utf-8"});(0,tR.saveAs)(n,"import-template.csv",{autoBom:!1})}onFileChange(e){return V(this,null,function*(){let n=e.target.files[0];if(!n)return;this.filename=n.name;let o=new FileReader,r=new Yt;o.onload=s=>{let c=o.result;r.resolve(c)},o.readAsText(n);let a=yield r;this.result=yield this.loadCSV(a)})}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(Ae),w(Be))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-cvsimport"]],standalone:!1,decls:58,vars:9,consts:[["fileUpload",""],["mat-dialog-title",""],[3,"innerHTML"],[1,"content"],[1,"options"],[1,"field"],[3,"valueChange","value"],[3,"value"],["value",","],["value",";"],["value","|"],["value","tab"],[1,"upload"],["type","file","accept",".csv",1,"file-input",3,"change"],["type","text","matInput","","readonly","readonly",3,"ngModelChange","click","ngModel","placeholder","matTooltip"],["mat-stroked-button","","type","button",3,"click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","","color","primary"],["mat-raised-button","","mat-dialog-close","","color","warn",3,"click"],["mat-stroked-button","","type","button",3,"click"]],template:function(n,o){if(n&1){let r=A();l(0,"h4",1)(1,"uds-translate"),f(2,"CVS Import options for"),d(),f(3,"\xA0"),M(4,"b",2),d(),l(5,"mat-dialog-content")(6,"div",3)(7,"div",4)(8,"div",5)(9,"mat-form-field")(10,"mat-label")(11,"uds-translate"),f(12,"Header"),d()(),l(13,"mat-select",6),H("valueChange",function(s){return y(r),W(o.contains_header,s)||(o.contains_header=s),C(s)}),l(14,"mat-option",7)(15,"uds-translate"),f(16,"CSV contains header line"),d()(),l(17,"mat-option",7)(18,"uds-translate"),f(19,"CSV DOES NOT contains header line"),d()()()()(),l(20,"div",5)(21,"mat-form-field")(22,"mat-label")(23,"uds-translate"),f(24,"Separator"),d()(),l(25,"mat-select",6),H("valueChange",function(s){return y(r),W(o.separator,s)||(o.separator=s),C(s)}),l(26,"mat-option",8)(27,"uds-translate"),f(28,"Use comma"),d(),f(29," (,)"),d(),l(30,"mat-option",9)(31,"uds-translate"),f(32,"Use semicolon"),d(),f(33," (;)"),d(),l(34,"mat-option",10)(35,"uds-translate"),f(36,"Use pipe"),d(),f(37," (|)"),d(),l(38,"mat-option",11)(39,"uds-translate"),f(40,"Use tab"),d(),f(41," (tab)"),d()()()()()(),l(42,"div",12)(43,"mat-form-field")(44,"mat-label")(45,"uds-translate"),f(46,"File"),d()(),l(47,"input",13,0),b("change",function(s){return y(r),C(o.onFileChange(s))}),d(),l(49,"input",14),H("ngModelChange",function(s){return y(r),W(o.filename,s)||(o.filename=s),C(s)}),b("click",function(){y(r);let s=ge(48);return C(s.click())}),d()(),x(50,WG,3,0,"button",15),d()(),l(51,"mat-dialog-actions")(52,"button",16)(53,"uds-translate"),f(54,"Ok"),d()(),l(55,"button",17),b("click",function(){return y(r),C(o.filename="")}),l(56,"uds-translate"),f(57,"Cancel"),d()()()}n&2&&(u(4),h("innerHTML",o.title,Gt),u(9),U("value",o.contains_header),u(),h("value",!0),u(3),h("value",!1),u(8),U("value",o.separator),u(24),U("ngModel",o.filename),h("placeholder","Click here to select file to import.")("matTooltip",o.help),u(),h("ngIf",o.template.length))},dependencies:[de,st,ve,be,Se,To,jt,We,$e,Ge,me,Te,pt,ht,Qe,ae],styles:[".content[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;flex-wrap:wrap;width:100%}.options[_ngcontent-%COMP%]{width:100%}mat-form-field[_ngcontent-%COMP%]{width:100%!important}.mat-mdc-form-field[_ngcontent-%COMP%]{min-width:100%}.file-input[_ngcontent-%COMP%]{display:none}"]})}}return t})();var GG=t=>["/services","servers",t];function $G(t,i){t&1&&(l(0,"uds-translate"),f(1,"Summary"),d())}function qG(t,i){t&1&&(l(0,"uds-translate"),f(1,"Servers"),d())}function YG(t,i){if(t&1){let e=A();l(0,"div",6)(1,"div",7)(2,"mat-tab-group",8)(3,"mat-tab"),x(4,$G,2,0,"ng-template",9),l(5,"div",10),M(6,"uds-information",11),d()(),l(7,"mat-tab"),x(8,qG,2,0,"ng-template",9),l(9,"div",10)(10,"uds-table",12),b("newAction",function(o){y(e);let r=_();return C(r.onNew(o))})("editAction",function(o){y(e);let r=_();return C(r.onEdit(o))})("rowSelected",function(o){y(e);let r=_();return C(r.onRowSelect(o))})("deleteAction",function(o){y(e);let r=_();return C(r.onDelete(o))})("customButtonAction",function(o){y(e);let r=_();return C(r.customButtonAction(o))})("loaded",function(o){y(e);let r=_();return C(r.onLoad(o))}),d()()()()()()}if(t&2){let e=_();u(2),h("@.disabled",!0),u(4),h("value",e.server)("gui",e.gui),u(4),h("rest",e.servers)("multiSelect",!0)("allowExport",!0)("customButtons",e.customButtons)("pageSize",e.api.config.admin.page_size)("tableId","servers-d-servers"+e.server.id)}}var nR='pause'+django.gettext("Maintenance")+"",QG='pause'+django.gettext("Exit maintenance mode")+"",KG='pause'+django.gettext("Enter maintenance mode")+"",ZG='import_export'+django.gettext("Import CSV")+"",iR=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o,this.cButtons=[{id:"maintenance",html:nR,type:ot.SINGLE_SELECT}],this.server=null,this.gui=[],this.servers={}}get customButtons(){return this.api.user.isStaff?this.cButtons:[]}ngOnInit(){return V(this,null,function*(){let e=this.route.snapshot.paramMap.get("server");e&&(this.servers=this.rest.serverGroups.detail(e,"servers"),this.server=yield this.servers.parentModel.get(e),this.gui=yield this.servers.parentModel.gui(this.server.type),this.server.type.startsWith("UNMANAGED")&&this.cButtons.push({id:"import-csv",html:ZG,type:ot.ALWAYS}))})}onMaintenance(e){let n=e.table.selection.selected[0],o=n.maintenance_mode?django.gettext("Exit maintenance mode?"):django.gettext("Enter maintenance mode?");this.api.gui.questionDialog(django.gettext("Maintenance mode for")+" "+n.name,o).then(r=>{r&&this.servers.get(n.id+"/maintenance").then(()=>{e.table.overview()})})}onImportCSV(e){return V(this,null,function*(){let n=yield Tg.launch(this.api,{title:django.gettext("Import Servers"),help:django.gettext('Format of file must be "hostname,ip,mac,...". All fields except hostname are optional. Separator can be configured.')});if(n.data.length==0)return;let o=yield this.servers.put({data:n.data},this.server.id+"/importcsv");o&&o.length>0&&this.api.gui.alert("Errors found importing data: ",o.slice(0,16).join(`
-`)),e.table.overview()})}customButtonAction(e){return V(this,null,function*(){if(e.param.id=="maintenance")return yield this.onMaintenance(e);if(e.param.id=="import-csv")return yield this.onImportCSV(e)})}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New server"),!1)}onEdit(e){this.api.gui.forms.typedEditForm(e,django.gettext("Edit server"),!1)}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Remove server from server group"),"hostname")}onRowSelect(e){let n=e.table;if(n.selection.selected.length>1||n.selection.selected.length===0){this.customButtons[0].html=nR;return}n.selection.selected[0].maintenance_mode?this.customButtons[0].html=QG:this.customButtons[0].html=KG}onLoad(e){if(e.param===!0){let n=this.route.snapshot.paramMap.get("server");if(n!==void 0){let o=e.table;o.dataSource.data.forEach(r=>{r.id===n&&o.selection.select(r)})}}}static{this.\u0275fac=function(n){return new(n||t)(w(Ie),w(J),w(z))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-server-detail"]],standalone:!1,decls:9,vars:6,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary","selectedIndex","1"],["mat-tab-label",""],[1,"content"],[3,"value","gui"],["icon","servers",3,"newAction","editAction","rowSelected","deleteAction","customButtonAction","loaded","rest","multiSelect","allowExport","customButtons","pageSize","tableId"]],template:function(n,o){n&1&&(l(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),f(4,"arrow_back"),d()(),f(5," \xA0"),M(6,"img",4),f(7),d(),x(8,YG,11,9,"div",5),d()),n&2&&(u(2),h("routerLink",Jn(4,GG,o.servers.parentId)),u(4),h("src",o.api.staticURL("admin/img/icons/servers.png"),Ce),u(),P(" \xA0",o.server==null?null:o.server.name," "),u(),h("ngIf",o.server!==null))},dependencies:[de,ln,Qt,Kt,Jt,ae,xe,mo],styles:[".row-maintenance-true>mat-cell{color:orange!important}"]})}}return t})();var KC=(()=>{class t{constructor(e,n,o){this.api=e,this.route=n,this.rest=o}ngOnInit(){return V(this,null,function*(){let e=this.route.snapshot.paramMap.get("authenticator")})}onDetail(e){return V(this,null,function*(){this.api.navigation.gotoAuthenticatorDetail(e.param.id)})}onNew(e){return V(this,null,function*(){this.api.gui.forms.typedNewForm(e,django.gettext("New Authenticator"),!0)})}onEdit(e){return V(this,null,function*(){this.api.gui.forms.typedEditForm(e,django.gettext("Edit Authenticator"),!0)})}onDelete(e){return V(this,null,function*(){this.api.gui.forms.deleteForm(e,django.gettext("Delete Authenticator"))})}onLoad(e){return V(this,null,function*(){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("authenticator"))})}processElement(e){e.visible=this.api.boolAsHumanString(e.visible)}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(Ie),w(J))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-authenticators"]],standalone:!1,decls:2,vars:6,consts:[["icon","authenticators",3,"newAction","editAction","deleteAction","detailAction","loaded","rest","multiSelect","allowExport","hasPermissions","onItem","pageSize"]],template:function(n,o){n&1&&(l(0,"div")(1,"uds-table",0),b("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("detailAction",function(a){return o.onDetail(a)})("loaded",function(a){return o.onLoad(a)}),d()()),n&2&&(u(),h("rest",o.rest.authenticators)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("onItem",o.processElement)("pageSize",o.api.config.admin.page_size))},dependencies:[xe],encapsulation:2})}}return t})();var ZC=(()=>{class t{constructor(e,n,o){this.api=e,this.route=n,this.rest=o}ngOnInit(){let e=this.route.snapshot.paramMap.get("mfa")}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New MFA"))}onEdit(e){this.api.gui.forms.typedEditForm(e,django.gettext("Edit MFA"))}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete MFA"))}onLoad(e){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("mfa"))}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(Ie),w(J))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-mfas"]],standalone:!1,decls:2,vars:5,consts:[["icon","mfas",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(n,o){n&1&&(l(0,"div")(1,"uds-table",0),b("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("loaded",function(a){return o.onLoad(a)}),d()()),n&2&&(u(),h("rest",o.rest.mfas)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",o.api.config.admin.page_size))},dependencies:[xe],encapsulation:2})}}return t})();var XG=["panel"],JG=["*"];function e$(t,i){if(t&1&&(l(0,"div",1,0),re(2),d()),t&2){let e=i.id,n=_();Vt(n._classList),te("mat-mdc-autocomplete-visible",n.showPanel)("mat-mdc-autocomplete-hidden",!n.showPanel)("mat-autocomplete-panel-animations-enabled",!n._animationsDisabled)("mat-primary",n._color==="primary")("mat-accent",n._color==="accent")("mat-warn",n._color==="warn"),h("id",n.id),ee("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby(e))}}var XC=class{source;option;constructor(i,e){this.source=i,this.option=e}},oR=new k("mat-autocomplete-default-options",{providedIn:"root",factory:t$});function t$(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1,hasBackdrop:!1}}var Zl=(()=>{class t{_changeDetectorRef=m(De);_elementRef=m(K);_defaults=m(oR);_animationsDisabled=m(et,{optional:!0})==="NoopAnimations";_activeOptionChanges=he.EMPTY;_keyManager;showPanel=!1;get isOpen(){return this._isOpen&&this.showPanel}_isOpen=!1;_latestOpeningTrigger;_setColor(e){this._color=e,this._changeDetectorRef.markForCheck()}_color;template;panel;options;optionGroups;ariaLabel;ariaLabelledby;displayWith=null;autoActiveFirstOption;autoSelectActiveOption;requireSelection;panelWidth;disableRipple;optionSelected=new T;opened=new T;closed=new T;optionActivated=new T;set classList(e){this._classList=e,this._elementRef.nativeElement.className=""}_classList;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator;_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}id=m(mt).getId("mat-autocomplete-");inertGroups;constructor(){let e=m(Je);this.inertGroups=e?.SAFARI||!1,this.autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this.autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.requireSelection=!!this._defaults.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new fs(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options?.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){let n=new XC(this,e);this.optionSelected.emit(n)}_getPanelAriaLabelledby(e){if(this.ariaLabel)return null;let n=e?e+" ":"";return this.ariaLabelledby?n+this.ariaLabelledby:e}_skipPredicate(){return!1}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(n,o,r){if(n&1&&(Ne(r,Qe,5),Ne(r,Gl,5)),n&2){let a;q(a=Y())&&(o.options=a),q(a=Y())&&(o.optionGroups=a)}},viewQuery:function(n,o){if(n&1&&(se(bt,7),se(XG,5)),n&2){let r;q(r=Y())&&(o.template=r.first),q(r=Y())&&(o.panel=r.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",G],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",G],requireSelection:[2,"requireSelection","requireSelection",G],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",G],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",G]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[_e([{provide:Wl,useExisting:t}])],ngContentSelectors:JG,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(n,o){n&1&&(Pe(),x(0,e$,3,17,"ng-template"))},styles:[`div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:relative;border-radius:var(--mat-autocomplete-container-shape, var(--mat-sys-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-autocomplete-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-autocomplete-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}@keyframes _mat-autocomplete-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}.mat-autocomplete-panel-animations-enabled{animation:_mat-autocomplete-enter 120ms cubic-bezier(0, 0, 0.2, 1)}mat-autocomplete{display:none} -`],encapsulation:2,changeDetection:0})}return t})();var n$={provide:hi,useExisting:en(()=>Ds),multi:!0};var rR=new k("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(Rt);return()=>t.scrollStrategies.reposition()}});function i$(t){return()=>t.scrollStrategies.reposition()}var o$={provide:rR,deps:[Rt],useFactory:i$},Ds=(()=>{class t{_environmentInjector=m(an);_element=m(K);_overlay=m(Rt);_viewContainerRef=m(Et);_zone=m(ne);_changeDetectorRef=m(De);_dir=m(Ft,{optional:!0});_formField=m(lo,{optional:!0,host:!0});_viewportRuler=m(Mi);_scrollStrategy=m(rR);_renderer=m(At);_defaults=m(oR,{optional:!0});_overlayRef;_portal;_componentDestroyed=!1;_initialized=new B;_keydownSubscription;_outsideClickSubscription;_cleanupWindowBlur;_previousValue;_valueOnAttach;_valueOnLastKeydown;_positionStrategy;_manuallyFloatingLabel=!1;_closingActionsSubscription;_viewportSubscription=he.EMPTY;_breakpointObserver=m(ds);_handsetLandscapeSubscription=he.EMPTY;_canOpenOnNextFocus=!0;_valueBeforeAutoSelection;_pendingAutoselectedOption;_closeKeyEventStream=new B;_windowBlurHandler=()=>{this._canOpenOnNextFocus=this.panelOpen||!this._hasFocus()};_onChange=()=>{};_onTouched=()=>{};autocomplete;position="auto";connectedTo;autocompleteAttribute="off";autocompleteDisabled;constructor(){}_aboveClass="mat-mdc-autocomplete-panel-above";ngAfterViewInit(){this._initialized.next(),this._initialized.complete(),this._cleanupWindowBlur=this._renderer.listen("window","blur",this._windowBlurHandler)}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){this._cleanupWindowBlur?.(),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}_overlayAttached=!1;openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&ma(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return yt(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Ye(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Ye(()=>this._overlayAttached)):ie()).pipe(le(e=>e instanceof Hl?e:null))}optionSelections=Yi(()=>{let e=this.autocomplete?this.autocomplete.options:null;return e?e.changes.pipe(Dt(e),St(()=>yt(...e.map(n=>n.onSelectionChange)))):this._initialized.pipe(St(()=>this.optionSelections))});get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return new Le(e=>{let n=r=>{let a=Hn(r),s=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,c=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;this._overlayAttached&&a!==this._element.nativeElement&&!this._hasFocus()&&(!s||!s.contains(a))&&(!c||!c.contains(a))&&this._overlayRef&&!this._overlayRef.overlayElement.contains(a)&&e.next(r)},o=[this._renderer.listen("document","click",n),this._renderer.listen("document","auxclick",n),this._renderer.listen("document","touchend",n)];return()=>{o.forEach(r=>r())}})}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){let n=e.keyCode,o=Mt(e);if(n===27&&!o&&e.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&n===13&&this.panelOpen&&!o)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){let r=this.autocomplete._keyManager.activeItem,a=n===38||n===40;n===9||a&&!o&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):a&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(a||this.autocomplete._keyManager.activeItem!==r)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let n=e.target,o=n.value;if(n.type==="number"&&(o=o==""?null:parseFloat(o)),this._previousValue!==o){if(this._previousValue=o,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(o),!o)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let r=this.autocomplete.options?.find(a=>a.selected);if(r){let a=this._getDisplayValue(r.value);o!==a&&r.deselect(!1)}}if(this._canOpen()&&this._hasFocus()){let r=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(r)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_hasFocus(){return to()===this._element.nativeElement}_floatLabel(e=!1){this._formField&&this._formField.floatLabel==="auto"&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let e=new Le(o=>{Wt(()=>{o.next()},{injector:this._environmentInjector})}),n=this.autocomplete.options?.changes.pipe(Ht(()=>this._positionStrategy.reapplyLastPosition()),vc(0))??ie();return yt(e,n).pipe(St(()=>this._zone.run(()=>{let o=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),o!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),xt(1)).subscribe(o=>this._setValueAndClose(o))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(e){let n=this.autocomplete;return n&&n.displayWith?n.displayWith(e):e}_assignOptionValue(e){let n=this._getDisplayValue(e);e==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(n??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){let n=this.autocomplete,o=e?e.source:this._pendingAutoselectedOption;o?(this._clearPreviousSelectedOption(o),this._assignOptionValue(o.value),this._onChange(o.value),n._emitSelectEvent(o),this._element.nativeElement.focus()):n.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,n){this.autocomplete?.options?.forEach(o=>{o!==e&&o.selected&&o.deselect(n)})}_openPanelInternal(e=this._element.nativeElement.value){if(this._attachOverlay(e),this._floatLabel(),this._trackedModal){let n=this.autocomplete.id;Pl(this._trackedModal,"aria-owns",n)}}_attachOverlay(e){this.autocomplete;let n=this._overlayRef;n?(this._positionStrategy.setOrigin(this._getConnectedElement()),n.updateSize({width:this._getPanelWidth()})):(this._portal=new Dn(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),n=this._overlay.create(this._getOverlayConfig()),this._overlayRef=n,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&n&&n.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(xf.HandsetLandscape).subscribe(r=>{r.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),n&&!n.hasAttached()&&(n.attach(this._portal),this._valueOnAttach=e,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let o=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&o!==this.panelOpen&&this._emitOpened()}_handlePanelKeydown=e=>{(e.keyCode===27&&!Mt(e)||e.keyCode===38&&Mt(e,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),e.stopPropagation(),e.preventDefault())};_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new di({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,hasBackdrop:this._defaults?.hasBackdrop,backdropClass:this._defaults?.backdropClass,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){let e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){let n=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],o=this._aboveClass,r=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:o},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:o}],a;this.position==="above"?a=r:this.position==="below"?a=n:a=[...n,...r],e.withPositions(a)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let e=this.autocomplete;if(e.autoActiveFirstOption){let n=-1;for(let o=0;o .cdk-overlay-container [aria-modal="true"]');if(!e)return;let n=this.autocomplete.id;this._trackedModal&&ma(this._trackedModal,"aria-owns",n),Pl(e,"aria-owns",n),this._trackedModal=e}_clearFromModal(){if(this._trackedModal){let e=this.autocomplete.id;ma(this._trackedModal,"aria-owns",e),this._trackedModal=null}}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(n,o){n&1&&b("focusin",function(){return o._handleFocus()})("blur",function(){return o._onTouched()})("input",function(a){return o._handleInput(a)})("keydown",function(a){return o._handleKeydown(a)})("click",function(){return o._handleClick()}),n&2&&ee("autocomplete",o.autocompleteAttribute)("role",o.autocompleteDisabled?null:"combobox")("aria-autocomplete",o.autocompleteDisabled?null:"list")("aria-activedescendant",o.panelOpen&&o.activeOption?o.activeOption.id:null)("aria-expanded",o.autocompleteDisabled?null:o.panelOpen.toString())("aria-controls",o.autocompleteDisabled||!o.panelOpen||o.autocomplete==null?null:o.autocomplete.id)("aria-haspopup",o.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",G]},exportAs:["matAutocompleteTrigger"],features:[_e([n$]),He]})}return t})(),aR=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[o$],imports:[Wn,$l,ue,Vi,$l,ue]})}return t})();function r$(t,i){if(t&1&&(l(0,"div")(1,"uds-translate"),f(2,"Edit user"),d(),f(3),d()),t&2){let e=_();u(3),P(" ",e.user.name," ")}}function a$(t,i){t&1&&(l(0,"uds-translate"),f(1,"New user"),d())}function s$(t,i){if(t&1){let e=A();l(0,"mat-form-field")(1,"mat-label"),f(2),d(),l(3,"input",19),H("ngModelChange",function(o){y(e);let r=_();return W(r.user.name,o)||(r.user.name=o),C(o)}),d()()}if(t&2){let e=_();u(2),P(" ",e.authenticator.type_info.label_username," "),u(),U("ngModel",e.user.name),h("disabled",e.user.id)}}function l$(t,i){if(t&1&&(l(0,"mat-option",21),f(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),Ji(" ",e.id," (",e.name,") ")}}function c$(t,i){if(t&1){let e=A();l(0,"mat-form-field")(1,"mat-label"),f(2),d(),l(3,"input",20),H("ngModelChange",function(o){y(e);let r=_();return W(r.user.name,o)||(r.user.name=o),C(o)}),b("input",function(o){y(e);let r=_();return C(r.filterUser(o))}),d(),l(4,"mat-autocomplete",null,1),x(6,l$,2,3,"mat-option",16),d()()}if(t&2){let e=ge(5),n=_();u(2),P(" ",n.authenticator.type_info.label_username," "),u(),U("ngModel",n.user.name),h("matAutocomplete",e),u(3),h("ngForOf",n.users)}}function d$(t,i){if(t&1){let e=A();l(0,"mat-form-field")(1,"mat-label"),f(2),d(),l(3,"input",22),H("ngModelChange",function(o){y(e);let r=_();return W(r.user.password,o)||(r.user.password=o),C(o)}),d()()}if(t&2){let e=_();u(2),P(" ",e.authenticator.type_info.label_password," "),u(),U("ngModel",e.user.password)}}function u$(t,i){if(t&1){let e=A();l(0,"mat-form-field")(1,"mat-label")(2,"uds-translate"),f(3,"MFA"),d()(),l(4,"input",23),H("ngModelChange",function(o){y(e);let r=_();return W(r.user.mfa_data,o)||(r.user.mfa_data=o),C(o)}),d()()}if(t&2){let e=_();u(4),U("ngModel",e.user.mfa_data)}}function m$(t,i){if(t&1&&(l(0,"mat-option",21),f(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),P(" ",e.name," ")}}var ew=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.groups=[],this.onSave=new T(!0),this.users=[],this.authenticator=r.authenticator,this.user={id:void 0,name:"",real_name:"",comments:"",state:"A",is_admin:!1,staff_member:!1,password:"",role:"user",mfa:"",groups:[]},r.user!==void 0&&(this.user.id=r.user.id,this.user.name=r.user.name)}static launch(e,n,o){let r=window.innerWidth<800?"60%":"40%";return e.gui.dialog.open(t,{width:r,position:{top:window.innerWidth<800?"0px":"7rem"},data:{authenticator:n,user:o},disableClose:!1}).componentInstance.onSave}ngOnInit(){this.rest.authenticators.detail(this.authenticator.id,"groups").overview().then(e=>{this.groups=e}),this.user.id&&this.rest.authenticators.detail(this.authenticator.id,"users").get(this.user.id).then(e=>{this.user=e,this.user.role=e.is_admin?"admin":e.staff_member?"staff":"user"},e=>{this.dialogRef.close()})}roleChanged(e){this.user.is_admin=e==="admin",this.user.staff_member=e==="admin"||e==="staff"}filterUser(e){let n=e.target.value;this.rest.authenticators.search(this.authenticator.id,"user",n,100).then(o=>{this.users.length=0,o.forEach(r=>{this.users.push(r)})})}save(){this.rest.authenticators.detail(this.authenticator.id,"users").save(this.user).then(e=>{this.dialogRef.close(),this.onSave.emit(!0)})}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(J),w(Ae),w(Be))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-new-user"]],standalone:!1,decls:58,vars:12,consts:[["nousertitle",""],["auto","matAutocomplete"],["mat-dialog-title",""],[4,"ngIf","ngIfElse"],[1,"content"],[4,"ngIf"],["type","text","matInput","","autocomplete","new-real_name",3,"ngModelChange","ngModel"],["type","text","matInput","","autocomplete","new-comments",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],["value","A"],["value","I"],[3,"ngModelChange","valueChange","ngModel"],["value","admin"],["value","staff"],["value","user"],["multiple","",3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],["type","text","matInput","","autocomplete","new-username",3,"ngModelChange","ngModel","disabled"],["type","text","aria-label","Number","matInput","",3,"ngModelChange","input","ngModel","matAutocomplete"],[3,"value"],["type","password","matInput","","autocomplete","new-password",3,"ngModelChange","ngModel"],["type","text","matInput","",3,"ngModelChange","ngModel"]],template:function(n,o){if(n&1){let r=A();l(0,"h4",2),x(1,r$,4,1,"div",3)(2,a$,2,0,"ng-template",null,0,mn),d(),l(4,"mat-dialog-content")(5,"div",4),x(6,s$,4,3,"mat-form-field",5)(7,c$,7,4,"mat-form-field",5),l(8,"mat-form-field")(9,"mat-label")(10,"uds-translate"),f(11,"Real name"),d()(),l(12,"input",6),H("ngModelChange",function(s){return y(r),W(o.user.real_name,s)||(o.user.real_name=s),C(s)}),d()(),l(13,"mat-form-field")(14,"mat-label")(15,"uds-translate"),f(16,"Comments"),d()(),l(17,"input",7),H("ngModelChange",function(s){return y(r),W(o.user.comments,s)||(o.user.comments=s),C(s)}),d()(),l(18,"mat-form-field")(19,"mat-label")(20,"uds-translate"),f(21,"State"),d()(),l(22,"mat-select",8),H("ngModelChange",function(s){return y(r),W(o.user.state,s)||(o.user.state=s),C(s)}),l(23,"mat-option",9)(24,"uds-translate"),f(25,"Enabled"),d()(),l(26,"mat-option",10)(27,"uds-translate"),f(28,"Disabled"),d()()()(),l(29,"mat-form-field")(30,"mat-label")(31,"uds-translate"),f(32,"Role"),d()(),l(33,"mat-select",11),H("ngModelChange",function(s){return y(r),W(o.user.role,s)||(o.user.role=s),C(s)}),b("valueChange",function(s){return y(r),C(o.roleChanged(s))}),l(34,"mat-option",12)(35,"uds-translate"),f(36,"Admin"),d()(),l(37,"mat-option",13)(38,"uds-translate"),f(39,"Staff member"),d()(),l(40,"mat-option",14)(41,"uds-translate"),f(42,"User"),d()()()(),x(43,d$,4,2,"mat-form-field",5)(44,u$,5,1,"mat-form-field",5),l(45,"mat-form-field")(46,"mat-label")(47,"uds-translate"),f(48,"Groups"),d()(),l(49,"mat-select",15),H("ngModelChange",function(s){return y(r),W(o.user.groups,s)||(o.user.groups=s),C(s)}),x(50,m$,2,2,"mat-option",16),d()()()(),l(51,"mat-dialog-actions")(52,"button",17)(53,"uds-translate"),f(54,"Cancel"),d()(),l(55,"button",18),b("click",function(){return y(r),C(o.save())}),l(56,"uds-translate"),f(57,"Ok"),d()()()}if(n&2){let r=ge(3);u(),h("ngIf",o.user.id)("ngIfElse",r),u(5),h("ngIf",o.authenticator.type_info.search_users_supported===!1||o.user.id),u(),h("ngIf",o.authenticator.type_info.search_users_supported===!0&&!o.user.id),u(5),U("ngModel",o.user.real_name),u(5),U("ngModel",o.user.comments),u(5),U("ngModel",o.user.state),u(11),U("ngModel",o.user.role),u(10),h("ngIf",o.authenticator.type_info.needs_password),u(),h("ngIf",o.authenticator.type_info.mfa_data_enabled),u(5),U("ngModel",o.user.groups),u(),h("ngForOf",o.groups)}},dependencies:[Fe,de,st,ve,be,Se,jt,We,$e,Ge,me,Te,pt,ht,Qe,Zl,Ds,ae],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]})}}return t})();function p$(t,i){if(t&1&&(l(0,"div")(1,"uds-translate"),f(2,"Edit group"),d(),f(3),d()),t&2){let e=_();u(3),P(" ",e.group.name," ")}}function h$(t,i){t&1&&(l(0,"uds-translate"),f(1,"New group"),d())}function f$(t,i){if(t&1){let e=A();l(0,"mat-form-field")(1,"mat-label"),f(2),d(),l(3,"input",14),H("ngModelChange",function(o){y(e);let r=_(2);return W(r.group.name,o)||(r.group.name=o),C(o)}),d()()}if(t&2){let e=_(2);u(2),P(" ",e.authenticator.type_info.label_groupname," "),u(),U("ngModel",e.group.name),h("disabled",e.group.id)}}function g$(t,i){if(t&1&&(l(0,"mat-option",17),f(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),Ji(" ",e.id," (",e.name,") ")}}function _$(t,i){if(t&1){let e=A();l(0,"mat-form-field")(1,"mat-label"),f(2),d(),l(3,"input",15),H("ngModelChange",function(o){y(e);let r=_(2);return W(r.group.name,o)||(r.group.name=o),C(o)}),b("input",function(o){y(e);let r=_(2);return C(r.filterGroup(o))}),d(),l(4,"mat-autocomplete",null,3),x(6,g$,2,3,"mat-option",16),d()()}if(t&2){let e=ge(5),n=_(2);u(2),P(" ",n.authenticator.type_info.label_groupname," "),u(),U("ngModel",n.group.name),h("matAutocomplete",e),u(3),h("ngForOf",n.fltrGroup)}}function v$(t,i){if(t&1&&(dt(0),x(1,f$,4,3,"mat-form-field",13)(2,_$,7,4,"mat-form-field",13),ut()),t&2){let e=_();u(),h("ngIf",e.authenticator.type_info.search_groups_supported===!1||e.group.id),u(),h("ngIf",e.authenticator.type_info.search_groups_supported===!0&&!e.group.id)}}function b$(t,i){if(t&1){let e=A();l(0,"mat-form-field")(1,"mat-label")(2,"uds-translate"),f(3,"Meta group name"),d()(),l(4,"input",14),H("ngModelChange",function(o){y(e);let r=_();return W(r.group.name,o)||(r.group.name=o),C(o)}),d()()}if(t&2){let e=_();u(4),U("ngModel",e.group.name),h("disabled",e.group.id)}}function y$(t,i){if(t&1&&(l(0,"mat-option",17),f(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),P(" ",e.name," ")}}function C$(t,i){if(t&1){let e=A();dt(0),l(1,"mat-form-field")(2,"mat-label")(3,"uds-translate"),f(4,"Service Pools"),d()(),l(5,"mat-select",18),H("ngModelChange",function(o){y(e);let r=_();return W(r.group.pools,o)||(r.group.pools=o),C(o)}),x(6,y$,2,2,"mat-option",16),d()(),ut()}if(t&2){let e=_();u(5),U("ngModel",e.group.pools),u(),h("ngForOf",e.servicePools)}}function w$(t,i){if(t&1&&(l(0,"mat-option",17),f(1),d()),t&2){let e=_().$implicit;h("value",e.id),u(),P(" ",e.name," ")}}function x$(t,i){if(t&1&&(dt(0),x(1,w$,2,2,"mat-option",20),ut()),t&2){let e=i.$implicit;u(),h("ngIf",e.type==="group")}}function D$(t,i){if(t&1){let e=A();l(0,"mat-form-field")(1,"mat-label")(2,"uds-translate"),f(3,"Match mode"),d()(),l(4,"mat-select",8),H("ngModelChange",function(o){y(e);let r=_();return W(r.group.meta_if_any,o)||(r.group.meta_if_any=o),C(o)}),l(5,"mat-option",17)(6,"uds-translate"),f(7,"Any group"),d()(),l(8,"mat-option",17)(9,"uds-translate"),f(10,"All groups"),d()()()(),l(11,"mat-form-field")(12,"mat-label")(13,"uds-translate"),f(14,"Selected Groups"),d()(),l(15,"mat-select",18),H("ngModelChange",function(o){y(e);let r=_();return W(r.group.groups,o)||(r.group.groups=o),C(o)}),x(16,x$,2,1,"ng-container",19),d()()}if(t&2){let e=_();u(4),U("ngModel",e.group.meta_if_any),u(),h("value",!0),u(3),h("value",!1),u(7),U("ngModel",e.group.groups),u(),h("ngForOf",e.groups)}}var tw=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.onSave=new T(!0),this.servicePools=[],this.groups=[],this.fltrGroup=[],this.authenticator=r.authenticator,this.group={id:void 0,type:r.groupType,name:"",comments:"",meta_if_any:!1,skip_mfa:"I",state:"A",groups:[],pools:[]},r.group!==void 0&&(this.group.id=r.group.id,this.group.type=r.group.type,this.group.name=r.group.name)}static launch(e,n,o,r){let a=window.innerWidth<800?"60%":"40%";return e.gui.dialog.open(t,{width:a,position:{top:window.innerWidth<800?"0px":"7rem"},data:{authenticator:n,groupType:o,group:r},disableClose:!0}).componentInstance.onSave}ngOnInit(){let e=this.rest.authenticators.detail(this.authenticator.id,"groups");this.group.id!==void 0&&e.get(this.group.id).then(n=>{this.group=n},n=>{this.dialogRef.close()}),this.group.type==="meta"?e.summary().then(n=>this.groups=n):this.rest.servicesPools.summary().then(n=>this.servicePools=n)}filterGroup(e){let n=e.target.value;this.rest.authenticators.search(this.authenticator.id,"group",n,100).then(o=>{this.fltrGroup.length=0,o.forEach(r=>{this.fltrGroup.push(r)})})}getMatchValue(){return django.gettext("Match mode")+this.group.meta_if_any?django.gettext("Any"):django.gettext("All")}save(){this.rest.authenticators.detail(this.authenticator.id,"groups").save(this.group).then(e=>{this.dialogRef.close(),this.onSave.emit(!0)})}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(J),w(Ae),w(Be))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-new-group"]],standalone:!1,decls:46,vars:9,consts:[["nousertitle",""],["metafirst",""],["metasecond",""],["auto","matAutocomplete"],["mat-dialog-title",""],[4,"ngIf","ngIfElse"],[1,"content"],["type","text","matInput","",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],["value","A"],["value","I"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],[4,"ngIf"],["type","text","matInput","",3,"ngModelChange","ngModel","disabled"],["type","text","aria-label","Number","matInput","",3,"ngModelChange","input","ngModel","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["multiple","",3,"ngModelChange","ngModel"],[4,"ngFor","ngForOf"],[3,"value",4,"ngIf"]],template:function(n,o){if(n&1){let r=A();l(0,"h4",4),x(1,p$,4,1,"div",5)(2,h$,2,0,"ng-template",null,0,mn),d(),l(4,"mat-dialog-content")(5,"div",6),x(6,v$,3,2,"ng-container",5)(7,b$,5,2,"ng-template",null,1,mn),l(9,"mat-form-field")(10,"mat-label")(11,"uds-translate"),f(12,"Comments"),d()(),l(13,"input",7),H("ngModelChange",function(s){return y(r),W(o.group.comments,s)||(o.group.comments=s),C(s)}),d()(),l(14,"mat-form-field")(15,"mat-label")(16,"uds-translate"),f(17,"State"),d()(),l(18,"mat-select",8),H("ngModelChange",function(s){return y(r),W(o.group.state,s)||(o.group.state=s),C(s)}),l(19,"mat-option",9)(20,"uds-translate"),f(21,"Enabled"),d()(),l(22,"mat-option",10)(23,"uds-translate"),f(24,"Disabled"),d()()()(),l(25,"mat-form-field")(26,"mat-label")(27,"uds-translate"),f(28,"Skip MFA"),d()(),l(29,"mat-select",8),H("ngModelChange",function(s){return y(r),W(o.group.skip_mfa,s)||(o.group.skip_mfa=s),C(s)}),l(30,"mat-option",9)(31,"uds-translate"),f(32,"Enabled"),d()(),l(33,"mat-option",10)(34,"uds-translate"),f(35,"Disabled"),d()()()(),x(36,C$,7,2,"ng-container",5)(37,D$,17,5,"ng-template",null,2,mn),d()(),l(39,"mat-dialog-actions")(40,"button",11)(41,"uds-translate"),f(42,"Cancel"),d()(),l(43,"button",12),b("click",function(){return y(r),C(o.save())}),l(44,"uds-translate"),f(45,"Ok"),d()()()}if(n&2){let r=ge(3),a=ge(8),s=ge(38);u(),h("ngIf",o.group.id)("ngIfElse",r),u(5),h("ngIf",o.group.type==="group")("ngIfElse",a),u(7),U("ngModel",o.group.comments),u(5),U("ngModel",o.group.state),u(11),U("ngModel",o.group.skip_mfa),u(7),h("ngIf",o.group.type==="group")("ngIfElse",s)}},dependencies:[Fe,de,st,ve,be,Se,jt,We,$e,Ge,me,Te,pt,ht,Qe,Zl,Ds,ae],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.label-match[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0;line-height:18px;overflow:hidden;pointer-events:none;position:absolute;text-align:left;text-overflow:ellipsis;top:.5em;transform:matrix(.75,0,0,.75,0,-21.5);transform-origin:0px 0px;white-space:nowrap}"]})}}return t})();function S$(t,i){t&1&&(l(0,"uds-translate"),f(1,"Groups"),d())}function E$(t,i){if(t&1&&(l(0,"mat-tab"),x(1,S$,2,0,"ng-template",2),M(2,"uds-table",6),d()),t&2){let e=_();u(2),h("rest",e.group)("pageSize",6)}}function M$(t,i){t&1&&(l(0,"uds-translate"),f(1,"Services Pools"),d())}function I$(t,i){if(t&1&&(l(0,"mat-tab"),x(1,M$,2,0,"ng-template",2),M(2,"uds-table",6),d()),t&2){let e=_();u(2),h("rest",e.servicesPools)("pageSize",6)}}function T$(t,i){t&1&&(l(0,"uds-translate"),f(1,"Assigned Services"),d())}function k$(t,i){if(t&1&&(l(0,"mat-tab"),x(1,T$,2,0,"ng-template",2),M(2,"uds-table",6),d()),t&2){let e=_();u(2),h("rest",e.userServices)("pageSize",6)}}function A$(t,i){t&1&&(l(0,"uds-translate"),f(1,"Logs"),d())}var R$=[{field:"name",title:django.gettext("Group")},{field:"comments",title:django.gettext("Comments")}],O$=[{field:"name",title:django.gettext("Pool")},{field:"state",title:django.gettext("State")},{field:"user_services_count",title:django.gettext("User Services")}],P$=[{field:"unique_id",title:django.gettext("Unique ID")},{field:"friendly_name",title:django.gettext("Friendly Name")},{field:"in_use",title:django.gettext("In Use")},{field:"ip",title:django.gettext("IP")},{field:"pool",title:django.gettext("Services Pool")}],sR=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.group={},this.servicesPools={},this.userServices={},this.users=r.users,this.user=r.user}static launch(e,n,o){let r=window.innerWidth<800?"80%":"60%",a=e.gui.dialog.open(t,{width:r,position:{top:window.innerWidth<800?"0px":"7rem"},data:{users:n,user:o},disableClose:!1})}ngOnInit(){return V(this,null,function*(){let e=()=>V(this,null,function*(){let r=yield this.rest.authenticators.detail(this.users.parentId,"users").get(this.user.id);return(yield this.rest.authenticators.detail(this.users.parentId,"groups").overview()).filter(s=>r.groups.includes(s.id))}),n=()=>V(this,null,function*(){return this.users.invoke(this.user.id+"/servicesPools")}),o=()=>V(this,null,function*(){return(yield this.users.invoke(this.user.id+"/userServices")).map(a=>(a.in_use=this.api.boolAsHumanString(a.in_use),a))});this.group=new uo(django.gettext("Groups"),e,R$,this.user.id+"infogrp"),this.servicesPools=new uo(django.gettext("Services Pools"),n,O$,this.user.id+"infopool"),this.userServices=new uo(django.gettext("Assigned services"),o,P$,this.user.id+"userservpool")})}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(J),w(Ae),w(Be))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-user-information"]],standalone:!1,decls:20,vars:14,consts:[["mat-dialog-title",""],[4,"ngIf"],["mat-tab-label",""],[1,"content"],[3,"rest","itemId","tableId","pageSize"],["mat-raised-button","","mat-dialog-close","","color","primary"],[3,"rest","pageSize"]],template:function(n,o){n&1&&(l(0,"h4",0)(1,"uds-translate"),f(2,"Information for"),d(),f(3),d(),l(4,"mat-dialog-content")(5,"mat-tab-group"),x(6,E$,3,2,"mat-tab",1),_t(7,"notEmpty"),x(8,I$,3,2,"mat-tab",1),_t(9,"notEmpty"),x(10,k$,3,2,"mat-tab",1),_t(11,"notEmpty"),l(12,"mat-tab"),x(13,A$,2,0,"ng-template",2),l(14,"div",3),M(15,"uds-logs-table",4),d()()()(),l(16,"mat-dialog-actions")(17,"button",5)(18,"uds-translate"),f(19,"Ok"),d()()()),n&2&&(u(3),P(" ",o.user.name,` -`),u(3),h("ngIf",Ct(7,8,o.group)),u(2),h("ngIf",Ct(9,10,o.servicesPools)),u(2),h("ngIf",Ct(11,12,o.userServices)),u(5),h("rest",o.users)("itemId",o.user.id)("tableId","userInfo-d-log"+o.user.id)("pageSize",5))},dependencies:[de,Se,jt,We,$e,Ge,Qt,Kt,Jt,ae,xe,Ti,fn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]})}}return t})();function F$(t,i){t&1&&(l(0,"uds-translate"),f(1,"Services Pools"),d())}function N$(t,i){if(t&1&&(l(0,"mat-tab"),x(1,F$,2,0,"ng-template",3),M(2,"uds-table",4),d()),t&2){let e=_();u(2),h("rest",e.servicesPools)("pageSize",6)}}function L$(t,i){t&1&&(l(0,"uds-translate"),f(1,"Users"),d())}function V$(t,i){if(t&1&&(l(0,"mat-tab"),x(1,L$,2,0,"ng-template",3),M(2,"uds-table",4),d()),t&2){let e=_();u(2),h("rest",e.users)("pageSize",6)}}function B$(t,i){t&1&&(l(0,"uds-translate"),f(1,"Groups"),d())}function j$(t,i){if(t&1&&(l(0,"mat-tab"),x(1,B$,2,0,"ng-template",3),M(2,"uds-table",4),d()),t&2){let e=_();u(2),h("rest",e.groups)("pageSize",6)}}var z$=[{field:"name",title:django.gettext("Pool")},{field:"state",title:django.gettext("State")},{field:"user_services_count",title:django.gettext("User Services")}],U$=[{field:"name",title:django.gettext("Name")},{field:"real_name",title:django.gettext("Real Name")},{field:"state",title:django.gettext("state")},{field:"last_access",title:django.gettext("Last access"),type:pn.DATETIME}],H$=[{field:"name",title:django.gettext("Group")},{field:"comments",title:django.gettext("Comments")}],lR=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.data=r,this.users={},this.groups={},this.servicesPools={}}static launch(e,n,o){let r=window.innerWidth<800?"80%":"60%",a=e.gui.dialog.open(t,{width:r,position:{top:window.innerWidth<800?"0px":"7rem"},data:{group:o,groups:n},disableClose:!1})}ngOnInit(){let e=this.rest.authenticators.detail(this.data.groups.parentId,"groups"),n=()=>e.invoke(this.data.group.id+"/servicesPools"),o=()=>e.invoke(this.data.group.id+"/users").then(r=>r.map(a=>(a.state=a.state==="A"?django.gettext("Enabled"):a.state==="I"?django.gettext("Disabled"):django.gettext("Blocked"),a)));if(this.servicesPools=new uo(django.gettext("Service pools"),n,z$,this.data.group.id+"infopls"),this.users=new uo(django.gettext("Users"),o,U$,this.data.group.id+"infousr"),this.data.group.type==="meta"){let r=()=>e.overview().then(a=>a.filter(s=>this.data.group.groups.includes(s.id)));this.groups=new uo(django.gettext("Groups"),r,H$,this.data.group.id+"infogrps")}}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(J),w(Ae),w(Be))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-group-information"]],standalone:!1,decls:15,vars:9,consts:[["mat-dialog-title",""],[4,"ngIf"],["mat-raised-button","","mat-dialog-close","","color","primary"],["mat-tab-label",""],[3,"rest","pageSize"]],template:function(n,o){n&1&&(l(0,"h4",0)(1,"uds-translate"),f(2,"Information for"),d()(),l(3,"mat-dialog-content")(4,"mat-tab-group"),x(5,N$,3,2,"mat-tab",1),_t(6,"notEmpty"),x(7,V$,3,2,"mat-tab",1),_t(8,"notEmpty"),x(9,j$,3,2,"mat-tab",1),_t(10,"notEmpty"),d()(),l(11,"mat-dialog-actions")(12,"button",2)(13,"uds-translate"),f(14,"Ok"),d()()()),n&2&&(u(5),h("ngIf",Ct(6,3,o.servicesPools)),u(2),h("ngIf",Ct(8,5,o.users)),u(2),h("ngIf",Ct(10,7,o.groups)))},dependencies:[de,Se,jt,We,$e,Ge,Qt,Kt,Jt,ae,xe,fn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]})}}return t})();var W$=t=>["/authenticators",t];function G$(t,i){t&1&&(l(0,"uds-translate"),f(1,"Summary"),d())}function $$(t,i){if(t&1&&M(0,"uds-information",16),t&2){let e=_(2);h("value",e.authenticator)("gui",e.gui)}}function q$(t,i){t&1&&(l(0,"uds-translate"),f(1,"Users"),d())}function Y$(t,i){if(t&1){let e=A();l(0,"uds-table",17),b("loaded",function(o){y(e);let r=_(2);return C(r.onLoad(o))})("newAction",function(o){y(e);let r=_(2);return C(r.onNewUser(o))})("editAction",function(o){y(e);let r=_(2);return C(r.onEditUser(o))})("deleteAction",function(o){y(e);let r=_(2);return C(r.onDeleteUser(o))})("customButtonAction",function(o){y(e);let r=_(2);return C(r.onUserCustom(o))}),d()}if(t&2){let e=_(2);h("rest",e.users)("multiSelect",!0)("allowExport",!0)("tableId","authenticators-d-users"+e.authenticator.id)("customButtons",e.usersCustomButtons)("pageSize",e.api.config.admin.page_size)}}function Q$(t,i){if(t&1){let e=A();l(0,"uds-table",18),b("loaded",function(o){y(e);let r=_(2);return C(r.onLoad(o))})("editAction",function(o){y(e);let r=_(2);return C(r.onEditUser(o))})("deleteAction",function(o){y(e);let r=_(2);return C(r.onDeleteUser(o))})("customButtonAction",function(o){y(e);let r=_(2);return C(r.onUserCustom(o))}),d()}if(t&2){let e=_(2);h("rest",e.users)("multiSelect",!0)("allowExport",!0)("tableId","authenticators-d-users"+e.authenticator.id)("customButtons",e.usersCustomButtons)("pageSize",e.api.config.admin.page_size)}}function K$(t,i){t&1&&(l(0,"uds-translate"),f(1,"Groups"),d())}function Z$(t,i){t&1&&(l(0,"uds-translate"),f(1,"Logs"),d())}function X$(t,i){if(t&1){let e=A();l(0,"div",6)(1,"div",7)(2,"mat-tab-group",8),H("selectedIndexChange",function(o){y(e);let r=_();return W(r.selectedTab,o)||(r.selectedTab=o),C(o)}),l(3,"mat-tab"),x(4,G$,2,0,"ng-template",9),l(5,"div",10),x(6,$$,1,2,"uds-information",11),_t(7,"notEmpty"),d()(),l(8,"mat-tab"),x(9,q$,2,0,"ng-template",9),l(10,"div",10),x(11,Y$,1,6,"uds-table",12)(12,Q$,1,6,"uds-table",13),d()(),l(13,"mat-tab"),x(14,K$,2,0,"ng-template",9),l(15,"div",10)(16,"uds-table",14),b("loaded",function(o){y(e);let r=_();return C(r.onLoad(o))})("newAction",function(o){y(e);let r=_();return C(r.onNewGroup(o))})("editAction",function(o){y(e);let r=_();return C(r.onEditGroup(o))})("deleteAction",function(o){y(e);let r=_();return C(r.onDeleteGroup(o))})("customButtonAction",function(o){y(e);let r=_();return C(r.onGroupInformation(o))}),d()()(),l(17,"mat-tab"),x(18,Z$,2,0,"ng-template",9),l(19,"div",10),M(20,"uds-logs-table",15),d()()()()()}if(t&2){let e=_();u(2),U("selectedIndex",e.selectedTab),h("@.disabled",!0),u(4),h("ngIf",Ct(7,14,e.gui)),u(5),h("ngIf",e.authenticator.type_info.create_users_supported),u(),h("ngIf",!e.authenticator.type_info.create_users_supported),u(4),h("rest",e.groups)("multiSelect",!0)("allowExport",!0)("customButtons",e.groupsCustomButtons)("tableId","authenticators-d-groups"+e.authenticator.id)("pageSize",e.api.config.admin.page_size),u(4),h("rest",e.rest.authenticators)("itemId",e.authenticator.id)("tableId","authenticators-d-log"+e.authenticator.id)}}var J$='cloud_upload '+django.gettext("Import CSV")+"",kg=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o,this.groupsCustomButtons=[{id:"info",html:'info '+django.gettext("Information")+"",type:ot.ONLY_MENU}],this.usersCustomButtons=[{id:"info",html:'info '+django.gettext("Information")+"",type:ot.ONLY_MENU},{id:"clean-related",html:'clear_all '+django.gettext("Clean related (mfa,...)")+"",type:ot.ONLY_MENU},{id:"enable-client-logging",html:'assignment '+django.gettext("Enable client logging")+"",type:ot.ONLY_MENU}],this.authenticator=null,this.gui=[],this.users={},this.groups={},this.selectedTab=1,this.selectedTab=this.route.snapshot.paramMap.get("group")?2:1}ngOnInit(){let e=this.route.snapshot.paramMap.get("authenticator");e&&(this.users=this.rest.authenticators.detail(e,"users"),this.groups=this.rest.authenticators.detail(e,"groups"),this.rest.authenticators.get(e).then(n=>{this.authenticator=n,this.rest.authenticators.gui(n.type).then(o=>{this.gui=o}),n?.type_info?.is_external&&!this.usersCustomButtons.some(o=>o.id==="import-csv")&&this.usersCustomButtons.push({id:"import-csv",html:J$,type:ot.ALWAYS})}))}onLoad(e){if(e.param===!0){let n=this.route.snapshot.paramMap.get("user"),o=this.route.snapshot.paramMap.get("group"),r=n||o;e.table.selectElement("id",r)}}processElement(e){e.maintenance_state=e.maintenance_mode?django.gettext("In Maintenance"):django.gettext("Active")}onNewUser(e){ew.launch(this.api,this.authenticator).subscribe(n=>e.table.overview())}onEditUser(e){ew.launch(this.api,this.authenticator,e.table.selection.selected[0]).subscribe(n=>e.table.overview())}onDeleteUser(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete user"))}onNewGroup(e){tw.launch(this.api,this.authenticator,e.param.type).subscribe(n=>e.table.overview())}onEditGroup(e){tw.launch(this.api,this.authenticator,e.param.type,e.table.selection.selected[0]).subscribe(n=>e.table.overview())}onDeleteGroup(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete group"))}onUserCustom(e){return V(this,null,function*(){e.param.id==="info"?sR.launch(this.api,this.users,e.table.selection.selected[0]):e.param.id==="clean-related"?(yield this.api.gui.questionDialog(django.gettext("Clean data"),django.gettext("Clean related data (mfa, ...)?"),!0))&&(yield this.users.invoke(e.table.selection.selected[0].id+"/clean_related"),this.api.gui.snackbar.open(django.gettext("Related data cleaned"),django.gettext("dismiss"),{duration:2e3}),e.table.overview()):e.param.id==="enable-client-logging"?(yield this.api.gui.questionDialog(django.gettext("Client logging"),django.gettext("Enable client logging for user?"),!0))&&(yield this.users.invoke(e.table.selection.selected[0].id+"/enable_client_logging"),this.api.gui.snackbar.open(django.gettext("Client logging enabled"),django.gettext("dismiss"),{duration:2e3}),e.table.overview()):e.param.id==="import-csv"&&(yield this.onImportCSV(e))})}onImportCSV(e){return V(this,null,function*(){let n=yield Tg.launch(this.api,{title:django.gettext("Import Users"),help:django.gettext('Format of file must be "username,comments". Comments field is optional. Separator can be configured.'),template:["username","comments"]});if(!n||!n.data||n.data.length===0)return;let o=yield this.users.put({data:n.data},this.authenticator.id+"/importcsv");o&&o.length>0&&this.api.gui.alert(django.gettext("Errors found importing data: "),o.slice(0,16).join(`
-`)),e.table.overview()})}onGroupInformation(e){lR.launch(this.api,this.groups,e.table.selection.selected[0])}static{this.\u0275fac=function(n){return new(n||t)(w(Ie),w(J),w(z))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-authenticators-detail"]],standalone:!1,decls:10,vars:8,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary",3,"selectedIndexChange","selectedIndex"],["mat-tab-label",""],[1,"content"],[3,"value","gui",4,"ngIf"],["icon","users",3,"rest","multiSelect","allowExport","tableId","customButtons","pageSize","loaded","newAction","editAction","deleteAction","customButtonAction",4,"ngIf"],["icon","users",3,"rest","multiSelect","allowExport","tableId","customButtons","pageSize","loaded","editAction","deleteAction","customButtonAction",4,"ngIf"],["icon","groups",3,"loaded","newAction","editAction","deleteAction","customButtonAction","rest","multiSelect","allowExport","customButtons","tableId","pageSize"],[3,"rest","itemId","tableId"],[3,"value","gui"],["icon","users",3,"loaded","newAction","editAction","deleteAction","customButtonAction","rest","multiSelect","allowExport","tableId","customButtons","pageSize"],["icon","users",3,"loaded","editAction","deleteAction","customButtonAction","rest","multiSelect","allowExport","tableId","customButtons","pageSize"]],template:function(n,o){n&1&&(l(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),f(4,"arrow_back"),d()(),f(5," \xA0"),M(6,"img",4),f(7),d(),x(8,X$,21,16,"div",5),_t(9,"notEmpty"),d()),n&2&&(u(2),h("routerLink",Jn(6,W$,o.authenticator?o.authenticator.id:"")),u(4),h("src",o.api.staticURL("admin/img/icons/services.png"),Ce),u(),P(" \xA0",o.authenticator==null?null:o.authenticator.name," "),u(),h("ngIf",Ct(9,4,o.authenticator)))},dependencies:[de,ln,Qt,Kt,Jt,ae,xe,Ti,mo,fn],encapsulation:2})}}return t})();var nw=(()=>{class t{constructor(e,n,o){this.api=e,this.route=n,this.rest=o}ngOnInit(){let e=this.route.snapshot.paramMap.get("osmanager")}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New OS Manager"),!1)}onEdit(e){this.api.gui.forms.typedEditForm(e,django.gettext("Edit OS Manager"),!1)}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete OS Manager"))}onLoad(e){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("osmanager"))}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(Ie),w(J))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-osmanagers"]],standalone:!1,decls:2,vars:5,consts:[["icon","osmanagers",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(n,o){n&1&&(l(0,"div")(1,"uds-table",0),b("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("loaded",function(a){return o.onLoad(a)}),d()()),n&2&&(u(),h("rest",o.rest.osManagers)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",o.api.config.admin.page_size))},dependencies:[xe],encapsulation:2})}}return t})();var iw=(()=>{class t{constructor(e,n,o){this.api=e,this.route=n,this.rest=o}ngOnInit(){let e=this.route.snapshot.paramMap.get("transport")}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New Transport"))}onEdit(e){this.api.gui.forms.typedEditForm(e,django.gettext("Edit Transport"))}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete Transport"))}processElement(e){try{e.allowed_oss=e.allowed_oss.join(", ")}catch{e.allowed_oss=""}}onLoad(e){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("transport"))}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(Ie),w(J))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-transports"]],standalone:!1,decls:2,vars:7,consts:[["icon","transports",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","hasPermissions","newGrouped","onItem","pageSize"]],template:function(n,o){n&1&&(l(0,"div")(1,"uds-table",0),b("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("loaded",function(a){return o.onLoad(a)}),d()()),n&2&&(u(),h("rest",o.rest.transports)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("newGrouped",!0)("onItem",o.processElement)("pageSize",o.api.config.admin.page_size))},dependencies:[xe],styles:[".mat-column-priority{max-width:7rem;justify-content:center}"]})}}return t})();var ow=(()=>{class t{constructor(e,n,o){this.api=e,this.route=n,this.rest=o}ngOnInit(){let e=this.route.snapshot.paramMap.get("network")}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New Network"),!1)}onEdit(e){this.api.gui.forms.typedEditForm(e,django.gettext("Edit Network"),!1)}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete Network"))}onLoad(e){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("network"))}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(Ie),w(J))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-networks"]],standalone:!1,decls:2,vars:5,consts:[["icon","networks",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(n,o){n&1&&(l(0,"div")(1,"uds-table",0),b("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("loaded",function(a){return o.onLoad(a)}),d()()),n&2&&(u(),h("rest",o.rest.networks)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",o.api.config.admin.page_size))},dependencies:[xe],encapsulation:2})}}return t})();var rw=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o}ngOnInit(){}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New tunnel"),!1)}onEdit(e){this.api.gui.forms.typedEditForm(e,django.gettext("Edit tunnel"),!1)}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete tunnel"))}onDetail(e){this.api.navigation.gotoTunnelDetail(e.param.id)}processElement(e){e.maintenance_state=e.maintenance_mode?django.gettext("In Maintenance"):django.gettext("Active")}onLoad(e){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("tunnel"))}static{this.\u0275fac=function(n){return new(n||t)(w(Ie),w(J),w(z))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-tunnels"]],standalone:!1,decls:1,vars:6,consts:[["tableId","tunnels-table","icon","providers",3,"newAction","editAction","deleteAction","detailAction","loaded","rest","onItem","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(n,o){n&1&&(l(0,"uds-table",0),b("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("detailAction",function(a){return o.onDetail(a)})("loaded",function(a){return o.onLoad(a)}),d()),n&2&&h("rest",o.rest.tunnels)("onItem",o.processElement)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",o.api.config.admin.page_size)},dependencies:[xe],encapsulation:2})}}return t})();function e7(t,i){if(t&1&&(l(0,"mat-option",7),f(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),P(" ",e.name," ")}}var cR=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.done=new Yt,this.availTunnelServers=[],this.tunnelFilter="",this.serverId="",this.availTunnelServers=r.availableTunnelServers,this.tunnelId=r.tunnelId}static launch(e,n,o){return V(this,null,function*(){let r=window.innerWidth<800?"60%":"40%";return e.gui.dialog.open(t,{width:r,position:{top:window.innerWidth<800?"0px":"7rem"},data:{tunnelId:n,availableTunnelServers:o},disableClose:!1}).componentInstance.done})}ngOnInit(){return V(this,null,function*(){})}filteredTunnels(){if(!this.tunnelFilter)return this.availTunnelServers;let e=new Array;for(let n of this.availTunnelServers)n.name.toLocaleLowerCase().includes(this.tunnelFilter.toLocaleLowerCase())&&e.push(n);return e}save(){return V(this,null,function*(){if(this.serverId===""){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid server"));return}this.dialogRef.close(),this.done.resolve(!0),yield this.rest.tunnels.assign(this.tunnelId,this.serverId)})}cancel(){return V(this,null,function*(){this.dialogRef.close(),this.done.resolve(!1)})}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(J),w(Ae),w(Be))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-new-tunnel"]],standalone:!1,decls:19,vars:3,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModelChange","ngModel"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"]],template:function(n,o){n&1&&(l(0,"h4",0)(1,"uds-translate"),f(2,"Assign new server to tunnel group"),d()(),l(3,"mat-dialog-content")(4,"div",1)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),f(8,"Tunnel"),d()(),l(9,"mat-select",2),H("ngModelChange",function(a){return W(o.serverId,a)||(o.serverId=a),a}),l(10,"uds-cond-select-search",3),b("changed",function(a){return o.tunnelFilter=a}),d(),x(11,e7,2,2,"mat-option",4),d()()()(),l(12,"mat-dialog-actions")(13,"button",5),b("click",function(){return o.cancel()}),l(14,"uds-translate"),f(15,"Cancel"),d()(),l(16,"button",6),b("click",function(){return o.save()}),l(17,"uds-translate"),f(18,"Ok"),d()()()),n&2&&(u(9),U("ngModel",o.serverId),u(),h("options",o.availTunnelServers),u(),h("ngForOf",o.filteredTunnels()))},dependencies:[Fe,ve,be,Se,We,$e,Ge,me,Te,ht,Qe,ae,cn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]})}}return t})();var t7=t=>["/connectivity","tunnels",t];function n7(t,i){t&1&&(l(0,"uds-translate"),f(1,"Summary"),d())}function i7(t,i){t&1&&(l(0,"uds-translate"),f(1,"Tunnel servers"),d())}function o7(t,i){if(t&1){let e=A();l(0,"div",6)(1,"div",7)(2,"mat-tab-group",8)(3,"mat-tab"),x(4,n7,2,0,"ng-template",9),l(5,"div",10),M(6,"uds-information",11),d()(),l(7,"mat-tab"),x(8,i7,2,0,"ng-template",9),l(9,"div",10)(10,"uds-table",12),b("newAction",function(o){y(e);let r=_();return C(r.onNew(o))})("rowSelected",function(o){y(e);let r=_();return C(r.onRowSelect(o))})("deleteAction",function(o){y(e);let r=_();return C(r.onDelete(o))})("customButtonAction",function(o){y(e);let r=_();return C(r.onMaintenance(o))})("loaded",function(o){y(e);let r=_();return C(r.onLoad(o))}),d()()()()()()}if(t&2){let e=_();u(2),h("@.disabled",!0),u(4),h("value",e.tunnel)("gui",e.gui),u(4),h("rest",e.servers)("multiSelect",!0)("allowExport",!0)("customButtons",e.customButtons)("pageSize",e.api.config.admin.page_size)("tableId","tunnels-d-servers"+e.tunnel.id)}}var dR='pause'+django.gettext("Maintenance")+"",r7='pause'+django.gettext("Exit maintenance mode")+"",a7='pause'+django.gettext("Enter maintenance mode")+"",uR=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o,this.cButtons=[{id:"maintenance",html:dR,type:ot.SINGLE_SELECT}],this.tunnel=null,this.gui=[],this.servers={}}get customButtons(){return this.api.user.isAdmin?this.cButtons:[]}ngOnInit(){return V(this,null,function*(){let e=this.route.snapshot.paramMap.get("tunnel");e&&(this.servers=this.rest.tunnels.detail(e,"servers"),this.tunnel=yield this.servers.parentModel.get(e),this.gui=yield this.servers.parentModel.gui(),console.log(this.gui),console.log(this.tunnel))})}onMaintenance(e){let n=e.table.selection.selected[0],o=n.maintenance_mode?django.gettext("Exit maintenance mode?"):django.gettext("Enter maintenance mode?");this.api.gui.questionDialog(django.gettext("Maintenance mode for")+" "+n.name,o).then(r=>{r&&this.servers.get(n.id+"/maintenance").then(()=>{e.table.overview()})})}onNew(e){return V(this,null,function*(){let n=yield this.rest.tunnels.tunnels(this.tunnel.id);n.length==0?this.api.gui.alert(django.gettext("Error"),django.gettext("This tunnel already has all the tunnel servers available")):(yield cR.launch(this.api,this.tunnel.id,n))===!0&&e.table.overview()})}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Remove member from tunnel"))}onRowSelect(e){let n=e.table;if(n.selection.selected.length>1||n.selection.selected.length===0){this.customButtons[0].html=dR;return}n.selection.selected[0].maintenance_mode?this.customButtons[0].html=r7:this.customButtons[0].html=a7}onLoad(e){if(e.param===!0){let n=this.route.snapshot.paramMap.get("tunnel");if(n!==void 0){let o=e.table;o.dataSource.data.forEach(r=>{r.id===n&&o.selection.select(r)})}}}static{this.\u0275fac=function(n){return new(n||t)(w(Ie),w(J),w(z))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-tunnels-detail"]],standalone:!1,decls:10,vars:8,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary","selectedIndex","1"],["mat-tab-label",""],[1,"content"],[3,"value","gui"],["icon","tunnels",3,"newAction","rowSelected","deleteAction","customButtonAction","loaded","rest","multiSelect","allowExport","customButtons","pageSize","tableId"]],template:function(n,o){n&1&&(l(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),f(4,"arrow_back"),d()(),f(5," \xA0"),M(6,"img",4),f(7),d(),x(8,o7,11,9,"div",5),_t(9,"notEmpty"),d()),n&2&&(u(2),h("routerLink",Jn(6,t7,o.servers.parentId)),u(4),h("src",o.api.staticURL("admin/img/icons/tunnels.png"),Ce),u(),P(" \xA0",o.tunnel==null?null:o.tunnel.name," "),u(),h("ngIf",Ct(9,4,o.tunnel)))},dependencies:[de,ln,Qt,Kt,Jt,ae,xe,mo,fn],styles:[".row-maintenance-true>mat-cell{color:orange!important}"]})}}return t})();var aw=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o,this.customButtons=[En.getGotoButton(uC,"provider_id"),En.getGotoButton(mC,"provider_id","service_id"),En.getGotoButton(fC,"osmanager_id"),En.getGotoButton(gC,"pool_group_id")],this.editing=!1}ngOnInit(){return V(this,null,function*(){})}onChange(e){return V(this,null,function*(){let n=["initial_srvs","cache_l1_srvs","max_srvs"];if(e.on===null||e.on.field.name==="service_id"){if(e.all.service_id.value===""){e.all.osmanager_id.gui.choices=[];for(let r of n)e.all[r].gui.readonly=!0;e.all.cache_l2_srvs.gui.readonly=!0;return}let o=yield this.rest.providers.service(e.all.service_id.value);if(e.all.allow_users_reset.gui.readonly=!o.info.can_reset,e.all.osmanager_id.gui.choices=[],this.editing||(e.all.osmanager_id.gui.readonly=!o.info.needs_osmanager),o.info.needs_osmanager===!0){let r=yield this.rest.osManagers.overview(),a=[];for(let s of r)for(let c of s.servicesTypes)o.info.services_type_provided==c&&a.push({id:s.id,text:s.name});a.length>0?e.all.osmanager_id.value=e.all.osmanager_id.value||a[0].id:e.all.osmanager_id.value="",e.all.osmanager_id.gui.choices=a}else e.all.osmanager_id.gui.choices=[{id:"",text:django.gettext("(This service does not requires an OS Manager)")}],e.all.osmanager_id.value="";for(let r of n)e.all[r].gui.readonly=!o.info.uses_cache;e.all.cache_l2_srvs.gui.readonly=o.info.uses_cache===!1||o.info.uses_cache_l2===!1,e.all.publish_on_save&&(e.all.publish_on_save.gui.readonly=!o.info.needs_publication)}})}onNew(e){return V(this,null,function*(){this.editing=!1,yield this.api.gui.forms.typedNewForm(e,django.gettext("New service Pool"),!1,[{name:"publish_on_save",value:!0,gui:{label:django.gettext("Publish on creation"),tooltip:django.gettext("If selected, will initiate the publication inmediatly after creation"),type:$n.CHECKBOX,order:150,default:"true"}}],this.onChange.bind(this))})}onEdit(e){return V(this,null,function*(){if(this.editing=!0,e.table.selection.selected.length!==0){if(e.table.selection.selected[0].state==="Q"){yield this.api.gui.alert(django.gettext("Service Pool is locked"),django.gettext("This service pool is locked and cannot be edited"));return}yield this.api.gui.forms.typedEditForm(e,django.gettext("Edit Service Pool"),!1,void 0,this.onChange.bind(this))}})}onDelete(e){return V(this,null,function*(){return this.api.gui.forms.deleteForm(e,django.gettext("Delete service pool"),void 0,!0)})}processElement(e){e.visible=this.api.boolAsHumanString(e.visible),e.show_transports=this.api.boolAsHumanString(e.show_transports),typeof e.name!="string"&&(e.name=""),e.name=e.name.replace(//g,">"),e.restrained?(e.name='warning '+this.api.gui.icon(e.info.icon)+e.name,e.state="T"):(e.name=this.api.gui.icon(e.info.icon)+e.name,e.meta_member.length>0&&(e.state="V")),e.name=this.api.safeString(e.name),e.pool_group_name=this.api.safeString(this.api.gui.icon(e.pool_group_thumb)+e.pool_group_name)}onDetail(e){this.api.navigation.gotoServicePoolDetail(e.param.id)}onLoad(e){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("pool"))}static{this.\u0275fac=function(n){return new(n||t)(w(Ie),w(J),w(z))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-service-pools"]],standalone:!1,decls:1,vars:7,consts:[["icon","pools",3,"newAction","editAction","deleteAction","detailAction","loaded","rest","multiSelect","allowExport","hasPermissions","onItem","customButtons","pageSize"]],template:function(n,o){n&1&&(l(0,"uds-table",0),b("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("detailAction",function(a){return o.onDetail(a)})("loaded",function(a){return o.onLoad(a)}),d()),n&2&&h("rest",o.rest.servicesPools)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("onItem",o.processElement)("customButtons",o.customButtons)("pageSize",o.api.config.admin.page_size)},dependencies:[xe],styles:[".mat-column-user_services_count, .mat-column-user_services_in_preparation, .mat-column-visible, .mat-column-usage{max-width:5rem;justify-content:center} .mat-column-state{min-width:12rem;max-width:12rem;justify-content:center} .mat-column-show_transports{max-width:12rem;justify-content:center} .mat-column-pool_group_name{max-width:14rem} .mat-column-visible{max-width:8rem} .row-state-T>.mat-mdc-cell{color:#d65014!important} .row-state-Q>.mat-mdc-cell{color:#00a5ff!important} .row-state-Y>.mat-mdc-cell{color:#a05014!important} .row-state-R>.mat-mdc-cell{color:#f00000!important} .mat-column-user_services_count{max-width:10rem;justify-content:center} .mat-column-user_services_in_preparation{max-width:10rem;justify-content:center}"]})}}return t})();function s7(t,i){if(t&1&&(l(0,"mat-option",8),f(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),P(" ",e.name," ")}}function l7(t,i){if(t&1&&(l(0,"mat-option",8),f(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),P(" ",e.name," ")}}var Ag=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.done=new Yt,this.auths=[],this.users=[],this.userFilter="",this.authId="",this.userId="",this.userService=r.userService,this.userServices=r.userServices}static launch(e,n,o){let r=window.innerWidth<800?"60%":"40%";return e.gui.dialog.open(t,{width:r,position:{top:window.innerWidth<800?"0px":"7rem"},data:{userService:n,userServices:o},disableClose:!1}).componentInstance.done}ngOnInit(){return V(this,null,function*(){this.authId=this.userService.owner_info.auth_id||"",this.userId=this.userService.owner_info.user_id||"",this.auths=yield this.rest.authenticators.summary(),this.authChanged()})}changeAuth(e){this.userId="",this.authChanged()}filteredUsers(){if(!this.userFilter)return this.users;let e=new Array;return this.users.forEach(n=>{(this.userFilter===""||n.name.toLocaleLowerCase().includes(this.userFilter.toLocaleLowerCase()))&&e.push(n)}),e}save(){if(this.userId===""||this.authId===""){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid user"));return}this.userServices.save({id:this.userService.id,auth_id:this.authId,user_id:this.userId}).then(()=>{this.dialogRef.close(),this.done.resolve(!0)})}cancel(){this.dialogRef.close(),this.done.resolve(!1)}authChanged(){return V(this,null,function*(){this.authId?this.users=yield this.rest.authenticators.detail(this.authId,"users").summary():this.users=[]})}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(J),w(Ae),w(Be))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-change-assigned-service-owner"]],standalone:!1,decls:25,vars:5,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModelChange","selectionChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModelChange","ngModel"],[3,"changed","options"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"]],template:function(n,o){n&1&&(l(0,"h4",0)(1,"uds-translate"),f(2,"Change owner of assigned service"),d()(),l(3,"mat-dialog-content")(4,"div",1)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),f(8,"Authenticator"),d()(),l(9,"mat-select",2),H("ngModelChange",function(a){return W(o.authId,a)||(o.authId=a),a}),b("selectionChange",function(a){return o.changeAuth(a)}),x(10,s7,2,2,"mat-option",3),d()(),l(11,"mat-form-field")(12,"mat-label")(13,"uds-translate"),f(14,"User"),d()(),l(15,"mat-select",4),H("ngModelChange",function(a){return W(o.userId,a)||(o.userId=a),a}),l(16,"uds-cond-select-search",5),b("changed",function(a){return o.userFilter=a}),d(),x(17,l7,2,2,"mat-option",3),d()()()(),l(18,"mat-dialog-actions")(19,"button",6),b("click",function(){return o.cancel()}),l(20,"uds-translate"),f(21,"Cancel"),d()(),l(22,"button",7),b("click",function(){return o.save()}),l(23,"uds-translate"),f(24,"Ok"),d()()()),n&2&&(u(9),U("ngModel",o.authId),u(),h("ngForOf",o.auths),u(5),U("ngModel",o.userId),u(),h("options",o.users),u(),h("ngForOf",o.filteredUsers()))},dependencies:[Fe,ve,be,Se,We,$e,Ge,me,Te,ht,Qe,ae,cn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]})}}return t})();function c7(t,i){t&1&&(l(0,"uds-translate"),f(1,"New access rule for"),d())}function d7(t,i){t&1&&(l(0,"uds-translate"),f(1,"Edit access rule for"),d())}function u7(t,i){t&1&&(l(0,"uds-translate"),f(1,"Default fallback access for"),d())}function m7(t,i){if(t&1&&(l(0,"mat-option",11),f(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),P(" ",e.name," ")}}function p7(t,i){if(t&1){let e=A();dt(0),l(1,"mat-form-field")(2,"mat-label")(3,"uds-translate"),f(4,"Priority"),d()(),l(5,"input",8),H("ngModelChange",function(o){y(e);let r=_();return W(r.accessRule.priority,o)||(r.accessRule.priority=o),C(o)}),d()(),l(6,"mat-form-field")(7,"mat-label")(8,"uds-translate"),f(9,"Calendar"),d()(),l(10,"mat-select",3),H("ngModelChange",function(o){y(e);let r=_();return W(r.accessRule.calendar_id,o)||(r.accessRule.calendar_id=o),C(o)}),l(11,"uds-cond-select-search",9),b("changed",function(o){y(e);let r=_();return C(r.calendarsFilter=o)}),d(),x(12,m7,2,2,"mat-option",10),d()(),ut()}if(t&2){let e=_();u(5),U("ngModel",e.accessRule.priority),u(5),U("ngModel",e.accessRule.calendar_id),u(),h("options",e.calendars),u(),h("ngForOf",e.filtered(e.calendars,e.calendarsFilter))}}var Xl=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.onSave=new T(!0),this.calendars=[],this.calendarsFilter="",this.pool=r.pool,this.model=r.model,this.accessRule={id:void 0,priority:0,access:"ALLOW",calendar_id:""},r.accessRule&&(this.accessRule.id=r.accessRule.id)}static launch(e,n,o,r){let a=window.innerWidth<800?"80%":"60%";return e.gui.dialog.open(t,{width:a,position:{top:window.innerWidth<800?"0px":"7rem"},data:{pool:n,model:o,accessRule:r},disableClose:!1}).componentInstance.onSave}ngOnInit(){this.rest.calendars.summary().then(e=>{this.calendars=e}),this.accessRule.id!==void 0&&this.accessRule.id!==-1?this.model.get(this.accessRule.id).then(e=>{this.accessRule=e}):this.accessRule.id===-1&&this.model.parentModel.getFallbackAccess(this.pool.id).then(e=>this.accessRule.access=e)}filtered(e,n){return n?e.filter(o=>o.name.toLocaleLowerCase().includes(n.toLocaleLowerCase())):e}save(){let e=()=>{this.dialogRef.close(),this.onSave.emit(!0)};this.accessRule.id!==-1?this.model.save(this.accessRule).then(e):this.model.parentModel.setFallbackAccess(this.pool.id,this.accessRule.access).then(e)}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(J),w(Ae),w(Be))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-service-pools-access-calendars"]],standalone:!1,decls:24,vars:6,consts:[["mat-dialog-title",""],[4,"ngIf"],[1,"content"],[3,"ngModelChange","ngModel"],["value","ALLOW"],["value","DENY"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],["matInput","","type","number",3,"ngModelChange","ngModel"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(n,o){n&1&&(l(0,"h4",0),x(1,c7,2,0,"uds-translate",1)(2,d7,2,0,"uds-translate",1)(3,u7,2,0,"uds-translate",1),f(4),d(),l(5,"mat-dialog-content")(6,"div",2),x(7,p7,13,4,"ng-container",1),l(8,"mat-form-field")(9,"mat-label")(10,"uds-translate"),f(11,"Action"),d()(),l(12,"mat-select",3),H("ngModelChange",function(a){return W(o.accessRule.access,a)||(o.accessRule.access=a),a}),l(13,"mat-option",4),f(14," ALLOW "),d(),l(15,"mat-option",5),f(16," DENY "),d()()()()(),l(17,"mat-dialog-actions")(18,"button",6)(19,"uds-translate"),f(20,"Cancel"),d()(),l(21,"button",7),b("click",function(){return o.save()}),l(22,"uds-translate"),f(23,"Ok"),d()()()),n&2&&(u(),h("ngIf",o.accessRule.id===void 0),u(),h("ngIf",o.accessRule.id!==void 0&&o.accessRule.id!==-1),u(),h("ngIf",o.accessRule.id===-1),u(),P(" ",o.pool.name,` -`),u(3),h("ngIf",o.accessRule.id!==-1),u(5),U("ngModel",o.accessRule.access))},dependencies:[Fe,de,st,zi,ve,be,Se,jt,We,$e,Ge,me,Te,pt,ht,Qe,ae,cn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]})}}return t})();function h7(t,i){if(t&1&&(l(0,"mat-option",8),f(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),P(" ",e.name," ")}}function f7(t,i){if(t&1&&(dt(0),f(1),ut()),t&2){let e=_().$implicit;u(),P(" (",e.comments,")")}}function g7(t,i){if(t&1&&(l(0,"mat-option",8),f(1),x(2,f7,2,1,"ng-container",9),d()),t&2){let e=i.$implicit;h("value",e.id),u(),P(" ",e.name,""),u(),h("ngIf",e.comments)}}var Rg=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.done=new Yt,this.model={},this.auths=[],this.authFilter="",this.groups=[],this.groupFilter="",this.authId="",this.groupId="",this.pool=r.pool,this.model=r.model}static launch(e,n,o){let r=window.innerWidth<800?"60%":"40%";return e.gui.dialog.open(t,{width:r,position:{top:window.innerWidth<800?"0px":"7rem"},data:{pool:n,model:o},disableClose:!1}).componentInstance.done}ngOnInit(){return V(this,null,function*(){this.auths=yield this.rest.authenticators.summary()})}changeAuth(e){return V(this,null,function*(){this.groupId="",this.authChanged()})}filteredGroups(){return!this.groupFilter||this.groupFilter.length<3?this.groups:this.groups.filter(e=>(e.name+e.comments).toLocaleLowerCase().includes(this.groupFilter.toLocaleLowerCase()))}filteredAuths(){return!this.authFilter||this.authFilter.length<3?this.auths:this.auths.filter(e=>e.name.toLocaleLowerCase().includes(this.authFilter.toLocaleLowerCase()))}save(){return V(this,null,function*(){if(this.groupId===""||this.authId===""){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid group"));return}yield this.model.create({id:this.groupId}),this.dialogRef.close(),this.done.resolve(!0)})}cancel(){return V(this,null,function*(){this.dialogRef.close(),this.done.resolve(!1)})}authChanged(){return V(this,null,function*(){this.authId?this.groups=yield this.rest.authenticators.detail(this.authId,"groups").summary():this.groups=[]})}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(J),w(Ae),w(Be))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-service-pools-add-group"]],standalone:!1,decls:27,vars:7,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModelChange","selectionChange","ngModel"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModelChange","ngModel"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[4,"ngIf"]],template:function(n,o){n&1&&(l(0,"h4",0)(1,"uds-translate"),f(2,"New group for"),d(),f(3),d(),l(4,"mat-dialog-content")(5,"div",1)(6,"mat-form-field")(7,"mat-label")(8,"uds-translate"),f(9,"Authenticator"),d()(),l(10,"mat-select",2),H("ngModelChange",function(a){return W(o.authId,a)||(o.authId=a),a}),b("selectionChange",function(a){return o.changeAuth(a)}),l(11,"uds-cond-select-search",3),b("changed",function(a){return o.authFilter=a}),d(),x(12,h7,2,2,"mat-option",4),d()(),l(13,"mat-form-field")(14,"mat-label")(15,"uds-translate"),f(16,"Group"),d()(),l(17,"mat-select",5),H("ngModelChange",function(a){return W(o.groupId,a)||(o.groupId=a),a}),l(18,"uds-cond-select-search",3),b("changed",function(a){return o.groupFilter=a}),d(),x(19,g7,3,3,"mat-option",4),d()()()(),l(20,"mat-dialog-actions")(21,"button",6),b("click",function(){return o.cancel()}),l(22,"uds-translate"),f(23,"Cancel"),d()(),l(24,"button",7),b("click",function(){return o.save()}),l(25,"uds-translate"),f(26,"Ok"),d()()()),n&2&&(u(3),P(" ",o.pool.name,""),u(7),U("ngModel",o.authId),u(),h("options",o.auths),u(),h("ngForOf",o.filteredAuths()),u(5),U("ngModel",o.groupId),u(),h("options",o.groups),u(),h("ngForOf",o.filteredGroups()))},dependencies:[Fe,de,ve,be,Se,We,$e,Ge,me,Te,ht,Qe,ae,cn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]})}}return t})();function _7(t,i){if(t&1&&(dt(0),f(1),ut()),t&2){let e=_().$implicit;u(),P(" (",e.comments,")")}}function v7(t,i){if(t&1&&(l(0,"mat-option",7),f(1),x(2,_7,2,1,"ng-container",8),d()),t&2){let e=i.$implicit;h("value",e.id),u(),P(" ",e.name,""),u(),h("ngIf",e.comments)}}var mR=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.done=new Yt,this.transports=[],this.transportsFilter="",this.transportId="",this.servicePool=r.servicePool}static launch(e,n){let o=window.innerWidth<800?"60%":"40%";return e.gui.dialog.open(t,{width:o,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:n},disableClose:!1}).componentInstance.done}ngOnInit(){return V(this,null,function*(){this.transports=(yield this.rest.transports.summary()).filter(e=>this.servicePool.info.allowed_protocols.includes(e.protocol))})}filteredTransports(){return this.transportsFilter?this.transports.filter(e=>e.name.toLocaleLowerCase().includes(this.transportsFilter.toLocaleLowerCase())):this.transports}save(){return V(this,null,function*(){if(this.transportId===""){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid transport"));return}yield this.rest.servicesPools.detail(this.servicePool.id,"transports").create({id:this.transportId}),this.done.resolve(!0),this.dialogRef.close()})}cancel(){return V(this,null,function*(){this.done.resolve(!1),this.dialogRef.close()})}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(J),w(Ae),w(Be))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-service-pools-add-transport"]],standalone:!1,decls:20,vars:4,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModelChange","ngModel"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[4,"ngIf"]],template:function(n,o){n&1&&(l(0,"h4",0)(1,"uds-translate"),f(2,"New transport for"),d(),f(3),d(),l(4,"mat-dialog-content")(5,"div",1)(6,"mat-form-field")(7,"mat-label")(8,"uds-translate"),f(9,"Transport"),d()(),l(10,"mat-select",2),H("ngModelChange",function(a){return W(o.transportId,a)||(o.transportId=a),a}),l(11,"uds-cond-select-search",3),b("changed",function(a){return o.transportsFilter=a}),d(),x(12,v7,3,3,"mat-option",4),d()()()(),l(13,"mat-dialog-actions")(14,"button",5),b("click",function(){return o.cancel()}),l(15,"uds-translate"),f(16,"Cancel"),d()(),l(17,"button",6),b("click",function(){return o.save()}),l(18,"uds-translate"),f(19,"Ok"),d()()()),n&2&&(u(3),P(" ",o.servicePool.name,""),u(7),U("ngModel",o.transportId),u(),h("options",o.transports),u(),h("ngForOf",o.filteredTransports()))},dependencies:[Fe,de,ve,be,Se,We,$e,Ge,me,Te,ht,Qe,ae,cn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]})}}return t})();var pR=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.done=new Yt,this.reason="",this.servicePool=r.servicePool}static launch(e,n){let o=window.innerWidth<800?"60%":"40%";return e.gui.dialog.open(t,{width:o,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:n},disableClose:!1}).componentInstance.done}ngOnInit(){}save(){this.rest.servicesPools.detail(this.servicePool.id,"publications").invoke("publish","changelog="+encodeURIComponent(this.reason)).then(()=>{this.dialogRef.close(),this.done.resolve(!0)})}cancel(){this.dialogRef.close(),this.done.resolve(!1)}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(J),w(Ae),w(Be))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-service-pools-new-publication"]],standalone:!1,decls:18,vars:2,consts:[["mat-dialog-title",""],[1,"content"],["matInput","","type","text",3,"ngModelChange","ngModel"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"]],template:function(n,o){n&1&&(l(0,"h4",0)(1,"uds-translate"),f(2,"New publication for"),d(),f(3),d(),l(4,"mat-dialog-content")(5,"div",1)(6,"mat-form-field")(7,"mat-label")(8,"uds-translate"),f(9,"Comments"),d()(),l(10,"input",2),H("ngModelChange",function(a){return W(o.reason,a)||(o.reason=a),a}),d()()()(),l(11,"mat-dialog-actions")(12,"button",3),b("click",function(){return o.cancel()}),l(13,"uds-translate"),f(14,"Cancel"),d()(),l(15,"button",4),b("click",function(){return o.save()}),l(16,"uds-translate"),f(17,"Ok"),d()()()),n&2&&(u(3),P(" ",o.servicePool.name,` -`),u(7),U("ngModel",o.reason))},dependencies:[st,ve,be,Se,We,$e,Ge,me,Te,pt,ae],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]})}}return t})();var hR=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.onSave=new T(!0),this.changeLogPubs={},this.servicePool=r.servicePool}static launch(e,n){let o=window.innerWidth<800?"80%":"60%",r=e.gui.dialog.open(t,{width:o,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:n},disableClose:!1})}ngOnInit(){this.changeLogPubs=this.rest.servicesPools.detail(this.servicePool.id,"changelog")}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(J),w(Ae),w(Be))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-service-pools-publications-changelog"]],standalone:!1,decls:11,vars:4,consts:[["changeLog",""],["mat-dialog-title",""],["icon","publications",3,"rest","allowExport","tableId"],["mat-raised-button","","color","primary","mat-dialog-close",""]],template:function(n,o){n&1&&(l(0,"h4",1)(1,"uds-translate"),f(2,"Changelog of"),d(),f(3),d(),l(4,"mat-dialog-content"),M(5,"uds-table",2,0),d(),l(7,"mat-dialog-actions")(8,"button",3)(9,"uds-translate"),f(10,"Ok"),d()()()),n&2&&(u(3),P(" ",o.servicePool.name,` -`),u(2),h("rest",o.changeLogPubs)("allowExport",!0)("tableId","servicePools-d-changelog"+o.servicePool.id))},dependencies:[Se,jt,We,$e,Ge,ae,xe],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]})}}return t})();var b7=["switch"],y7=["*"];function C7(t,i){t&1&&(l(0,"span",10),nn(),l(1,"svg",12),M(2,"path",13),d(),l(3,"svg",14),M(4,"path",15),d()())}var w7=new k("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1})}),x7={provide:hi,useExisting:en(()=>cr),multi:!0},Og=class{source;checked;constructor(i,e){this.source=i,this.checked=e}},cr=(()=>{class t{_elementRef=m(K);_focusMonitor=m(Sn);_changeDetectorRef=m(De);defaults=m(w7);_onChange=e=>{};_onTouched=()=>{};_validatorOnChange=()=>{};_uniqueId;_checked=!1;_createChangeEvent(e){return new Og(this,e)}_labelId;get buttonId(){return`${this.id||this._uniqueId}-button`}_switchElement;focus(){this._switchElement.nativeElement.focus()}_noopAnimations;_focused;name=null;id;labelPosition="after";ariaLabel=null;ariaLabelledby=null;ariaDescribedby;required;color;disabled=!1;disableRipple=!1;tabIndex=0;get checked(){return this._checked}set checked(e){this._checked=e,this._changeDetectorRef.markForCheck()}hideIcon;disabledInteractive;change=new T;toggleChange=new T;get inputId(){return`${this.id||this._uniqueId}-input`}constructor(){m(wt).load(yn);let e=m(new jn("tabindex"),{optional:!0}),n=this.defaults,o=m(et,{optional:!0});this.tabIndex=e==null?0:parseInt(e)||0,this.color=n.color||"accent",this._noopAnimations=o==="NoopAnimations",this.id=this._uniqueId=m(mt).getId("mat-mdc-slide-toggle-"),this.hideIcon=n.hideIcon??!1,this.disabledInteractive=n.disabledInteractive??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e==="keyboard"||e==="program"?(this._focused=!0,this._changeDetectorRef.markForCheck()):e||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(e){e.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorOnChange=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.disabled||(this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new Og(this,this.checked))))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(n,o){if(n&1&&se(b7,5),n&2){let r;q(r=Y())&&(o._switchElement=r.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(n,o){n&2&&(xn("id",o.id),ee("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),Vt(o.color?"mat-"+o.color:""),te("mat-mdc-slide-toggle-focused",o._focused)("mat-mdc-slide-toggle-checked",o.checked)("_mat-animation-noopable",o._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",G],color:"color",disabled:[2,"disabled","disabled",G],disableRipple:[2,"disableRipple","disableRipple",G],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Xt(e)],checked:[2,"checked","checked",G],hideIcon:[2,"hideIcon","hideIcon",G],disabledInteractive:[2,"disabledInteractive","disabledInteractive",G]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[_e([x7,{provide:ao,useExisting:t,multi:!0}]),He],ngContentSelectors:y7,decls:13,vars:27,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(n,o){if(n&1){let r=A();Pe(),l(0,"div",1)(1,"button",2,0),b("click",function(){return y(r),C(o._handleClick())}),M(3,"span",3),l(4,"span",4)(5,"span",5)(6,"span",6),M(7,"span",7),d(),l(8,"span",8),M(9,"span",9),d(),x(10,C7,5,0,"span",10),d()()(),l(11,"label",11),b("click",function(s){return y(r),C(s.stopPropagation())}),re(12),d()()}if(n&2){let r=ge(2);h("labelPosition",o.labelPosition),u(),te("mdc-switch--selected",o.checked)("mdc-switch--unselected",!o.checked)("mdc-switch--checked",o.checked)("mdc-switch--disabled",o.disabled)("mat-mdc-slide-toggle-disabled-interactive",o.disabledInteractive),h("tabIndex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("disabled",o.disabled&&!o.disabledInteractive),ee("id",o.buttonId)("name",o.name)("aria-label",o.ariaLabel)("aria-labelledby",o._getAriaLabelledBy())("aria-describedby",o.ariaDescribedby)("aria-required",o.required||null)("aria-checked",o.checked)("aria-disabled",o.disabled&&o.disabledInteractive?"true":null),u(8),h("matRippleTrigger",r)("matRippleDisabled",o.disableRipple||o.disabled)("matRippleCentered",!0),u(),we(o.hideIcon?-1:10),u(),h("for",o.buttonId),ee("id",o._labelId)}},dependencies:[ji,Df],styles:[`.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative;width:var(--mdc-switch-track-width, 52px)}.mdc-switch.mdc-switch--disabled{cursor:default;pointer-events:none}.mdc-switch.mat-mdc-slide-toggle-disabled-interactive{pointer-events:auto}.mdc-switch__track{overflow:hidden;position:relative;width:100%;height:var(--mdc-switch-track-height, 32px);border-radius:var(--mdc-switch-track-shape, var(--mat-sys-corner-full))}.mdc-switch--disabled.mdc-switch .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%;border-width:var(--mat-switch-track-outline-width, 2px);border-color:var(--mat-switch-track-outline-color, var(--mat-sys-outline))}.mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track::after{border-width:var(--mat-switch-selected-track-outline-width, 2px);border-color:var(--mat-switch-selected-track-outline-color, transparent)}.mdc-switch--disabled .mdc-switch__track::before,.mdc-switch--disabled .mdc-switch__track::after{border-width:var(--mat-switch-disabled-unselected-track-outline-width, 2px);border-color:var(--mat-switch-disabled-unselected-track-outline-color, var(--mat-sys-on-surface))}@media(forced-colors: active){.mdc-switch__track{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0);background:var(--mdc-switch-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch--selected .mdc-switch__track::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity, 0);transition:var(--mat-switch-hidden-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity, 1);transition:var(--mat-switch-visible-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, var(--mat-sys-surface-variant))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::before,.mdc-switch.mdc-switch--disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch__track::after{transform:translateX(-100%);background:var(--mdc-switch-selected-track-color, var(--mat-sys-primary))}[dir=rtl] .mdc-switch__track::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::after{transform:translateX(0)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity, 1);transition:var(--mat-switch-visible-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity, 0);transition:var(--mat-switch-hidden-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, var(--mat-sys-primary))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::after,.mdc-switch.mdc-switch--disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, var(--mat-sys-on-surface))}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0);width:calc(100% - var(--mdc-switch-handle-width))}[dir=rtl] .mdc-switch__handle-track{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto;transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1);width:var(--mdc-switch-handle-width);height:var(--mdc-switch-handle-height);border-radius:var(--mdc-switch-handle-shape, var(--mat-sys-corner-full))}[dir=rtl] .mdc-switch__handle{left:auto;right:0}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size, 16px);height:var(--mat-switch-unselected-handle-size, 16px);margin:var(--mat-switch-unselected-handle-horizontal-margin, 0 8px)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin, 0 4px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size, 24px);height:var(--mat-switch-selected-handle-size, 24px);margin:var(--mat-switch-selected-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size, 24px);height:var(--mat-switch-with-icon-handle-size, 24px)}.mat-mdc-slide-toggle .mdc-switch:active:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size, 28px);height:var(--mat-switch-pressed-handle-size, 28px)}.mat-mdc-slide-toggle .mdc-switch--selected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin, 0 22px)}.mat-mdc-slide-toggle .mdc-switch--unselected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin, 0 2px)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity, 1)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity, 0.38)}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media(forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mat-sys-on-primary))}.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, var(--mat-sys-primary-container))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:hover:not(:focus):not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:focus:not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:active .mdc-switch__handle::after,.mdc-switch--selected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, var(--mat-sys-surface))}.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, var(--mat-sys-outline))}.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, var(--mat-sys-on-surface))}.mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__shadow,.mdc-switch.mdc-switch--disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1;width:var(--mdc-switch-state-layer-size, 40px);height:var(--mdc-switch-state-layer-size, 40px)}.mdc-switch__ripple::after{content:"";opacity:0}.mdc-switch--disabled .mdc-switch__ripple::after{display:none}.mat-mdc-slide-toggle-disabled-interactive .mdc-switch__ripple::after{display:block}.mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:75ms opacity cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:focus .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:active .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:hover:not(:focus) .mdc-switch__ripple::after,.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-pressed-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-selected-pressed-state-layer-color, var(--mat-sys-primary));opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch__icons{position:relative;height:100%;width:100%;z-index:1;transform:translateZ(0)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 16px);height:var(--mdc-switch-unselected-icon-size, 16px);fill:var(--mdc-switch-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 16px);height:var(--mdc-switch-selected-icon-size, 16px);fill:var(--mdc-switch-selected-icon-color, var(--mat-sys-on-primary-container))}.mdc-switch--selected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mat-sys-on-surface))}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{-webkit-user-select:none;user-select:none;display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-internal-form-field{color:var(--mat-switch-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-switch-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-switch-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-switch-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-switch-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-switch-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)} -`],encapsulation:2,changeDetection:0})}return t})();var fR=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[cr,ue,ue]})}return t})();var D7=()=>["transport","group","bool"];function S7(t,i){t&1&&(dt(0),l(1,"uds-translate"),f(2,"Edit action for"),d(),ut())}function E7(t,i){t&1&&(l(0,"uds-translate"),f(1,"New action for"),d())}function M7(t,i){if(t&1&&(l(0,"mat-option",13),f(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),P(" ",e.name," ")}}function I7(t,i){if(t&1&&(l(0,"mat-option",13),f(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),P(" ",e.description," ")}}function T7(t,i){if(t&1&&(l(0,"mat-option",13),f(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),P(" ",e.name," ")}}function k7(t,i){if(t&1){let e=A();dt(0),l(1,"mat-form-field")(2,"mat-label")(3,"uds-translate"),f(4,"Transport"),d()(),l(5,"mat-select",4),H("ngModelChange",function(o){y(e);let r=_();return W(r.paramValue,o)||(r.paramValue=o),C(o)}),l(6,"uds-cond-select-search",5),b("changed",function(o){y(e);let r=_();return C(r.transportsFilter=o)}),d(),x(7,T7,2,2,"mat-option",6),d()(),ut()}if(t&2){let e=_();u(5),U("ngModel",e.paramValue),u(),h("options",e.transports),u(),h("ngForOf",e.filtered(e.transports,e.transportsFilter))}}function A7(t,i){if(t&1&&(l(0,"mat-option",13),f(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),P(" ",e.name," ")}}function R7(t,i){if(t&1&&(l(0,"mat-option",13),f(1),d()),t&2){let e=i.$implicit,n=_(2);h("value",n.authenticator+"@"+e.id),u(),P(" ",e.name," ")}}function O7(t,i){if(t&1){let e=A();dt(0),l(1,"mat-form-field")(2,"mat-label")(3,"uds-translate"),f(4,"Authenticator"),d()(),l(5,"mat-select",9),H("ngModelChange",function(o){y(e);let r=_();return W(r.authenticator,o)||(r.authenticator=o),C(o)}),b("valueChange",function(o){y(e);let r=_();return C(r.authenticatorChangedTo(o))}),x(6,A7,2,2,"mat-option",6),d()(),l(7,"mat-form-field")(8,"mat-label")(9,"uds-translate"),f(10,"Group"),d()(),l(11,"mat-select",4),H("ngModelChange",function(o){y(e);let r=_();return W(r.paramValue,o)||(r.paramValue=o),C(o)}),l(12,"uds-cond-select-search",5),b("changed",function(o){y(e);let r=_();return C(r.groupsFilter=o)}),d(),x(13,R7,2,2,"mat-option",6),d()(),ut()}if(t&2){let e=_();u(5),U("ngModel",e.authenticator),u(),h("ngForOf",e.authenticators),u(5),U("ngModel",e.paramValue),u(),h("options",e.groups),u(),h("ngForOf",e.filtered(e.groups,e.groupsFilter))}}function P7(t,i){if(t&1){let e=A();dt(0),l(1,"div",14)(2,"span",15),f(3),d(),f(4,"\xA0 "),l(5,"mat-slide-toggle",4),H("ngModelChange",function(o){y(e);let r=_();return W(r.paramValue,o)||(r.paramValue=o),C(o)}),d()(),ut()}if(t&2){let e=_();u(3),Ve(e.parameter.description),u(2),U("ngModel",e.paramValue)}}function F7(t,i){if(t&1){let e=A();dt(0),l(1,"mat-form-field")(2,"mat-label"),f(3),d(),l(4,"input",16),H("ngModelChange",function(o){y(e);let r=_();return W(r.paramValue,o)||(r.paramValue=o),C(o)}),d()(),ut()}if(t&2){let e=_();u(3),P(" ",e.parameter.description," "),u(),h("type",e.parameter.type),U("ngModel",e.paramValue)}}var sw=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.onSave=new T(!0),this.calendars=[],this.actionList=[],this.authenticators=[],this.transports=[],this.groups=[],this.paramsDict={},this.calendarsFilter="",this.groupsFilter="",this.transportsFilter="",this.authenticator="",this.parameter={},this.paramValue="",this.servicePool=r.servicePool,this.scheduledAction={id:void 0,action:"",calendar:"",calendar_id:"",at_start:!0,events_offset:0,params:{}},r.scheduledAction!==void 0&&(this.scheduledAction.id=r.scheduledAction.id)}static launch(e,n,o){let r=window.innerWidth<800?"80%":"60%";return e.gui.dialog.open(t,{width:r,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:n,scheduledAction:o},disableClose:!1}).componentInstance.onSave}ngOnInit(){this.rest.authenticators.summary().then(e=>this.authenticators=e),this.rest.transports.summary().then(e=>this.transports=e),this.rest.calendars.summary().then(e=>this.calendars=e),this.rest.servicesPools.actionsList(this.servicePool.id).then(e=>{this.actionList=e,this.actionList.forEach(n=>{this.paramsDict[n.id]=n.params[0]}),this.scheduledAction.id!==void 0&&this.rest.servicesPools.detail(this.servicePool.id,"actions").get(this.scheduledAction.id).then(n=>{this.scheduledAction=n,this.actionChangedTo(this.scheduledAction.action)})})}filtered(e,n){return n?e.filter(o=>o.name.toLocaleLowerCase().includes(n.toLocaleLowerCase())):e}actionChangedTo(e){if(this.parameter=this.paramsDict[e],this.parameter!==void 0&&(this.paramValue=this.scheduledAction.params[this.parameter.name],this.paramValue===void 0&&(this.parameter.default!==!1?this.paramValue=this.parameter.default||"":this.paramValue=!1),this.parameter.type==="group")){let n=this.paramValue.split("@");n.length!==2&&(n=["",""]),this.authenticator=n[0],this.authenticatorChangedTo(this.authenticator)}}authenticatorChangedTo(e){return V(this,null,function*(){e&&(this.groups=yield this.rest.authenticators.detail(e,"groups").summary())})}save(){return V(this,null,function*(){this.scheduledAction.params={},this.parameter&&(this.scheduledAction.params[this.parameter.name]=this.paramValue),yield this.rest.servicesPools.detail(this.servicePool.id,"actions").save(this.scheduledAction),this.dialogRef.close(),this.onSave.emit(!0)})}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(J),w(Ae),w(Be))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-service-pools-scheduled-action"]],standalone:!1,decls:40,vars:15,consts:[["editTitle",""],["mat-dialog-title",""],[4,"ngIf","ngIfElse"],[1,"content"],[3,"ngModelChange","ngModel"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],["matInput","","type","number",3,"ngModelChange","ngModel"],[1,"toggle"],[3,"ngModelChange","valueChange","ngModel"],[4,"ngIf"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[1,"mat-form-field-infix"],[1,"label"],["matInput","",3,"ngModelChange","type","ngModel"]],template:function(n,o){if(n&1){let r=A();l(0,"h4",1),x(1,S7,3,0,"ng-container",2)(2,E7,2,0,"ng-template",null,0,mn),f(4),d(),l(5,"mat-dialog-content")(6,"div",3)(7,"mat-form-field")(8,"mat-label")(9,"uds-translate"),f(10,"Calendar"),d()(),l(11,"mat-select",4),H("ngModelChange",function(s){return y(r),W(o.scheduledAction.calendar_id,s)||(o.scheduledAction.calendar_id=s),C(s)}),l(12,"uds-cond-select-search",5),b("changed",function(s){return y(r),C(o.calendarsFilter=s)}),d(),x(13,M7,2,2,"mat-option",6),d()(),l(14,"mat-form-field")(15,"mat-label")(16,"uds-translate"),f(17,"Events offset (minutes)"),d()(),l(18,"input",7),H("ngModelChange",function(s){return y(r),W(o.scheduledAction.events_offset,s)||(o.scheduledAction.events_offset=s),C(s)}),d()(),l(19,"div",8)(20,"mat-slide-toggle",4),H("ngModelChange",function(s){return y(r),W(o.scheduledAction.at_start,s)||(o.scheduledAction.at_start=s),C(s)}),l(21,"uds-translate"),f(22,"At the beginning of the interval?"),d()()(),l(23,"mat-form-field")(24,"mat-label")(25,"uds-translate"),f(26,"Action"),d()(),l(27,"mat-select",9),H("ngModelChange",function(s){return y(r),W(o.scheduledAction.action,s)||(o.scheduledAction.action=s),C(s)}),b("valueChange",function(s){return y(r),C(o.actionChangedTo(s))}),x(28,I7,2,2,"mat-option",6),d()(),x(29,k7,8,3,"ng-container",10)(30,O7,14,5,"ng-container",10)(31,P7,6,2,"ng-container",10)(32,F7,5,3,"ng-container",10),d()(),l(33,"mat-dialog-actions")(34,"button",11)(35,"uds-translate"),f(36,"Cancel"),d()(),l(37,"button",12),b("click",function(){return y(r),C(o.save())}),l(38,"uds-translate"),f(39,"Ok"),d()()()}if(n&2){let r=ge(3);u(),h("ngIf",o.scheduledAction.id!==void 0)("ngIfElse",r),u(3),P(" ",o.servicePool.name,` -`),u(7),U("ngModel",o.scheduledAction.calendar_id),u(),h("options",o.calendars),u(),h("ngForOf",o.filtered(o.calendars,o.calendarsFilter)),u(5),U("ngModel",o.scheduledAction.events_offset),u(2),U("ngModel",o.scheduledAction.at_start),u(7),U("ngModel",o.scheduledAction.action),u(),h("ngForOf",o.actionList),u(),h("ngIf",(o.parameter==null?null:o.parameter.type)==="transport"),u(),h("ngIf",(o.parameter==null?null:o.parameter.type)==="group"),u(),h("ngIf",(o.parameter==null?null:o.parameter.type)==="bool"),u(),h("ngIf",(o.parameter==null?null:o.parameter.type)&&!sl(14,D7).includes(o.parameter.type))}},dependencies:[Fe,de,st,zi,ve,be,Se,jt,We,$e,Ge,me,Te,pt,ht,Qe,cr,ae,cn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]})}}return t})();var cu=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.onSave=new T(!0),this.userService=r.userService,this.model=r.model}static launch(e,n,o){let r=window.innerWidth<800?"80%":"60%",a=e.gui.dialog.open(t,{width:r,position:{top:window.innerWidth<800?"0px":"7rem"},data:{userService:n,model:o},disableClose:!1})}ngOnInit(){}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(J),w(Ae),w(Be))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-service-pools-userservices-log"]],standalone:!1,decls:10,vars:4,consts:[["mat-dialog-title",""],[3,"rest","itemId","tableId"],["mat-raised-button","","color","primary","mat-dialog-close",""]],template:function(n,o){n&1&&(l(0,"h4",0)(1,"uds-translate"),f(2,"Logs of"),d(),f(3),d(),l(4,"mat-dialog-content"),M(5,"uds-logs-table",1),d(),l(6,"mat-dialog-actions")(7,"button",2)(8,"uds-translate"),f(9,"Ok"),d()()()),n&2&&(u(3),P(" ",o.userService.name,` -`),u(2),h("rest",o.model)("itemId",o.userService.id)("tableId","servicePools-d-uslog"+o.userService.id))},dependencies:[Se,jt,We,$e,Ge,ae,Ti],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]})}}return t})();function N7(t,i){if(t&1&&(l(0,"mat-option",8),f(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),P(" ",e.text," ")}}function L7(t,i){if(t&1&&(l(0,"mat-option",8),f(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),P(" ",e.name," ")}}function V7(t,i){if(t&1&&(l(0,"mat-option",8),f(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),P(" ",e.name," ")}}var gR=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.done=new Yt,this.auths=[],this.assignablesServices=[],this.assignablesServicesFilter="",this.users=[],this.userFilter="",this.serviceId="",this.authId="",this.userId="",this.servicePool=r.servicePool}static launch(e,n){let o=window.innerWidth<800?"60%":"40%";return e.gui.dialog.open(t,{width:o,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:n},disableClose:!1}).componentInstance.done}ngOnInit(){return V(this,null,function*(){this.authId="",this.userId="";let e=yield this.rest.authenticators.summary(),n=yield this.rest.servicesPools.listAssignables(this.servicePool.id);this.auths=e,this.assignablesServices=n})}changeAuth(e){return V(this,null,function*(){this.userId="",this.authChanged()})}filteredUsers(){if(!this.userFilter)return this.users;let e=new Array;return this.users.forEach(n=>{n.name.toLocaleLowerCase().includes(this.userFilter.toLocaleLowerCase())&&e.push(n)}),e}filteredAssignables(){if(!this.assignablesServicesFilter)return this.assignablesServices;let e=new Array;return this.assignablesServices.forEach(n=>{n.text.toLocaleLowerCase().includes(this.assignablesServicesFilter.toLocaleLowerCase())&&e.push(n)}),e}save(){return V(this,null,function*(){if(this.userId===""||this.authId===""){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid user"));return}this.rest.servicesPools.createFromAssignable(this.servicePool.id,this.userId,this.serviceId).then(e=>{this.dialogRef.close(),this.done.resolve(!0)})})}cancel(){this.dialogRef.close(),this.done.resolve(!1)}authChanged(){return V(this,null,function*(){this.authId&&(this.users=yield this.rest.authenticators.detail(this.authId,"users").summary())})}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(J),w(Ae),w(Be))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-assign-service-to-owner"]],standalone:!1,decls:32,vars:8,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModelChange","ngModel"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModelChange","selectionChange","ngModel"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"]],template:function(n,o){n&1&&(l(0,"h4",0)(1,"uds-translate"),f(2,"Assign service to user manually"),d()(),l(3,"mat-dialog-content")(4,"div",1)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),f(8,"Service"),d()(),l(9,"mat-select",2),H("ngModelChange",function(a){return W(o.serviceId,a)||(o.serviceId=a),a}),l(10,"uds-cond-select-search",3),b("changed",function(a){return o.assignablesServicesFilter=a}),d(),x(11,N7,2,2,"mat-option",4),d()(),l(12,"mat-form-field")(13,"mat-label")(14,"uds-translate"),f(15,"Authenticator"),d()(),l(16,"mat-select",5),H("ngModelChange",function(a){return W(o.authId,a)||(o.authId=a),a}),b("selectionChange",function(a){return o.changeAuth(a)}),x(17,L7,2,2,"mat-option",4),d()(),l(18,"mat-form-field")(19,"mat-label")(20,"uds-translate"),f(21,"User"),d()(),l(22,"mat-select",2),H("ngModelChange",function(a){return W(o.userId,a)||(o.userId=a),a}),l(23,"uds-cond-select-search",3),b("changed",function(a){return o.userFilter=a}),d(),x(24,V7,2,2,"mat-option",4),d()()()(),l(25,"mat-dialog-actions")(26,"button",6),b("click",function(){return o.cancel()}),l(27,"uds-translate"),f(28,"Cancel"),d()(),l(29,"button",7),b("click",function(){return o.save()}),l(30,"uds-translate"),f(31,"Ok"),d()()()),n&2&&(u(9),U("ngModel",o.serviceId),u(),h("options",o.assignablesServices),u(),h("ngForOf",o.filteredAssignables()),u(5),U("ngModel",o.authId),u(),h("ngForOf",o.auths),u(5),U("ngModel",o.userId),u(),h("options",o.users),u(),h("ngForOf",o.filteredUsers()))},dependencies:[Fe,ve,be,Se,We,$e,Ge,me,Te,ht,Qe,ae,cn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]})}}return t})();var vR=lc(su());var _R=(()=>{class t{constructor(e){this.rest=e,this.poolUuid="",this.options={},this.chart=null}onResize(e){this.chart&&this.chart.resize()}ngOnInit(){return V(this,null,function*(){let e=yield this.rest.system.stats("complete",this.poolUuid);this.options={tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},toolbox:{feature:{dataZoom:{yAxisIndex:"none"},restore:{},saveAsImage:{}}},xAxis:{type:"category",data:e.assigned.map(n=>Nn("SHORT_DATETIME_FORMAT",new Date(n.stamp))),boundaryGap:!1},yAxis:{type:"value"},series:[{name:django.gettext("Assigned"),type:"line",stack:"services",smooth:!0,areaStyle:{},data:e.assigned.map(n=>n.value)},{name:django.gettext("Cached"),type:"line",stack:"services",smooth:!0,areaStyle:{},data:e.cached.map(n=>n.value)},{name:django.gettext("In use"),type:"line",smooth:!0,data:e.inuse.map(n=>n.value)}]}})}chartInit(e){this.chart=e}static{this.\u0275fac=function(n){return new(n||t)(w(J))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-service-pools-charts"]],hostBindings:function(n,o){n&1&&b("resize",function(a){return o.onResize(a)},!1,hp)},inputs:{poolUuid:"poolUuid"},standalone:!1,decls:2,vars:1,consts:[[1,"statistics-chart"],["echarts","","theme","dark-digerati",3,"chartInit","options"]],template:function(n,o){n&1&&(l(0,"div",0)(1,"div",1),b("chartInit",function(a){return o.chartInit(a)}),d()()),n&2&&(u(),h("options",o.options))},dependencies:[$f],encapsulation:2})}}return t})();var j7=t=>["/pools","service-pools",t];function z7(t,i){t&1&&(l(0,"uds-translate"),f(1,"Summary"),d())}function U7(t,i){if(t&1&&M(0,"uds-information",15),t&2){let e=_(2);h("value",e.servicePool)("gui",e.gui)}}function H7(t,i){t&1&&(l(0,"uds-translate"),f(1,"Assigned services"),d())}function W7(t,i){if(t&1){let e=A();l(0,"mat-tab"),x(1,H7,2,0,"ng-template",9),l(2,"div",10)(3,"uds-table",16),b("customButtonAction",function(o){y(e);let r=_(2);return C(r.onCustomAssigned(o))})("deleteAction",function(o){y(e);let r=_(2);return C(r.onDeleteAssigned(o))}),d()()()}if(t&2){let e=_(2);u(3),h("rest",e.assignedServices)("multiSelect",!0)("allowExport",!0)("onItem",e.processsAssignedElement)("tableId","servicePools-d-services"+e.servicePool.id)("customButtons",e.customButtonsAssignedServices)("pageSize",e.api.config.admin.page_size)}}function G7(t,i){t&1&&(l(0,"span")(1,"uds-translate"),f(2,"Cache"),d()())}function $7(t,i){t&1&&(l(0,"span")(1,"uds-translate"),f(2,"Servers"),d()())}function q7(t,i){if(t&1&&x(0,G7,3,0,"span",12)(1,$7,3,0,"span",12),t&2){let e=_(3);h("ngIf",e.servicePool.state!=="Q"),u(),h("ngIf",e.servicePool.state==="Q")}}function Y7(t,i){if(t&1){let e=A();l(0,"mat-tab"),x(1,q7,2,2,"ng-template",9),l(2,"div",10)(3,"uds-table",17),b("customButtonAction",function(o){y(e);let r=_(2);return C(r.onCustomCached(o))})("deleteAction",function(o){y(e);let r=_(2);return C(r.onDeleteCache(o))}),d()()()}if(t&2){let e=_(2);u(3),h("rest",e.cache)("titleOverride",e.servicePool.state==="Q"?"Servers":"")("multiSelect",!0)("allowExport",!0)("onItem",e.processsCacheElement)("tableId","servicePools-d-cache"+e.servicePool.id)("customButtons",e.customButtonsCachedServices)("pageSize",e.api.config.admin.page_size)}}function Q7(t,i){t&1&&(l(0,"uds-translate"),f(1,"Groups"),d())}function K7(t,i){if(t&1){let e=A();l(0,"mat-tab"),x(1,Q7,2,0,"ng-template",9),l(2,"div",10)(3,"uds-table",18),b("newAction",function(o){y(e);let r=_(2);return C(r.onNewGroup(o))})("deleteAction",function(o){y(e);let r=_(2);return C(r.onDeleteGroup(o))}),d()()()}if(t&2){let e=_(2);u(3),h("rest",e.groups)("multiSelect",!0)("allowExport",!0)("customButtons",e.customButtonsGroups)("tableId","servicePools-d-groups"+e.servicePool.id)("pageSize",e.api.config.admin.page_size)}}function Z7(t,i){t&1&&(l(0,"uds-translate"),f(1,"Transports"),d())}function X7(t,i){if(t&1){let e=A();l(0,"mat-tab"),x(1,Z7,2,0,"ng-template",9),l(2,"div",10)(3,"uds-table",19),b("newAction",function(o){y(e);let r=_(2);return C(r.onNewTransport(o))})("deleteAction",function(o){y(e);let r=_(2);return C(r.onDeleteTransport(o))}),d()()()}if(t&2){let e=_(2);u(3),h("rest",e.transports)("multiSelect",!0)("allowExport",!0)("customButtons",e.customButtonsTransports)("tableId","servicePools-d-transports"+e.servicePool.id)("pageSize",e.api.config.admin.page_size)}}function J7(t,i){t&1&&(l(0,"uds-translate"),f(1,"Publications"),d())}function e9(t,i){if(t&1){let e=A();l(0,"mat-tab"),x(1,J7,2,0,"ng-template",9),l(2,"div",10)(3,"uds-table",20),b("customButtonAction",function(o){y(e);let r=_(2);return C(r.onCustomPublication(o))})("newAction",function(o){y(e);let r=_(2);return C(r.onNewPublication(o))})("rowSelected",function(o){y(e);let r=_(2);return C(r.onPublicationRowSelect(o))}),d()()()}if(t&2){let e=_(2);u(3),h("rest",e.publications)("multiSelect",!0)("allowExport",!0)("tableId","servicePools-d-publications"+e.servicePool.id)("customButtons",e.customButtonsPublication)("pageSize",e.api.config.admin.page_size)}}function t9(t,i){t&1&&(l(0,"uds-translate"),f(1,"Scheduled actions"),d())}function n9(t,i){t&1&&(l(0,"uds-translate"),f(1,"Access calendars"),d())}function i9(t,i){if(t&1){let e=A();l(0,"mat-tab"),x(1,n9,2,0,"ng-template",9),l(2,"div",10)(3,"uds-table",21),b("newAction",function(o){y(e);let r=_(2);return C(r.onNewAccessCalendar(o))})("editAction",function(o){y(e);let r=_(2);return C(r.onEditAccessCalendar(o))})("deleteAction",function(o){y(e);let r=_(2);return C(r.onDeleteAccessCalendar(o))})("loaded",function(o){y(e);let r=_(2);return C(r.onAccessCalendarLoad(o))}),d()()()}if(t&2){let e=_(2);u(3),h("rest",e.accessCalendars)("multiSelect",!0)("allowExport",!0)("customButtons",e.customButtonAccessCalendars)("tableId","servicePools-d-access"+e.servicePool.id)("onItem",e.processsCalendarOrScheduledElement)("pageSize",e.api.config.admin.page_size)}}function o9(t,i){t&1&&(l(0,"uds-translate"),f(1,"Charts"),d())}function r9(t,i){if(t&1&&(l(0,"mat-tab"),x(1,o9,2,0,"ng-template",9),l(2,"div",10),M(3,"uds-service-pools-charts",22),d()()),t&2){let e=_(2);u(3),h("poolUuid",e.servicePool.id)}}function a9(t,i){t&1&&(l(0,"uds-translate"),f(1,"Logs"),d())}function s9(t,i){if(t&1){let e=A();l(0,"div",6)(1,"div",7)(2,"mat-tab-group",8),H("selectedIndexChange",function(o){y(e);let r=_();return W(r.selectedTab,o)||(r.selectedTab=o),C(o)}),l(3,"mat-tab"),x(4,z7,2,0,"ng-template",9),l(5,"div",10),x(6,U7,1,2,"uds-information",11),d()(),x(7,W7,4,7,"mat-tab",12)(8,Y7,4,8,"mat-tab",12)(9,K7,4,6,"mat-tab",12)(10,X7,4,6,"mat-tab",12)(11,e9,4,6,"mat-tab",12),l(12,"mat-tab"),x(13,t9,2,0,"ng-template",9),l(14,"div",10)(15,"uds-table",13),b("customButtonAction",function(o){y(e);let r=_();return C(r.onCustomScheduleAction(o))})("newAction",function(o){y(e);let r=_();return C(r.onNewScheduledAction(o))})("editAction",function(o){y(e);let r=_();return C(r.onEditScheduledAction(o))})("deleteAction",function(o){y(e);let r=_();return C(r.onDeleteScheduledAction(o))}),d()()(),x(16,i9,4,7,"mat-tab",12)(17,r9,4,1,"mat-tab",12),l(18,"mat-tab"),x(19,a9,2,0,"ng-template",9),l(20,"div",10),M(21,"uds-logs-table",14),d()()()()()}if(t&2){let e=_();u(2),U("selectedIndex",e.selectedTab),h("@.disabled",!0),u(4),h("ngIf",e.servicePool&&e.gui),u(),h("ngIf",e.servicePool.state!=="Q"),u(),h("ngIf",e.cache),u(),h("ngIf",e.servicePool.state!=="Q"),u(),h("ngIf",e.servicePool.state!=="Q"),u(),h("ngIf",e.publications),u(4),h("rest",e.scheduledActions)("multiSelect",!0)("allowExport",!0)("tableId","servicePools-d-actions"+e.servicePool.id)("customButtons",e.customButtonsScheduledAction)("onItem",e.processsCalendarOrScheduledElement)("pageSize",e.api.config.admin.page_size),u(),h("ngIf",e.servicePool.state!=="Q"),u(),h("ngIf",e.servicePool.state!=="Q"),u(4),h("rest",e.rest.servicesPools)("itemId",e.servicePool.id)("tableId","servicePools-d-log"+e.servicePool.id)("pageSize",e.api.config.admin.page_size)}}var Fg='event'+django.gettext("Logs")+"",l9='computer'+django.gettext("VNC")+"",c9='schedule'+django.gettext("Launch now")+"",lw='perm_identity'+django.gettext("Change owner")+"",d9='perm_identity'+django.gettext("Assign service")+"",u9='cancel'+django.gettext("Cancel")+"",m9='event'+django.gettext("Changelog")+"",Ng=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o,this.customButtonsScheduledAction=[{id:"launch-action",html:c9,type:ot.SINGLE_SELECT},En.getGotoButton(wf,"calendar_id")],this.customButtonAccessCalendars=[En.getGotoButton(wf,"calendar_id")],this.customButtonsAssignedServices=[{id:"change-owner",html:lw,type:ot.SINGLE_SELECT},{id:"log",html:Fg,type:ot.SINGLE_SELECT},En.getGotoButton(Xd,"owner_info.auth_id","owner_info.user_id")],this.customButtonsCachedServices=[{id:"log",html:Fg,type:ot.SINGLE_SELECT}],this.customButtonsPublication=[{id:"cancel-publication",html:u9,type:ot.SINGLE_SELECT},{id:"changelog",html:m9,type:ot.ALWAYS}],this.customButtonsGroups=[En.getGotoButton(pC,"auth_id","id")],this.customButtonsTransports=[En.getGotoButton(hC,"id")],this.servicePool=null,this.gui=[],this.assignedServices={},this.cache=null,this.groups={},this.transports={},this.publications=null,this.scheduledActions={},this.accessCalendars={},this.selectedTab=1}static cleanInvalidSelections(e){return e.table.selection.selected.filter(n=>["E","R","M","S","C"].includes(n.state)).forEach(n=>e.table.selection.deselect(n)),e.table.selection.isEmpty()}ngOnInit(){return V(this,null,function*(){let e=this.route.snapshot.paramMap.get("pool");if(!e)return;this.assignedServices=this.rest.servicesPools.detail(e,"services"),this.groups=this.rest.servicesPools.detail(e,"groups"),this.transports=this.rest.servicesPools.detail(e,"transports"),this.scheduledActions=this.rest.servicesPools.detail(e,"actions"),this.accessCalendars=this.rest.servicesPools.detail(e,"access");let n=yield this.rest.servicesPools.get(e),o=(yield this.rest.servicesPools.gui()).filter(r=>{let a=["initial_srvs","cache_l1_srvs","cache_l2_srvs","max_srvs"];return!(n.info.uses_cache===!1&&a.includes(r.name)||n.info.uses_cache_l2===!1&&r.name==="cache_l2_srvs"||n.info.needs_manager===!1&&r.name==="osmanager_id")});this.servicePool=n,this.gui=o,n.info.uses_cache?this.cache=this.rest.servicesPools.detail(e,"cache"):this.cache=null,n.info.needs_publication?this.publications=this.rest.servicesPools.detail(e,"publications"):this.publications=null,this.api.config.admin.vnc_userservices&&this.customButtonsAssignedServices.push({id:"vnc",html:l9,type:ot.ONLY_MENU}),this.servicePool.info.can_list_assignables&&this.customButtonsAssignedServices.push({id:"assign-service",html:d9,type:ot.ALWAYS})})}vnc(e){let n=`[connection] +`],{type:"text/csv;charset=utf-8"});(0,sP.saveAs)(n,"import-template.csv",{autoBom:!1})}onFileChange(e){return V(this,null,function*(){let n=e.target.files[0];if(!n)return;this.filename=n.name;let o=new FileReader,r=new tn;o.onload=s=>{let l=o.result;r.resolve(l)},o.readAsText(n);let a=yield r;this.result=yield this.loadCSV(a)})}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(Le),w(We))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-cvsimport"]],standalone:!1,decls:58,vars:9,consts:[["fileUpload",""],["mat-dialog-title",""],[3,"innerHTML"],[1,"content"],[1,"options"],[1,"field"],[3,"valueChange","value"],[3,"value"],["value",","],["value",";"],["value","|"],["value","tab"],[1,"upload"],["type","file","accept",".csv",1,"file-input",3,"change"],["type","text","matInput","","readonly","readonly",3,"ngModelChange","click","ngModel","placeholder","matTooltip"],["mat-stroked-button","","type","button",3,"click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","","color","primary"],["mat-raised-button","","mat-dialog-close","","color","warn",3,"click"],["mat-stroked-button","","type","button",3,"click"]],template:function(n,o){if(n&1){let r=A();c(0,"h4",1)(1,"uds-translate"),g(2,"CVS Import options for"),d(),g(3,"\xA0"),M(4,"b",2),d(),c(5,"mat-dialog-content")(6,"div",3)(7,"div",4)(8,"div",5)(9,"mat-form-field")(10,"mat-label")(11,"uds-translate"),g(12,"Header"),d()(),c(13,"mat-select",6),H("valueChange",function(s){return y(r),W(o.contains_header,s)||(o.contains_header=s),C(s)}),c(14,"mat-option",7)(15,"uds-translate"),g(16,"CSV contains header line"),d()(),c(17,"mat-option",7)(18,"uds-translate"),g(19,"CSV DOES NOT contains header line"),d()()()()(),c(20,"div",5)(21,"mat-form-field")(22,"mat-label")(23,"uds-translate"),g(24,"Separator"),d()(),c(25,"mat-select",6),H("valueChange",function(s){return y(r),W(o.separator,s)||(o.separator=s),C(s)}),c(26,"mat-option",8)(27,"uds-translate"),g(28,"Use comma"),d(),g(29," (,)"),d(),c(30,"mat-option",9)(31,"uds-translate"),g(32,"Use semicolon"),d(),g(33," (;)"),d(),c(34,"mat-option",10)(35,"uds-translate"),g(36,"Use pipe"),d(),g(37," (|)"),d(),c(38,"mat-option",11)(39,"uds-translate"),g(40,"Use tab"),d(),g(41," (tab)"),d()()()()()(),c(42,"div",12)(43,"mat-form-field")(44,"mat-label")(45,"uds-translate"),g(46,"File"),d()(),c(47,"input",13,0),b("change",function(s){return y(r),C(o.onFileChange(s))}),d(),c(49,"input",14),H("ngModelChange",function(s){return y(r),W(o.filename,s)||(o.filename=s),C(s)}),b("click",function(){y(r);let s=Se(48);return C(s.click())}),d()(),S(50,u7,3,0,"button",15),d()(),c(51,"mat-dialog-actions")(52,"button",16)(53,"uds-translate"),g(54,"Ok"),d()(),c(55,"button",17),b("click",function(){return y(r),C(o.filename="")}),c(56,"uds-translate"),g(57,"Cancel"),d()()()}n&2&&(u(4),h("innerHTML",o.title,$t),u(9),U("value",o.contains_header),u(),h("value",!0),u(3),h("value",!1),u(8),U("value",o.separator),u(24),U("ngModel",o.filename),h("placeholder","Click here to select file to import.")("matTooltip",o.help),u(),h("ngIf",o.template.length))},dependencies:[pe,ct,Ce,xe,ge,ao,Yt,Ze,Je,Xe,he,Pe,pt,gt,$e,se],styles:[".content[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;flex-wrap:wrap;width:100%}.options[_ngcontent-%COMP%]{width:100%}mat-form-field[_ngcontent-%COMP%]{width:100%!important}.mat-mdc-form-field[_ngcontent-%COMP%]{min-width:100%}.file-input[_ngcontent-%COMP%]{display:none}"]})}}return t})();var m7=t=>["/services","servers",t];function p7(t,i){t&1&&(c(0,"uds-translate"),g(1,"Summary"),d())}function h7(t,i){t&1&&(c(0,"uds-translate"),g(1,"Servers"),d())}function f7(t,i){if(t&1){let e=A();c(0,"div",6)(1,"div",7)(2,"mat-tab-group",8)(3,"mat-tab"),S(4,p7,2,0,"ng-template",9),c(5,"div",10),M(6,"uds-information",11),d()(),c(7,"mat-tab"),S(8,h7,2,0,"ng-template",9),c(9,"div",10)(10,"uds-table",12),b("newAction",function(o){y(e);let r=_();return C(r.onNew(o))})("editAction",function(o){y(e);let r=_();return C(r.onEdit(o))})("rowSelected",function(o){y(e);let r=_();return C(r.onRowSelect(o))})("deleteAction",function(o){y(e);let r=_();return C(r.onDelete(o))})("customButtonAction",function(o){y(e);let r=_();return C(r.customButtonAction(o))})("loaded",function(o){y(e);let r=_();return C(r.onLoad(o))}),d()()()()()()}if(t&2){let e=_();u(2),h("@.disabled",!0),u(4),h("value",e.server)("gui",e.gui),u(4),h("rest",e.servers)("multiSelect",!0)("allowExport",!0)("customButtons",e.customButtons)("pageSize",e.api.config.admin.page_size)("tableId","servers-d-servers"+e.server.id)}}var lP='pause'+django.gettext("Maintenance")+"",g7='pause'+django.gettext("Exit maintenance mode")+"",_7='pause'+django.gettext("Enter maintenance mode")+"",v7='import_export'+django.gettext("Import CSV")+"",cP=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o,this.cButtons=[{id:"maintenance",html:lP,type:st.SINGLE_SELECT}],this.server=null,this.gui=[],this.servers={}}get customButtons(){return this.api.user.isStaff?this.cButtons:[]}ngOnInit(){return V(this,null,function*(){let e=this.route.snapshot.paramMap.get("server");e&&(this.servers=this.rest.serverGroups.detail(e,"servers"),this.server=yield this.servers.parentModel.get(e),this.gui=yield this.servers.parentModel.gui(this.server.type),this.server.type.startsWith("UNMANAGED")&&this.cButtons.push({id:"import-csv",html:v7,type:st.ALWAYS}))})}onMaintenance(e){let n=e.table.selection.selected[0],o=n.maintenance_mode?django.gettext("Exit maintenance mode?"):django.gettext("Enter maintenance mode?");this.api.gui.questionDialog(django.gettext("Maintenance mode for")+" "+n.name,o).then(r=>{r&&this.servers.get(n.id+"/maintenance").then(()=>{e.table.overview()})})}onImportCSV(e){return V(this,null,function*(){let n=yield P_.launch(this.api,{title:django.gettext("Import Servers"),help:django.gettext('Format of file must be "hostname,ip,mac,...". All fields except hostname are optional. Separator can be configured.')});if(n.data.length==0)return;let o=yield this.servers.put({data:n.data},this.server.id+"/importcsv");o&&o.length>0&&this.api.gui.alert("Errors found importing data: ",o.slice(0,16).join(`
+`)),e.table.overview()})}customButtonAction(e){return V(this,null,function*(){if(e.param.id=="maintenance")return yield this.onMaintenance(e);if(e.param.id=="import-csv")return yield this.onImportCSV(e)})}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New server"),!1)}onEdit(e){this.api.gui.forms.typedEditForm(e,django.gettext("Edit server"),!1)}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Remove server from server group"),"hostname")}onRowSelect(e){let n=e.table;if(n.selection.selected.length>1||n.selection.selected.length===0){this.customButtons[0].html=lP;return}n.selection.selected[0].maintenance_mode?this.customButtons[0].html=g7:this.customButtons[0].html=_7}onLoad(e){if(e.param===!0){let n=this.route.snapshot.paramMap.get("server");if(n!==void 0){let o=e.table;o.dataSource.data.forEach(r=>{r.id===n&&o.selection.select(r)})}}}static{this.\u0275fac=function(n){return new(n||t)(w(Oe),w(J),w(G))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-server-detail"]],standalone:!1,decls:9,vars:6,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary","selectedIndex","1"],["mat-tab-label",""],[1,"content"],[3,"value","gui"],["icon","servers",3,"newAction","editAction","rowSelected","deleteAction","customButtonAction","loaded","rest","multiSelect","allowExport","customButtons","pageSize","tableId"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),g(4,"arrow_back"),d()(),g(5," \xA0"),M(6,"img",4),g(7),d(),S(8,f7,11,9,"div",5),d()),n&2&&(u(2),h("routerLink",ni(4,m7,o.servers.parentId)),u(4),h("src",o.api.staticURL("admin/img/icons/servers.png"),we),u(),O(" \xA0",o.server==null?null:o.server.name," "),u(),h("ngIf",o.server!==null))},dependencies:[pe,mn,nn,on,sn,se,Me,Mo],styles:[".row-maintenance-true>mat-cell{color:orange!important}"]})}}return t})();var Fx=(()=>{class t{constructor(e,n,o){this.api=e,this.route=n,this.rest=o}ngOnInit(){return V(this,null,function*(){let e=this.route.snapshot.paramMap.get("authenticator")})}onDetail(e){return V(this,null,function*(){this.api.navigation.gotoAuthenticatorDetail(e.param.id)})}onNew(e){return V(this,null,function*(){this.api.gui.forms.typedNewForm(e,django.gettext("New Authenticator"),!0)})}onEdit(e){return V(this,null,function*(){this.api.gui.forms.typedEditForm(e,django.gettext("Edit Authenticator"),!0)})}onDelete(e){return V(this,null,function*(){this.api.gui.forms.deleteForm(e,django.gettext("Delete Authenticator"))})}onLoad(e){return V(this,null,function*(){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("authenticator"))})}processElement(e){e.visible=this.api.boolAsHumanString(e.visible)}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(Oe),w(J))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-authenticators"]],standalone:!1,decls:2,vars:6,consts:[["icon","authenticators",3,"newAction","editAction","deleteAction","detailAction","loaded","rest","multiSelect","allowExport","hasPermissions","onItem","pageSize"]],template:function(n,o){n&1&&(c(0,"div")(1,"uds-table",0),b("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("detailAction",function(a){return o.onDetail(a)})("loaded",function(a){return o.onLoad(a)}),d()()),n&2&&(u(),h("rest",o.rest.authenticators)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("onItem",o.processElement)("pageSize",o.api.config.admin.page_size))},dependencies:[Me],encapsulation:2})}}return t})();var Lx=(()=>{class t{constructor(e,n,o){this.api=e,this.route=n,this.rest=o}ngOnInit(){let e=this.route.snapshot.paramMap.get("mfa")}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New MFA"))}onEdit(e){this.api.gui.forms.typedEditForm(e,django.gettext("Edit MFA"))}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete MFA"))}onLoad(e){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("mfa"))}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(Oe),w(J))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-mfas"]],standalone:!1,decls:2,vars:5,consts:[["icon","mfas",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(n,o){n&1&&(c(0,"div")(1,"uds-table",0),b("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("loaded",function(a){return o.onLoad(a)}),d()()),n&2&&(u(),h("rest",o.rest.mfas)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",o.api.config.admin.page_size))},dependencies:[Me],encapsulation:2})}}return t})();var b7=["panel"],y7=["*"];function C7(t,i){if(t&1&&(gn(0,"div",1,0),ae(2),wn()),t&2){let e=i.id,n=_();Kt(n._classList),ne("mat-mdc-autocomplete-visible",n.showPanel)("mat-mdc-autocomplete-hidden",!n.showPanel)("mat-autocomplete-panel-animations-enabled",!n._animationsDisabled)("mat-primary",n._color==="primary")("mat-accent",n._color==="accent")("mat-warn",n._color==="warn"),cn("id",n.id),ee("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby(e))}}var Vx=class{source;option;constructor(i,e){this.source=i,this.option=e}},dP=new T("mat-autocomplete-default-options",{providedIn:"root",factory:w7});function w7(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1,hasBackdrop:!1}}var Wc=(()=>{class t{_changeDetectorRef=p(Te);_elementRef=p(K);_defaults=p(dP);_animationsDisabled=rt();_activeOptionChanges=_e.EMPTY;_keyManager;showPanel=!1;get isOpen(){return this._isOpen&&this.showPanel}_isOpen=!1;_latestOpeningTrigger;_setColor(e){this._color=e,this._changeDetectorRef.markForCheck()}_color;template;panel;options;optionGroups;ariaLabel;ariaLabelledby;displayWith=null;autoActiveFirstOption;autoSelectActiveOption;requireSelection;panelWidth;disableRipple;optionSelected=new k;opened=new k;closed=new k;optionActivated=new k;set classList(e){this._classList=e,this._elementRef.nativeElement.className=""}_classList;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator;_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}id=p(mt).getId("mat-autocomplete-");inertGroups;constructor(){let e=p(nt);this.inertGroups=e?.SAFARI||!1,this.autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this.autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.requireSelection=!!this._defaults.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new ol(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options?.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){let n=new Vx(this,e);this.optionSelected.emit(n)}_getPanelAriaLabelledby(e){if(this.ariaLabel)return null;let n=e?e+" ":"";return this.ariaLabelledby?n+this.ariaLabelledby:e}_skipPredicate(){return!1}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(n,o,r){if(n&1&&(Fe(r,$e,5),Fe(r,Vc,5)),n&2){let a;Y(a=Q())&&(o.options=a),Y(a=Q())&&(o.optionGroups=a)}},viewQuery:function(n,o){if(n&1&&(le(bt,7),le(b7,5)),n&2){let r;Y(r=Q())&&(o.template=r.first),Y(r=Q())&&(o.panel=r.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",$],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",$],requireSelection:[2,"requireSelection","requireSelection",$],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",$],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",$]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[ve([{provide:Lc,useExisting:t}])],ngContentSelectors:y7,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(n,o){n&1&&(He(),Kr(0,C7,3,17,"ng-template"))},styles:[`div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:relative;border-radius:var(--mat-autocomplete-container-shape, var(--mat-sys-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-autocomplete-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-autocomplete-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}@keyframes _mat-autocomplete-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}.mat-autocomplete-panel-animations-enabled{animation:_mat-autocomplete-enter 120ms cubic-bezier(0, 0, 0.2, 1)}mat-autocomplete{display:none} +`],encapsulation:2,changeDetection:0})}return t})();var x7={provide:Ai,useExisting:Zt(()=>ml),multi:!0};var uP=new T("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let t=p(re);return()=>zn(t)}});function D7(t){let i=p(re);return()=>zn(i)}var E7={provide:uP,deps:[],useFactory:D7},ml=(()=>{class t{_environmentInjector=p(Gt);_element=p(K);_injector=p(re);_viewContainerRef=p(Mt);_zone=p(te);_changeDetectorRef=p(Te);_dir=p(Bt,{optional:!0});_formField=p(Do,{optional:!0,host:!0});_viewportRuler=p(oi);_scrollStrategy=p(uP);_renderer=p(St);_animationsDisabled=rt();_defaults=p(dP,{optional:!0});_overlayRef;_portal;_componentDestroyed=!1;_initialized=new j;_keydownSubscription;_outsideClickSubscription;_cleanupWindowBlur;_previousValue;_valueOnAttach;_valueOnLastKeydown;_positionStrategy;_manuallyFloatingLabel=!1;_closingActionsSubscription;_viewportSubscription=_e.EMPTY;_breakpointObserver=p(el);_handsetLandscapeSubscription=_e.EMPTY;_canOpenOnNextFocus=!0;_valueBeforeAutoSelection;_pendingAutoselectedOption;_closeKeyEventStream=new j;_overlayPanelClass=ta(this._defaults?.overlayPanelClass||[]);_windowBlurHandler=()=>{this._canOpenOnNextFocus=this.panelOpen||!this._hasFocus()};_onChange=()=>{};_onTouched=()=>{};autocomplete;position="auto";connectedTo;autocompleteAttribute="off";autocompleteDisabled;constructor(){}_aboveClass="mat-mdc-autocomplete-panel-above";ngAfterViewInit(){this._initialized.next(),this._initialized.complete(),this._cleanupWindowBlur=this._renderer.listen("window","blur",this._windowBlurHandler)}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){this._cleanupWindowBlur?.(),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}_overlayAttached=!1;openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&qa(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Tt(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Ke(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Ke(()=>this._overlayAttached)):ie()).pipe(de(e=>e instanceof Fc?e:null))}optionSelections=Hi(()=>{let e=this.autocomplete?this.autocomplete.options:null;return e?e.changes.pipe(Et(e),vt(()=>Tt(...e.map(n=>n.onSelectionChange)))):this._initialized.pipe(vt(()=>this.optionSelections))});get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return new Ae(e=>{let n=r=>{let a=ii(r),s=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,l=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;this._overlayAttached&&a!==this._element.nativeElement&&!this._hasFocus()&&(!s||!s.contains(a))&&(!l||!l.contains(a))&&this._overlayRef&&!this._overlayRef.overlayElement.contains(a)&&e.next(r)},o=[this._renderer.listen("document","click",n),this._renderer.listen("document","auxclick",n),this._renderer.listen("document","touchend",n)];return()=>{o.forEach(r=>r())}})}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){let n=e,o=n.keyCode,r=kt(n);if(o===27&&!r&&n.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&o===13&&this.panelOpen&&!r)this.activeOption._selectViaInteraction(),this._resetActiveItem(),n.preventDefault();else if(this.autocomplete){let a=this.autocomplete._keyManager.activeItem,s=o===38||o===40;o===9||s&&!r&&this.panelOpen?this.autocomplete._keyManager.onKeydown(n):s&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(s||this.autocomplete._keyManager.activeItem!==a)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let n=e.target,o=n.value;if(n.type==="number"&&(o=o==""?null:parseFloat(o)),this._previousValue!==o){if(this._previousValue=o,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(o),!o)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let r=this.autocomplete.options?.find(a=>a.selected);if(r){let a=this._getDisplayValue(r.value);o!==a&&r.deselect(!1)}}if(this._canOpen()&&this._hasFocus()){let r=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(r)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_hasFocus(){return go()===this._element.nativeElement}_floatLabel(e=!1){this._formField&&this._formField.floatLabel==="auto"&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let e=new Ae(o=>{xt(()=>{o.next()},{injector:this._environmentInjector})}),n=this.autocomplete.options?.changes.pipe(Ht(()=>this._positionStrategy.reapplyLastPosition()),cd(0))??ie();return Tt(e,n).pipe(vt(()=>this._zone.run(()=>{let o=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),o!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),Pt(1)).subscribe(o=>this._setValueAndClose(o))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(e){let n=this.autocomplete;return n&&n.displayWith?n.displayWith(e):e}_assignOptionValue(e){let n=this._getDisplayValue(e);e==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(n??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){let n=this.autocomplete,o=e?e.source:this._pendingAutoselectedOption;o?(this._clearPreviousSelectedOption(o),this._assignOptionValue(o.value),this._onChange(o.value),n._emitSelectEvent(o),this._element.nativeElement.focus()):n.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,n){this.autocomplete?.options?.forEach(o=>{o!==e&&o.selected&&o.deselect(n)})}_openPanelInternal(e=this._element.nativeElement.value){if(this._attachOverlay(e),this._floatLabel(),this._trackedModal){let n=this.autocomplete.id;Mc(this._trackedModal,"aria-owns",n)}}_attachOverlay(e){this.autocomplete;let n=this._overlayRef;n?(this._positionStrategy.setOrigin(this._getConnectedElement()),n.updateSize({width:this._getPanelWidth()})):(this._portal=new jn(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),n=Ii(this._injector,this._getOverlayConfig()),this._overlayRef=n,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&n&&n.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(eg.HandsetLandscape).subscribe(r=>{r.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),n&&!n.hasAttached()&&(n.attach(this._portal),this._valueOnAttach=e,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let o=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&o!==this.panelOpen&&this._emitOpened()}_handlePanelKeydown=e=>{(e.keyCode===27&&!kt(e)||e.keyCode===38&&kt(e,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),e.stopPropagation(),e.preventDefault())};_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new Si({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,hasBackdrop:this._defaults?.hasBackdrop,backdropClass:this._defaults?.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this._overlayPanelClass,disableAnimations:this._animationsDisabled})}_getOverlayPosition(){let e=Xo(this._injector,this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){let n=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],o=this._aboveClass,r=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:o},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:o}],a;this.position==="above"?a=r:this.position==="below"?a=n:a=[...n,...r],e.withPositions(a)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let e=this.autocomplete;if(e.autoActiveFirstOption){let n=-1;for(let o=0;o .cdk-overlay-container [aria-modal="true"]');if(!e)return;let n=this.autocomplete.id;this._trackedModal&&qa(this._trackedModal,"aria-owns",n),Mc(e,"aria-owns",n),this._trackedModal=e}_clearFromModal(){if(this._trackedModal){let e=this.autocomplete.id;qa(this._trackedModal,"aria-owns",e),this._trackedModal=null}}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(n,o){n&1&&b("focusin",function(){return o._handleFocus()})("blur",function(){return o._onTouched()})("input",function(a){return o._handleInput(a)})("keydown",function(a){return o._handleKeydown(a)})("click",function(){return o._handleClick()}),n&2&&ee("autocomplete",o.autocompleteAttribute)("role",o.autocompleteDisabled?null:"combobox")("aria-autocomplete",o.autocompleteDisabled?null:"list")("aria-activedescendant",o.panelOpen&&o.activeOption?o.activeOption.id:null)("aria-expanded",o.autocompleteDisabled?null:o.panelOpen.toString())("aria-controls",o.autocompleteDisabled||!o.panelOpen||o.autocomplete==null?null:o.autocomplete.id)("aria-haspopup",o.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",$]},exportAs:["matAutocompleteTrigger"],features:[ve([x7]),Ge]})}return t})(),mP=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[E7],imports:[ri,Bc,fe,to,Bc,fe]})}return t})();function S7(t,i){if(t&1&&(c(0,"div")(1,"uds-translate"),g(2,"Edit user"),d(),g(3),d()),t&2){let e=_();u(3),O(" ",e.user.name," ")}}function M7(t,i){t&1&&(c(0,"uds-translate"),g(1,"New user"),d())}function I7(t,i){if(t&1){let e=A();c(0,"mat-form-field")(1,"mat-label"),g(2),d(),c(3,"input",19),H("ngModelChange",function(o){y(e);let r=_();return W(r.user.name,o)||(r.user.name=o),C(o)}),d()()}if(t&2){let e=_();u(2),O(" ",e.authenticator.type_info.label_username," "),u(),U("ngModel",e.user.name),h("disabled",e.user.id)}}function T7(t,i){if(t&1&&(c(0,"mat-option",21),g(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),Qi(" ",e.id," (",e.name,") ")}}function k7(t,i){if(t&1){let e=A();c(0,"mat-form-field")(1,"mat-label"),g(2),d(),c(3,"input",20),H("ngModelChange",function(o){y(e);let r=_();return W(r.user.name,o)||(r.user.name=o),C(o)}),b("input",function(o){y(e);let r=_();return C(r.filterUser(o))}),d(),c(4,"mat-autocomplete",null,1),S(6,T7,2,3,"mat-option",16),d()()}if(t&2){let e=Se(5),n=_();u(2),O(" ",n.authenticator.type_info.label_username," "),u(),U("ngModel",n.user.name),h("matAutocomplete",e),u(3),h("ngForOf",n.users)}}function A7(t,i){if(t&1){let e=A();c(0,"mat-form-field")(1,"mat-label"),g(2),d(),c(3,"input",22),H("ngModelChange",function(o){y(e);let r=_();return W(r.user.password,o)||(r.user.password=o),C(o)}),d()()}if(t&2){let e=_();u(2),O(" ",e.authenticator.type_info.label_password," "),u(),U("ngModel",e.user.password)}}function R7(t,i){if(t&1){let e=A();c(0,"mat-form-field")(1,"mat-label")(2,"uds-translate"),g(3,"MFA"),d()(),c(4,"input",23),H("ngModelChange",function(o){y(e);let r=_();return W(r.user.mfa_data,o)||(r.user.mfa_data=o),C(o)}),d()()}if(t&2){let e=_();u(4),U("ngModel",e.user.mfa_data)}}function O7(t,i){if(t&1&&(c(0,"mat-option",21),g(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),O(" ",e.name," ")}}var jx=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.groups=[],this.onSave=new k(!0),this.users=[],this.authenticator=r.authenticator,this.user={id:void 0,name:"",real_name:"",comments:"",state:"A",is_admin:!1,staff_member:!1,password:"",role:"user",mfa:"",groups:[]},r.user!==void 0&&(this.user.id=r.user.id,this.user.name=r.user.name)}static launch(e,n,o){let r=window.innerWidth<800?"60%":"40%";return e.gui.dialog.open(t,{width:r,position:{top:window.innerWidth<800?"0px":"7rem"},data:{authenticator:n,user:o},disableClose:!1}).componentInstance.onSave}ngOnInit(){this.rest.authenticators.detail(this.authenticator.id,"groups").overview().then(e=>{this.groups=e}),this.user.id&&this.rest.authenticators.detail(this.authenticator.id,"users").get(this.user.id).then(e=>{this.user=e,this.user.role=e.is_admin?"admin":e.staff_member?"staff":"user"},e=>{this.dialogRef.close()})}roleChanged(e){this.user.is_admin=e==="admin",this.user.staff_member=e==="admin"||e==="staff"}filterUser(e){let n=e.target.value;this.rest.authenticators.search(this.authenticator.id,"user",n,100).then(o=>{this.users.length=0,o.forEach(r=>{this.users.push(r)})})}save(){this.rest.authenticators.detail(this.authenticator.id,"users").save(this.user).then(e=>{this.dialogRef.close(),this.onSave.emit(!0)})}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(J),w(Le),w(We))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-new-user"]],standalone:!1,decls:58,vars:12,consts:[["nousertitle",""],["auto","matAutocomplete"],["mat-dialog-title",""],[4,"ngIf","ngIfElse"],[1,"content"],[4,"ngIf"],["type","text","matInput","","autocomplete","new-real_name",3,"ngModelChange","ngModel"],["type","text","matInput","","autocomplete","new-comments",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],["value","A"],["value","I"],[3,"ngModelChange","valueChange","ngModel"],["value","admin"],["value","staff"],["value","user"],["multiple","",3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],["type","text","matInput","","autocomplete","new-username",3,"ngModelChange","ngModel","disabled"],["type","text","aria-label","Number","matInput","",3,"ngModelChange","input","ngModel","matAutocomplete"],[3,"value"],["type","password","matInput","","autocomplete","new-password",3,"ngModelChange","ngModel"],["type","text","matInput","",3,"ngModelChange","ngModel"]],template:function(n,o){if(n&1){let r=A();c(0,"h4",2),S(1,S7,4,1,"div",3)(2,M7,2,0,"ng-template",null,0,Sn),d(),c(4,"mat-dialog-content")(5,"div",4),S(6,I7,4,3,"mat-form-field",5)(7,k7,7,4,"mat-form-field",5),c(8,"mat-form-field")(9,"mat-label")(10,"uds-translate"),g(11,"Real name"),d()(),c(12,"input",6),H("ngModelChange",function(s){return y(r),W(o.user.real_name,s)||(o.user.real_name=s),C(s)}),d()(),c(13,"mat-form-field")(14,"mat-label")(15,"uds-translate"),g(16,"Comments"),d()(),c(17,"input",7),H("ngModelChange",function(s){return y(r),W(o.user.comments,s)||(o.user.comments=s),C(s)}),d()(),c(18,"mat-form-field")(19,"mat-label")(20,"uds-translate"),g(21,"State"),d()(),c(22,"mat-select",8),H("ngModelChange",function(s){return y(r),W(o.user.state,s)||(o.user.state=s),C(s)}),c(23,"mat-option",9)(24,"uds-translate"),g(25,"Enabled"),d()(),c(26,"mat-option",10)(27,"uds-translate"),g(28,"Disabled"),d()()()(),c(29,"mat-form-field")(30,"mat-label")(31,"uds-translate"),g(32,"Role"),d()(),c(33,"mat-select",11),H("ngModelChange",function(s){return y(r),W(o.user.role,s)||(o.user.role=s),C(s)}),b("valueChange",function(s){return y(r),C(o.roleChanged(s))}),c(34,"mat-option",12)(35,"uds-translate"),g(36,"Admin"),d()(),c(37,"mat-option",13)(38,"uds-translate"),g(39,"Staff member"),d()(),c(40,"mat-option",14)(41,"uds-translate"),g(42,"User"),d()()()(),S(43,A7,4,2,"mat-form-field",5)(44,R7,5,1,"mat-form-field",5),c(45,"mat-form-field")(46,"mat-label")(47,"uds-translate"),g(48,"Groups"),d()(),c(49,"mat-select",15),H("ngModelChange",function(s){return y(r),W(o.user.groups,s)||(o.user.groups=s),C(s)}),S(50,O7,2,2,"mat-option",16),d()()()(),c(51,"mat-dialog-actions")(52,"button",17)(53,"uds-translate"),g(54,"Cancel"),d()(),c(55,"button",18),b("click",function(){return y(r),C(o.save())}),c(56,"uds-translate"),g(57,"Ok"),d()()()}if(n&2){let r=Se(3);u(),h("ngIf",o.user.id)("ngIfElse",r),u(5),h("ngIf",o.authenticator.type_info.search_users_supported===!1||o.user.id),u(),h("ngIf",o.authenticator.type_info.search_users_supported===!0&&!o.user.id),u(5),U("ngModel",o.user.real_name),u(5),U("ngModel",o.user.comments),u(5),U("ngModel",o.user.state),u(11),U("ngModel",o.user.role),u(10),h("ngIf",o.authenticator.type_info.needs_password),u(),h("ngIf",o.authenticator.type_info.mfa_data_enabled),u(5),U("ngModel",o.user.groups),u(),h("ngForOf",o.groups)}},dependencies:[Ue,pe,ct,Ce,xe,ge,Yt,Ze,Je,Xe,he,Pe,pt,gt,$e,Wc,ml,se],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]})}}return t})();function P7(t,i){if(t&1&&(c(0,"div")(1,"uds-translate"),g(2,"Edit group"),d(),g(3),d()),t&2){let e=_();u(3),O(" ",e.group.name," ")}}function N7(t,i){t&1&&(c(0,"uds-translate"),g(1,"New group"),d())}function F7(t,i){if(t&1){let e=A();c(0,"mat-form-field")(1,"mat-label"),g(2),d(),c(3,"input",14),H("ngModelChange",function(o){y(e);let r=_(2);return W(r.group.name,o)||(r.group.name=o),C(o)}),d()()}if(t&2){let e=_(2);u(2),O(" ",e.authenticator.type_info.label_groupname," "),u(),U("ngModel",e.group.name),h("disabled",e.group.id)}}function L7(t,i){if(t&1&&(c(0,"mat-option",17),g(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),Qi(" ",e.id," (",e.name,") ")}}function V7(t,i){if(t&1){let e=A();c(0,"mat-form-field")(1,"mat-label"),g(2),d(),c(3,"input",15),H("ngModelChange",function(o){y(e);let r=_(2);return W(r.group.name,o)||(r.group.name=o),C(o)}),b("input",function(o){y(e);let r=_(2);return C(r.filterGroup(o))}),d(),c(4,"mat-autocomplete",null,3),S(6,L7,2,3,"mat-option",16),d()()}if(t&2){let e=Se(5),n=_(2);u(2),O(" ",n.authenticator.type_info.label_groupname," "),u(),U("ngModel",n.group.name),h("matAutocomplete",e),u(3),h("ngForOf",n.fltrGroup)}}function B7(t,i){if(t&1&&(dt(0),S(1,F7,4,3,"mat-form-field",13)(2,V7,7,4,"mat-form-field",13),ut()),t&2){let e=_();u(),h("ngIf",e.authenticator.type_info.search_groups_supported===!1||e.group.id),u(),h("ngIf",e.authenticator.type_info.search_groups_supported===!0&&!e.group.id)}}function j7(t,i){if(t&1){let e=A();c(0,"mat-form-field")(1,"mat-label")(2,"uds-translate"),g(3,"Meta group name"),d()(),c(4,"input",14),H("ngModelChange",function(o){y(e);let r=_();return W(r.group.name,o)||(r.group.name=o),C(o)}),d()()}if(t&2){let e=_();u(4),U("ngModel",e.group.name),h("disabled",e.group.id)}}function z7(t,i){if(t&1&&(c(0,"mat-option",17),g(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),O(" ",e.name," ")}}function U7(t,i){if(t&1){let e=A();dt(0),c(1,"mat-form-field")(2,"mat-label")(3,"uds-translate"),g(4,"Service Pools"),d()(),c(5,"mat-select",18),H("ngModelChange",function(o){y(e);let r=_();return W(r.group.pools,o)||(r.group.pools=o),C(o)}),S(6,z7,2,2,"mat-option",16),d()(),ut()}if(t&2){let e=_();u(5),U("ngModel",e.group.pools),u(),h("ngForOf",e.servicePools)}}function H7(t,i){if(t&1&&(c(0,"mat-option",17),g(1),d()),t&2){let e=_().$implicit;h("value",e.id),u(),O(" ",e.name," ")}}function G7(t,i){if(t&1&&(dt(0),S(1,H7,2,2,"mat-option",20),ut()),t&2){let e=i.$implicit;u(),h("ngIf",e.type==="group")}}function W7(t,i){if(t&1){let e=A();c(0,"mat-form-field")(1,"mat-label")(2,"uds-translate"),g(3,"Match mode"),d()(),c(4,"mat-select",8),H("ngModelChange",function(o){y(e);let r=_();return W(r.group.meta_if_any,o)||(r.group.meta_if_any=o),C(o)}),c(5,"mat-option",17)(6,"uds-translate"),g(7,"Any group"),d()(),c(8,"mat-option",17)(9,"uds-translate"),g(10,"All groups"),d()()()(),c(11,"mat-form-field")(12,"mat-label")(13,"uds-translate"),g(14,"Selected Groups"),d()(),c(15,"mat-select",18),H("ngModelChange",function(o){y(e);let r=_();return W(r.group.groups,o)||(r.group.groups=o),C(o)}),S(16,G7,2,1,"ng-container",19),d()()}if(t&2){let e=_();u(4),U("ngModel",e.group.meta_if_any),u(),h("value",!0),u(3),h("value",!1),u(7),U("ngModel",e.group.groups),u(),h("ngForOf",e.groups)}}var zx=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.onSave=new k(!0),this.servicePools=[],this.groups=[],this.fltrGroup=[],this.authenticator=r.authenticator,this.group={id:void 0,type:r.groupType,name:"",comments:"",meta_if_any:!1,skip_mfa:"I",state:"A",groups:[],pools:[]},r.group!==void 0&&(this.group.id=r.group.id,this.group.type=r.group.type,this.group.name=r.group.name)}static launch(e,n,o,r){let a=window.innerWidth<800?"60%":"40%";return e.gui.dialog.open(t,{width:a,position:{top:window.innerWidth<800?"0px":"7rem"},data:{authenticator:n,groupType:o,group:r},disableClose:!0}).componentInstance.onSave}ngOnInit(){let e=this.rest.authenticators.detail(this.authenticator.id,"groups");this.group.id!==void 0&&e.get(this.group.id).then(n=>{this.group=n},n=>{this.dialogRef.close()}),this.group.type==="meta"?e.summary().then(n=>this.groups=n):this.rest.servicesPools.summary().then(n=>this.servicePools=n)}filterGroup(e){let n=e.target.value;this.rest.authenticators.search(this.authenticator.id,"group",n,100).then(o=>{this.fltrGroup.length=0,o.forEach(r=>{this.fltrGroup.push(r)})})}getMatchValue(){return django.gettext("Match mode")+this.group.meta_if_any?django.gettext("Any"):django.gettext("All")}save(){this.rest.authenticators.detail(this.authenticator.id,"groups").save(this.group).then(e=>{this.dialogRef.close(),this.onSave.emit(!0)})}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(J),w(Le),w(We))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-new-group"]],standalone:!1,decls:46,vars:9,consts:[["nousertitle",""],["metafirst",""],["metasecond",""],["auto","matAutocomplete"],["mat-dialog-title",""],[4,"ngIf","ngIfElse"],[1,"content"],["type","text","matInput","",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],["value","A"],["value","I"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],[4,"ngIf"],["type","text","matInput","",3,"ngModelChange","ngModel","disabled"],["type","text","aria-label","Number","matInput","",3,"ngModelChange","input","ngModel","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["multiple","",3,"ngModelChange","ngModel"],[4,"ngFor","ngForOf"],[3,"value",4,"ngIf"]],template:function(n,o){if(n&1){let r=A();c(0,"h4",4),S(1,P7,4,1,"div",5)(2,N7,2,0,"ng-template",null,0,Sn),d(),c(4,"mat-dialog-content")(5,"div",6),S(6,B7,3,2,"ng-container",5)(7,j7,5,2,"ng-template",null,1,Sn),c(9,"mat-form-field")(10,"mat-label")(11,"uds-translate"),g(12,"Comments"),d()(),c(13,"input",7),H("ngModelChange",function(s){return y(r),W(o.group.comments,s)||(o.group.comments=s),C(s)}),d()(),c(14,"mat-form-field")(15,"mat-label")(16,"uds-translate"),g(17,"State"),d()(),c(18,"mat-select",8),H("ngModelChange",function(s){return y(r),W(o.group.state,s)||(o.group.state=s),C(s)}),c(19,"mat-option",9)(20,"uds-translate"),g(21,"Enabled"),d()(),c(22,"mat-option",10)(23,"uds-translate"),g(24,"Disabled"),d()()()(),c(25,"mat-form-field")(26,"mat-label")(27,"uds-translate"),g(28,"Skip MFA"),d()(),c(29,"mat-select",8),H("ngModelChange",function(s){return y(r),W(o.group.skip_mfa,s)||(o.group.skip_mfa=s),C(s)}),c(30,"mat-option",9)(31,"uds-translate"),g(32,"Enabled"),d()(),c(33,"mat-option",10)(34,"uds-translate"),g(35,"Disabled"),d()()()(),S(36,U7,7,2,"ng-container",5)(37,W7,17,5,"ng-template",null,2,Sn),d()(),c(39,"mat-dialog-actions")(40,"button",11)(41,"uds-translate"),g(42,"Cancel"),d()(),c(43,"button",12),b("click",function(){return y(r),C(o.save())}),c(44,"uds-translate"),g(45,"Ok"),d()()()}if(n&2){let r=Se(3),a=Se(8),s=Se(38);u(),h("ngIf",o.group.id)("ngIfElse",r),u(5),h("ngIf",o.group.type==="group")("ngIfElse",a),u(7),U("ngModel",o.group.comments),u(5),U("ngModel",o.group.state),u(11),U("ngModel",o.group.skip_mfa),u(7),h("ngIf",o.group.type==="group")("ngIfElse",s)}},dependencies:[Ue,pe,ct,Ce,xe,ge,Yt,Ze,Je,Xe,he,Pe,pt,gt,$e,Wc,ml,se],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.label-match[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0;line-height:18px;overflow:hidden;pointer-events:none;position:absolute;text-align:left;text-overflow:ellipsis;top:.5em;transform:matrix(.75,0,0,.75,0,-21.5);transform-origin:0px 0px;white-space:nowrap}"]})}}return t})();function $7(t,i){t&1&&(c(0,"uds-translate"),g(1,"Groups"),d())}function q7(t,i){if(t&1&&(c(0,"mat-tab"),S(1,$7,2,0,"ng-template",2),M(2,"uds-table",6),d()),t&2){let e=_();u(2),h("rest",e.group)("pageSize",6)}}function Y7(t,i){t&1&&(c(0,"uds-translate"),g(1,"Services Pools"),d())}function Q7(t,i){if(t&1&&(c(0,"mat-tab"),S(1,Y7,2,0,"ng-template",2),M(2,"uds-table",6),d()),t&2){let e=_();u(2),h("rest",e.servicesPools)("pageSize",6)}}function K7(t,i){t&1&&(c(0,"uds-translate"),g(1,"Assigned Services"),d())}function Z7(t,i){if(t&1&&(c(0,"mat-tab"),S(1,K7,2,0,"ng-template",2),M(2,"uds-table",6),d()),t&2){let e=_();u(2),h("rest",e.userServices)("pageSize",6)}}function X7(t,i){t&1&&(c(0,"uds-translate"),g(1,"Logs"),d())}var J7=[{field:"name",title:django.gettext("Group")},{field:"comments",title:django.gettext("Comments")}],e9=[{field:"name",title:django.gettext("Pool")},{field:"state",title:django.gettext("State")},{field:"user_services_count",title:django.gettext("User Services")}],t9=[{field:"unique_id",title:django.gettext("Unique ID")},{field:"friendly_name",title:django.gettext("Friendly Name")},{field:"in_use",title:django.gettext("In Use")},{field:"ip",title:django.gettext("IP")},{field:"pool",title:django.gettext("Services Pool")}],pP=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.group={},this.servicesPools={},this.userServices={},this.users=r.users,this.user=r.user}static launch(e,n,o){let r=window.innerWidth<800?"80%":"60%",a=e.gui.dialog.open(t,{width:r,position:{top:window.innerWidth<800?"0px":"7rem"},data:{users:n,user:o},disableClose:!1})}ngOnInit(){return V(this,null,function*(){let e=()=>V(this,null,function*(){let r=yield this.rest.authenticators.detail(this.users.parentId,"users").get(this.user.id);return(yield this.rest.authenticators.detail(this.users.parentId,"groups").overview()).filter(s=>r.groups.includes(s.id))}),n=()=>V(this,null,function*(){return this.users.invoke(this.user.id+"/servicesPools")}),o=()=>V(this,null,function*(){return(yield this.users.invoke(this.user.id+"/userServices")).map(a=>(a.in_use=this.api.boolAsHumanString(a.in_use),a))});this.group=new So(django.gettext("Groups"),e,J7,this.user.id+"infogrp"),this.servicesPools=new So(django.gettext("Services Pools"),n,e9,this.user.id+"infopool"),this.userServices=new So(django.gettext("Assigned services"),o,t9,this.user.id+"userservpool")})}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(J),w(Le),w(We))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-user-information"]],standalone:!1,decls:20,vars:14,consts:[["mat-dialog-title",""],[4,"ngIf"],["mat-tab-label",""],[1,"content"],[3,"rest","itemId","tableId","pageSize"],["mat-raised-button","","mat-dialog-close","","color","primary"],[3,"rest","pageSize"]],template:function(n,o){n&1&&(c(0,"h4",0)(1,"uds-translate"),g(2,"Information for"),d(),g(3),d(),c(4,"mat-dialog-content")(5,"mat-tab-group"),S(6,q7,3,2,"mat-tab",1),ht(7,"notEmpty"),S(8,Q7,3,2,"mat-tab",1),ht(9,"notEmpty"),S(10,Z7,3,2,"mat-tab",1),ht(11,"notEmpty"),c(12,"mat-tab"),S(13,X7,2,0,"ng-template",2),c(14,"div",3),M(15,"uds-logs-table",4),d()()()(),c(16,"mat-dialog-actions")(17,"button",5)(18,"uds-translate"),g(19,"Ok"),d()()()),n&2&&(u(3),O(" ",o.user.name,` +`),u(3),h("ngIf",wt(7,8,o.group)),u(2),h("ngIf",wt(9,10,o.servicesPools)),u(2),h("ngIf",wt(11,12,o.userServices)),u(5),h("rest",o.users)("itemId",o.user.id)("tableId","userInfo-d-log"+o.user.id)("pageSize",5))},dependencies:[pe,ge,Yt,Ze,Je,Xe,nn,on,sn,se,Me,Li,Dn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]})}}return t})();function n9(t,i){t&1&&(c(0,"uds-translate"),g(1,"Services Pools"),d())}function i9(t,i){if(t&1&&(c(0,"mat-tab"),S(1,n9,2,0,"ng-template",3),M(2,"uds-table",4),d()),t&2){let e=_();u(2),h("rest",e.servicesPools)("pageSize",6)}}function o9(t,i){t&1&&(c(0,"uds-translate"),g(1,"Users"),d())}function r9(t,i){if(t&1&&(c(0,"mat-tab"),S(1,o9,2,0,"ng-template",3),M(2,"uds-table",4),d()),t&2){let e=_();u(2),h("rest",e.users)("pageSize",6)}}function a9(t,i){t&1&&(c(0,"uds-translate"),g(1,"Groups"),d())}function s9(t,i){if(t&1&&(c(0,"mat-tab"),S(1,a9,2,0,"ng-template",3),M(2,"uds-table",4),d()),t&2){let e=_();u(2),h("rest",e.groups)("pageSize",6)}}var l9=[{field:"name",title:django.gettext("Pool")},{field:"state",title:django.gettext("State")},{field:"user_services_count",title:django.gettext("User Services")}],c9=[{field:"name",title:django.gettext("Name")},{field:"real_name",title:django.gettext("Real Name")},{field:"state",title:django.gettext("state")},{field:"last_access",title:django.gettext("Last access"),type:vn.DATETIME}],d9=[{field:"name",title:django.gettext("Group")},{field:"comments",title:django.gettext("Comments")}],hP=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.data=r,this.users={},this.groups={},this.servicesPools={}}static launch(e,n,o){let r=window.innerWidth<800?"80%":"60%",a=e.gui.dialog.open(t,{width:r,position:{top:window.innerWidth<800?"0px":"7rem"},data:{group:o,groups:n},disableClose:!1})}ngOnInit(){let e=this.rest.authenticators.detail(this.data.groups.parentId,"groups"),n=()=>e.invoke(this.data.group.id+"/servicesPools"),o=()=>e.invoke(this.data.group.id+"/users").then(r=>r.map(a=>(a.state=a.state==="A"?django.gettext("Enabled"):a.state==="I"?django.gettext("Disabled"):django.gettext("Blocked"),a)));if(this.servicesPools=new So(django.gettext("Service pools"),n,l9,this.data.group.id+"infopls"),this.users=new So(django.gettext("Users"),o,c9,this.data.group.id+"infousr"),this.data.group.type==="meta"){let r=()=>e.overview().then(a=>a.filter(s=>this.data.group.groups.includes(s.id)));this.groups=new So(django.gettext("Groups"),r,d9,this.data.group.id+"infogrps")}}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(J),w(Le),w(We))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-group-information"]],standalone:!1,decls:15,vars:9,consts:[["mat-dialog-title",""],[4,"ngIf"],["mat-raised-button","","mat-dialog-close","","color","primary"],["mat-tab-label",""],[3,"rest","pageSize"]],template:function(n,o){n&1&&(c(0,"h4",0)(1,"uds-translate"),g(2,"Information for"),d()(),c(3,"mat-dialog-content")(4,"mat-tab-group"),S(5,i9,3,2,"mat-tab",1),ht(6,"notEmpty"),S(7,r9,3,2,"mat-tab",1),ht(8,"notEmpty"),S(9,s9,3,2,"mat-tab",1),ht(10,"notEmpty"),d()(),c(11,"mat-dialog-actions")(12,"button",2)(13,"uds-translate"),g(14,"Ok"),d()()()),n&2&&(u(5),h("ngIf",wt(6,3,o.servicesPools)),u(2),h("ngIf",wt(8,5,o.users)),u(2),h("ngIf",wt(10,7,o.groups)))},dependencies:[pe,ge,Yt,Ze,Je,Xe,nn,on,sn,se,Me,Dn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]})}}return t})();var u9=t=>["/authenticators",t];function m9(t,i){t&1&&(c(0,"uds-translate"),g(1,"Summary"),d())}function p9(t,i){if(t&1&&M(0,"uds-information",16),t&2){let e=_(2);h("value",e.authenticator)("gui",e.gui)}}function h9(t,i){t&1&&(c(0,"uds-translate"),g(1,"Users"),d())}function f9(t,i){if(t&1){let e=A();c(0,"uds-table",17),b("loaded",function(o){y(e);let r=_(2);return C(r.onLoad(o))})("newAction",function(o){y(e);let r=_(2);return C(r.onNewUser(o))})("editAction",function(o){y(e);let r=_(2);return C(r.onEditUser(o))})("deleteAction",function(o){y(e);let r=_(2);return C(r.onDeleteUser(o))})("customButtonAction",function(o){y(e);let r=_(2);return C(r.onUserCustom(o))}),d()}if(t&2){let e=_(2);h("rest",e.users)("multiSelect",!0)("allowExport",!0)("tableId","authenticators-d-users"+e.authenticator.id)("customButtons",e.usersCustomButtons)("pageSize",e.api.config.admin.page_size)}}function g9(t,i){if(t&1){let e=A();c(0,"uds-table",18),b("loaded",function(o){y(e);let r=_(2);return C(r.onLoad(o))})("editAction",function(o){y(e);let r=_(2);return C(r.onEditUser(o))})("deleteAction",function(o){y(e);let r=_(2);return C(r.onDeleteUser(o))})("customButtonAction",function(o){y(e);let r=_(2);return C(r.onUserCustom(o))}),d()}if(t&2){let e=_(2);h("rest",e.users)("multiSelect",!0)("allowExport",!0)("tableId","authenticators-d-users"+e.authenticator.id)("customButtons",e.usersCustomButtons)("pageSize",e.api.config.admin.page_size)}}function _9(t,i){t&1&&(c(0,"uds-translate"),g(1,"Groups"),d())}function v9(t,i){t&1&&(c(0,"uds-translate"),g(1,"Logs"),d())}function b9(t,i){if(t&1){let e=A();c(0,"div",6)(1,"div",7)(2,"mat-tab-group",8),H("selectedIndexChange",function(o){y(e);let r=_();return W(r.selectedTab,o)||(r.selectedTab=o),C(o)}),c(3,"mat-tab"),S(4,m9,2,0,"ng-template",9),c(5,"div",10),S(6,p9,1,2,"uds-information",11),ht(7,"notEmpty"),d()(),c(8,"mat-tab"),S(9,h9,2,0,"ng-template",9),c(10,"div",10),S(11,f9,1,6,"uds-table",12)(12,g9,1,6,"uds-table",13),d()(),c(13,"mat-tab"),S(14,_9,2,0,"ng-template",9),c(15,"div",10)(16,"uds-table",14),b("loaded",function(o){y(e);let r=_();return C(r.onLoad(o))})("newAction",function(o){y(e);let r=_();return C(r.onNewGroup(o))})("editAction",function(o){y(e);let r=_();return C(r.onEditGroup(o))})("deleteAction",function(o){y(e);let r=_();return C(r.onDeleteGroup(o))})("customButtonAction",function(o){y(e);let r=_();return C(r.onGroupInformation(o))}),d()()(),c(17,"mat-tab"),S(18,v9,2,0,"ng-template",9),c(19,"div",10),M(20,"uds-logs-table",15),d()()()()()}if(t&2){let e=_();u(2),U("selectedIndex",e.selectedTab),h("@.disabled",!0),u(4),h("ngIf",wt(7,14,e.gui)),u(5),h("ngIf",e.authenticator.type_info.create_users_supported),u(),h("ngIf",!e.authenticator.type_info.create_users_supported),u(4),h("rest",e.groups)("multiSelect",!0)("allowExport",!0)("customButtons",e.groupsCustomButtons)("tableId","authenticators-d-groups"+e.authenticator.id)("pageSize",e.api.config.admin.page_size),u(4),h("rest",e.rest.authenticators)("itemId",e.authenticator.id)("tableId","authenticators-d-log"+e.authenticator.id)}}var y9='cloud_upload '+django.gettext("Import CSV")+"",N_=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o,this.groupsCustomButtons=[{id:"info",html:'info '+django.gettext("Information")+"",type:st.ONLY_MENU}],this.usersCustomButtons=[{id:"info",html:'info '+django.gettext("Information")+"",type:st.ONLY_MENU},{id:"clean-related",html:'clear_all '+django.gettext("Clean related (mfa,...)")+"",type:st.ONLY_MENU},{id:"enable-client-logging",html:'assignment '+django.gettext("Enable client logging")+"",type:st.ONLY_MENU}],this.authenticator=null,this.gui=[],this.users={},this.groups={},this.selectedTab=1,this.selectedTab=this.route.snapshot.paramMap.get("group")?2:1}ngOnInit(){let e=this.route.snapshot.paramMap.get("authenticator");e&&(this.users=this.rest.authenticators.detail(e,"users"),this.groups=this.rest.authenticators.detail(e,"groups"),this.rest.authenticators.get(e).then(n=>{this.authenticator=n,this.rest.authenticators.gui(n.type).then(o=>{this.gui=o}),n?.type_info?.is_external&&!this.usersCustomButtons.some(o=>o.id==="import-csv")&&this.usersCustomButtons.push({id:"import-csv",html:y9,type:st.ALWAYS})}))}onLoad(e){if(e.param===!0){let n=this.route.snapshot.paramMap.get("user"),o=this.route.snapshot.paramMap.get("group"),r=n||o;e.table.selectElement("id",r)}}processElement(e){e.maintenance_state=e.maintenance_mode?django.gettext("In Maintenance"):django.gettext("Active")}onNewUser(e){jx.launch(this.api,this.authenticator).subscribe(n=>e.table.overview())}onEditUser(e){jx.launch(this.api,this.authenticator,e.table.selection.selected[0]).subscribe(n=>e.table.overview())}onDeleteUser(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete user"))}onNewGroup(e){zx.launch(this.api,this.authenticator,e.param.type).subscribe(n=>e.table.overview())}onEditGroup(e){zx.launch(this.api,this.authenticator,e.param.type,e.table.selection.selected[0]).subscribe(n=>e.table.overview())}onDeleteGroup(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete group"))}onUserCustom(e){return V(this,null,function*(){e.param.id==="info"?pP.launch(this.api,this.users,e.table.selection.selected[0]):e.param.id==="clean-related"?(yield this.api.gui.questionDialog(django.gettext("Clean data"),django.gettext("Clean related data (mfa, ...)?"),!0))&&(yield this.users.invoke(e.table.selection.selected[0].id+"/clean_related"),this.api.gui.snackbar.open(django.gettext("Related data cleaned"),django.gettext("dismiss"),{duration:2e3}),e.table.overview()):e.param.id==="enable-client-logging"?(yield this.api.gui.questionDialog(django.gettext("Client logging"),django.gettext("Enable client logging for user?"),!0))&&(yield this.users.invoke(e.table.selection.selected[0].id+"/enable_client_logging"),this.api.gui.snackbar.open(django.gettext("Client logging enabled"),django.gettext("dismiss"),{duration:2e3}),e.table.overview()):e.param.id==="import-csv"&&(yield this.onImportCSV(e))})}onImportCSV(e){return V(this,null,function*(){let n=yield P_.launch(this.api,{title:django.gettext("Import Users"),help:django.gettext('Format of file must be "username,comments". Comments field is optional. Separator can be configured.'),template:["username","comments"]});if(!n||!n.data||n.data.length===0)return;let o=yield this.users.put({data:n.data},this.authenticator.id+"/importcsv");o&&o.length>0&&this.api.gui.alert(django.gettext("Errors found importing data: "),o.slice(0,16).join(`
+`)),e.table.overview()})}onGroupInformation(e){hP.launch(this.api,this.groups,e.table.selection.selected[0])}static{this.\u0275fac=function(n){return new(n||t)(w(Oe),w(J),w(G))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-authenticators-detail"]],standalone:!1,decls:10,vars:8,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary",3,"selectedIndexChange","selectedIndex"],["mat-tab-label",""],[1,"content"],[3,"value","gui",4,"ngIf"],["icon","users",3,"rest","multiSelect","allowExport","tableId","customButtons","pageSize","loaded","newAction","editAction","deleteAction","customButtonAction",4,"ngIf"],["icon","users",3,"rest","multiSelect","allowExport","tableId","customButtons","pageSize","loaded","editAction","deleteAction","customButtonAction",4,"ngIf"],["icon","groups",3,"loaded","newAction","editAction","deleteAction","customButtonAction","rest","multiSelect","allowExport","customButtons","tableId","pageSize"],[3,"rest","itemId","tableId"],[3,"value","gui"],["icon","users",3,"loaded","newAction","editAction","deleteAction","customButtonAction","rest","multiSelect","allowExport","tableId","customButtons","pageSize"],["icon","users",3,"loaded","editAction","deleteAction","customButtonAction","rest","multiSelect","allowExport","tableId","customButtons","pageSize"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),g(4,"arrow_back"),d()(),g(5," \xA0"),M(6,"img",4),g(7),d(),S(8,b9,21,16,"div",5),ht(9,"notEmpty"),d()),n&2&&(u(2),h("routerLink",ni(6,u9,o.authenticator?o.authenticator.id:"")),u(4),h("src",o.api.staticURL("admin/img/icons/services.png"),we),u(),O(" \xA0",o.authenticator==null?null:o.authenticator.name," "),u(),h("ngIf",wt(9,4,o.authenticator)))},dependencies:[pe,mn,nn,on,sn,se,Me,Li,Mo,Dn],encapsulation:2})}}return t})();var Ux=(()=>{class t{constructor(e,n,o){this.api=e,this.route=n,this.rest=o}ngOnInit(){let e=this.route.snapshot.paramMap.get("osmanager")}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New OS Manager"),!1)}onEdit(e){this.api.gui.forms.typedEditForm(e,django.gettext("Edit OS Manager"),!1)}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete OS Manager"))}onLoad(e){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("osmanager"))}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(Oe),w(J))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-osmanagers"]],standalone:!1,decls:2,vars:5,consts:[["icon","osmanagers",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(n,o){n&1&&(c(0,"div")(1,"uds-table",0),b("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("loaded",function(a){return o.onLoad(a)}),d()()),n&2&&(u(),h("rest",o.rest.osManagers)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",o.api.config.admin.page_size))},dependencies:[Me],encapsulation:2})}}return t})();var Hx=(()=>{class t{constructor(e,n,o){this.api=e,this.route=n,this.rest=o}ngOnInit(){let e=this.route.snapshot.paramMap.get("transport")}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New Transport"))}onEdit(e){this.api.gui.forms.typedEditForm(e,django.gettext("Edit Transport"))}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete Transport"))}processElement(e){try{e.allowed_oss=e.allowed_oss.join(", ")}catch{e.allowed_oss=""}}onLoad(e){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("transport"))}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(Oe),w(J))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-transports"]],standalone:!1,decls:2,vars:7,consts:[["icon","transports",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","hasPermissions","newGrouped","onItem","pageSize"]],template:function(n,o){n&1&&(c(0,"div")(1,"uds-table",0),b("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("loaded",function(a){return o.onLoad(a)}),d()()),n&2&&(u(),h("rest",o.rest.transports)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("newGrouped",!0)("onItem",o.processElement)("pageSize",o.api.config.admin.page_size))},dependencies:[Me],styles:[".mat-column-priority{max-width:7rem;justify-content:center}"]})}}return t})();var Gx=(()=>{class t{constructor(e,n,o){this.api=e,this.route=n,this.rest=o}ngOnInit(){let e=this.route.snapshot.paramMap.get("network")}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New Network"),!1)}onEdit(e){this.api.gui.forms.typedEditForm(e,django.gettext("Edit Network"),!1)}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete Network"))}onLoad(e){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("network"))}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(Oe),w(J))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-networks"]],standalone:!1,decls:2,vars:5,consts:[["icon","networks",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(n,o){n&1&&(c(0,"div")(1,"uds-table",0),b("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("loaded",function(a){return o.onLoad(a)}),d()()),n&2&&(u(),h("rest",o.rest.networks)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",o.api.config.admin.page_size))},dependencies:[Me],encapsulation:2})}}return t})();var Wx=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o}ngOnInit(){}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New tunnel"),!1)}onEdit(e){this.api.gui.forms.typedEditForm(e,django.gettext("Edit tunnel"),!1)}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete tunnel"))}onDetail(e){this.api.navigation.gotoTunnelDetail(e.param.id)}processElement(e){e.maintenance_state=e.maintenance_mode?django.gettext("In Maintenance"):django.gettext("Active")}onLoad(e){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("tunnel"))}static{this.\u0275fac=function(n){return new(n||t)(w(Oe),w(J),w(G))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-tunnels"]],standalone:!1,decls:1,vars:6,consts:[["tableId","tunnels-table","icon","providers",3,"newAction","editAction","deleteAction","detailAction","loaded","rest","onItem","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(n,o){n&1&&(c(0,"uds-table",0),b("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("detailAction",function(a){return o.onDetail(a)})("loaded",function(a){return o.onLoad(a)}),d()),n&2&&h("rest",o.rest.tunnels)("onItem",o.processElement)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",o.api.config.admin.page_size)},dependencies:[Me],encapsulation:2})}}return t})();function C9(t,i){if(t&1&&(c(0,"mat-option",7),g(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),O(" ",e.name," ")}}var fP=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.done=new tn,this.availTunnelServers=[],this.tunnelFilter="",this.serverId="",this.availTunnelServers=r.availableTunnelServers,this.tunnelId=r.tunnelId}static launch(e,n,o){return V(this,null,function*(){let r=window.innerWidth<800?"60%":"40%";return e.gui.dialog.open(t,{width:r,position:{top:window.innerWidth<800?"0px":"7rem"},data:{tunnelId:n,availableTunnelServers:o},disableClose:!1}).componentInstance.done})}ngOnInit(){return V(this,null,function*(){})}filteredTunnels(){if(!this.tunnelFilter)return this.availTunnelServers;let e=new Array;for(let n of this.availTunnelServers)n.name.toLocaleLowerCase().includes(this.tunnelFilter.toLocaleLowerCase())&&e.push(n);return e}save(){return V(this,null,function*(){if(this.serverId===""){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid server"));return}this.dialogRef.close(),this.done.resolve(!0),yield this.rest.tunnels.assign(this.tunnelId,this.serverId)})}cancel(){return V(this,null,function*(){this.dialogRef.close(),this.done.resolve(!1)})}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(J),w(Le),w(We))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-new-tunnel"]],standalone:!1,decls:19,vars:3,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModelChange","ngModel"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"]],template:function(n,o){n&1&&(c(0,"h4",0)(1,"uds-translate"),g(2,"Assign new server to tunnel group"),d()(),c(3,"mat-dialog-content")(4,"div",1)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),g(8,"Tunnel"),d()(),c(9,"mat-select",2),H("ngModelChange",function(a){return W(o.serverId,a)||(o.serverId=a),a}),c(10,"uds-cond-select-search",3),b("changed",function(a){return o.tunnelFilter=a}),d(),S(11,C9,2,2,"mat-option",4),d()()()(),c(12,"mat-dialog-actions")(13,"button",5),b("click",function(){return o.cancel()}),c(14,"uds-translate"),g(15,"Cancel"),d()(),c(16,"button",6),b("click",function(){return o.save()}),c(17,"uds-translate"),g(18,"Ok"),d()()()),n&2&&(u(9),U("ngModel",o.serverId),u(),h("options",o.availTunnelServers),u(),h("ngForOf",o.filteredTunnels()))},dependencies:[Ue,Ce,xe,ge,Ze,Je,Xe,he,Pe,gt,$e,se,pn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]})}}return t})();var w9=t=>["/connectivity","tunnels",t];function x9(t,i){t&1&&(c(0,"uds-translate"),g(1,"Summary"),d())}function D9(t,i){t&1&&(c(0,"uds-translate"),g(1,"Tunnel servers"),d())}function E9(t,i){if(t&1){let e=A();c(0,"div",6)(1,"div",7)(2,"mat-tab-group",8)(3,"mat-tab"),S(4,x9,2,0,"ng-template",9),c(5,"div",10),M(6,"uds-information",11),d()(),c(7,"mat-tab"),S(8,D9,2,0,"ng-template",9),c(9,"div",10)(10,"uds-table",12),b("newAction",function(o){y(e);let r=_();return C(r.onNew(o))})("rowSelected",function(o){y(e);let r=_();return C(r.onRowSelect(o))})("deleteAction",function(o){y(e);let r=_();return C(r.onDelete(o))})("customButtonAction",function(o){y(e);let r=_();return C(r.onMaintenance(o))})("loaded",function(o){y(e);let r=_();return C(r.onLoad(o))}),d()()()()()()}if(t&2){let e=_();u(2),h("@.disabled",!0),u(4),h("value",e.tunnel)("gui",e.gui),u(4),h("rest",e.servers)("multiSelect",!0)("allowExport",!0)("customButtons",e.customButtons)("pageSize",e.api.config.admin.page_size)("tableId","tunnels-d-servers"+e.tunnel.id)}}var gP='pause'+django.gettext("Maintenance")+"",S9='pause'+django.gettext("Exit maintenance mode")+"",M9='pause'+django.gettext("Enter maintenance mode")+"",_P=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o,this.cButtons=[{id:"maintenance",html:gP,type:st.SINGLE_SELECT}],this.tunnel=null,this.gui=[],this.servers={}}get customButtons(){return this.api.user.isAdmin?this.cButtons:[]}ngOnInit(){return V(this,null,function*(){let e=this.route.snapshot.paramMap.get("tunnel");e&&(this.servers=this.rest.tunnels.detail(e,"servers"),this.tunnel=yield this.servers.parentModel.get(e),this.gui=yield this.servers.parentModel.gui(),console.log(this.gui),console.log(this.tunnel))})}onMaintenance(e){let n=e.table.selection.selected[0],o=n.maintenance_mode?django.gettext("Exit maintenance mode?"):django.gettext("Enter maintenance mode?");this.api.gui.questionDialog(django.gettext("Maintenance mode for")+" "+n.name,o).then(r=>{r&&this.servers.get(n.id+"/maintenance").then(()=>{e.table.overview()})})}onNew(e){return V(this,null,function*(){let n=yield this.rest.tunnels.tunnels(this.tunnel.id);n.length==0?this.api.gui.alert(django.gettext("Error"),django.gettext("This tunnel already has all the tunnel servers available")):(yield fP.launch(this.api,this.tunnel.id,n))===!0&&e.table.overview()})}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Remove member from tunnel"))}onRowSelect(e){let n=e.table;if(n.selection.selected.length>1||n.selection.selected.length===0){this.customButtons[0].html=gP;return}n.selection.selected[0].maintenance_mode?this.customButtons[0].html=S9:this.customButtons[0].html=M9}onLoad(e){if(e.param===!0){let n=this.route.snapshot.paramMap.get("tunnel");if(n!==void 0){let o=e.table;o.dataSource.data.forEach(r=>{r.id===n&&o.selection.select(r)})}}}static{this.\u0275fac=function(n){return new(n||t)(w(Oe),w(J),w(G))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-tunnels-detail"]],standalone:!1,decls:10,vars:8,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary","selectedIndex","1"],["mat-tab-label",""],[1,"content"],[3,"value","gui"],["icon","tunnels",3,"newAction","rowSelected","deleteAction","customButtonAction","loaded","rest","multiSelect","allowExport","customButtons","pageSize","tableId"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),g(4,"arrow_back"),d()(),g(5," \xA0"),M(6,"img",4),g(7),d(),S(8,E9,11,9,"div",5),ht(9,"notEmpty"),d()),n&2&&(u(2),h("routerLink",ni(6,w9,o.servers.parentId)),u(4),h("src",o.api.staticURL("admin/img/icons/tunnels.png"),we),u(),O(" \xA0",o.tunnel==null?null:o.tunnel.name," "),u(),h("ngIf",wt(9,4,o.tunnel)))},dependencies:[pe,mn,nn,on,sn,se,Me,Mo,Dn],styles:[".row-maintenance-true>mat-cell{color:orange!important}"]})}}return t})();var $x=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o,this.customButtons=[Rn.getGotoButton(qw,"provider_id"),Rn.getGotoButton(Yw,"provider_id","service_id"),Rn.getGotoButton(Zw,"osmanager_id"),Rn.getGotoButton(Xw,"pool_group_id")],this.editing=!1}ngOnInit(){return V(this,null,function*(){})}onChange(e){return V(this,null,function*(){let n=["initial_srvs","cache_l1_srvs","max_srvs"];if(e.on===null||e.on.field.name==="service_id"){if(e.all.service_id.value===""){e.all.osmanager_id.gui.choices=[];for(let r of n)e.all[r].gui.readonly=!0;e.all.cache_l2_srvs.gui.readonly=!0;return}let o=yield this.rest.providers.service(e.all.service_id.value);if(e.all.allow_users_reset.gui.readonly=!o.info.can_reset,e.all.osmanager_id.gui.choices=[],this.editing||(e.all.osmanager_id.gui.readonly=!o.info.needs_osmanager),o.info.needs_osmanager===!0){let r=yield this.rest.osManagers.overview(),a=[];for(let s of r)for(let l of s.servicesTypes)o.info.services_type_provided==l&&a.push({id:s.id,text:s.name});a.length>0?e.all.osmanager_id.value=e.all.osmanager_id.value||a[0].id:e.all.osmanager_id.value="",e.all.osmanager_id.gui.choices=a}else e.all.osmanager_id.gui.choices=[{id:"",text:django.gettext("(This service does not requires an OS Manager)")}],e.all.osmanager_id.value="";for(let r of n)e.all[r].gui.readonly=!o.info.uses_cache;e.all.cache_l2_srvs.gui.readonly=o.info.uses_cache===!1||o.info.uses_cache_l2===!1,e.all.publish_on_save&&(e.all.publish_on_save.gui.readonly=!o.info.needs_publication)}})}onNew(e){return V(this,null,function*(){this.editing=!1,yield this.api.gui.forms.typedNewForm(e,django.gettext("New service Pool"),!1,[{name:"publish_on_save",value:!0,gui:{label:django.gettext("Publish on creation"),tooltip:django.gettext("If selected, will initiate the publication inmediatly after creation"),type:si.CHECKBOX,order:150,default:"true"}}],this.onChange.bind(this))})}onEdit(e){return V(this,null,function*(){if(this.editing=!0,e.table.selection.selected.length!==0){if(e.table.selection.selected[0].state==="Q"){yield this.api.gui.alert(django.gettext("Service Pool is locked"),django.gettext("This service pool is locked and cannot be edited"));return}yield this.api.gui.forms.typedEditForm(e,django.gettext("Edit Service Pool"),!1,void 0,this.onChange.bind(this))}})}onDelete(e){return V(this,null,function*(){return this.api.gui.forms.deleteForm(e,django.gettext("Delete service pool"),void 0,!0)})}processElement(e){e.visible=this.api.boolAsHumanString(e.visible),e.show_transports=this.api.boolAsHumanString(e.show_transports),typeof e.name!="string"&&(e.name=""),e.name=e.name.replace(//g,">"),e.restrained?(e.name='warning '+this.api.gui.icon(e.info.icon)+e.name,e.state="T"):(e.name=this.api.gui.icon(e.info.icon)+e.name,e.meta_member.length>0&&(e.state="V")),e.name=this.api.safeString(e.name),e.pool_group_name=this.api.safeString(this.api.gui.icon(e.pool_group_thumb)+e.pool_group_name)}onDetail(e){this.api.navigation.gotoServicePoolDetail(e.param.id)}onLoad(e){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("pool"))}static{this.\u0275fac=function(n){return new(n||t)(w(Oe),w(J),w(G))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-service-pools"]],standalone:!1,decls:1,vars:7,consts:[["icon","pools",3,"newAction","editAction","deleteAction","detailAction","loaded","rest","multiSelect","allowExport","hasPermissions","onItem","customButtons","pageSize"]],template:function(n,o){n&1&&(c(0,"uds-table",0),b("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("detailAction",function(a){return o.onDetail(a)})("loaded",function(a){return o.onLoad(a)}),d()),n&2&&h("rest",o.rest.servicesPools)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("onItem",o.processElement)("customButtons",o.customButtons)("pageSize",o.api.config.admin.page_size)},dependencies:[Me],styles:[".mat-column-user_services_count, .mat-column-user_services_in_preparation, .mat-column-visible, .mat-column-usage{max-width:5rem;justify-content:center} .mat-column-state{min-width:12rem;max-width:12rem;justify-content:center} .mat-column-show_transports{max-width:12rem;justify-content:center} .mat-column-pool_group_name{max-width:14rem} .mat-column-visible{max-width:8rem} .row-state-T>.mat-mdc-cell{color:#d65014!important} .row-state-Q>.mat-mdc-cell{color:#00a5ff!important} .row-state-Y>.mat-mdc-cell{color:#a05014!important} .row-state-R>.mat-mdc-cell{color:#f00000!important} .mat-column-user_services_count{max-width:10rem;justify-content:center} .mat-column-user_services_in_preparation{max-width:10rem;justify-content:center}"]})}}return t})();function I9(t,i){if(t&1&&(c(0,"mat-option",8),g(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),O(" ",e.name," ")}}function T9(t,i){if(t&1&&(c(0,"mat-option",8),g(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),O(" ",e.name," ")}}var F_=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.done=new tn,this.auths=[],this.users=[],this.userFilter="",this.authId="",this.userId="",this.userService=r.userService,this.userServices=r.userServices}static launch(e,n,o){let r=window.innerWidth<800?"60%":"40%";return e.gui.dialog.open(t,{width:r,position:{top:window.innerWidth<800?"0px":"7rem"},data:{userService:n,userServices:o},disableClose:!1}).componentInstance.done}ngOnInit(){return V(this,null,function*(){this.authId=this.userService.owner_info.auth_id||"",this.userId=this.userService.owner_info.user_id||"",this.auths=yield this.rest.authenticators.summary(),this.authChanged()})}changeAuth(e){this.userId="",this.authChanged()}filteredUsers(){if(!this.userFilter)return this.users;let e=new Array;return this.users.forEach(n=>{(this.userFilter===""||n.name.toLocaleLowerCase().includes(this.userFilter.toLocaleLowerCase()))&&e.push(n)}),e}save(){if(this.userId===""||this.authId===""){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid user"));return}this.userServices.save({id:this.userService.id,auth_id:this.authId,user_id:this.userId}).then(()=>{this.dialogRef.close(),this.done.resolve(!0)})}cancel(){this.dialogRef.close(),this.done.resolve(!1)}authChanged(){return V(this,null,function*(){this.authId?this.users=yield this.rest.authenticators.detail(this.authId,"users").summary():this.users=[]})}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(J),w(Le),w(We))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-change-assigned-service-owner"]],standalone:!1,decls:25,vars:5,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModelChange","selectionChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModelChange","ngModel"],[3,"changed","options"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"]],template:function(n,o){n&1&&(c(0,"h4",0)(1,"uds-translate"),g(2,"Change owner of assigned service"),d()(),c(3,"mat-dialog-content")(4,"div",1)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),g(8,"Authenticator"),d()(),c(9,"mat-select",2),H("ngModelChange",function(a){return W(o.authId,a)||(o.authId=a),a}),b("selectionChange",function(a){return o.changeAuth(a)}),S(10,I9,2,2,"mat-option",3),d()(),c(11,"mat-form-field")(12,"mat-label")(13,"uds-translate"),g(14,"User"),d()(),c(15,"mat-select",4),H("ngModelChange",function(a){return W(o.userId,a)||(o.userId=a),a}),c(16,"uds-cond-select-search",5),b("changed",function(a){return o.userFilter=a}),d(),S(17,T9,2,2,"mat-option",3),d()()()(),c(18,"mat-dialog-actions")(19,"button",6),b("click",function(){return o.cancel()}),c(20,"uds-translate"),g(21,"Cancel"),d()(),c(22,"button",7),b("click",function(){return o.save()}),c(23,"uds-translate"),g(24,"Ok"),d()()()),n&2&&(u(9),U("ngModel",o.authId),u(),h("ngForOf",o.auths),u(5),U("ngModel",o.userId),u(),h("options",o.users),u(),h("ngForOf",o.filteredUsers()))},dependencies:[Ue,Ce,xe,ge,Ze,Je,Xe,he,Pe,gt,$e,se,pn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]})}}return t})();function k9(t,i){t&1&&(c(0,"uds-translate"),g(1,"New access rule for"),d())}function A9(t,i){t&1&&(c(0,"uds-translate"),g(1,"Edit access rule for"),d())}function R9(t,i){t&1&&(c(0,"uds-translate"),g(1,"Default fallback access for"),d())}function O9(t,i){if(t&1&&(c(0,"mat-option",11),g(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),O(" ",e.name," ")}}function P9(t,i){if(t&1){let e=A();dt(0),c(1,"mat-form-field")(2,"mat-label")(3,"uds-translate"),g(4,"Priority"),d()(),c(5,"input",8),H("ngModelChange",function(o){y(e);let r=_();return W(r.accessRule.priority,o)||(r.accessRule.priority=o),C(o)}),d()(),c(6,"mat-form-field")(7,"mat-label")(8,"uds-translate"),g(9,"Calendar"),d()(),c(10,"mat-select",3),H("ngModelChange",function(o){y(e);let r=_();return W(r.accessRule.calendar_id,o)||(r.accessRule.calendar_id=o),C(o)}),c(11,"uds-cond-select-search",9),b("changed",function(o){y(e);let r=_();return C(r.calendarsFilter=o)}),d(),S(12,O9,2,2,"mat-option",10),d()(),ut()}if(t&2){let e=_();u(5),U("ngModel",e.accessRule.priority),u(5),U("ngModel",e.accessRule.calendar_id),u(),h("options",e.calendars),u(),h("ngForOf",e.filtered(e.calendars,e.calendarsFilter))}}var $c=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.onSave=new k(!0),this.calendars=[],this.calendarsFilter="",this.pool=r.pool,this.model=r.model,this.accessRule={id:void 0,priority:0,access:"ALLOW",calendar_id:""},r.accessRule&&(this.accessRule.id=r.accessRule.id)}static launch(e,n,o,r){let a=window.innerWidth<800?"80%":"60%";return e.gui.dialog.open(t,{width:a,position:{top:window.innerWidth<800?"0px":"7rem"},data:{pool:n,model:o,accessRule:r},disableClose:!1}).componentInstance.onSave}ngOnInit(){this.rest.calendars.summary().then(e=>{this.calendars=e}),this.accessRule.id!==void 0&&this.accessRule.id!==-1?this.model.get(this.accessRule.id).then(e=>{this.accessRule=e}):this.accessRule.id===-1&&this.model.parentModel.getFallbackAccess(this.pool.id).then(e=>this.accessRule.access=e)}filtered(e,n){return n?e.filter(o=>o.name.toLocaleLowerCase().includes(n.toLocaleLowerCase())):e}save(){let e=()=>{this.dialogRef.close(),this.onSave.emit(!0)};this.accessRule.id!==-1?this.model.save(this.accessRule).then(e):this.model.parentModel.setFallbackAccess(this.pool.id,this.accessRule.access).then(e)}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(J),w(Le),w(We))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-service-pools-access-calendars"]],standalone:!1,decls:24,vars:6,consts:[["mat-dialog-title",""],[4,"ngIf"],[1,"content"],[3,"ngModelChange","ngModel"],["value","ALLOW"],["value","DENY"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],["matInput","","type","number",3,"ngModelChange","ngModel"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(n,o){n&1&&(c(0,"h4",0),S(1,k9,2,0,"uds-translate",1)(2,A9,2,0,"uds-translate",1)(3,R9,2,0,"uds-translate",1),g(4),d(),c(5,"mat-dialog-content")(6,"div",2),S(7,P9,13,4,"ng-container",1),c(8,"mat-form-field")(9,"mat-label")(10,"uds-translate"),g(11,"Action"),d()(),c(12,"mat-select",3),H("ngModelChange",function(a){return W(o.accessRule.access,a)||(o.accessRule.access=a),a}),c(13,"mat-option",4),g(14," ALLOW "),d(),c(15,"mat-option",5),g(16," DENY "),d()()()()(),c(17,"mat-dialog-actions")(18,"button",6)(19,"uds-translate"),g(20,"Cancel"),d()(),c(21,"button",7),b("click",function(){return o.save()}),c(22,"uds-translate"),g(23,"Ok"),d()()()),n&2&&(u(),h("ngIf",o.accessRule.id===void 0),u(),h("ngIf",o.accessRule.id!==void 0&&o.accessRule.id!==-1),u(),h("ngIf",o.accessRule.id===-1),u(),O(" ",o.pool.name,` +`),u(3),h("ngIf",o.accessRule.id!==-1),u(5),U("ngModel",o.accessRule.access))},dependencies:[Ue,pe,ct,io,Ce,xe,ge,Yt,Ze,Je,Xe,he,Pe,pt,gt,$e,se,pn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]})}}return t})();function N9(t,i){if(t&1&&(c(0,"mat-option",8),g(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),O(" ",e.name," ")}}function F9(t,i){if(t&1&&(dt(0),g(1),ut()),t&2){let e=_().$implicit;u(),O(" (",e.comments,")")}}function L9(t,i){if(t&1&&(c(0,"mat-option",8),g(1),S(2,F9,2,1,"ng-container",9),d()),t&2){let e=i.$implicit;h("value",e.id),u(),O(" ",e.name),u(),h("ngIf",e.comments)}}var L_=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.done=new tn,this.model={},this.auths=[],this.authFilter="",this.groups=[],this.groupFilter="",this.authId="",this.groupId="",this.pool=r.pool,this.model=r.model}static launch(e,n,o){let r=window.innerWidth<800?"60%":"40%";return e.gui.dialog.open(t,{width:r,position:{top:window.innerWidth<800?"0px":"7rem"},data:{pool:n,model:o},disableClose:!1}).componentInstance.done}ngOnInit(){return V(this,null,function*(){this.auths=yield this.rest.authenticators.summary()})}changeAuth(e){return V(this,null,function*(){this.groupId="",this.authChanged()})}filteredGroups(){return!this.groupFilter||this.groupFilter.length<3?this.groups:this.groups.filter(e=>(e.name+e.comments).toLocaleLowerCase().includes(this.groupFilter.toLocaleLowerCase()))}filteredAuths(){return!this.authFilter||this.authFilter.length<3?this.auths:this.auths.filter(e=>e.name.toLocaleLowerCase().includes(this.authFilter.toLocaleLowerCase()))}save(){return V(this,null,function*(){if(this.groupId===""||this.authId===""){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid group"));return}yield this.model.create({id:this.groupId}),this.dialogRef.close(),this.done.resolve(!0)})}cancel(){return V(this,null,function*(){this.dialogRef.close(),this.done.resolve(!1)})}authChanged(){return V(this,null,function*(){this.authId?this.groups=yield this.rest.authenticators.detail(this.authId,"groups").summary():this.groups=[]})}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(J),w(Le),w(We))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-service-pools-add-group"]],standalone:!1,decls:27,vars:7,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModelChange","selectionChange","ngModel"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModelChange","ngModel"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[4,"ngIf"]],template:function(n,o){n&1&&(c(0,"h4",0)(1,"uds-translate"),g(2,"New group for"),d(),g(3),d(),c(4,"mat-dialog-content")(5,"div",1)(6,"mat-form-field")(7,"mat-label")(8,"uds-translate"),g(9,"Authenticator"),d()(),c(10,"mat-select",2),H("ngModelChange",function(a){return W(o.authId,a)||(o.authId=a),a}),b("selectionChange",function(a){return o.changeAuth(a)}),c(11,"uds-cond-select-search",3),b("changed",function(a){return o.authFilter=a}),d(),S(12,N9,2,2,"mat-option",4),d()(),c(13,"mat-form-field")(14,"mat-label")(15,"uds-translate"),g(16,"Group"),d()(),c(17,"mat-select",5),H("ngModelChange",function(a){return W(o.groupId,a)||(o.groupId=a),a}),c(18,"uds-cond-select-search",3),b("changed",function(a){return o.groupFilter=a}),d(),S(19,L9,3,3,"mat-option",4),d()()()(),c(20,"mat-dialog-actions")(21,"button",6),b("click",function(){return o.cancel()}),c(22,"uds-translate"),g(23,"Cancel"),d()(),c(24,"button",7),b("click",function(){return o.save()}),c(25,"uds-translate"),g(26,"Ok"),d()()()),n&2&&(u(3),O(" ",o.pool.name),u(7),U("ngModel",o.authId),u(),h("options",o.auths),u(),h("ngForOf",o.filteredAuths()),u(5),U("ngModel",o.groupId),u(),h("options",o.groups),u(),h("ngForOf",o.filteredGroups()))},dependencies:[Ue,pe,Ce,xe,ge,Ze,Je,Xe,he,Pe,gt,$e,se,pn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]})}}return t})();function V9(t,i){if(t&1&&(dt(0),g(1),ut()),t&2){let e=_().$implicit;u(),O(" (",e.comments,")")}}function B9(t,i){if(t&1&&(c(0,"mat-option",7),g(1),S(2,V9,2,1,"ng-container",8),d()),t&2){let e=i.$implicit;h("value",e.id),u(),O(" ",e.name),u(),h("ngIf",e.comments)}}var vP=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.done=new tn,this.transports=[],this.transportsFilter="",this.transportId="",this.servicePool=r.servicePool}static launch(e,n){let o=window.innerWidth<800?"60%":"40%";return e.gui.dialog.open(t,{width:o,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:n},disableClose:!1}).componentInstance.done}ngOnInit(){return V(this,null,function*(){this.transports=(yield this.rest.transports.summary()).filter(e=>this.servicePool.info.allowed_protocols.includes(e.protocol))})}filteredTransports(){return this.transportsFilter?this.transports.filter(e=>e.name.toLocaleLowerCase().includes(this.transportsFilter.toLocaleLowerCase())):this.transports}save(){return V(this,null,function*(){if(this.transportId===""){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid transport"));return}yield this.rest.servicesPools.detail(this.servicePool.id,"transports").create({id:this.transportId}),this.done.resolve(!0),this.dialogRef.close()})}cancel(){return V(this,null,function*(){this.done.resolve(!1),this.dialogRef.close()})}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(J),w(Le),w(We))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-service-pools-add-transport"]],standalone:!1,decls:20,vars:4,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModelChange","ngModel"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[4,"ngIf"]],template:function(n,o){n&1&&(c(0,"h4",0)(1,"uds-translate"),g(2,"New transport for"),d(),g(3),d(),c(4,"mat-dialog-content")(5,"div",1)(6,"mat-form-field")(7,"mat-label")(8,"uds-translate"),g(9,"Transport"),d()(),c(10,"mat-select",2),H("ngModelChange",function(a){return W(o.transportId,a)||(o.transportId=a),a}),c(11,"uds-cond-select-search",3),b("changed",function(a){return o.transportsFilter=a}),d(),S(12,B9,3,3,"mat-option",4),d()()()(),c(13,"mat-dialog-actions")(14,"button",5),b("click",function(){return o.cancel()}),c(15,"uds-translate"),g(16,"Cancel"),d()(),c(17,"button",6),b("click",function(){return o.save()}),c(18,"uds-translate"),g(19,"Ok"),d()()()),n&2&&(u(3),O(" ",o.servicePool.name),u(7),U("ngModel",o.transportId),u(),h("options",o.transports),u(),h("ngForOf",o.filteredTransports()))},dependencies:[Ue,pe,Ce,xe,ge,Ze,Je,Xe,he,Pe,gt,$e,se,pn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]})}}return t})();var bP=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.done=new tn,this.reason="",this.servicePool=r.servicePool}static launch(e,n){let o=window.innerWidth<800?"60%":"40%";return e.gui.dialog.open(t,{width:o,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:n},disableClose:!1}).componentInstance.done}ngOnInit(){}save(){this.rest.servicesPools.detail(this.servicePool.id,"publications").invoke("publish","changelog="+encodeURIComponent(this.reason)).then(()=>{this.dialogRef.close(),this.done.resolve(!0)})}cancel(){this.dialogRef.close(),this.done.resolve(!1)}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(J),w(Le),w(We))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-service-pools-new-publication"]],standalone:!1,decls:18,vars:2,consts:[["mat-dialog-title",""],[1,"content"],["matInput","","type","text",3,"ngModelChange","ngModel"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"]],template:function(n,o){n&1&&(c(0,"h4",0)(1,"uds-translate"),g(2,"New publication for"),d(),g(3),d(),c(4,"mat-dialog-content")(5,"div",1)(6,"mat-form-field")(7,"mat-label")(8,"uds-translate"),g(9,"Comments"),d()(),c(10,"input",2),H("ngModelChange",function(a){return W(o.reason,a)||(o.reason=a),a}),d()()()(),c(11,"mat-dialog-actions")(12,"button",3),b("click",function(){return o.cancel()}),c(13,"uds-translate"),g(14,"Cancel"),d()(),c(15,"button",4),b("click",function(){return o.save()}),c(16,"uds-translate"),g(17,"Ok"),d()()()),n&2&&(u(3),O(" ",o.servicePool.name,` +`),u(7),U("ngModel",o.reason))},dependencies:[ct,Ce,xe,ge,Ze,Je,Xe,he,Pe,pt,se],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]})}}return t})();var yP=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.onSave=new k(!0),this.changeLogPubs={},this.servicePool=r.servicePool}static launch(e,n){let o=window.innerWidth<800?"80%":"60%",r=e.gui.dialog.open(t,{width:o,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:n},disableClose:!1})}ngOnInit(){this.changeLogPubs=this.rest.servicesPools.detail(this.servicePool.id,"changelog")}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(J),w(Le),w(We))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-service-pools-publications-changelog"]],standalone:!1,decls:11,vars:4,consts:[["changeLog",""],["mat-dialog-title",""],["icon","publications",3,"rest","allowExport","tableId"],["mat-raised-button","","color","primary","mat-dialog-close",""]],template:function(n,o){n&1&&(c(0,"h4",1)(1,"uds-translate"),g(2,"Changelog of"),d(),g(3),d(),c(4,"mat-dialog-content"),M(5,"uds-table",2,0),d(),c(7,"mat-dialog-actions")(8,"button",3)(9,"uds-translate"),g(10,"Ok"),d()()()),n&2&&(u(3),O(" ",o.servicePool.name,` +`),u(2),h("rest",o.changeLogPubs)("allowExport",!0)("tableId","servicePools-d-changelog"+o.servicePool.id))},dependencies:[ge,Yt,Ze,Je,Xe,se,Me],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]})}}return t})();var j9=["switch"],z9=["*"];function U9(t,i){t&1&&(c(0,"span",11),Jt(),c(1,"svg",13),M(2,"path",14),d(),c(3,"svg",15),M(4,"path",16),d()())}var H9=new T("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1})}),V_=class{source;checked;constructor(i,e){this.source=i,this.checked=e}},ca=(()=>{class t{_elementRef=p(K);_focusMonitor=p(An);_changeDetectorRef=p(Te);defaults=p(H9);_onChange=e=>{};_onTouched=()=>{};_validatorOnChange=()=>{};_uniqueId;_checked=!1;_createChangeEvent(e){return new V_(this,e)}_labelId;get buttonId(){return`${this.id||this._uniqueId}-button`}_switchElement;focus(){this._switchElement.nativeElement.focus()}_noopAnimations=rt();_focused;name=null;id;labelPosition="after";ariaLabel=null;ariaLabelledby=null;ariaDescribedby;required;color;disabled=!1;disableRipple=!1;tabIndex=0;get checked(){return this._checked}set checked(e){this._checked=e,this._changeDetectorRef.markForCheck()}hideIcon;disabledInteractive;change=new k;toggleChange=new k;get inputId(){return`${this.id||this._uniqueId}-input`}constructor(){p(Dt).load(In);let e=p(new Vn("tabindex"),{optional:!0}),n=this.defaults;this.tabIndex=e==null?0:parseInt(e)||0,this.color=n.color||"accent",this.id=this._uniqueId=p(mt).getId("mat-mdc-slide-toggle-"),this.hideIcon=n.hideIcon??!1,this.disabledInteractive=n.disabledInteractive??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e==="keyboard"||e==="program"?(this._focused=!0,this._changeDetectorRef.markForCheck()):e||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(e){e.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorOnChange=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.disabled||(this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new V_(this,this.checked))))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(n,o){if(n&1&&le(j9,5),n&2){let r;Y(r=Q())&&(o._switchElement=r.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(n,o){n&2&&(cn("id",o.id),ee("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),Kt(o.color?"mat-"+o.color:""),ne("mat-mdc-slide-toggle-focused",o._focused)("mat-mdc-slide-toggle-checked",o.checked)("_mat-animation-noopable",o._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",$],color:"color",disabled:[2,"disabled","disabled",$],disableRipple:[2,"disableRipple","disableRipple",$],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:an(e)],checked:[2,"checked","checked",$],hideIcon:[2,"hideIcon","hideIcon",$],disabledInteractive:[2,"disabledInteractive","disabledInteractive",$]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[ve([{provide:Ai,useExisting:Zt(()=>t),multi:!0},{provide:wo,useExisting:t,multi:!0}]),Ge],ngContentSelectors:z9,decls:14,vars:27,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mat-mdc-slide-toggle-touch-target"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(n,o){if(n&1){let r=A();He(),c(0,"div",1)(1,"button",2,0),b("click",function(){return y(r),C(o._handleClick())}),M(3,"div",3)(4,"span",4),c(5,"span",5)(6,"span",6)(7,"span",7),M(8,"span",8),d(),c(9,"span",9),M(10,"span",10),d(),ue(11,U9,5,0,"span",11),d()()(),c(12,"label",12),b("click",function(s){return y(r),C(s.stopPropagation())}),ae(13),d()()}if(n&2){let r=Se(2);h("labelPosition",o.labelPosition),u(),ne("mdc-switch--selected",o.checked)("mdc-switch--unselected",!o.checked)("mdc-switch--checked",o.checked)("mdc-switch--disabled",o.disabled)("mat-mdc-slide-toggle-disabled-interactive",o.disabledInteractive),h("tabIndex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("disabled",o.disabled&&!o.disabledInteractive),ee("id",o.buttonId)("name",o.name)("aria-label",o.ariaLabel)("aria-labelledby",o._getAriaLabelledBy())("aria-describedby",o.ariaDescribedby)("aria-required",o.required||null)("aria-checked",o.checked)("aria-disabled",o.disabled&&o.disabledInteractive?"true":null),u(9),h("matRippleTrigger",r)("matRippleDisabled",o.disableRipple||o.disabled)("matRippleCentered",!0),u(),me(o.hideIcon?-1:11),u(),h("for",o.buttonId),ee("id",o._labelId)}},dependencies:[no,Fg],styles:[`.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative;width:var(--mat-slide-toggle-track-width, 52px)}.mdc-switch.mdc-switch--disabled{cursor:default;pointer-events:none}.mdc-switch.mat-mdc-slide-toggle-disabled-interactive{pointer-events:auto}.mdc-switch__track{overflow:hidden;position:relative;width:100%;height:var(--mat-slide-toggle-track-height, 32px);border-radius:var(--mat-slide-toggle-track-shape, var(--mat-sys-corner-full))}.mdc-switch--disabled.mdc-switch .mdc-switch__track{opacity:var(--mat-slide-toggle-disabled-track-opacity, 0.12)}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%;border-width:var(--mat-slide-toggle-track-outline-width, 2px);border-color:var(--mat-slide-toggle-track-outline-color, var(--mat-sys-outline))}.mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track::after{border-width:var(--mat-slide-toggle-selected-track-outline-width, 2px);border-color:var(--mat-slide-toggle-selected-track-outline-color, transparent)}.mdc-switch--disabled .mdc-switch__track::before,.mdc-switch--disabled .mdc-switch__track::after{border-width:var(--mat-slide-toggle-disabled-unselected-track-outline-width, 2px);border-color:var(--mat-slide-toggle-disabled-unselected-track-outline-color, var(--mat-sys-on-surface))}@media(forced-colors: active){.mdc-switch__track{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0);background:var(--mat-slide-toggle-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch--selected .mdc-switch__track::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-slide-toggle-hidden-track-opacity, 0);transition:var(--mat-slide-toggle-hidden-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-slide-toggle-visible-track-opacity, 1);transition:var(--mat-slide-toggle-visible-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mat-slide-toggle-unselected-hover-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mat-slide-toggle-unselected-focus-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mat-slide-toggle-unselected-pressed-track-color, var(--mat-sys-surface-variant))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::before,.mdc-switch.mdc-switch--disabled .mdc-switch__track::before{background:var(--mat-slide-toggle-disabled-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch__track::after{transform:translateX(-100%);background:var(--mat-slide-toggle-selected-track-color, var(--mat-sys-primary))}[dir=rtl] .mdc-switch__track::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::after{transform:translateX(0)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-slide-toggle-visible-track-opacity, 1);transition:var(--mat-slide-toggle-visible-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-slide-toggle-hidden-track-opacity, 0);transition:var(--mat-slide-toggle-hidden-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mat-slide-toggle-selected-hover-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mat-slide-toggle-selected-focus-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mat-slide-toggle-selected-pressed-track-color, var(--mat-sys-primary))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::after,.mdc-switch.mdc-switch--disabled .mdc-switch__track::after{background:var(--mat-slide-toggle-disabled-selected-track-color, var(--mat-sys-on-surface))}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0);width:calc(100% - var(--mat-slide-toggle-handle-width))}[dir=rtl] .mdc-switch__handle-track{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto;transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1);width:var(--mat-slide-toggle-handle-width);height:var(--mat-slide-toggle-handle-height);border-radius:var(--mat-slide-toggle-handle-shape, var(--mat-sys-corner-full))}[dir=rtl] .mdc-switch__handle{left:auto;right:0}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-slide-toggle-unselected-handle-size, 16px);height:var(--mat-slide-toggle-unselected-handle-size, 16px);margin:var(--mat-slide-toggle-unselected-handle-horizontal-margin, 0 8px)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-slide-toggle-unselected-with-icon-handle-horizontal-margin, 0 4px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-slide-toggle-selected-handle-size, 24px);height:var(--mat-slide-toggle-selected-handle-size, 24px);margin:var(--mat-slide-toggle-selected-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-slide-toggle-selected-with-icon-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-slide-toggle-with-icon-handle-size, 24px);height:var(--mat-slide-toggle-with-icon-handle-size, 24px)}.mat-mdc-slide-toggle .mdc-switch:active:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-slide-toggle-pressed-handle-size, 28px);height:var(--mat-slide-toggle-pressed-handle-size, 28px)}.mat-mdc-slide-toggle .mdc-switch--selected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-slide-toggle-selected-pressed-handle-horizontal-margin, 0 22px)}.mat-mdc-slide-toggle .mdc-switch--unselected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-slide-toggle-unselected-pressed-handle-horizontal-margin, 0 2px)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-slide-toggle-disabled-selected-handle-opacity, 1)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-slide-toggle-disabled-unselected-handle-opacity, 0.38)}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media(forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-handle-color, var(--mat-sys-on-primary))}.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-hover-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-focus-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-pressed-handle-color, var(--mat-sys-primary-container))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:hover:not(:focus):not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:focus:not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:active .mdc-switch__handle::after,.mdc-switch--selected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-disabled-selected-handle-color, var(--mat-sys-surface))}.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-handle-color, var(--mat-sys-outline))}.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-hover-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-focus-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-pressed-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-disabled-unselected-handle-color, var(--mat-sys-on-surface))}.mdc-switch__handle::before{background:var(--mat-slide-toggle-handle-surface-color)}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mat-slide-toggle-handle-elevation-shadow)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__shadow,.mdc-switch.mdc-switch--disabled .mdc-switch__shadow{box-shadow:var(--mat-slide-toggle-disabled-handle-elevation-shadow)}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1;width:var(--mat-slide-toggle-state-layer-size, 40px);height:var(--mat-slide-toggle-state-layer-size, 40px)}.mdc-switch__ripple::after{content:"";opacity:0}.mdc-switch--disabled .mdc-switch__ripple::after{display:none}.mat-mdc-slide-toggle-disabled-interactive .mdc-switch__ripple::after{display:block}.mdc-switch:hover .mdc-switch__ripple::after{transition:75ms opacity cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:focus .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:active .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:hover:not(:focus) .mdc-switch__ripple::after,.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mat-slide-toggle-unselected-hover-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-slide-toggle-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background:var(--mat-slide-toggle-unselected-focus-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-slide-toggle-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background:var(--mat-slide-toggle-unselected-pressed-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-slide-toggle-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mat-slide-toggle-selected-hover-state-layer-color, var(--mat-sys-primary));opacity:var(--mat-slide-toggle-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background:var(--mat-slide-toggle-selected-focus-state-layer-color, var(--mat-sys-primary));opacity:var(--mat-slide-toggle-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background:var(--mat-slide-toggle-selected-pressed-state-layer-color, var(--mat-sys-primary));opacity:var(--mat-slide-toggle-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch__icons{position:relative;height:100%;width:100%;z-index:1;transform:translateZ(0)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__icons{opacity:var(--mat-slide-toggle-disabled-unselected-icon-opacity, 0.38)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__icons{opacity:var(--mat-slide-toggle-disabled-selected-icon-opacity, 0.38)}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--unselected .mdc-switch__icon{width:var(--mat-slide-toggle-unselected-icon-size, 16px);height:var(--mat-slide-toggle-unselected-icon-size, 16px);fill:var(--mat-slide-toggle-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mat-slide-toggle-disabled-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__icon{width:var(--mat-slide-toggle-selected-icon-size, 16px);height:var(--mat-slide-toggle-selected-icon-size, 16px);fill:var(--mat-slide-toggle-selected-icon-color, var(--mat-sys-on-primary-container))}.mdc-switch--selected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mat-slide-toggle-disabled-selected-icon-color, var(--mat-sys-on-surface))}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{-webkit-user-select:none;user-select:none;display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-internal-form-field{color:var(--mat-slide-toggle-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-slide-toggle-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-slide-toggle-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-slide-toggle-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-slide-toggle-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-slide-toggle-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mat-slide-toggle-disabled-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-slide-toggle-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-slide-toggle-touch-target-size, 48px);width:100%;transform:translate(-50%, -50%);display:var(--mat-slide-toggle-touch-target-display, block)}[dir=rtl] .mat-mdc-slide-toggle-touch-target{left:auto;right:50%;transform:translate(50%, -50%)} +`],encapsulation:2,changeDetection:0})}return t})(),CP=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[ca,fe,fe]})}return t})();var G9=()=>["transport","group","bool"];function W9(t,i){t&1&&(dt(0),c(1,"uds-translate"),g(2,"Edit action for"),d(),ut())}function $9(t,i){t&1&&(c(0,"uds-translate"),g(1,"New action for"),d())}function q9(t,i){if(t&1&&(c(0,"mat-option",13),g(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),O(" ",e.name," ")}}function Y9(t,i){if(t&1&&(c(0,"mat-option",13),g(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),O(" ",e.description," ")}}function Q9(t,i){if(t&1&&(c(0,"mat-option",13),g(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),O(" ",e.name," ")}}function K9(t,i){if(t&1){let e=A();dt(0),c(1,"mat-form-field")(2,"mat-label")(3,"uds-translate"),g(4,"Transport"),d()(),c(5,"mat-select",4),H("ngModelChange",function(o){y(e);let r=_();return W(r.paramValue,o)||(r.paramValue=o),C(o)}),c(6,"uds-cond-select-search",5),b("changed",function(o){y(e);let r=_();return C(r.transportsFilter=o)}),d(),S(7,Q9,2,2,"mat-option",6),d()(),ut()}if(t&2){let e=_();u(5),U("ngModel",e.paramValue),u(),h("options",e.transports),u(),h("ngForOf",e.filtered(e.transports,e.transportsFilter))}}function Z9(t,i){if(t&1&&(c(0,"mat-option",13),g(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),O(" ",e.name," ")}}function X9(t,i){if(t&1&&(c(0,"mat-option",13),g(1),d()),t&2){let e=i.$implicit,n=_(2);h("value",n.authenticator+"@"+e.id),u(),O(" ",e.name," ")}}function J9(t,i){if(t&1){let e=A();dt(0),c(1,"mat-form-field")(2,"mat-label")(3,"uds-translate"),g(4,"Authenticator"),d()(),c(5,"mat-select",9),H("ngModelChange",function(o){y(e);let r=_();return W(r.authenticator,o)||(r.authenticator=o),C(o)}),b("valueChange",function(o){y(e);let r=_();return C(r.authenticatorChangedTo(o))}),S(6,Z9,2,2,"mat-option",6),d()(),c(7,"mat-form-field")(8,"mat-label")(9,"uds-translate"),g(10,"Group"),d()(),c(11,"mat-select",4),H("ngModelChange",function(o){y(e);let r=_();return W(r.paramValue,o)||(r.paramValue=o),C(o)}),c(12,"uds-cond-select-search",5),b("changed",function(o){y(e);let r=_();return C(r.groupsFilter=o)}),d(),S(13,X9,2,2,"mat-option",6),d()(),ut()}if(t&2){let e=_();u(5),U("ngModel",e.authenticator),u(),h("ngForOf",e.authenticators),u(5),U("ngModel",e.paramValue),u(),h("options",e.groups),u(),h("ngForOf",e.filtered(e.groups,e.groupsFilter))}}function eq(t,i){if(t&1){let e=A();dt(0),c(1,"div",14)(2,"span",15),g(3),d(),g(4,"\xA0 "),c(5,"mat-slide-toggle",4),H("ngModelChange",function(o){y(e);let r=_();return W(r.paramValue,o)||(r.paramValue=o),C(o)}),d()(),ut()}if(t&2){let e=_();u(3),tt(e.parameter.description),u(2),U("ngModel",e.paramValue)}}function tq(t,i){if(t&1){let e=A();dt(0),c(1,"mat-form-field")(2,"mat-label"),g(3),d(),c(4,"input",16),H("ngModelChange",function(o){y(e);let r=_();return W(r.paramValue,o)||(r.paramValue=o),C(o)}),d()(),ut()}if(t&2){let e=_();u(3),O(" ",e.parameter.description," "),u(),h("type",e.parameter.type),U("ngModel",e.paramValue)}}var qx=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.onSave=new k(!0),this.calendars=[],this.actionList=[],this.authenticators=[],this.transports=[],this.groups=[],this.paramsDict={},this.calendarsFilter="",this.groupsFilter="",this.transportsFilter="",this.authenticator="",this.parameter={},this.paramValue="",this.servicePool=r.servicePool,this.scheduledAction={id:void 0,action:"",calendar:"",calendar_id:"",at_start:!0,events_offset:0,params:{}},r.scheduledAction!==void 0&&(this.scheduledAction.id=r.scheduledAction.id)}static launch(e,n,o){let r=window.innerWidth<800?"80%":"60%";return e.gui.dialog.open(t,{width:r,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:n,scheduledAction:o},disableClose:!1}).componentInstance.onSave}ngOnInit(){this.rest.authenticators.summary().then(e=>this.authenticators=e),this.rest.transports.summary().then(e=>this.transports=e),this.rest.calendars.summary().then(e=>this.calendars=e),this.rest.servicesPools.actionsList(this.servicePool.id).then(e=>{this.actionList=e,this.actionList.forEach(n=>{this.paramsDict[n.id]=n.params[0]}),this.scheduledAction.id!==void 0&&this.rest.servicesPools.detail(this.servicePool.id,"actions").get(this.scheduledAction.id).then(n=>{this.scheduledAction=n,this.actionChangedTo(this.scheduledAction.action)})})}filtered(e,n){return n?e.filter(o=>o.name.toLocaleLowerCase().includes(n.toLocaleLowerCase())):e}actionChangedTo(e){if(this.parameter=this.paramsDict[e],this.parameter!==void 0&&(this.paramValue=this.scheduledAction.params[this.parameter.name],this.paramValue===void 0&&(this.parameter.default!==!1?this.paramValue=this.parameter.default||"":this.paramValue=!1),this.parameter.type==="group")){let n=this.paramValue.split("@");n.length!==2&&(n=["",""]),this.authenticator=n[0],this.authenticatorChangedTo(this.authenticator)}}authenticatorChangedTo(e){return V(this,null,function*(){e&&(this.groups=yield this.rest.authenticators.detail(e,"groups").summary())})}save(){return V(this,null,function*(){this.scheduledAction.params={},this.parameter&&(this.scheduledAction.params[this.parameter.name]=this.paramValue),yield this.rest.servicesPools.detail(this.servicePool.id,"actions").save(this.scheduledAction),this.dialogRef.close(),this.onSave.emit(!0)})}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(J),w(Le),w(We))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-service-pools-scheduled-action"]],standalone:!1,decls:40,vars:15,consts:[["editTitle",""],["mat-dialog-title",""],[4,"ngIf","ngIfElse"],[1,"content"],[3,"ngModelChange","ngModel"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],["matInput","","type","number",3,"ngModelChange","ngModel"],[1,"toggle"],[3,"ngModelChange","valueChange","ngModel"],[4,"ngIf"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[1,"mat-form-field-infix"],[1,"label"],["matInput","",3,"ngModelChange","type","ngModel"]],template:function(n,o){if(n&1){let r=A();c(0,"h4",1),S(1,W9,3,0,"ng-container",2)(2,$9,2,0,"ng-template",null,0,Sn),g(4),d(),c(5,"mat-dialog-content")(6,"div",3)(7,"mat-form-field")(8,"mat-label")(9,"uds-translate"),g(10,"Calendar"),d()(),c(11,"mat-select",4),H("ngModelChange",function(s){return y(r),W(o.scheduledAction.calendar_id,s)||(o.scheduledAction.calendar_id=s),C(s)}),c(12,"uds-cond-select-search",5),b("changed",function(s){return y(r),C(o.calendarsFilter=s)}),d(),S(13,q9,2,2,"mat-option",6),d()(),c(14,"mat-form-field")(15,"mat-label")(16,"uds-translate"),g(17,"Events offset (minutes)"),d()(),c(18,"input",7),H("ngModelChange",function(s){return y(r),W(o.scheduledAction.events_offset,s)||(o.scheduledAction.events_offset=s),C(s)}),d()(),c(19,"div",8)(20,"mat-slide-toggle",4),H("ngModelChange",function(s){return y(r),W(o.scheduledAction.at_start,s)||(o.scheduledAction.at_start=s),C(s)}),c(21,"uds-translate"),g(22,"At the beginning of the interval?"),d()()(),c(23,"mat-form-field")(24,"mat-label")(25,"uds-translate"),g(26,"Action"),d()(),c(27,"mat-select",9),H("ngModelChange",function(s){return y(r),W(o.scheduledAction.action,s)||(o.scheduledAction.action=s),C(s)}),b("valueChange",function(s){return y(r),C(o.actionChangedTo(s))}),S(28,Y9,2,2,"mat-option",6),d()(),S(29,K9,8,3,"ng-container",10)(30,J9,14,5,"ng-container",10)(31,eq,6,2,"ng-container",10)(32,tq,5,3,"ng-container",10),d()(),c(33,"mat-dialog-actions")(34,"button",11)(35,"uds-translate"),g(36,"Cancel"),d()(),c(37,"button",12),b("click",function(){return y(r),C(o.save())}),c(38,"uds-translate"),g(39,"Ok"),d()()()}if(n&2){let r=Se(3);u(),h("ngIf",o.scheduledAction.id!==void 0)("ngIfElse",r),u(3),O(" ",o.servicePool.name,` +`),u(7),U("ngModel",o.scheduledAction.calendar_id),u(),h("options",o.calendars),u(),h("ngForOf",o.filtered(o.calendars,o.calendarsFilter)),u(5),U("ngModel",o.scheduledAction.events_offset),u(2),U("ngModel",o.scheduledAction.at_start),u(7),U("ngModel",o.scheduledAction.action),u(),h("ngForOf",o.actionList),u(),h("ngIf",(o.parameter==null?null:o.parameter.type)==="transport"),u(),h("ngIf",(o.parameter==null?null:o.parameter.type)==="group"),u(),h("ngIf",(o.parameter==null?null:o.parameter.type)==="bool"),u(),h("ngIf",(o.parameter==null?null:o.parameter.type)&&!Bs(14,G9).includes(o.parameter.type))}},dependencies:[Ue,pe,ct,io,Ce,xe,ge,Yt,Ze,Je,Xe,he,Pe,pt,gt,$e,ca,se,pn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]})}}return t})();var mm=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.onSave=new k(!0),this.userService=r.userService,this.model=r.model}static launch(e,n,o){let r=window.innerWidth<800?"80%":"60%",a=e.gui.dialog.open(t,{width:r,position:{top:window.innerWidth<800?"0px":"7rem"},data:{userService:n,model:o},disableClose:!1})}ngOnInit(){}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(J),w(Le),w(We))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-service-pools-userservices-log"]],standalone:!1,decls:10,vars:4,consts:[["mat-dialog-title",""],[3,"rest","itemId","tableId"],["mat-raised-button","","color","primary","mat-dialog-close",""]],template:function(n,o){n&1&&(c(0,"h4",0)(1,"uds-translate"),g(2,"Logs of"),d(),g(3),d(),c(4,"mat-dialog-content"),M(5,"uds-logs-table",1),d(),c(6,"mat-dialog-actions")(7,"button",2)(8,"uds-translate"),g(9,"Ok"),d()()()),n&2&&(u(3),O(" ",o.userService.name,` +`),u(2),h("rest",o.model)("itemId",o.userService.id)("tableId","servicePools-d-uslog"+o.userService.id))},dependencies:[ge,Yt,Ze,Je,Xe,se,Li],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]})}}return t})();function nq(t,i){if(t&1&&(c(0,"mat-option",8),g(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),O(" ",e.text," ")}}function iq(t,i){if(t&1&&(c(0,"mat-option",8),g(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),O(" ",e.name," ")}}function oq(t,i){if(t&1&&(c(0,"mat-option",8),g(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),O(" ",e.name," ")}}var wP=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.done=new tn,this.auths=[],this.assignablesServices=[],this.assignablesServicesFilter="",this.users=[],this.userFilter="",this.serviceId="",this.authId="",this.userId="",this.servicePool=r.servicePool}static launch(e,n){let o=window.innerWidth<800?"60%":"40%";return e.gui.dialog.open(t,{width:o,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:n},disableClose:!1}).componentInstance.done}ngOnInit(){return V(this,null,function*(){this.authId="",this.userId="";let e=yield this.rest.authenticators.summary(),n=yield this.rest.servicesPools.listAssignables(this.servicePool.id);this.auths=e,this.assignablesServices=n})}changeAuth(e){return V(this,null,function*(){this.userId="",this.authChanged()})}filteredUsers(){if(!this.userFilter)return this.users;let e=new Array;return this.users.forEach(n=>{n.name.toLocaleLowerCase().includes(this.userFilter.toLocaleLowerCase())&&e.push(n)}),e}filteredAssignables(){if(!this.assignablesServicesFilter)return this.assignablesServices;let e=new Array;return this.assignablesServices.forEach(n=>{n.text.toLocaleLowerCase().includes(this.assignablesServicesFilter.toLocaleLowerCase())&&e.push(n)}),e}save(){return V(this,null,function*(){if(this.userId===""||this.authId===""){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid user"));return}this.rest.servicesPools.createFromAssignable(this.servicePool.id,this.userId,this.serviceId).then(e=>{this.dialogRef.close(),this.done.resolve(!0)})})}cancel(){this.dialogRef.close(),this.done.resolve(!1)}authChanged(){return V(this,null,function*(){this.authId&&(this.users=yield this.rest.authenticators.detail(this.authId,"users").summary())})}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(J),w(Le),w(We))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-assign-service-to-owner"]],standalone:!1,decls:32,vars:8,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModelChange","ngModel"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModelChange","selectionChange","ngModel"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"]],template:function(n,o){n&1&&(c(0,"h4",0)(1,"uds-translate"),g(2,"Assign service to user manually"),d()(),c(3,"mat-dialog-content")(4,"div",1)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),g(8,"Service"),d()(),c(9,"mat-select",2),H("ngModelChange",function(a){return W(o.serviceId,a)||(o.serviceId=a),a}),c(10,"uds-cond-select-search",3),b("changed",function(a){return o.assignablesServicesFilter=a}),d(),S(11,nq,2,2,"mat-option",4),d()(),c(12,"mat-form-field")(13,"mat-label")(14,"uds-translate"),g(15,"Authenticator"),d()(),c(16,"mat-select",5),H("ngModelChange",function(a){return W(o.authId,a)||(o.authId=a),a}),b("selectionChange",function(a){return o.changeAuth(a)}),S(17,iq,2,2,"mat-option",4),d()(),c(18,"mat-form-field")(19,"mat-label")(20,"uds-translate"),g(21,"User"),d()(),c(22,"mat-select",2),H("ngModelChange",function(a){return W(o.userId,a)||(o.userId=a),a}),c(23,"uds-cond-select-search",3),b("changed",function(a){return o.userFilter=a}),d(),S(24,oq,2,2,"mat-option",4),d()()()(),c(25,"mat-dialog-actions")(26,"button",6),b("click",function(){return o.cancel()}),c(27,"uds-translate"),g(28,"Cancel"),d()(),c(29,"button",7),b("click",function(){return o.save()}),c(30,"uds-translate"),g(31,"Ok"),d()()()),n&2&&(u(9),U("ngModel",o.serviceId),u(),h("options",o.assignablesServices),u(),h("ngForOf",o.filteredAssignables()),u(5),U("ngModel",o.authId),u(),h("ngForOf",o.auths),u(5),U("ngModel",o.userId),u(),h("options",o.users),u(),h("ngForOf",o.filteredUsers()))},dependencies:[Ue,Ce,xe,ge,Ze,Je,Xe,he,Pe,gt,$e,se,pn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]})}}return t})();var DP=nd(um());var xP=(()=>{class t{constructor(e){this.rest=e,this.poolUuid="",this.options={},this.chart=null}onResize(e){this.chart&&this.chart.resize()}ngOnInit(){return V(this,null,function*(){let e=yield this.rest.system.stats("complete",this.poolUuid);this.options={tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},toolbox:{feature:{dataZoom:{yAxisIndex:"none"},restore:{},saveAsImage:{}}},xAxis:{type:"category",data:e.assigned.map(n=>Xn("SHORT_DATETIME_FORMAT",new Date(n.stamp))),boundaryGap:!1},yAxis:{type:"value"},series:[{name:django.gettext("Assigned"),type:"line",stack:"services",smooth:!0,areaStyle:{},data:e.assigned.map(n=>n.value)},{name:django.gettext("Cached"),type:"line",stack:"services",smooth:!0,areaStyle:{},data:e.cached.map(n=>n.value)},{name:django.gettext("In use"),type:"line",smooth:!0,data:e.inuse.map(n=>n.value)}]}})}chartInit(e){this.chart=e}static{this.\u0275fac=function(n){return new(n||t)(w(J))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-service-pools-charts"]],hostBindings:function(n,o){n&1&&b("resize",function(a){return o.onResize(a)},jd)},inputs:{poolUuid:"poolUuid"},standalone:!1,decls:2,vars:1,consts:[[1,"statistics-chart"],["echarts","","theme","dark-digerati",3,"chartInit","options"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1),b("chartInit",function(a){return o.chartInit(a)}),d()()),n&2&&(u(),h("options",o.options))},dependencies:[o_],encapsulation:2})}}return t})();var aq=t=>["/pools","service-pools",t];function sq(t,i){t&1&&(c(0,"uds-translate"),g(1,"Summary"),d())}function lq(t,i){if(t&1&&M(0,"uds-information",15),t&2){let e=_(2);h("value",e.servicePool)("gui",e.gui)}}function cq(t,i){t&1&&(c(0,"uds-translate"),g(1,"Assigned services"),d())}function dq(t,i){if(t&1){let e=A();c(0,"mat-tab"),S(1,cq,2,0,"ng-template",9),c(2,"div",10)(3,"uds-table",16),b("customButtonAction",function(o){y(e);let r=_(2);return C(r.onCustomAssigned(o))})("deleteAction",function(o){y(e);let r=_(2);return C(r.onDeleteAssigned(o))}),d()()()}if(t&2){let e=_(2);u(3),h("rest",e.assignedServices)("multiSelect",!0)("allowExport",!0)("onItem",e.processsAssignedElement)("tableId","servicePools-d-services"+e.servicePool.id)("customButtons",e.customButtonsAssignedServices)("pageSize",e.api.config.admin.page_size)}}function uq(t,i){t&1&&(c(0,"span")(1,"uds-translate"),g(2,"Cache"),d()())}function mq(t,i){t&1&&(c(0,"span")(1,"uds-translate"),g(2,"Servers"),d()())}function pq(t,i){if(t&1&&S(0,uq,3,0,"span",12)(1,mq,3,0,"span",12),t&2){let e=_(3);h("ngIf",e.servicePool.state!=="Q"),u(),h("ngIf",e.servicePool.state==="Q")}}function hq(t,i){if(t&1){let e=A();c(0,"mat-tab"),S(1,pq,2,2,"ng-template",9),c(2,"div",10)(3,"uds-table",17),b("customButtonAction",function(o){y(e);let r=_(2);return C(r.onCustomCached(o))})("deleteAction",function(o){y(e);let r=_(2);return C(r.onDeleteCache(o))}),d()()()}if(t&2){let e=_(2);u(3),h("rest",e.cache)("titleOverride",e.servicePool.state==="Q"?"Servers":"")("multiSelect",!0)("allowExport",!0)("onItem",e.processsCacheElement)("tableId","servicePools-d-cache"+e.servicePool.id)("customButtons",e.customButtonsCachedServices)("pageSize",e.api.config.admin.page_size)}}function fq(t,i){t&1&&(c(0,"uds-translate"),g(1,"Groups"),d())}function gq(t,i){if(t&1){let e=A();c(0,"mat-tab"),S(1,fq,2,0,"ng-template",9),c(2,"div",10)(3,"uds-table",18),b("newAction",function(o){y(e);let r=_(2);return C(r.onNewGroup(o))})("deleteAction",function(o){y(e);let r=_(2);return C(r.onDeleteGroup(o))}),d()()()}if(t&2){let e=_(2);u(3),h("rest",e.groups)("multiSelect",!0)("allowExport",!0)("customButtons",e.customButtonsGroups)("tableId","servicePools-d-groups"+e.servicePool.id)("pageSize",e.api.config.admin.page_size)}}function _q(t,i){t&1&&(c(0,"uds-translate"),g(1,"Transports"),d())}function vq(t,i){if(t&1){let e=A();c(0,"mat-tab"),S(1,_q,2,0,"ng-template",9),c(2,"div",10)(3,"uds-table",19),b("newAction",function(o){y(e);let r=_(2);return C(r.onNewTransport(o))})("deleteAction",function(o){y(e);let r=_(2);return C(r.onDeleteTransport(o))}),d()()()}if(t&2){let e=_(2);u(3),h("rest",e.transports)("multiSelect",!0)("allowExport",!0)("customButtons",e.customButtonsTransports)("tableId","servicePools-d-transports"+e.servicePool.id)("pageSize",e.api.config.admin.page_size)}}function bq(t,i){t&1&&(c(0,"uds-translate"),g(1,"Publications"),d())}function yq(t,i){if(t&1){let e=A();c(0,"mat-tab"),S(1,bq,2,0,"ng-template",9),c(2,"div",10)(3,"uds-table",20),b("customButtonAction",function(o){y(e);let r=_(2);return C(r.onCustomPublication(o))})("newAction",function(o){y(e);let r=_(2);return C(r.onNewPublication(o))})("rowSelected",function(o){y(e);let r=_(2);return C(r.onPublicationRowSelect(o))}),d()()()}if(t&2){let e=_(2);u(3),h("rest",e.publications)("multiSelect",!0)("allowExport",!0)("tableId","servicePools-d-publications"+e.servicePool.id)("customButtons",e.customButtonsPublication)("pageSize",e.api.config.admin.page_size)}}function Cq(t,i){t&1&&(c(0,"uds-translate"),g(1,"Scheduled actions"),d())}function wq(t,i){t&1&&(c(0,"uds-translate"),g(1,"Access calendars"),d())}function xq(t,i){if(t&1){let e=A();c(0,"mat-tab"),S(1,wq,2,0,"ng-template",9),c(2,"div",10)(3,"uds-table",21),b("newAction",function(o){y(e);let r=_(2);return C(r.onNewAccessCalendar(o))})("editAction",function(o){y(e);let r=_(2);return C(r.onEditAccessCalendar(o))})("deleteAction",function(o){y(e);let r=_(2);return C(r.onDeleteAccessCalendar(o))})("loaded",function(o){y(e);let r=_(2);return C(r.onAccessCalendarLoad(o))}),d()()()}if(t&2){let e=_(2);u(3),h("rest",e.accessCalendars)("multiSelect",!0)("allowExport",!0)("customButtons",e.customButtonAccessCalendars)("tableId","servicePools-d-access"+e.servicePool.id)("onItem",e.processsCalendarOrScheduledElement)("pageSize",e.api.config.admin.page_size)}}function Dq(t,i){t&1&&(c(0,"uds-translate"),g(1,"Charts"),d())}function Eq(t,i){if(t&1&&(c(0,"mat-tab"),S(1,Dq,2,0,"ng-template",9),c(2,"div",10),M(3,"uds-service-pools-charts",22),d()()),t&2){let e=_(2);u(3),h("poolUuid",e.servicePool.id)}}function Sq(t,i){t&1&&(c(0,"uds-translate"),g(1,"Logs"),d())}function Mq(t,i){if(t&1){let e=A();c(0,"div",6)(1,"div",7)(2,"mat-tab-group",8),H("selectedIndexChange",function(o){y(e);let r=_();return W(r.selectedTab,o)||(r.selectedTab=o),C(o)}),c(3,"mat-tab"),S(4,sq,2,0,"ng-template",9),c(5,"div",10),S(6,lq,1,2,"uds-information",11),d()(),S(7,dq,4,7,"mat-tab",12)(8,hq,4,8,"mat-tab",12)(9,gq,4,6,"mat-tab",12)(10,vq,4,6,"mat-tab",12)(11,yq,4,6,"mat-tab",12),c(12,"mat-tab"),S(13,Cq,2,0,"ng-template",9),c(14,"div",10)(15,"uds-table",13),b("customButtonAction",function(o){y(e);let r=_();return C(r.onCustomScheduleAction(o))})("newAction",function(o){y(e);let r=_();return C(r.onNewScheduledAction(o))})("editAction",function(o){y(e);let r=_();return C(r.onEditScheduledAction(o))})("deleteAction",function(o){y(e);let r=_();return C(r.onDeleteScheduledAction(o))}),d()()(),S(16,xq,4,7,"mat-tab",12)(17,Eq,4,1,"mat-tab",12),c(18,"mat-tab"),S(19,Sq,2,0,"ng-template",9),c(20,"div",10),M(21,"uds-logs-table",14),d()()()()()}if(t&2){let e=_();u(2),U("selectedIndex",e.selectedTab),h("@.disabled",!0),u(4),h("ngIf",e.servicePool&&e.gui),u(),h("ngIf",e.servicePool.state!=="Q"),u(),h("ngIf",e.cache),u(),h("ngIf",e.servicePool.state!=="Q"),u(),h("ngIf",e.servicePool.state!=="Q"),u(),h("ngIf",e.publications),u(4),h("rest",e.scheduledActions)("multiSelect",!0)("allowExport",!0)("tableId","servicePools-d-actions"+e.servicePool.id)("customButtons",e.customButtonsScheduledAction)("onItem",e.processsCalendarOrScheduledElement)("pageSize",e.api.config.admin.page_size),u(),h("ngIf",e.servicePool.state!=="Q"),u(),h("ngIf",e.servicePool.state!=="Q"),u(4),h("rest",e.rest.servicesPools)("itemId",e.servicePool.id)("tableId","servicePools-d-log"+e.servicePool.id)("pageSize",e.api.config.admin.page_size)}}var j_='event'+django.gettext("Logs")+"",Iq='computer'+django.gettext("VNC")+"",Tq='schedule'+django.gettext("Launch now")+"",Yx='perm_identity'+django.gettext("Change owner")+"",kq='perm_identity'+django.gettext("Assign service")+"",Aq='cancel'+django.gettext("Cancel")+"",Rq='event'+django.gettext("Changelog")+"",z_=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o,this.customButtonsScheduledAction=[{id:"launch-action",html:Tq,type:st.SINGLE_SELECT},Rn.getGotoButton(Ng,"calendar_id")],this.customButtonAccessCalendars=[Rn.getGotoButton(Ng,"calendar_id")],this.customButtonsAssignedServices=[{id:"change-owner",html:Yx,type:st.SINGLE_SELECT},{id:"log",html:j_,type:st.SINGLE_SELECT},Rn.getGotoButton(tm,"owner_info.auth_id","owner_info.user_id")],this.customButtonsCachedServices=[{id:"log",html:j_,type:st.SINGLE_SELECT}],this.customButtonsPublication=[{id:"cancel-publication",html:Aq,type:st.SINGLE_SELECT},{id:"changelog",html:Rq,type:st.ALWAYS}],this.customButtonsGroups=[Rn.getGotoButton(Qw,"auth_id","id")],this.customButtonsTransports=[Rn.getGotoButton(Kw,"id")],this.servicePool=null,this.gui=[],this.assignedServices={},this.cache=null,this.groups={},this.transports={},this.publications=null,this.scheduledActions={},this.accessCalendars={},this.selectedTab=1}static cleanInvalidSelections(e){return e.table.selection.selected.filter(n=>["E","R","M","S","C"].includes(n.state)).forEach(n=>e.table.selection.deselect(n)),e.table.selection.isEmpty()}ngOnInit(){return V(this,null,function*(){let e=this.route.snapshot.paramMap.get("pool");if(!e)return;this.assignedServices=this.rest.servicesPools.detail(e,"services"),this.groups=this.rest.servicesPools.detail(e,"groups"),this.transports=this.rest.servicesPools.detail(e,"transports"),this.scheduledActions=this.rest.servicesPools.detail(e,"actions"),this.accessCalendars=this.rest.servicesPools.detail(e,"access");let n=yield this.rest.servicesPools.get(e),o=(yield this.rest.servicesPools.gui()).filter(r=>{let a=["initial_srvs","cache_l1_srvs","cache_l2_srvs","max_srvs"];return!(n.info.uses_cache===!1&&a.includes(r.name)||n.info.uses_cache_l2===!1&&r.name==="cache_l2_srvs"||n.info.needs_manager===!1&&r.name==="osmanager_id")});this.servicePool=n,this.gui=o,n.info.uses_cache?this.cache=this.rest.servicesPools.detail(e,"cache"):this.cache=null,n.info.needs_publication?this.publications=this.rest.servicesPools.detail(e,"publications"):this.publications=null,this.api.config.admin.vnc_userservices&&this.customButtonsAssignedServices.push({id:"vnc",html:Iq,type:st.ONLY_MENU}),this.servicePool.info.can_list_assignables&&this.customButtonsAssignedServices.push({id:"assign-service",html:kq,type:st.ALWAYS})})}vnc(e){let n=`[connection] host=`+e.ip+` port=5900 -`,o=new Blob([n],{type:"application/extension-vnc"});setTimeout(()=>{(0,vR.saveAs)(o,e.ip+".vnc",{autoBom:!1})},100)}onCustomAssigned(e){return V(this,null,function*(){let n=e.table.selection.selected[0];if(e.param.id==="change-owner"){if(["E","R","M","S","C"].includes(n.state))return;(yield Ag.launch(this.api,n,this.assignedServices))===!0&&e.table.overview()}else e.param.id==="log"?cu.launch(this.api,n,this.assignedServices):e.param.id==="assign-service"?(yield gR.launch(this.api,this.servicePool))===!0&&e.table.overview():e.param.id==="vnc"&&this.vnc(n)})}onCustomCached(e){let n=e.table.selection.selected[0];e.param.id==="log"&&this.cache&&cu.launch(this.api,n,this.cache)}processsAssignedElement(e){e.in_use=this.api.boolAsHumanString(e.in_use),e.origState=e.state,e.state==="U"&&(e.state=e.os_state!==""&&e.os_state!=="U"?"Z":"U")}onDeleteAssigned(e){t.cleanInvalidSelections(e)||this.api.gui.forms.deleteForm(e,django.gettext("Delete assigned service"))}onDeleteCache(e){t.cleanInvalidSelections(e)||this.api.gui.forms.deleteForm(e,django.gettext("Delete cached service"))}processsCacheElement(e){e.origState=e.state,e.state==="U"&&(e.state=e.os_state!==""&&e.os_state!=="U"?"Z":"U")}checkLocked(){return V(this,null,function*(){return this.servicePool.state==="Q"?(this.api.gui.alert(django.gettext("Service pool is locked"),django.gettext("Service pool is locked, no changes allowed")),!0):!1})}onNewGroup(e){return V(this,null,function*(){(yield this.checkLocked())||(yield Rg.launch(this.api,this.servicePool,this.groups))===!0&&e.table.overview()})}onDeleteGroup(e){return V(this,null,function*(){(yield this.checkLocked())||this.api.gui.forms.deleteForm(e,django.gettext("Delete assigned group"))})}onNewTransport(e){return V(this,null,function*(){(yield this.checkLocked())||(yield mR.launch(this.api,this.servicePool))===!0&&e.table.overview()})}onDeleteTransport(e){return V(this,null,function*(){(yield this.checkLocked())||this.api.gui.forms.deleteForm(e,django.gettext("Delete assigned transport"))})}onNewPublication(e){return V(this,null,function*(){(yield pR.launch(this.api,this.servicePool))===!0&&e.table.overview()})}onPublicationRowSelect(e){return V(this,null,function*(){e.table.selection.selected.length===1&&(this.customButtonsPublication[0].disabled=!["P","W","L","K"].includes(e.table.selection.selected[0].state))})}onCustomPublication(e){return V(this,null,function*(){e.param.id==="cancel-publication"?this.api.gui.questionDialog(django.gettext("Publication"),django.gettext("Cancel publication?"),!0).then(n=>{n&&this.publications&&this.publications.invoke(e.table.selection.selected[0].id+"/cancel").then(o=>{this.api.gui.snackbar.open(django.gettext("Publication canceled"),django.gettext("dismiss"),{duration:2e3}),e.table.overview()})}):e.param.id==="changelog"&&hR.launch(this.api,this.servicePool)})}onNewScheduledAction(e){return V(this,null,function*(){sw.launch(this.api,this.servicePool).subscribe(n=>e.table.overview())})}onEditScheduledAction(e){return V(this,null,function*(){sw.launch(this.api,this.servicePool,e.table.selection.selected[0]).subscribe(n=>e.table.overview())})}onDeleteScheduledAction(e){return V(this,null,function*(){this.api.gui.forms.deleteForm(e,django.gettext("Delete scheduled action"))})}onCustomScheduleAction(e){return V(this,null,function*(){this.api.gui.questionDialog(django.gettext("Execute scheduled action"),django.gettext("Execute scheduled action right now?")).then(n=>{n&&this.scheduledActions.invoke(e.table.selection.selected[0].id+"/execute").then(()=>{this.api.gui.snackbar.open(django.gettext("Scheduled action executed"),django.gettext("dismiss"),{duration:2e3}),e.table.overview()})})})}onNewAccessCalendar(e){return V(this,null,function*(){(yield this.checkLocked())||Xl.launch(this.api,this.servicePool,this.accessCalendars).subscribe(n=>e.table.overview())})}onEditAccessCalendar(e){return V(this,null,function*(){(yield this.checkLocked())||Xl.launch(this.api,this.servicePool,this.accessCalendars,e.table.selection.selected[0]).subscribe(n=>e.table.overview())})}onDeleteAccessCalendar(e){return V(this,null,function*(){(yield this.checkLocked())||(e.table.selection.selected[0].id!==-1?this.api.gui.forms.deleteForm(e,django.gettext("Delete calendar access rule")):this.onEditAccessCalendar(e))})}onAccessCalendarLoad(e){return V(this,null,function*(){this.rest.servicesPools.getFallbackAccess(this.servicePool.id).then(n=>{let o=e.table.dataSource.data.filter(r=>!0);o.push({id:-1,calendar:"-",priority:this.api.safeString('10000000FallBack'),access:n}),e.table.dataSource.data=o})})}processsCalendarOrScheduledElement(e){e.name=e.calendar,e.atStart=this.api.boolAsHumanString(e.atStart)}static{this.\u0275fac=function(n){return new(n||t)(w(Ie),w(J),w(z))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-service-pools-detail"]],standalone:!1,decls:9,vars:6,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary",3,"selectedIndexChange","selectedIndex"],["mat-tab-label",""],[1,"content"],[3,"value","gui",4,"ngIf"],[4,"ngIf"],["icon","calendars",3,"customButtonAction","newAction","editAction","deleteAction","rest","multiSelect","allowExport","tableId","customButtons","onItem","pageSize"],[3,"rest","itemId","tableId","pageSize"],[3,"value","gui"],["icon","pools",3,"customButtonAction","deleteAction","rest","multiSelect","allowExport","onItem","tableId","customButtons","pageSize"],["icon","cached",3,"customButtonAction","deleteAction","rest","titleOverride","multiSelect","allowExport","onItem","tableId","customButtons","pageSize"],["icon","groups",3,"newAction","deleteAction","rest","multiSelect","allowExport","customButtons","tableId","pageSize"],["icon","transports",3,"newAction","deleteAction","rest","multiSelect","allowExport","customButtons","tableId","pageSize"],["icon","publications",3,"customButtonAction","newAction","rowSelected","rest","multiSelect","allowExport","tableId","customButtons","pageSize"],["icon","calendars",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","customButtons","tableId","onItem","pageSize"],[3,"poolUuid"]],template:function(n,o){n&1&&(l(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),f(4,"arrow_back"),d()(),f(5," \xA0"),M(6,"img",4),f(7),d(),x(8,s9,22,21,"div",5),d()),n&2&&(u(2),h("routerLink",Jn(4,j7,o.servicePool?o.servicePool.id:"")),u(4),h("src",o.api.staticURL("admin/img/icons/pools.png"),Ce),u(),P(" \xA0",o.servicePool==null?null:o.servicePool.name," "),u(),h("ngIf",o.servicePool!==null))},dependencies:[de,ln,Qt,Kt,Jt,ae,xe,Ti,mo,_R],styles:[".mat-column-state{max-width:10rem;justify-content:center} .mat-column-revision, .mat-column-cache_level, .mat-column-in_use, .mat-column-priority{max-width:7rem;justify-content:center} .mat-column-publish_date, .mat-column-state_date, .mat-column-creation_date{width:14rem} .mat-column-trans_type, .mat-column-access{max-width:9rem} .mat-column-owner{overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:break-all;word-break:break-all;word-break:break-word} .row-state-S>.mat-mdc-cell{color:gray!important} .row-state-C>.mat-mdc-cell{color:gray!important} .row-state-E>.mat-mdc-cell{color:red!important} .row-state-R>.mat-mdc-cell{color:orange!important}"]})}}return t})();var cw=(()=>{class t{constructor(e,n,o){this.api=e,this.route=n,this.rest=o}ngOnInit(){}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New meta pool"))}onEdit(e){this.api.gui.forms.typedEditForm(e,django.gettext("Edit meta pool"))}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete meta pool"),void 0,!0)}onDetail(e){this.api.navigation.gotoMetapoolDetail(e.param.id)}processElement(e){e.visible=this.api.boolAsHumanString(e.visible),typeof e.name!="string"&&(e.name=""),e.name=e.name.replace(//g,">"),e.name=this.api.safeString(this.api.gui.icon(e.thumb)+e.name),e.pool_group_name=this.api.safeString(this.api.gui.icon(e.pool_group_thumb)+e.pool_group_name)}onLoad(e){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("metapool"))}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(Ie),w(J))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-meta-pools"]],standalone:!1,decls:2,vars:6,consts:[["icon","metas",3,"detailAction","newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","onItem","hasPermissions","pageSize"]],template:function(n,o){n&1&&(l(0,"div")(1,"uds-table",0),b("detailAction",function(a){return o.onDetail(a)})("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("loaded",function(a){return o.onLoad(a)}),d()()),n&2&&(u(),h("rest",o.rest.metaPools)("multiSelect",!0)("allowExport",!0)("onItem",o.processElement)("hasPermissions",!0)("pageSize",o.api.config.admin.page_size))},dependencies:[xe],styles:[".mat-column-user_services_count, .mat-column-user_services_in_preparation, .mat-column-visible, .mat-column-pool_group_name{max-width:7rem;justify-content:center}"]})}}return t})();function p9(t,i){t&1&&(l(0,"uds-translate"),f(1,"New member pool"),d())}function h9(t,i){t&1&&(l(0,"uds-translate"),f(1,"Edit member pool"),d())}function f9(t,i){if(t&1){let e=A();l(0,"uds-cond-select-search",11),b("changed",function(o){y(e);let r=_();return C(r.servicePoolsFilter=o)}),d()}}function g9(t,i){if(t&1&&(l(0,"mat-option",12),f(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),P(" ",e.name," ")}}var dw=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.done=new Yt,this.servicePools=[],this.servicePoolsFilter="",this.model=r.model,this.memberPool={id:void 0,priority:0,pool_id:"",enabled:!0},r.memberPool&&(this.memberPool.id=r.memberPool.id)}static launch(e,n,o){let r=window.innerWidth<800?"60%":"40%";return e.gui.dialog.open(t,{width:r,position:{top:window.innerWidth<800?"0px":"7rem"},data:{memberPool:o,model:n},disableClose:!1}).componentInstance.done}ngOnInit(){return V(this,null,function*(){this.servicePools=yield this.rest.servicesPools.summary(),this.memberPool.id&&(this.memberPool=yield this.model.get(this.memberPool.id))})}filtered(e,n){return n?e.filter(o=>o.name.toLocaleLowerCase().includes(n.toLocaleLowerCase())):e}save(){return V(this,null,function*(){if(!this.memberPool.pool_id){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid service pool"));return}yield this.model.save(this.memberPool),this.dialogRef.close(),this.done.resolve(!0)})}cancel(){this.dialogRef.close(),this.done.resolve(!1)}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(J),w(Ae),w(Be))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-meta-pools-service-pools"]],standalone:!1,decls:30,vars:8,consts:[["mat-dialog-title",""],[4,"ngIf"],[1,"content"],["matInput","","type","number",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],[3,"changed",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[1,"mat-form-field-infix"],[1,"label-enabled"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"changed"],[3,"value"]],template:function(n,o){n&1&&(l(0,"h4",0),x(1,p9,2,0,"uds-translate",1)(2,h9,2,0,"uds-translate",1),d(),l(3,"mat-dialog-content")(4,"div",2)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),f(8,"Priority"),d()(),l(9,"input",3),H("ngModelChange",function(a){return W(o.memberPool.priority,a)||(o.memberPool.priority=a),a}),d()(),l(10,"mat-form-field")(11,"mat-label")(12,"uds-translate"),f(13,"Service pool"),d()(),l(14,"mat-select",4),H("ngModelChange",function(a){return W(o.memberPool.pool_id,a)||(o.memberPool.pool_id=a),a}),x(15,f9,1,0,"uds-cond-select-search",5)(16,g9,2,2,"mat-option",6),d()(),l(17,"div",7)(18,"span",8)(19,"uds-translate"),f(20,"Enabled?"),d()(),l(21,"mat-slide-toggle",4),H("ngModelChange",function(a){return W(o.memberPool.enabled,a)||(o.memberPool.enabled=a),a}),f(22),d()()()(),l(23,"mat-dialog-actions")(24,"button",9),b("click",function(){return o.cancel()}),l(25,"uds-translate"),f(26,"Cancel"),d()(),l(27,"button",10),b("click",function(){return o.save()}),l(28,"uds-translate"),f(29,"Ok"),d()()()),n&2&&(u(),h("ngIf",!(o.memberPool!=null&&o.memberPool.id)),u(),h("ngIf",o.memberPool==null?null:o.memberPool.id),u(7),U("ngModel",o.memberPool.priority),u(5),U("ngModel",o.memberPool.pool_id),u(),h("ngIf",o.servicePools.length>10),u(),h("ngForOf",o.filtered(o.servicePools,o.servicePoolsFilter)),u(5),U("ngModel",o.memberPool.enabled),u(),P(" ",o.api.boolAsHumanString(o.memberPool.enabled)," "))},dependencies:[Fe,de,st,zi,ve,be,Se,We,$e,Ge,me,Te,pt,ht,Qe,cr,ae,cn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.label-enabled[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0;line-height:18px;overflow:hidden;pointer-events:none;text-align:left;text-overflow:ellipsis;transform:matrix(.85,0,0,.85,-4,-.5);white-space:nowrap}"]})}}return t})();var _9=t=>["/pools","meta-pools",t];function v9(t,i){t&1&&(l(0,"uds-translate"),f(1,"Summary"),d())}function b9(t,i){if(t&1&&M(0,"uds-information",17),t&2){let e=_(2);h("value",e.metaPool)("gui",e.gui)}}function y9(t,i){t&1&&(l(0,"uds-translate"),f(1,"Service pools"),d())}function C9(t,i){t&1&&(l(0,"uds-translate"),f(1,"Assigned services"),d())}function w9(t,i){t&1&&(l(0,"uds-translate"),f(1,"Groups"),d())}function x9(t,i){t&1&&(l(0,"uds-translate"),f(1,"Access calendars"),d())}function D9(t,i){t&1&&(l(0,"uds-translate"),f(1,"Logs"),d())}function S9(t,i){if(t&1){let e=A();l(0,"div",6)(1,"div",7)(2,"mat-tab-group",8),H("selectedIndexChange",function(o){y(e);let r=_();return W(r.selectedTab,o)||(r.selectedTab=o),C(o)}),l(3,"mat-tab"),x(4,v9,2,0,"ng-template",9),l(5,"div",10),x(6,b9,1,2,"uds-information",11),d()(),l(7,"mat-tab"),x(8,y9,2,0,"ng-template",9),l(9,"div",10)(10,"uds-table",12),b("newAction",function(o){y(e);let r=_();return C(r.onNewMemberPool(o))})("editAction",function(o){y(e);let r=_();return C(r.onEditMemberPool(o))})("deleteAction",function(o){y(e);let r=_();return C(r.onDeleteMemberPool(o))}),d()()(),l(11,"mat-tab"),x(12,C9,2,0,"ng-template",9),l(13,"div",10)(14,"uds-table",13),b("customButtonAction",function(o){y(e);let r=_();return C(r.onCustomAssigned(o))})("deleteAction",function(o){y(e);let r=_();return C(r.onDeleteAssigned(o))}),d()()(),l(15,"mat-tab"),x(16,w9,2,0,"ng-template",9),l(17,"div",10)(18,"uds-table",14),b("newAction",function(o){y(e);let r=_();return C(r.onNewGroup(o))})("deleteAction",function(o){y(e);let r=_();return C(r.onDeleteGroup(o))}),d()()(),l(19,"mat-tab"),x(20,x9,2,0,"ng-template",9),l(21,"div",10)(22,"uds-table",15),b("newAction",function(o){y(e);let r=_();return C(r.onNewAccessCalendar(o))})("editAction",function(o){y(e);let r=_();return C(r.onEditAccessCalendar(o))})("deleteAction",function(o){y(e);let r=_();return C(r.onDeleteAccessCalendar(o))})("loaded",function(o){y(e);let r=_();return C(r.onAccessCalendarLoad(o))}),d()()(),l(23,"mat-tab"),x(24,D9,2,0,"ng-template",9),l(25,"div",10),M(26,"uds-logs-table",16),d()()()()()}if(t&2){let e=_();u(2),U("selectedIndex",e.selectedTab),h("@.disabled",!0),u(4),h("ngIf",e.metaPool&&e.gui),u(4),h("rest",e.memberPools)("multiSelect",!0)("allowExport",!0)("onItem",e.processElement)("customButtons",e.customButtons)("tableId","metaPools-d-members"+e.metaPool.id)("pageSize",e.api.config.admin.page_size),u(4),h("rest",e.memberUserServices)("multiSelect",!0)("allowExport",!0)("tableId","metaPools-d-services"+e.metaPool.id)("customButtons",e.customButtonsAssignedServices)("pageSize",e.api.config.admin.page_size),u(4),h("rest",e.groups)("multiSelect",!0)("allowExport",!0)("tableId","metaPools-d-groups"+e.metaPool.id)("pageSize",e.api.config.admin.page_size),u(4),h("rest",e.accessCalendars)("multiSelect",!0)("allowExport",!0)("tableId","metaPools-d-access"+e.metaPool.id)("pageSize",e.api.config.admin.page_size)("onItem",e.processsCalendarItem),u(4),h("rest",e.rest.metaPools)("itemId",e.metaPool.id)("tableId","metaPools-d-log"+e.metaPool.id)("pageSize",e.api.config.admin.page_size)}}var bR=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o,this.customButtons=[En.getGotoButton(Zd,"pool_id")],this.customButtonsAssignedServices=[{id:"change-owner",html:lw,type:ot.SINGLE_SELECT},{id:"log",html:Fg,type:ot.SINGLE_SELECT},En.getGotoButton(Xd,"owner_info.auth_id","owner_info.user_id")],this.metaPool=null,this.gui=null,this.selectedTab=1,this.memberPools={},this.memberUserServices={},this.groups={},this.accessCalendars={}}ngOnInit(){return V(this,null,function*(){let e=this.route.snapshot.paramMap.get("metapool");if(!e)return;let n=yield this.rest.metaPools.get(e),o=yield this.rest.metaPools.gui();this.memberPools=this.rest.metaPools.detail(e,"pools"),this.memberUserServices=this.rest.metaPools.detail(e,"services"),this.groups=this.rest.metaPools.detail(e,"groups"),this.accessCalendars=this.rest.metaPools.detail(e,"access"),this.metaPool=n,this.gui=o})}onNewMemberPool(e){return V(this,null,function*(){(yield dw.launch(this.api,this.memberPools))===!0&&e.table.overview()})}onEditMemberPool(e){return V(this,null,function*(){(yield dw.launch(this.api,this.memberPools,e.table.selection.selected[0]))===!0&&e.table.overview()})}onDeleteMemberPool(e){return V(this,null,function*(){this.api.gui.forms.deleteForm(e,django.gettext("Remove member pool"))})}onCustomAssigned(e){return V(this,null,function*(){let n=e.table.selection.selected[0];if(e.param.id==="change-owner"){if(["E","R","M","S","C"].includes(n.state))return;(yield Ag.launch(this.api,n,this.memberUserServices))===!0&&e.table.overview()}else e.param.id==="log"&&cu.launch(this.api,n,this.memberUserServices)})}onDeleteAssigned(e){return V(this,null,function*(){Ng.cleanInvalidSelections(e)||this.api.gui.forms.deleteForm(e,django.gettext("Delete assigned service"))})}onNewGroup(e){return V(this,null,function*(){(yield Rg.launch(this.api,this.metaPool.id,this.groups))===!0&&e.table.overview()})}onDeleteGroup(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete assigned group"))}onNewAccessCalendar(e){Xl.launch(this.api,this.metaPool,this.accessCalendars).subscribe(n=>e.table.overview())}onEditAccessCalendar(e){Xl.launch(this.api,this.metaPool,this.accessCalendars,e.table.selection.selected[0]).subscribe(n=>e.table.overview())}onDeleteAccessCalendar(e){e.table.selection.selected[0].id!==-1?this.api.gui.forms.deleteForm(e,django.gettext("Delete calendar access rule")):this.onEditAccessCalendar(e)}onAccessCalendarLoad(e){this.rest.metaPools.getFallbackAccess(this.metaPool.id).then(n=>{let o=e.table.dataSource.data.filter(r=>!0);o.push({id:-1,calendar:"-",priority:this.api.safeString('10000000FallBack'),access:n}),e.table.dataSource.data=o})}processElement(e){e.enabled=this.api.boolAsHumanString(e.enabled)}processsCalendarItem(e){e.name=e.calendar,e.atStart=this.api.boolAsHumanString(e.atStart)}static{this.\u0275fac=function(n){return new(n||t)(w(Ie),w(J),w(z))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-meta-pools-detail"]],standalone:!1,decls:10,vars:8,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary",3,"selectedIndexChange","selectedIndex"],["mat-tab-label",""],[1,"content"],[3,"value","gui",4,"ngIf"],["icon","pools",3,"newAction","editAction","deleteAction","rest","multiSelect","allowExport","onItem","customButtons","tableId","pageSize"],["icon","pools",3,"customButtonAction","deleteAction","rest","multiSelect","allowExport","tableId","customButtons","pageSize"],["icon","groups",3,"newAction","deleteAction","rest","multiSelect","allowExport","tableId","pageSize"],["icon","calendars",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","tableId","pageSize","onItem"],[3,"rest","itemId","tableId","pageSize"],[3,"value","gui"]],template:function(n,o){n&1&&(l(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),f(4,"arrow_back"),d()(),f(5," \xA0"),M(6,"img",4),f(7),d(),x(8,S9,27,31,"div",5),_t(9,"notEmpty"),d()),n&2&&(u(2),h("routerLink",Jn(6,_9,o.metaPool?o.metaPool.id:"")),u(4),h("src",o.api.staticURL("admin/img/icons/metas.png"),Ce),u(),P(" ",o.metaPool==null?null:o.metaPool.name," "),u(),h("ngIf",Ct(9,4,o.metaPool)))},dependencies:[de,ln,Qt,Kt,Jt,ae,xe,Ti,mo,fn],styles:[".mat-column-enabled, .mat-column-priority{max-width:8rem;justify-content:center}"]})}}return t})();var uw=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o}ngOnInit(){}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New pool group"),!1).then(()=>e.table.overview())}onEdit(e){return V(this,null,function*(){this.api.gui.forms.typedEditForm(e,django.gettext("Edit pool group"),!1)})}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete pool group"))}onLoad(e){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("poolgroup"))}static{this.\u0275fac=function(n){return new(n||t)(w(Ie),w(J),w(z))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-pool-groups"]],standalone:!1,decls:1,vars:5,consts:[["icon","spool-group",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(n,o){n&1&&(l(0,"uds-table",0),b("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("loaded",function(a){return o.onLoad(a)}),d()),n&2&&h("rest",o.rest.servicesPoolGroups)("multiSelect",!0)("allowExport",!0)("hasPermissions",!1)("pageSize",o.api.config.admin.page_size)},dependencies:[xe],styles:[".mat-column-priority, .mat-column-thumb{max-width:7rem;justify-content:center}"]})}}return t})();var mw=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o}ngOnInit(){}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New calendar"))}onEdit(e){this.api.gui.forms.typedEditForm(e,django.gettext("Edit calendar"))}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete calendar"))}onDetail(e){this.api.navigation.gotoCalendarDetail(e.param.id)}onLoad(e){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("calendar"))}static{this.\u0275fac=function(n){return new(n||t)(w(Ie),w(J),w(z))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-calendars"]],standalone:!1,decls:1,vars:5,consts:[["icon","calendars",3,"newAction","editAction","deleteAction","detailAction","loaded","rest","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(n,o){n&1&&(l(0,"uds-table",0),b("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("detailAction",function(a){return o.onDetail(a)})("loaded",function(a){return o.onLoad(a)}),d()),n&2&&h("rest",o.rest.calendars)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",o.api.config.admin.page_size)},dependencies:[xe],encapsulation:2})}}return t})();var E9=["mat-calendar-body",""];function M9(t,i){return this._trackRow(i)}var ER=(t,i)=>i.id;function I9(t,i){if(t&1&&(l(0,"tr",0)(1,"td",3),f(2),d()()),t&2){let e=_();u(),Un("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),ee("colspan",e.numCols),u(),P(" ",e.label," ")}}function T9(t,i){if(t&1&&(l(0,"td",3),f(1),d()),t&2){let e=_(2);Un("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),ee("colspan",e._firstRowOffset),u(),P(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function k9(t,i){if(t&1){let e=A();l(0,"td",6)(1,"button",7),b("click",function(o){let r=y(e).$implicit,a=_(2);return C(a._cellClicked(r,o))})("focus",function(o){let r=y(e).$implicit,a=_(2);return C(a._emitActiveDateChange(r,o))}),l(2,"span",8),f(3),d(),M(4,"span",9),d()()}if(t&2){let e=i.$implicit,n=i.$index,o=_().$index,r=_();Un("width",r._cellWidth)("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),ee("data-mat-row",o)("data-mat-col",n),u(),te("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",r._isActiveCell(o,n))("mat-calendar-body-range-start",r._isRangeStart(e.compareValue))("mat-calendar-body-range-end",r._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",r._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",r._isComparisonBridgeStart(e.compareValue,o,n))("mat-calendar-body-comparison-bridge-end",r._isComparisonBridgeEnd(e.compareValue,o,n))("mat-calendar-body-comparison-start",r._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",r._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",r._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",r._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",r._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",r._isInPreview(e.compareValue)),h("ngClass",e.cssClasses)("tabindex",r._isActiveCell(o,n)?0:-1),ee("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",r._isSelected(e.compareValue))("aria-current",r.todayValue===e.compareValue?"date":null)("aria-describedby",r._getDescribedby(e.compareValue)),u(),te("mat-calendar-body-selected",r._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",r._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",r.todayValue===e.compareValue),u(),P(" ",e.displayValue," ")}}function A9(t,i){if(t&1&&(l(0,"tr",1),x(1,T9,2,6,"td",4),Mr(2,k9,5,48,"td",5,ER),d()),t&2){let e=i.$implicit,n=i.$index,o=_();u(),we(n===0&&o._firstRowOffset?1:-1),u(),Ir(e)}}function R9(t,i){if(t&1&&(l(0,"th",2)(1,"span",6),f(2),d(),l(3,"span",3),f(4),d()()),t&2){let e=i.$implicit;u(2),Ve(e.long),u(2),Ve(e.narrow)}}var O9=["*"];function P9(t,i){}function F9(t,i){if(t&1){let e=A();l(0,"mat-month-view",4),H("activeDateChange",function(o){y(e);let r=_();return W(r.activeDate,o)||(r.activeDate=o),C(o)}),b("_userSelection",function(o){y(e);let r=_();return C(r._dateSelected(o))})("dragStarted",function(o){y(e);let r=_();return C(r._dragStarted(o))})("dragEnded",function(o){y(e);let r=_();return C(r._dragEnded(o))}),d()}if(t&2){let e=_();U("activeDate",e.activeDate),h("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("startDateAccessibleName",e.startDateAccessibleName)("endDateAccessibleName",e.endDateAccessibleName)("activeDrag",e._activeDrag)}}function N9(t,i){if(t&1){let e=A();l(0,"mat-year-view",5),H("activeDateChange",function(o){y(e);let r=_();return W(r.activeDate,o)||(r.activeDate=o),C(o)}),b("monthSelected",function(o){y(e);let r=_();return C(r._monthSelectedInYearView(o))})("selectedChange",function(o){y(e);let r=_();return C(r._goToDateInView(o,"month"))}),d()}if(t&2){let e=_();U("activeDate",e.activeDate),h("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function L9(t,i){if(t&1){let e=A();l(0,"mat-multi-year-view",6),H("activeDateChange",function(o){y(e);let r=_();return W(r.activeDate,o)||(r.activeDate=o),C(o)}),b("yearSelected",function(o){y(e);let r=_();return C(r._yearSelectedInMultiYearView(o))})("selectedChange",function(o){y(e);let r=_();return C(r._goToDateInView(o,"year"))}),d()}if(t&2){let e=_();U("activeDate",e.activeDate),h("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function V9(t,i){}var B9=["button"],j9=[[["","matDatepickerToggleIcon",""]]],z9=["[matDatepickerToggleIcon]"];function U9(t,i){t&1&&(nn(),l(0,"svg",2),M(1,"path",3),d())}var tc=(()=>{class t{changes=new B;calendarLabel="Calendar";openCalendarLabel="Open calendar";closeCalendarLabel="Close calendar";prevMonthLabel="Previous month";nextMonthLabel="Next month";prevYearLabel="Previous year";nextYearLabel="Next year";prevMultiYearLabel="Previous 24 years";nextMultiYearLabel="Next 24 years";switchToMonthViewLabel="Choose date";switchToMultiYearViewLabel="Choose month and year";startDateLabel="Start date";endDateLabel="End date";comparisonDateLabel="Comparison range";formatYearRange(e,n){return`${e} \u2013 ${n}`}formatYearRangeLabel(e,n){return`${e} to ${n}`}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),H9=0,uu=class{value;displayValue;ariaLabel;enabled;cssClasses;compareValue;rawValue;id=H9++;constructor(i,e,n,o,r={},a=i,s){this.value=i,this.displayValue=e,this.ariaLabel=n,this.enabled=o,this.cssClasses=r,this.compareValue=a,this.rawValue=s}},W9={passive:!1,capture:!0},Lg={passive:!0,capture:!0},yR={passive:!0},ec=(()=>{class t{_elementRef=m(K);_ngZone=m(ne);_platform=m(Je);_intl=m(tc);_eventCleanups;_skipNextFocus;_focusActiveCellAfterViewChecked=!1;label;rows;todayValue;startValue;endValue;labelMinRequiredCells;numCols=7;activeCell=0;ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}isRange=!1;cellAspectRatio=1;comparisonStart;comparisonEnd;previewStart=null;previewEnd=null;startDateAccessibleName;endDateAccessibleName;selectedValueChange=new T;previewChange=new T;activeDateChange=new T;dragStarted=new T;dragEnded=new T;_firstRowOffset;_cellPadding;_cellWidth;_startDateLabelId;_endDateLabelId;_comparisonStartDateLabelId;_comparisonEndDateLabelId;_didDragSinceMouseDown=!1;_injector=m(Me);comparisonDateAccessibleName=this._intl.comparisonDateLabel;_trackRow=e=>e;constructor(){let e=m(At),n=m(mt);this._startDateLabelId=n.getId("mat-calendar-body-start-"),this._endDateLabelId=n.getId("mat-calendar-body-end-"),this._comparisonStartDateLabelId=n.getId("mat-calendar-body-comparison-start-"),this._comparisonEndDateLabelId=n.getId("mat-calendar-body-comparison-end-"),m(wt).load(yn),this._ngZone.runOutsideAngular(()=>{let o=this._elementRef.nativeElement,r=[qt(e,o,"touchmove",this._touchmoveHandler,W9),qt(e,o,"mouseenter",this._enterHandler,Lg),qt(e,o,"focus",this._enterHandler,Lg),qt(e,o,"mouseleave",this._leaveHandler,Lg),qt(e,o,"blur",this._leaveHandler,Lg),qt(e,o,"mousedown",this._mousedownHandler,yR),qt(e,o,"touchstart",this._mousedownHandler,yR)];this._platform.isBrowser&&r.push(e.listen("window","mouseup",this._mouseupHandler),e.listen("window","touchend",this._touchendHandler)),this._eventCleanups=r})}_cellClicked(e,n){this._didDragSinceMouseDown||e.enabled&&this.selectedValueChange.emit({value:e.value,event:n})}_emitActiveDateChange(e,n){e.enabled&&this.activeDateChange.emit({value:e.value,event:n})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){let n=e.numCols,{rows:o,numCols:r}=this;(e.rows||n)&&(this._firstRowOffset=o&&o.length&&o[0].length?r-o[0].length:0),(e.cellAspectRatio||n||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/r}%`),(n||!this._cellWidth)&&(this._cellWidth=`${100/r}%`)}ngOnDestroy(){this._eventCleanups.forEach(e=>e())}_isActiveCell(e,n){let o=e*this.numCols+n;return e&&(o-=this._firstRowOffset),o==this.activeCell}_focusActiveCell(e=!0){Wt(()=>{setTimeout(()=>{let n=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");n&&(e||(this._skipNextFocus=!0),n.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return fw(e,this.startValue,this.endValue)}_isRangeEnd(e){return gw(e,this.startValue,this.endValue)}_isInRange(e){return _w(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return fw(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,n,o){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let r=this.rows[n][o-1];if(!r){let a=this.rows[n-1];r=a&&a[a.length-1]}return r&&!this._isRangeEnd(r.compareValue)}_isComparisonBridgeEnd(e,n,o){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let r=this.rows[n][o+1];if(!r){let a=this.rows[n+1];r=a&&a[0]}return r&&!this._isRangeStart(r.compareValue)}_isComparisonEnd(e){return gw(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return _w(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return fw(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return gw(e,this.previewStart,this.previewEnd)}_isInPreview(e){return _w(e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(e){if(!this.isRange)return null;if(this.startValue===e&&this.endValue===e)return`${this._startDateLabelId} ${this._endDateLabelId}`;if(this.startValue===e)return this._startDateLabelId;if(this.endValue===e)return this._endDateLabelId;if(this.comparisonStart!==null&&this.comparisonEnd!==null){if(e===this.comparisonStart&&e===this.comparisonEnd)return`${this._comparisonStartDateLabelId} ${this._comparisonEndDateLabelId}`;if(e===this.comparisonStart)return this._comparisonStartDateLabelId;if(e===this.comparisonEnd)return this._comparisonEndDateLabelId}return null}_enterHandler=e=>{if(this._skipNextFocus&&e.type==="focus"){this._skipNextFocus=!1;return}if(e.target&&this.isRange){let n=this._getCellFromElement(e.target);n&&this._ngZone.run(()=>this.previewChange.emit({value:n.enabled?n:null,event:e}))}};_touchmoveHandler=e=>{if(!this.isRange)return;let n=CR(e),o=n?this._getCellFromElement(n):null;n!==e.target&&(this._didDragSinceMouseDown=!0),hw(e.target)&&e.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:o?.enabled?o:null,event:e}))};_leaveHandler=e=>{this.previewEnd!==null&&this.isRange&&(e.type!=="blur"&&(this._didDragSinceMouseDown=!0),e.target&&this._getCellFromElement(e.target)&&!(e.relatedTarget&&this._getCellFromElement(e.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:e})))};_mousedownHandler=e=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let n=e.target&&this._getCellFromElement(e.target);!n||!this._isInRange(n.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:n.rawValue,event:e})})};_mouseupHandler=e=>{if(!this.isRange)return;let n=hw(e.target);if(!n){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:e})});return}n.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let o=this._getCellFromElement(n);this.dragEnded.emit({value:o?.rawValue??null,event:e})})};_touchendHandler=e=>{let n=CR(e);n&&this._mouseupHandler({target:n})};_getCellFromElement(e){let n=hw(e);if(n){let o=n.getAttribute("data-mat-row"),r=n.getAttribute("data-mat-col");if(o&&r)return this.rows[parseInt(o)][parseInt(r)]}return null}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[He],attrs:E9,decls:11,vars:11,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(n,o){n&1&&(x(0,I9,3,6,"tr",0),Mr(1,A9,4,1,"tr",1,M9,!0),l(3,"span",2),f(4),d(),l(5,"span",2),f(6),d(),l(7,"span",2),f(8),d(),l(9,"span",2),f(10),d()),n&2&&(we(o._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mat-calendar-body-disabled{opacity:.5}}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color, var(--mat-sys-on-surface));border-color:var(--mat-datepicker-calendar-date-outline-color, transparent)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}@media(forced-colors: active){.mat-calendar-body-cell-content{border:none}}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color, var(--mat-sys-primary));color:var(--mat-datepicker-calendar-date-selected-state-text-color, var(--mat-sys-on-primary))}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color, var(--mat-sys-primary))}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color, var(--mat-sys-secondary-container))}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color, var(--mat-sys-secondary))}@media(forced-colors: active){.mat-datepicker-popup:not(:empty),.mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.mat-calendar-body-today{outline:dotted 1px}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-selected{background:none}.mat-calendar-body-in-range::before,.mat-calendar-body-comparison-bridge-start::before,.mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}} -`],encapsulation:2,changeDetection:0})}return t})();function pw(t){return t?.nodeName==="TD"}function hw(t){let i;return pw(t)?i=t:pw(t.parentNode)?i=t.parentNode:pw(t.parentNode?.parentNode)&&(i=t.parentNode.parentNode),i?.getAttribute("data-mat-row")!=null?i:null}function fw(t,i,e){return e!==null&&i!==e&&t=i&&t===e}function _w(t,i,e,n){return n&&i!==null&&e!==null&&i!==e&&t>=i&&t<=e}function CR(t){let i=t.changedTouches[0];return document.elementFromPoint(i.clientX,i.clientY)}var po=class{start;end;_disableStructuralEquivalency;constructor(i,e){this.start=i,this.end=e}},mu=(()=>{class t{selection;_adapter;_selectionChanged=new B;selectionChanged=this._selectionChanged;constructor(e,n){this.selection=e,this._adapter=n,this.selection=e}updateSelection(e,n){let o=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:n,oldValue:o})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}static \u0275fac=function(n){xp()};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})(),G9=(()=>{class t extends mu{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return this.selection!=null&&this._isValidDateInstance(this.selection)}isComplete(){return this.selection!=null}clone(){let e=new t(this._adapter);return e.updateSelection(this.selection,this),e}static \u0275fac=function(n){return new(n||t)(oe(Vn))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})();function $9(t,i){return t||new G9(i)}var MR={provide:mu,deps:[[new wo,new vr,mu],Vn],useFactory:$9};var IR=new k("MAT_DATE_RANGE_SELECTION_STRATEGY");var vw=7,q9=0,wR=(()=>{class t{_changeDetectorRef=m(De);_dateFormats=m(va,{optional:!0});_dateAdapter=m(Vn,{optional:!0});_dir=m(Ft,{optional:!0});_rangeStrategy=m(IR,{optional:!0});_rerenderSubscription=he.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(e){let n=this._activeDate,o=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(o,this.minDate,this.maxDate),this._hasSameMonthAndYear(n,this._activeDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof po?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;activeDrag=null;selectedChange=new T;_userSelection=new T;dragStarted=new T;dragEnded=new T;activeDateChange=new T;_matCalendarBody;_monthLabel;_weeks;_firstWeekOffset;_rangeStart;_rangeEnd;_comparisonRangeStart;_comparisonRangeEnd;_previewStart;_previewEnd;_isRange;_todayDate;_weekdays;constructor(){m(wt).load(no),this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Dt(null)).subscribe(()=>this._init())}ngOnChanges(e){let n=e.comparisonStart||e.comparisonEnd;n&&!n.firstChange&&this._setRanges(this.selected),e.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){let n=e.value,o=this._getDateFromDayOfMonth(n),r,a;this._selected instanceof po?(r=this._getDateInCurrentMonth(this._selected.start),a=this._getDateInCurrentMonth(this._selected.end)):r=a=this._getDateInCurrentMonth(this._selected),(r!==n||a!==n)&&this.selectedChange.emit(o),this._userSelection.emit({value:o,event:e.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(e){let n=e.value,o=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(n),this._dateAdapter.compareDate(o,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(e){let n=this._activeDate,o=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,o?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,o?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0,this._canSelect(this._activeDate)&&e.preventDefault();return;case 27:this._previewEnd!=null&&!Mt(e)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:e}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e})),e.preventDefault(),e.stopPropagation());return;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(vw+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%vw,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:e,value:n}){if(this._rangeStrategy){let o=n?n.rawValue:null,r=this._rangeStrategy.createPreview(o,this.selected,e);if(this._previewStart=this._getCellCompareValue(r.start),this._previewEnd=this._getCellCompareValue(r.end),this.activeDrag&&o){let a=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,o,e);a&&(this._previewStart=this._getCellCompareValue(a.start),this._previewEnd=this._getCellCompareValue(a.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(e){if(this.activeDrag)if(e.value){let n=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,e.value,e.event);this.dragEnded.emit({value:n??null,event:e.event})}else this.dragEnded.emit({value:null,event:e.event})}_getDateFromDayOfMonth(e){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),e)}_initWeekdays(){let e=this._dateAdapter.getFirstDayOfWeek(),n=this._dateAdapter.getDayOfWeekNames("narrow"),r=this._dateAdapter.getDayOfWeekNames("long").map((a,s)=>({long:a,narrow:n[s],id:q9++}));this._weekdays=r.slice(e).concat(r.slice(0,e))}_createWeekCells(){let e=this._dateAdapter.getNumDaysInMonth(this.activeDate),n=this._dateAdapter.getDateNames();this._weeks=[[]];for(let o=0,r=this._firstWeekOffset;o=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,n){return!!(e&&n&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(n)&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(n))}_getCellCompareValue(e){if(e){let n=this._dateAdapter.getYear(e),o=this._dateAdapter.getMonth(e),r=this._dateAdapter.getDate(e);return new Date(n,o,r).getTime()}return null}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setRanges(e){e instanceof po?(this._rangeStart=this._getCellCompareValue(e.start),this._rangeEnd=this._getCellCompareValue(e.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(e),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(e){return!this.dateFilter||this.dateFilter(e)}_clearPreview(){this._previewStart=this._previewEnd=null}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-month-view"]],viewQuery:function(n,o){if(n&1&&se(ec,5),n&2){let r;q(r=Y())&&(o._matCalendarBody=r.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[He],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(n,o){n&1&&(l(0,"table",0)(1,"thead",1)(2,"tr"),Mr(3,R9,5,2,"th",2,ER),d(),l(5,"tr",3),M(6,"th",4),d()(),l(7,"tbody",5),b("selectedValueChange",function(a){return o._dateSelected(a)})("activeDateChange",function(a){return o._updateActiveDate(a)})("previewChange",function(a){return o._previewChanged(a)})("dragStarted",function(a){return o.dragStarted.emit(a)})("dragEnded",function(a){return o._dragEnded(a)})("keyup",function(a){return o._handleCalendarBodyKeyup(a)})("keydown",function(a){return o._handleCalendarBodyKeydown(a)}),d()()),n&2&&(u(3),Ir(o._weekdays),u(4),h("label",o._monthLabel)("rows",o._weeks)("todayValue",o._todayDate)("startValue",o._rangeStart)("endValue",o._rangeEnd)("comparisonStart",o._comparisonRangeStart)("comparisonEnd",o._comparisonRangeEnd)("previewStart",o._previewStart)("previewEnd",o._previewEnd)("isRange",o._isRange)("labelMinRequiredCells",3)("activeCell",o._dateAdapter.getDate(o.activeDate)-1)("startDateAccessibleName",o.startDateAccessibleName)("endDateAccessibleName",o.endDateAccessibleName))},dependencies:[ec],encapsulation:2,changeDetection:0})}return t})(),Wi=24,bw=4,xR=(()=>{class t{_changeDetectorRef=m(De);_dateAdapter=m(Vn,{optional:!0});_dir=m(Ft,{optional:!0});_rerenderSubscription=he.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(e){let n=this._activeDate,o=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(o,this.minDate,this.maxDate),TR(this._dateAdapter,n,this._activeDate,this.minDate,this.maxDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof po?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;selectedChange=new T;yearSelected=new T;activeDateChange=new T;_matCalendarBody;_years;_todayYear;_selectedYear;constructor(){this._dateAdapter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Dt(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());let n=this._dateAdapter.getYear(this._activeDate)-du(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let o=0,r=[];othis._createCellForYear(a))),r=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){let n=e.value,o=this._dateAdapter.createDate(n,0,1),r=this._getDateFromYear(n);this.yearSelected.emit(o),this.selectedChange.emit(r)}_updateActiveDate(e){let n=e.value,o=this._activeDate;this.activeDate=this._getDateFromYear(n),this._dateAdapter.compareDate(o,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){let n=this._activeDate,o=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,o?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,o?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-bw);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,bw);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-du(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Wi-du(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-Wi*10:-Wi);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?Wi*10:Wi);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_getActiveCell(){return du(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(e){let n=this._dateAdapter.getMonth(this.activeDate),o=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,n,1));return this._dateAdapter.createDate(e,n,Math.min(this._dateAdapter.getDate(this.activeDate),o))}_createCellForYear(e){let n=this._dateAdapter.createDate(e,0,1),o=this._dateAdapter.getYearName(n),r=this.dateClass?this.dateClass(n,"multi-year"):void 0;return new uu(e,o,o,this._shouldEnableYear(e),r)}_shouldEnableYear(e){if(e==null||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e{class t{_changeDetectorRef=m(De);_dateFormats=m(va,{optional:!0});_dateAdapter=m(Vn,{optional:!0});_dir=m(Ft,{optional:!0});_rerenderSubscription=he.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(e){let n=this._activeDate,o=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(o,this.minDate,this.maxDate),this._dateAdapter.getYear(n)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof po?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;selectedChange=new T;monthSelected=new T;activeDateChange=new T;_matCalendarBody;_months;_yearLabel;_todayMonth;_selectedMonth;constructor(){this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Dt(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){let n=e.value,o=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),n,1);this.monthSelected.emit(o);let r=this._getDateFromMonth(n);this.selectedChange.emit(r)}_updateActiveDate(e){let n=e.value,o=this._activeDate;this.activeDate=this._getDateFromMonth(n),this._dateAdapter.compareDate(o,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){let n=this._activeDate,o=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,o?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,o?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(n=>n.map(o=>this._createCellForMonth(o,e[o]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_getDateFromMonth(e){let n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),o=this._dateAdapter.getNumDaysInMonth(n);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),o))}_createCellForMonth(e,n){let o=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),r=this._dateAdapter.format(o,this._dateFormats.display.monthYearA11yLabel),a=this.dateClass?this.dateClass(o,"year"):void 0;return new uu(e,n.toLocaleUpperCase(),r,this._shouldEnableMonth(e),a)}_shouldEnableMonth(e){let n=this._dateAdapter.getYear(this.activeDate);if(e==null||this._isYearAndMonthAfterMaxDate(n,e)||this._isYearAndMonthBeforeMinDate(n,e))return!1;if(!this.dateFilter)return!0;let o=this._dateAdapter.createDate(n,e,1);for(let r=o;this._dateAdapter.getMonth(r)==e;r=this._dateAdapter.addCalendarDays(r,1))if(this.dateFilter(r))return!0;return!1}_isYearAndMonthAfterMaxDate(e,n){if(this.maxDate){let o=this._dateAdapter.getYear(this.maxDate),r=this._dateAdapter.getMonth(this.maxDate);return e>o||e===o&&n>r}return!1}_isYearAndMonthBeforeMinDate(e,n){if(this.minDate){let o=this._dateAdapter.getYear(this.minDate),r=this._dateAdapter.getMonth(this.minDate);return e{class t{_intl=m(tc);calendar=m(yw);_dateAdapter=m(Vn,{optional:!0});_dateFormats=m(va,{optional:!0});constructor(){m(wt).load(no);let e=m(De);this.calendar.stateChanges.subscribe(()=>e.markForCheck())}get periodButtonText(){return this.calendar.currentView=="month"?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():this.calendar.currentView=="year"?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return this.calendar.currentView=="month"?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():this.calendar.currentView=="year"?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return this.calendar.currentView=="month"?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView=this.calendar.currentView=="month"?"multi-year":"month"}previousClicked(){this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?-1:-Wi)}nextClicked(){this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?1:Wi)}previousEnabled(){return this.calendar.minDate?!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate):!0}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(e,n){return this.calendar.currentView=="month"?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(n)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(n):this.calendar.currentView=="year"?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(n):TR(this._dateAdapter,e,n,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){let n=this._dateAdapter.getYear(this.calendar.activeDate)-du(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),o=n+Wi-1,r=this._dateAdapter.getYearName(this._dateAdapter.createDate(n,0,1)),a=this._dateAdapter.getYearName(this._dateAdapter.createDate(o,0,1));return[r,a]}_periodButtonLabelId=m(mt).getId("mat-calendar-period-label-");static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:O9,decls:17,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["aria-live","polite",1,"cdk-visually-hidden",3,"id"],["mat-button","","type","button",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"click","disabled"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"click","disabled"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],template:function(n,o){n&1&&(Pe(),l(0,"div",0)(1,"div",1)(2,"span",2),f(3),d(),l(4,"button",3),b("click",function(){return o.currentPeriodClicked()}),l(5,"span",4),f(6),d(),nn(),l(7,"svg",5),M(8,"polygon",6),d()(),wr(),M(9,"div",7),re(10),l(11,"button",8),b("click",function(){return o.previousClicked()}),nn(),l(12,"svg",9),M(13,"path",10),d()(),wr(),l(14,"button",11),b("click",function(){return o.nextClicked()}),nn(),l(15,"svg",9),M(16,"path",12),d()()()()),n&2&&(u(2),h("id",o._periodButtonLabelId),u(),Ve(o.periodButtonDescription),u(),ee("aria-label",o.periodButtonLabel)("aria-describedby",o._periodButtonLabelId),u(2),Ve(o.periodButtonText),u(),te("mat-calendar-invert",o.calendar.currentView!=="month"),u(4),h("disabled",!o.previousEnabled()),ee("aria-label",o.prevButtonLabel),u(3),h("disabled",!o.nextEnabled()),ee("aria-label",o.nextButtonLabel))},dependencies:[Se,Ln],encapsulation:2,changeDetection:0})}return t})(),yw=(()=>{class t{_dateAdapter=m(Vn,{optional:!0});_dateFormats=m(va,{optional:!0});_changeDetectorRef=m(De);_elementRef=m(K);headerComponent;_calendarHeaderPortal;_intlChanges;_moveFocusOnNextTick=!1;get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_startAt;startView="month";get selected(){return this._selected}set selected(e){e instanceof po?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;selectedChange=new T;yearSelected=new T;monthSelected=new T;viewChanged=new T(!0);_userSelection=new T;_userDragDrop=new T;monthView;yearView;multiYearView;get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}_clampedActiveDate;get currentView(){return this._currentView}set currentView(e){let n=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),n&&this.viewChanged.emit(n)}_currentView;_activeDrag=null;stateChanges=new B;constructor(){this._intlChanges=m(tc).changes.subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new li(this.headerComponent||AR),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){let n=e.minDate&&!this._dateAdapter.sameDate(e.minDate.previousValue,e.minDate.currentValue)?e.minDate:void 0,o=e.maxDate&&!this._dateAdapter.sameDate(e.maxDate.previousValue,e.maxDate.currentValue)?e.maxDate:void 0,r=n||o||e.dateFilter;if(r&&!r.firstChange){let a=this._getCurrentViewComponent();a&&(this._elementRef.nativeElement.contains(to())&&(this._moveFocusOnNextTick=!0),this._changeDetectorRef.detectChanges(),a._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(e){let n=e.value;(this.selected instanceof po||n&&!this._dateAdapter.sameDate(n,this.selected))&&this.selectedChange.emit(n),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,n){this.activeDate=e,this.currentView=n}_dragStarted(e){this._activeDrag=e}_dragEnded(e){this._activeDrag&&(e.value&&this._userDragDrop.emit(e),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-calendar"]],viewQuery:function(n,o){if(n&1&&(se(wR,5),se(DR,5),se(xR,5)),n&2){let r;q(r=Y())&&(o.monthView=r.first),q(r=Y())&&(o.yearView=r.first),q(r=Y())&&(o.multiYearView=r.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[_e([MR]),He],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(n,o){if(n&1&&(x(0,P9,0,0,"ng-template",0),l(1,"div",1),x(2,F9,1,11,"mat-month-view",2)(3,N9,1,6,"mat-year-view",3)(4,L9,1,6,"mat-multi-year-view",3),d()),n&2){let r;h("cdkPortalOutlet",o._calendarHeaderPortal),u(2),we((r=o.currentView)==="month"?2:r==="year"?3:r==="multi-year"?4:-1)}},dependencies:[ei,Id,wR,DR,xR],styles:[`.mat-calendar{display:block;line-height:normal;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size))}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-period-button-text-weight, var(--mat-sys-title-small-weight));--mdc-text-button-label-text-color:var(--mat-datepicker-calendar-period-button-text-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}@media(forced-colors: active){.mat-calendar-arrow{fill:CanvasText}}.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){color:var(--mat-datepicker-calendar-navigation-button-icon-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color, var(--mat-sys-on-surface-variant));font-size:var(--mat-datepicker-calendar-header-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-header-text-weight, var(--mat-sys-title-small-weight))}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color, transparent)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""} -`],encapsulation:2,changeDetection:0})}return t})(),RR=new k("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(Rt);return()=>t.scrollStrategies.reposition()}});function Q9(t){return()=>t.scrollStrategies.reposition()}var K9={provide:RR,deps:[Rt],useFactory:Q9},OR=(()=>{class t{_elementRef=m(K);_animationsDisabled=m(et,{optional:!0})==="NoopAnimations";_changeDetectorRef=m(De);_globalModel=m(mu);_dateAdapter=m(Vn);_ngZone=m(ne);_rangeSelectionStrategy=m(IR,{optional:!0});_stateChanges;_model;_eventCleanups;_animationFallback;_calendar;color;datepicker;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;_isAbove;_animationDone=new B;_isAnimating=!1;_closeButtonText;_closeButtonFocused;_actionsPortal=null;_dialogLabelId;constructor(){if(m(wt).load(no),this._closeButtonText=m(tc).closeCalendarLabel,!this._animationsDisabled){let e=this._elementRef.nativeElement,n=m(At);this._eventCleanups=this._ngZone.runOutsideAngular(()=>[n.listen(e,"animationstart",this._handleAnimationEvent),n.listen(e,"animationend",this._handleAnimationEvent),n.listen(e,"animationcancel",this._handleAnimationEvent)])}}ngAfterViewInit(){this._stateChanges=this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()}),this._calendar.focusActiveCell()}ngOnDestroy(){clearTimeout(this._animationFallback),this._eventCleanups?.forEach(e=>e()),this._stateChanges?.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){let n=this._model.selection,o=e.value,r=n instanceof po;if(r&&this._rangeSelectionStrategy){let a=this._rangeSelectionStrategy.selectionFinished(o,n,e.event);this._model.updateSelection(a,this)}else o&&(r||!this._dateAdapter.sameDate(o,n))&&this._model.add(o);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(e){this._model.updateSelection(e.value,this)}_startExitAnimation(){this._elementRef.nativeElement.classList.add("mat-datepicker-content-exit"),this._animationsDisabled?this._animationDone.next():(clearTimeout(this._animationFallback),this._animationFallback=setTimeout(()=>{this._isAnimating||this._animationDone.next()},200))}_handleAnimationEvent=e=>{let n=this._elementRef.nativeElement;e.target!==n||!e.animationName.startsWith("_mat-datepicker-content")||(clearTimeout(this._animationFallback),this._isAnimating=e.type==="animationstart",n.classList.toggle("mat-datepicker-content-animating",this._isAnimating),this._isAnimating||this._animationDone.next())};_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(e,n){this._model=e?this._globalModel.clone():this._globalModel,this._actionsPortal=e,n&&this._changeDetectorRef.detectChanges()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(n,o){if(n&1&&se(yw,5),n&2){let r;q(r=Y())&&(o._calendar=r.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:6,hostBindings:function(n,o){n&2&&(Vt(o.color?"mat-"+o.color:""),te("mat-datepicker-content-touch",o.datepicker.touchUi)("mat-datepicker-content-animations-enabled",!o._animationsDisabled))},inputs:{color:"color"},exportAs:["matDatepickerContent"],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(n,o){if(n&1&&(l(0,"div",0)(1,"mat-calendar",1),b("yearSelected",function(a){return o.datepicker._selectYear(a)})("monthSelected",function(a){return o.datepicker._selectMonth(a)})("viewChanged",function(a){return o.datepicker._viewChanged(a)})("_userSelection",function(a){return o._handleUserSelection(a)})("_userDragDrop",function(a){return o._handleUserDragDrop(a)}),d(),x(2,V9,0,0,"ng-template",2),l(3,"button",3),b("focus",function(){return o._closeButtonFocused=!0})("blur",function(){return o._closeButtonFocused=!1})("click",function(){return o.datepicker.close()}),f(4),d()()),n&2){let r;te("mat-datepicker-content-container-with-custom-header",o.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",o._actionsPortal),ee("aria-modal",!0)("aria-labelledby",(r=o._dialogLabelId)!==null&&r!==void 0?r:void 0),u(),Vt(o.datepicker.panelClass),h("id",o.datepicker.id)("startAt",o.datepicker.startAt)("startView",o.datepicker.startView)("minDate",o.datepicker._getMinDate())("maxDate",o.datepicker._getMaxDate())("dateFilter",o.datepicker._getDateFilter())("headerComponent",o.datepicker.calendarHeaderComponent)("selected",o._getSelected())("dateClass",o.datepicker.dateClass)("comparisonStart",o.comparisonStart)("comparisonEnd",o.comparisonEnd)("startDateAccessibleName",o.startDateAccessibleName)("endDateAccessibleName",o.endDateAccessibleName),u(),h("cdkPortalOutlet",o._actionsPortal),u(),te("cdk-visually-hidden",!o._closeButtonFocused),h("color",o.color||"primary"),u(),Ve(o._closeButtonText)}},dependencies:[k0,yw,ei,Se],styles:[`@keyframes _mat-datepicker-content-dropdown-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-dialog-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-exit{from{opacity:1}to{opacity:0}}.mat-datepicker-content{display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color, var(--mat-sys-surface-container-high));color:var(--mat-datepicker-calendar-container-text-color, var(--mat-sys-on-surface));box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-shape, var(--mat-sys-corner-large))}.mat-datepicker-content.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dropdown-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.mat-datepicker-content-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-touch-shape, var(--mat-sys-corner-extra-large));position:relative;overflow:visible}.mat-datepicker-content-touch.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dialog-enter 150ms cubic-bezier(0, 0, 0.2, 1)}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}.mat-datepicker-content-exit.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-exit 100ms linear}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}} -`],encapsulation:2,changeDetection:0})}return t})(),SR=(()=>{class t{_overlay=m(Rt);_viewContainerRef=m(Et);_dateAdapter=m(Vn,{optional:!0});_dir=m(Ft,{optional:!0});_model=m(mu);_scrollStrategy=m(RR);_inputStateChanges=he.EMPTY;_document=m(ce);calendarHeaderComponent;get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_startAt;startView="month";get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(e){this._color=e}_color;touchUi=!1;get disabled(){return this._disabled===void 0&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){e!==this._disabled&&(this._disabled=e,this.stateChanges.next(void 0))}_disabled;xPosition="start";yPosition="below";restoreFocus=!0;yearSelected=new T;monthSelected=new T;viewChanged=new T(!0);dateClass;openedStream=new T;closedStream=new T;get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=l1(e)}_panelClass;get opened(){return this._opened}set opened(e){e?this.open():this.close()}_opened=!1;id=m(mt).getId("mat-datepicker-");_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}_overlayRef;_componentRef;_focusedElementBeforeOpen=null;_backdropHarnessClass=`${this.id}-backdrop`;_actionsPortal;datepickerInput;stateChanges=new B;_injector=m(Me);_changeDetectorRef=m(De);constructor(){this._dateAdapter,this._model.selectionChanged.subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnChanges(e){let n=e.xPosition||e.yPosition;if(n&&!n.firstChange&&this._overlayRef){let o=this._overlayRef.getConfig().positionStrategy;o instanceof Tl&&(this._setConnectedPositions(o),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(e){this._model.add(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_viewChanged(e){this.viewChanged.emit(e)}registerInput(e){return this.datepickerInput,this._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(e){this._actionsPortal,this._actionsPortal=e,this._componentRef?.instance._assignActions(e,!0)}removeActions(e){e===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this.datepickerInput,this._focusedElementBeforeOpen=to(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;let e=this.restoreFocus&&this._focusedElementBeforeOpen&&typeof this._focusedElementBeforeOpen.focus=="function",n=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){let{instance:o,location:r}=this._componentRef;o._animationDone.pipe(xt(1)).subscribe(()=>{let a=this._document.activeElement;e&&(!a||a===this._document.activeElement||r.nativeElement.contains(a))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()}),o._startExitAnimation()}e?setTimeout(n):n()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(e){e.datepicker=this,e.color=this.color,e._dialogLabelId=this.datepickerInput.getOverlayLabelId(),e._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();let e=this.touchUi,n=new li(OR,this._viewContainerRef),o=this._overlayRef=this._overlay.create(new di({positionStrategy:e?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[e?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir||"ltr",scrollStrategy:e?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:`mat-datepicker-${e?"dialog":"popup"}`}));this._getCloseStream(o).subscribe(r=>{r&&r.preventDefault(),this.close()}),o.keydownEvents().subscribe(r=>{let a=r.keyCode;(a===38||a===40||a===37||a===39||a===33||a===34)&&r.preventDefault()}),this._componentRef=o.attach(n),this._forwardContentValues(this._componentRef.instance),e||Wt(()=>{o.updatePosition()},{injector:this._injector})}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){let e=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(e)}_setConnectedPositions(e){let n=this.xPosition==="end"?"end":"start",o=n==="start"?"end":"start",r=this.yPosition==="above"?"bottom":"top",a=r==="top"?"bottom":"top";return e.withPositions([{originX:n,originY:a,overlayX:n,overlayY:r},{originX:n,originY:r,overlayX:n,overlayY:a},{originX:o,originY:a,overlayX:o,overlayY:r},{originX:o,originY:r,overlayX:o,overlayY:a}])}_getCloseStream(e){let n=["ctrlKey","shiftKey","metaKey"];return yt(e.backdropClick(),e.detachments(),e.keydownEvents().pipe(Ye(o=>o.keyCode===27&&!Mt(o)||this.datepickerInput&&Mt(o,"altKey")&&o.keyCode===38&&n.every(r=>!Mt(o,r)))))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",G],disabled:[2,"disabled","disabled",G],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",G],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",G]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[He]})}return t})(),Vg=(()=>{class t extends SR{static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275cmp=E({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[_e([MR,{provide:SR,useExisting:t}]),pe],decls:0,vars:0,template:function(n,o){},encapsulation:2,changeDetection:0})}return t})(),Jl=class{target;targetElement;value;constructor(i,e){this.target=i,this.targetElement=e,this.value=this.target.value}},Z9=(()=>{class t{_elementRef=m(K);_dateAdapter=m(Vn,{optional:!0});_dateFormats=m(va,{optional:!0});_isInitialized;get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(e){this._assignValueProgrammatically(e)}_model;get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(e){let n=e,o=this._elementRef.nativeElement;this._disabled!==n&&(this._disabled=n,this.stateChanges.next(void 0)),n&&this._isInitialized&&o.blur&&o.blur()}_disabled;dateChange=new T;dateInput=new T;stateChanges=new B;_onTouched=()=>{};_validatorOnChange=()=>{};_cvaOnChange=()=>{};_valueChangesSubscription=he.EMPTY;_localeSubscription=he.EMPTY;_pendingValue;_parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}};_filterValidator=e=>{let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value));return!n||this._matchesFilter(n)?null:{matDatepickerFilter:!0}};_minValidator=e=>{let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),o=this._getMinDate();return!o||!n||this._dateAdapter.compareDate(o,n)<=0?null:{matDatepickerMin:{min:o,actual:n}}};_maxValidator=e=>{let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),o=this._getMaxDate();return!o||!n||this._dateAdapter.compareDate(o,n)>=0?null:{matDatepickerMax:{max:o,actual:n}}};_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(e){this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(n=>{if(this._shouldHandleChangeEvent(n)){let o=this._getValueFromModel(n.selection);this._lastValueValid=this._isValidValue(o),this._cvaOnChange(o),this._onTouched(),this._formatValue(o),this.dateInput.emit(new Jl(this,this._elementRef.nativeElement)),this.dateChange.emit(new Jl(this,this._elementRef.nativeElement))}})}_lastValueValid=!1;constructor(){this._localeSubscription=this._dateAdapter.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){X9(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}writeValue(e){this._assignValueProgrammatically(e)}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){let n=["ctrlKey","shiftKey","metaKey"];Mt(e,"altKey")&&e.keyCode===40&&n.every(r=>!Mt(e,r))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){let n=this._lastValueValid,o=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(o),o=this._dateAdapter.getValidDateOrNull(o);let r=!this._dateAdapter.sameDate(o,this.value);!o||r?this._cvaOnChange(o):(e&&!this.value&&this._cvaOnChange(o),n!==this._lastValueValid&&this._validatorOnChange()),r&&(this._assignValue(o),this.dateInput.emit(new Jl(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Jl(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=e!=null?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_assignValue(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}_isValidValue(e){return!e||this._dateAdapter.isValid(e)}_parentDisabled(){return!1}_assignValueProgrammatically(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e),this._assignValue(e),this._formatValue(e)}_matchesFilter(e){let n=this._getDateFilter();return!n||n(e)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,inputs:{value:"value",disabled:[2,"disabled","disabled",G]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[He]})}return t})();function X9(t,i){let e=Object.keys(t);for(let n of e){let{previousValue:o,currentValue:r}=t[n];if(i.isDateInstance(o)&&i.isDateInstance(r)){if(!i.sameDate(o,r))return!0}else return!0}return!1}var J9={provide:hi,useExisting:en(()=>nc),multi:!0},eq={provide:ao,useExisting:en(()=>nc),multi:!0},nc=(()=>{class t extends Z9{_formField=m(lo,{optional:!0});_closedSubscription=he.EMPTY;_openedSubscription=he.EMPTY;set matDatepicker(e){e&&(this._datepicker=e,this._ariaOwns.set(e.opened?e.id:null),this._closedSubscription=e.closedStream.subscribe(()=>{this._onTouched(),this._ariaOwns.set(null)}),this._openedSubscription=e.openedStream.subscribe(()=>{this._ariaOwns.set(e.id)}),this._registerModel(e.registerInput(this)))}_datepicker;_ariaOwns=wi(null);get min(){return this._min}set min(e){let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(n,this._min)||(this._min=n,this._validatorOnChange())}_min;get max(){return this._max}set max(e){let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(n,this._max)||(this._max=n,this._validatorOnChange())}_max;get dateFilter(){return this._dateFilter}set dateFilter(e){let n=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==n&&this._validatorOnChange()}_dateFilter;_validator;constructor(){super(),this._validator=sr.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe(),this._openedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(e){return e}_assignValueToModel(e){this._model&&this._model.updateSelection(e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(e){return e.source!==this}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(n,o){n&1&&b("input",function(a){return o._onInput(a.target.value)})("change",function(){return o._onChange()})("blur",function(){return o._onBlur()})("keydown",function(a){return o._onKeydown(a)}),n&2&&(xn("disabled",o.disabled),ee("aria-haspopup",o._datepicker?"dialog":null)("aria-owns",o._ariaOwns())("min",o.min?o._dateAdapter.toIso8601(o.min):null)("max",o.max?o._dateAdapter.toIso8601(o.max):null)("data-mat-calendar",o._datepicker?o._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[0,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[_e([J9,eq,{provide:Ig,useExisting:t}]),pe]})}return t})(),tq=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matDatepickerToggleIcon",""]]})}return t})(),pu=(()=>{class t{_intl=m(tc);_changeDetectorRef=m(De);_stateChanges=he.EMPTY;datepicker;tabIndex;ariaLabel;get disabled(){return this._disabled===void 0&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=e}_disabled;disableRipple;_customIcon;_button;constructor(){let e=m(new jn("tabindex"),{optional:!0}),n=Number(e);this.tabIndex=n||n===0?n:null}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){let e=this.datepicker?this.datepicker.stateChanges:ie(),n=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:ie(),o=this.datepicker?yt(this.datepicker.openedStream,this.datepicker.closedStream):ie();this._stateChanges.unsubscribe(),this._stateChanges=yt(this._intl.changes,e,n,o).subscribe(()=>this._changeDetectorRef.markForCheck())}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(n,o,r){if(n&1&&Ne(r,tq,5),n&2){let a;q(a=Y())&&(o._customIcon=a.first)}},viewQuery:function(n,o){if(n&1&&se(B9,5),n&2){let r;q(r=Y())&&(o._button=r.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(n,o){n&1&&b("click",function(a){return o._open(a)}),n&2&&(ee("tabindex",null)("data-mat-calendar",o.datepicker?o.datepicker.id:null),te("mat-datepicker-toggle-active",o.datepicker&&o.datepicker.opened)("mat-accent",o.datepicker&&o.datepicker.color==="accent")("mat-warn",o.datepicker&&o.datepicker.color==="warn"))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",G],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[He],ngContentSelectors:z9,decls:4,vars:7,consts:[["button",""],["mat-icon-button","","type","button",3,"disabled","disableRipple"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(n,o){n&1&&(Pe(j9),l(0,"button",1,0),x(2,U9,2,0,":svg:svg",2),re(3),d()),n&2&&(h("disabled",o.disabled)("disableRipple",o.disableRipple),ee("aria-haspopup",o.datepicker?"dialog":null)("aria-label",o.ariaLabel||o._intl.openCalendarLabel)("tabindex",o.disabled?-1:o.tabIndex)("aria-expanded",o.datepicker?o.datepicker.opened:null),u(2),we(o._customIcon?-1:2))},dependencies:[Ln],styles:[`.mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color, var(--mat-sys-on-surface-variant))}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color, var(--mat-sys-on-surface-variant))}@media(forced-colors: active){.mat-datepicker-toggle-default-icon{color:CanvasText}} -`],encapsulation:2,changeDetection:0})}return t})();var PR=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[tc,K9],imports:[ar,Wn,us,Ei,ue,OR,pu,AR,Vi]})}return t})();function nq(t,i){t&1&&(l(0,"uds-translate"),f(1,"Edit rule"),d())}function iq(t,i){t&1&&(l(0,"uds-translate"),f(1,"New rule"),d())}function oq(t,i){if(t&1&&(l(0,"mat-option",21),f(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),P(" ",e.value," ")}}function rq(t,i){if(t&1&&(l(0,"mat-option",21),f(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),P(" ",e.value," ")}}function aq(t,i){if(t&1&&(l(0,"mat-option",21),f(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),P(" ",e.value," ")}}function sq(t,i){if(t&1){let e=A();l(0,"mat-form-field",11)(1,"mat-label")(2,"uds-translate"),f(3,"Week days"),d()(),l(4,"mat-select",22),H("ngModelChange",function(o){y(e);let r=_();return W(r.wDays,o)||(r.wDays=o),C(o)}),x(5,aq,2,2,"mat-option",10),d()()}if(t&2){let e=_();u(4),U("ngModel",e.wDays),u(),h("ngForOf",e.weekDays)}}function lq(t,i){if(t&1){let e=A();l(0,"mat-form-field",11)(1,"mat-label")(2,"uds-translate"),f(3,"Repeat every"),d()(),l(4,"input",8),H("ngModelChange",function(o){y(e);let r=_();return W(r.rule.interval,o)||(r.rule.interval=o),C(o)}),d(),l(5,"div",23),f(6),d()()}if(t&2){let e=_();u(4),U("ngModel",e.rule.interval),u(2),P("\xA0",e.frequency(),"")}}var Bg={DAILY:[django.gettext("day"),django.gettext("days"),django.gettext("Daily")],WEEKLY:[django.gettext("week"),django.gettext("weeks"),django.gettext("Weekly")],MONTHLY:[django.gettext("month"),django.gettext("months"),django.gettext("Monthly")],YEARLY:[django.gettext("year"),django.gettext("years"),django.gettext("Yearly")],WEEKDAYS:["","",django.gettext("Weekdays")],NEVER:["","",django.gettext("Never")]},jg={MINUTES:django.gettext("Minutes"),HOURS:django.gettext("Hours"),DAYS:django.gettext("Days"),WEEKS:django.gettext("Weeks")},NR=[django.gettext("Sunday"),django.gettext("Monday"),django.gettext("Tuesday"),django.gettext("Wednesday"),django.gettext("Thursday"),django.gettext("Friday"),django.gettext("Saturday")],LR=(t,i=!1)=>{let e=new Array;for(let n=0;n<7;n++)t&1&&e.push(NR[n].substr(0,i?100:3)),t>>=1;return e.length?e.join(", "):django.gettext("(no days)")},VR=t=>{t.frequency==="WEEKDAYS"?t.interval=LR(t.interval):t.interval=t.interval+" "+Bg[t.frequency][django.pluralidx(t.interval)],t.duration=t.duration+" "+jg[t.duration_unit]},ww=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.dunits=Object.keys(jg).map(a=>({id:a,value:jg[a]})),this.freqs=Object.keys(Bg).map(a=>({id:a,value:Bg[a][2]})),this.weekDays=NR.map((a,s)=>({id:1<{if(this.rule=e,this.startDate=new Date(this.rule.start*1e3),this.startTime=this.startDate.toTimeString().split(":").splice(0,2).join(":"),this.endDate=this.rule.end?new Date(this.rule.end*1e3):null,this.rule.frequency==="WEEKDAYS"){let n=[];for(let o=0;o<7;o++){let r=1<this.rule.interval+=n),this.rule.interval===0)?django.gettext("Week days"):null}summary(){let e=django.gettext("Invalid or incomplete rule. Please, fix field $FIELD"),n=H0(django.get_format("SHORT_DATE_FORMAT")),o=this.updateRuleData();if(o===null){e=django.gettext("This rule will be valid every"),this.rule.frequency==="WEEKDAYS"?e+=" "+LR(this.rule.interval,!0)+" "+django.gettext("of any week"):e+=" "+ +this.rule.interval+" "+this.frequency();let r=new Date(this.rule.start*1e3);e+=", "+django.gettext("from")+" "+pa(n,r),this.rule.end?e+=" "+django.gettext("until")+" "+pa(n,new Date(this.rule.end*1e3)):e+=" "+django.gettext("onwards"),e+=", "+django.gettext("starting at")+" "+r.toTimeString().split(":").slice(0,2).join(":"),+this.rule.duration>0?e+=" "+django.gettext("and every event will be active for")+" "+this.rule.duration+" "+jg[this.rule.duration_unit]:e+=django.gettext("with no duration")}return e.replace("$FIELD",o)}save(){this.rules.save(this.rule).then(()=>{this.dialogRef.close(),this.onSave.emit(!0)})}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(J),w(Ae),w(Be))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-calendar-rule"]],standalone:!1,decls:75,vars:25,consts:[["startDatePicker",""],["endDatePicker",""],["mat-dialog-title",""],[4,"ngIf"],[1,"content"],["matInput","","type","text",3,"ngModelChange","ngModel"],[1,"oneThird"],["matInput","","type","time",3,"ngModelChange","ngModel"],["matInput","","type","number",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],[1,"oneHalf"],["matInput","",3,"ngModelChange","matDatepicker","ngModel"],["matSuffix","",3,"for"],["matInput","",3,"ngModelChange","matDatepicker","ngModel","placeholder"],[1,"weekdays"],[3,"ngModelChange","valueChange","ngModel"],["class","oneHalf",4,"ngIf"],[1,"info"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click","disabled"],[3,"value"],["multiple","",3,"ngModelChange","ngModel"],["matSuffix",""]],template:function(n,o){if(n&1){let r=A();l(0,"h4",2),x(1,nq,2,0,"uds-translate",3),_t(2,"notEmpty"),x(3,iq,2,0,"uds-translate",3),_t(4,"isEmpty"),d(),l(5,"mat-dialog-content")(6,"div",4)(7,"mat-form-field")(8,"mat-label")(9,"uds-translate"),f(10,"Name"),d()(),l(11,"input",5),H("ngModelChange",function(s){return y(r),W(o.rule.name,s)||(o.rule.name=s),C(s)}),d()(),l(12,"mat-form-field")(13,"mat-label")(14,"uds-translate"),f(15,"Comments"),d()(),l(16,"input",5),H("ngModelChange",function(s){return y(r),W(o.rule.comments,s)||(o.rule.comments=s),C(s)}),d()(),l(17,"h3")(18,"uds-translate"),f(19,"Event"),d()(),l(20,"mat-form-field",6)(21,"mat-label")(22,"uds-translate"),f(23,"Start time"),d()(),l(24,"input",7),H("ngModelChange",function(s){return y(r),W(o.startTime,s)||(o.startTime=s),C(s)}),d()(),l(25,"mat-form-field",6)(26,"mat-label")(27,"uds-translate"),f(28,"Duration"),d()(),l(29,"input",8),H("ngModelChange",function(s){return y(r),W(o.rule.duration,s)||(o.rule.duration=s),C(s)}),d()(),l(30,"mat-form-field",6)(31,"mat-label")(32,"uds-translate"),f(33,"Duration units"),d()(),l(34,"mat-select",9),H("ngModelChange",function(s){return y(r),W(o.rule.duration_unit,s)||(o.rule.duration_unit=s),C(s)}),x(35,oq,2,2,"mat-option",10),d()(),l(36,"h3"),f(37," Repetition "),d(),l(38,"mat-form-field",11)(39,"mat-label")(40,"uds-translate"),f(41," Start date "),d()(),l(42,"input",12),H("ngModelChange",function(s){return y(r),W(o.startDate,s)||(o.startDate=s),C(s)}),d(),M(43,"mat-datepicker-toggle",13)(44,"mat-datepicker",null,0),d(),l(46,"mat-form-field",11)(47,"mat-label")(48,"uds-translate"),f(49," Repeat until date "),d()(),l(50,"input",14),H("ngModelChange",function(s){return y(r),W(o.endDate,s)||(o.endDate=s),C(s)}),d(),M(51,"mat-datepicker-toggle",13)(52,"mat-datepicker",null,1),d(),l(54,"div",15)(55,"mat-form-field",11)(56,"mat-label")(57,"uds-translate"),f(58,"Frequency"),d()(),l(59,"mat-select",16),H("ngModelChange",function(s){return y(r),W(o.rule.frequency,s)||(o.rule.frequency=s),C(s)}),b("valueChange",function(){return y(r),C(o.rule.interval=1)}),x(60,rq,2,2,"mat-option",10),d()(),x(61,sq,6,2,"mat-form-field",17)(62,lq,7,2,"mat-form-field",17),d(),l(63,"h3")(64,"uds-translate"),f(65,"Summary"),d()(),l(66,"div",18),f(67),d()()(),l(68,"mat-dialog-actions")(69,"button",19)(70,"uds-translate"),f(71,"Cancel"),d()(),l(72,"button",20),b("click",function(){return y(r),C(o.save())}),l(73,"uds-translate"),f(74,"Ok"),d()()()}if(n&2){let r=ge(45),a=ge(53);u(),h("ngIf",Ct(2,21,o.rule.id)),u(2),h("ngIf",Ct(4,23,o.rule.id)),u(8),U("ngModel",o.rule.name),u(5),U("ngModel",o.rule.comments),u(8),U("ngModel",o.startTime),u(5),U("ngModel",o.rule.duration),u(5),U("ngModel",o.rule.duration_unit),u(),h("ngForOf",o.dunits),u(7),h("matDatepicker",r),U("ngModel",o.startDate),u(),h("for",r),u(7),h("matDatepicker",a),U("ngModel",o.endDate),h("placeholder",o.FOREVER_STRING),u(),h("for",a),u(8),U("ngModel",o.rule.frequency),u(),h("ngForOf",o.freqs),u(),h("ngIf",o.rule.frequency==="WEEKDAYS"),u(),h("ngIf",o.rule.frequency!=="WEEKDAYS"&&o.rule.frequency!=="NEVER"),u(5),P(" ",o.summary()," "),u(5),h("disabled",o.updateRuleData()!==null||o.rule.name==="")}},dependencies:[Fe,de,st,zi,ve,be,Se,jt,We,$e,Ge,me,Te,Hi,pt,ht,Qe,Vg,nc,pu,ae,ZA,fn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]:not(.oneThird):not(.oneHalf){width:100%}.mat-mdc-form-field.oneThird[_ngcontent-%COMP%]{width:31%;margin-right:2%}.mat-mdc-form-field.oneHalf[_ngcontent-%COMP%]{width:48%;margin-right:2%}h3[_ngcontent-%COMP%]{width:100%;margin-top:.3rem;margin-bottom:1rem}.weekdays[_ngcontent-%COMP%]{width:100%;display:flex;align-items:flex-end}.label-weekdays[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0;line-height:18px;overflow:hidden;pointer-events:none;position:absolute;text-align:left;text-overflow:ellipsis;top:.5em;transform:matrix(.75,0,0,.75,0,-21.5);transform-origin:0px 0px;white-space:nowrap}.mat-datepicker-toggle[_ngcontent-%COMP%]{color:#00f}.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#23238580;color:#fff}"]})}}return t})();var cq=t=>["/pools","calendars",t];function dq(t,i){t&1&&(l(0,"uds-translate"),f(1,"Rules"),d())}function uq(t,i){if(t&1){let e=A();l(0,"div",6)(1,"div",7)(2,"mat-tab-group",8)(3,"mat-tab"),x(4,dq,2,0,"ng-template",9),l(5,"div",10)(6,"uds-table",11),b("newAction",function(o){y(e);let r=_();return C(r.onNewRule(o))})("editAction",function(o){y(e);let r=_();return C(r.onEditRule(o))})("deleteAction",function(o){y(e);let r=_();return C(r.onDeleteRule(o))}),d()()()()()()}if(t&2){let e=_();u(2),h("@.disabled",!0),u(4),h("rest",e.calendarRules)("multiSelect",!0)("allowExport",!0)("onItem",e.processElement)("tableId","calendars-d-rules"+e.calendar.id)("pageSize",e.api.config.admin.page_size)}}var BR=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o,this.calendarRules={}}ngOnInit(){let e=this.route.snapshot.paramMap.get("calendar");e&&this.rest.calendars.get(e).then(n=>{this.calendar=n,this.calendarRules=this.rest.calendars.detail(n.id,"rules")})}onNewRule(e){ww.launch(this.api,this.calendarRules).subscribe(()=>e.table.overview())}onEditRule(e){ww.launch(this.api,this.calendarRules,e.table.selection.selected[0]).subscribe(()=>e.table.overview())}onDeleteRule(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete calendar rule"))}processElement(e){VR(e)}static{this.\u0275fac=function(n){return new(n||t)(w(Ie),w(J),w(z))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-calendars-detail"]],standalone:!1,decls:10,vars:8,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary"],["mat-tab-label",""],[1,"content"],["icon","pools",3,"newAction","editAction","deleteAction","rest","multiSelect","allowExport","onItem","tableId","pageSize"]],template:function(n,o){n&1&&(l(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),f(4,"arrow_back"),d()(),f(5," \xA0"),M(6,"img",4),f(7),d(),x(8,uq,7,7,"div",5),_t(9,"notEmpty"),d()),n&2&&(u(2),h("routerLink",Jn(6,cq,o.calendar?o.calendar.id:"")),u(4),h("src",o.api.staticURL("admin/img/icons/calendars.png"),Ce),u(),P(" ",o.calendar==null?null:o.calendar.name," "),u(),h("ngIf",Ct(9,4,o.calendar)))},dependencies:[de,ln,Qt,Kt,Jt,ae,xe,fn],styles:[".mat-column-start, .mat-column-end{max-width:9rem} .mat-column-frequency{max-width:9rem} .mat-column-interval, .mat-column-duration{max-width:11rem}"]})}}return t})();var mq='event'+django.gettext("Set time mark")+"",xw=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o,this.cButtons=[{id:"timemark",html:mq,type:ot.SINGLE_SELECT}]}get customButtons(){return this.api.user.isAdmin?this.cButtons:[]}ngOnInit(){}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New account"))}onEdit(e){this.api.gui.forms.typedEditForm(e,django.gettext("Edit account"))}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete account"))}onTimeMark(e){let n=e.table.selection.selected[0];this.api.gui.questionDialog(django.gettext("Time mark"),django.gettext("Set time mark for $NAME to current date/time?").replace("$NAME",n.name)).then(o=>{o&&this.rest.accounts.timemark(n.id).then(()=>{this.api.gui.snackbar.open(django.gettext("Time mark stablished"),django.gettext("dismiss"),{duration:2e3}),e.table.overview()})})}onDetail(e){this.api.navigation.gotoAccountDetail(e.param.id)}onLoad(e){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("account"))}processElement(e){e.time_mark=e.time_mark===78793200?django.gettext("No time mark"):Nn("SHORT_DATE_FORMAT",e.time_mark)}static{this.\u0275fac=function(n){return new(n||t)(w(Ie),w(J),w(z))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-accounts"]],standalone:!1,decls:1,vars:7,consts:[["icon","accounts",3,"customButtonAction","newAction","editAction","deleteAction","detailAction","loaded","rest","multiSelect","allowExport","hasPermissions","customButtons","pageSize","onItem"]],template:function(n,o){n&1&&(l(0,"uds-table",0),b("customButtonAction",function(a){return o.onTimeMark(a)})("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("detailAction",function(a){return o.onDetail(a)})("loaded",function(a){return o.onLoad(a)}),d()),n&2&&h("rest",o.rest.accounts)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("customButtons",o.customButtons)("pageSize",o.api.config.admin.page_size)("onItem",o.processElement)},dependencies:[xe],encapsulation:2})}}return t})();var pq=t=>["/pools","accounts",t];function hq(t,i){t&1&&(l(0,"uds-translate"),f(1,"Account usage"),d())}function fq(t,i){if(t&1){let e=A();l(0,"div",6)(1,"div",7)(2,"mat-tab-group",8)(3,"mat-tab"),x(4,hq,2,0,"ng-template",9),l(5,"div",10)(6,"uds-table",11),b("deleteAction",function(o){y(e);let r=_();return C(r.onDeleteUsage(o))}),d()()()()()()}if(t&2){let e=_();u(2),h("@.disabled",!0),u(4),h("rest",e.accountUsage)("multiSelect",!0)("allowExport",!0)("onItem",e.processElement)("tableId","account-d-usage"+e.account.id)}}var jR=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o,this.accountUsage={}}ngOnInit(){let e=this.route.snapshot.paramMap.get("account");e&&this.rest.accounts.get(e).then(n=>{this.account=n,this.accountUsage=this.rest.accounts.detail(n.id,"usage")})}onDeleteUsage(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete account usage"))}processElement(e){e.running=this.api.boolAsHumanString(e.running)}static{this.\u0275fac=function(n){return new(n||t)(w(Ie),w(J),w(z))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-accounts-detail"]],standalone:!1,decls:10,vars:8,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary"],["mat-tab-label",""],[1,"content"],["icon","accounts",3,"deleteAction","rest","multiSelect","allowExport","onItem","tableId"]],template:function(n,o){n&1&&(l(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),f(4,"arrow_back"),d()(),f(5," \xA0"),M(6,"img",4),f(7),d(),x(8,fq,7,6,"div",5),_t(9,"notEmpty"),d()),n&2&&(u(2),h("routerLink",Jn(6,pq,o.account?o.account.id:"")),u(4),h("src",o.api.staticURL("admin/img/icons/accounts.png"),Ce),u(),P(" ",o.account==null?null:o.account.name," "),u(),h("ngIf",Ct(9,4,o.account)))},dependencies:[de,ln,Qt,Kt,Jt,ae,xe,fn],encapsulation:2})}}return t})();function gq(t,i){t&1&&(l(0,"uds-translate"),f(1,"New image for"),d())}function _q(t,i){t&1&&(l(0,"uds-translate"),f(1,"Edit for"),d())}var Dw=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.onSave=new T(!0),this.preview="",this.image={id:void 0,data:"",name:""},r.image&&(this.image.id=r.image.id)}static launch(e,n=null){let o=window.innerWidth<800?"60%":"40%";return e.gui.dialog.open(t,{width:o,position:{top:window.innerWidth<800?"0px":"7rem"},data:{image:n},disableClose:!0}).componentInstance.onSave}onFileChanged(e){let n=e.target;if(!n.files||n.files.length===0)return;let o=n.files[0];if(o.size>256*1024){this.api.gui.alert(django.gettext("Error"),django.gettext("Image is too big (max. upload size is 256Kb)"));return}if(!["image/jpeg","image/png","image/gif"].includes(o.type)){this.api.gui.alert(django.gettext("Error on upload"),django.gettext("Invalid image type. Supported types are: JPEG, PNG and GIF"));return}let r=new FileReader;r.onload=a=>{let s=r.result;this.preview=s,this.image.data=s.substr(s.indexOf("base64,")+7),this.image.name||(this.image.name=o.name)},r.readAsDataURL(o)}ngOnInit(){this.image.id&&this.rest.gallery.get(this.image.id).then(e=>{switch(this.image=e,this.image.data.substr(2)){case"iV":this.preview="data:image/png;base64,"+this.image.data;break;case"/9":this.preview="data:image/jpeg;base64,"+this.image.data;break;default:this.preview="data:image/gif;base64,"+this.image.data}})}background(){let e=this.api.config.image_size[0],n=this.api.config.image_size[1],o={"width.px":e,"height.px":n,"background-size":e+"px "+n+"px","background-image":"none"};return this.preview&&(o["background-image"]="url("+this.preview+")"),o}save(){if(!this.image.name||!this.image.data){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, provide a name and a image"));return}this.rest.gallery.save(this.image).then(()=>{this.api.gui.snackbar.open(django.gettext("Successfully saved"),django.gettext("dismiss"),{duration:2e3}),this.dialogRef.close(),this.onSave.emit(!0)})}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(J),w(Ae),w(Be))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-gallery-image"]],standalone:!1,decls:32,vars:7,consts:[["fileInput",""],["mat-dialog-title",""],[4,"ngIf"],[1,"content"],["matInput","","type","text",3,"ngModelChange","ngModel"],["type","file",2,"display","none",3,"change"],["matInput","","type","text",3,"click","hidden"],[1,"preview",3,"click"],[1,"image-preview",3,"ngStyle"],[1,"help"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"]],template:function(n,o){if(n&1){let r=A();l(0,"h4",1),x(1,gq,2,0,"uds-translate",2)(2,_q,2,0,"uds-translate",2),d(),l(3,"mat-dialog-content")(4,"div",3)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),f(8,"Image name"),d()(),l(9,"input",4),H("ngModelChange",function(s){return y(r),W(o.image.name,s)||(o.image.name=s),C(s)}),d()(),l(10,"input",5,0),b("change",function(s){return y(r),C(o.onFileChanged(s))}),d(),l(12,"mat-form-field")(13,"mat-label")(14,"uds-translate"),f(15,"Image (click to change)"),d()(),l(16,"input",6),b("click",function(){y(r);let s=ge(11);return C(s.click())}),d(),l(17,"div",7),b("click",function(){y(r);let s=ge(11);return C(s.click())}),M(18,"div",8),d()(),l(19,"div",9)(20,"uds-translate"),f(21,' For optimal results, use "squared" images. '),d(),l(22,"uds-translate"),f(23," The image will be resized on upload to "),d(),f(24),d()()(),l(25,"mat-dialog-actions")(26,"button",10)(27,"uds-translate"),f(28,"Cancel"),d()(),l(29,"button",11),b("click",function(){return y(r),C(o.save())}),l(30,"uds-translate"),f(31,"Ok"),d()()()}n&2&&(u(),h("ngIf",!o.image.id),u(),h("ngIf",o.image.id),u(7),U("ngModel",o.image.name),u(7),h("hidden",!0),u(2),h("ngStyle",o.background()),u(6),Ji(" ",o.api.config.image_size[0],"x",o.api.config.image_size[1]," "))},dependencies:[de,Ty,st,ve,be,Se,jt,We,$e,Ge,me,Te,pt,ae],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.preview[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;width:100%}.image-preview[_ngcontent-%COMP%]{background-color:#0000004d}"]})}}return t})();var Sw=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o}ngOnInit(){}onNew(e){Dw.launch(this.api).subscribe(()=>e.table.overview())}onEdit(e){Dw.launch(this.api,e.table.selection.selected[0]).subscribe(()=>e.table.overview())}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete image"))}onLoad(e){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("image"))}static{this.\u0275fac=function(n){return new(n||t)(w(Ie),w(J),w(z))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-gallery"]],standalone:!1,decls:1,vars:5,consts:[["icon","gallery",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(n,o){n&1&&(l(0,"uds-table",0),b("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("loaded",function(a){return o.onLoad(a)}),d()),n&2&&h("rest",o.rest.gallery)("multiSelect",!0)("allowExport",!0)("hasPermissions",!1)("pageSize",o.api.config.admin.page_size)},dependencies:[xe],styles:[".mat-column-thumb{max-width:7rem;justify-content:center} .mat-column-name{max-width:32rem}"]})}}return t})();var zR=lc(su());var vq='assessment'+django.gettext("Generate report")+"",UR=(()=>{class t{constructor(e,n){this.rest=e,this.api=n,this.customButtons=[{id:"genreport",html:vq,type:ot.SINGLE_SELECT}]}ngOnInit(){}generateReport(e){return V(this,null,function*(){let n=new Yt;this.api.gui.forms.typedForm(e,django.gettext("Generate report"),!1,[],void 0,e.table.selection.selected[0].id,{save:n});let o=yield n;this.api.gui.snackbar.open(django.gettext("Generating report..."));let r=yield this.rest.reports.save(o,e.table.selection.selected[0].id),a=r.encoded?window.atob(r.data):r.data,s=a.length,c=new Uint8Array(s);for(let g=0;g{(0,zR.saveAs)(p,r.filename,{autoBom:!1})})})}static{this.\u0275fac=function(n){return new(n||t)(w(J),w(z))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-reports"]],standalone:!1,decls:1,vars:6,consts:[["icon","reports",3,"customButtonAction","rest","multiSelect","allowExport","hasPermissions","customButtons","pageSize"]],template:function(n,o){n&1&&(l(0,"uds-table",0),b("customButtonAction",function(a){return o.generateReport(a)}),d()),n&2&&h("rest",o.rest.reports)("multiSelect",!1)("allowExport",!1)("hasPermissions",!1)("customButtons",o.customButtons)("pageSize",o.api.config.admin.page_size)},dependencies:[xe],styles:[".mat-column-group{max-width:16rem} .mat-column-name{max-width:32rem}"]})}}return t})();var HR=(()=>{class t{constructor(e,n){this.api=e,this.rest=n}ngOnInit(){}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New Notifier"),!1)}onEdit(e){this.api.gui.forms.typedEditForm(e,django.gettext("Edit Notifier"),!1)}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete actor token - USE WITH EXTREME CAUTION!!!"))}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(J))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-notifiers"]],standalone:!1,decls:2,vars:4,consts:[["icon","accounts",3,"newAction","editAction","deleteAction","rest","multiSelect","allowExport","pageSize"]],template:function(n,o){n&1&&(l(0,"div")(1,"uds-table",0),b("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)}),d()()),n&2&&(u(),h("rest",o.rest.notifiers)("multiSelect",!0)("allowExport",!0)("pageSize",o.api.config.admin.page_size))},dependencies:[xe],encapsulation:2})}}return t})();function bq(t,i){if(t&1&&f(0),t&2){let e=_().$implicit;P(" ",e," ")}}function yq(t,i){if(t&1){let e=A();l(0,"div")(1,"mat-form-field")(2,"mat-label"),f(3),d(),l(4,"input",18),H("ngModelChange",function(o){y(e);let r=_(2).$implicit,a=_().$implicit,s=_(2);return W(s.config[a][r].value,o)||(s.config[a][r].value=o),C(o)}),d()()()}if(t&2){let e=_(2).$implicit,n=_().$implicit,o=_(2);u(3),Ve(e),u(),h("type",o.config[n][e].crypt?"password":"text"),U("ngModel",o.config[n][e].value),h("matTooltip",o.config[n][e].help)}}function Cq(t,i){if(t&1){let e=A();l(0,"div")(1,"mat-form-field")(2,"mat-label"),f(3),d(),l(4,"textarea",19),H("ngModelChange",function(o){y(e);let r=_(2).$implicit,a=_().$implicit,s=_(2);return W(s.config[a][r].value,o)||(s.config[a][r].value=o),C(o)}),d()()()}if(t&2){let e=_(2).$implicit,n=_().$implicit,o=_(2);u(3),Ve(e),u(),U("ngModel",o.config[n][e].value),h("matTooltip",o.config[n][e].help)}}function wq(t,i){if(t&1){let e=A();l(0,"div")(1,"mat-form-field")(2,"mat-label"),f(3),d(),l(4,"input",20),H("ngModelChange",function(o){y(e);let r=_(2).$implicit,a=_().$implicit,s=_(2);return W(s.config[a][r].value,o)||(s.config[a][r].value=o),C(o)}),d()()()}if(t&2){let e=_(2).$implicit,n=_().$implicit,o=_(2);u(3),Ve(e),u(),U("ngModel",o.config[n][e].value),h("matTooltip",o.config[n][e].help)}}function xq(t,i){if(t&1){let e=A();l(0,"div")(1,"div",21)(2,"mat-slide-toggle",22),H("ngModelChange",function(o){y(e);let r=_(2).$implicit,a=_().$implicit,s=_(2);return W(s.config[a][r].value,o)||(s.config[a][r].value=o),C(o)}),f(3),d()()()}if(t&2){let e=_(2).$implicit,n=_().$implicit,o=_(2);u(2),U("ngModel",o.config[n][e].value),h("matTooltip",o.config[n][e].help),u(),P(" ",e," ")}}function Dq(t,i){if(t&1&&(l(0,"mat-option",24),f(1),d()),t&2){let e=i.$implicit;h("value",e),u(),P(" ",e," ")}}function Sq(t,i){if(t&1){let e=A();l(0,"div")(1,"mat-form-field")(2,"mat-label"),f(3),d(),l(4,"mat-select",22),H("ngModelChange",function(o){y(e);let r=_(2).$implicit,a=_().$implicit,s=_(2);return W(s.config[a][r].value,o)||(s.config[a][r].value=o),C(o)}),x(5,Dq,2,2,"mat-option",23),d()()()}if(t&2){let e=_(2).$implicit,n=_().$implicit,o=_(2);u(3),P(" ",e," "),u(),U("ngModel",o.config[n][e].value),h("matTooltip",o.config[n][e].help),u(),h("ngForOf",o.config[n][e].params)}}function Eq(t,i){if(t&1){let e=A();l(0,"div")(1,"mat-form-field")(2,"mat-label"),f(3),d(),l(4,"input",25),H("ngModelChange",function(o){y(e);let r=_(2).$implicit,a=_().$implicit,s=_(2);return W(s.config[a][r].value,o)||(s.config[a][r].value=o),C(o)}),d()()()}if(t&2){let e=_(2).$implicit,n=_().$implicit,o=_(2);u(3),Ve(e),u(),U("ngModel",o.config[n][e].value),h("matTooltip",o.config[n][e].help)}}function Mq(t,i){t&1&&vn(0)}function Iq(t,i){if(t&1){let e=A();l(0,"div")(1,"mat-form-field")(2,"mat-label"),f(3),d(),l(4,"input",26),H("ngModelChange",function(o){y(e);let r=_(2).$implicit,a=_().$implicit,s=_(2);return W(s.config[a][r].value,o)||(s.config[a][r].value=o),C(o)}),d()()()}if(t&2){let e=_(2).$implicit,n=_().$implicit,o=_(2);u(3),Ve(e),u(),U("ngModel",o.config[n][e].value),h("matTooltip",o.config[n][e].help)}}function Tq(t,i){if(t&1){let e=A();l(0,"div")(1,"mat-form-field")(2,"mat-label"),f(3),d(),l(4,"input",27),H("ngModelChange",function(o){y(e);let r=_(2).$implicit,a=_().$implicit,s=_(2);return W(s.config[a][r].value,o)||(s.config[a][r].value=o),C(o)}),d()()()}if(t&2){let e=_(2).$implicit,n=_().$implicit,o=_(2);u(3),Ve(e),u(),U("ngModel",o.config[n][e].value),h("matTooltip",o.config[n][e].help)}}function kq(t,i){if(t&1&&(dt(0,15),x(1,yq,5,4,"div",16)(2,Cq,5,3,"div",16)(3,wq,5,3,"div",16)(4,xq,4,3,"div",16)(5,Sq,6,4,"div",16)(6,Eq,5,3,"div",16)(7,Mq,1,0,"ng-container",16)(8,Iq,5,3,"div",16)(9,Tq,5,3,"div",17),ut()),t&2){let e=_().$implicit,n=_().$implicit,o=_(2);h("ngSwitch",o.config[n][e].type),u(),h("ngSwitchCase",0),u(),h("ngSwitchCase",1),u(),h("ngSwitchCase",2),u(),h("ngSwitchCase",3),u(),h("ngSwitchCase",4),u(),h("ngSwitchCase",5),u(),h("ngSwitchCase",6),u(),h("ngSwitchCase",7)}}function Aq(t,i){if(t&1&&(l(0,"div",13),x(1,kq,10,9,"ng-container",14),d()),t&2){let e=i.$implicit,n=_().$implicit,o=_(2);u(),h("ngIf",o.config[n][e])}}function Rq(t,i){if(t&1&&(l(0,"mat-tab"),x(1,bq,1,1,"ng-template",10),l(2,"div",11),x(3,Aq,2,1,"div",12),d()()),t&2){let e=i.$implicit,n=_(2);u(3),h("ngForOf",n.configElements(e))}}function Oq(t,i){if(t&1){let e=A();l(0,"div",4)(1,"div",5)(2,"mat-tab-group",6),x(3,Rq,4,1,"mat-tab",7),d(),l(4,"div",8)(5,"button",9),b("click",function(){y(e);let o=_();return C(o.save())}),l(6,"uds-translate"),f(7,"Save"),d()()()()()}if(t&2){let e=_();u(2),h("@.disabled",!0),u(),h("ngForOf",e.sections())}}var WR=["UDS","Security"],GR=["UDS ID"],$R=(()=>{class t{constructor(e,n){this.rest=e,this.api=n}ngOnInit(){this.rest.configuration.overview().then(e=>{this.config=e;for(let n in this.config)if(this.config.hasOwnProperty(n)){for(let o in this.config[n])if(this.config[n].hasOwnProperty(o)){let r=this.config[n][o];r.type===7?r.value='\u20ACfa{}#42123~#||23|\xDF\xF0\u0111\xE6"':r.type===3&&(r.value=!!["1",1,!0].includes(r.value)),r.original_value=r.value}}})}sections(){let e=[];for(let n in this.config)this.config.hasOwnProperty(n)&&!WR.includes(n)&&e.push(n);return e=e.sort((n,o)=>n.localeCompare(o)),e.unshift.apply(e,WR),e}configElements(e){let n=[],o=this.config[e];if(o)for(let r in o)o.hasOwnProperty(r)&&!(e==="UDS"&&GR.includes(r))&&n.push(r);return n=n.sort((r,a)=>r.localeCompare(a)),e==="UDS"&&n.unshift.apply(n,GR),n}save(){let e={};for(let n in this.config)if(this.config.hasOwnProperty(n)){for(let o in this.config[n])if(this.config[n].hasOwnProperty(o)){let r=this.config[n][o];if(r.original_value!==r.value){r.original_value=r.value,e[n]||(e[n]={});let a=r.value;r.type===3&&(a=["1",1,!0].includes(r.value)?"1":"0"),e[n][o]={value:a}}}}this.rest.configuration.save(e).then(()=>{this.api.gui.snackbar.open(django.gettext("Configuration saved"),django.gettext("dismiss"),{duration:2e3})})}static{this.\u0275fac=function(n){return new(n||t)(w(J),w(z))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-configuration"]],standalone:!1,decls:8,vars:4,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary"],[4,"ngFor","ngForOf"],[1,"config-footer"],["mat-raised-button","","color","primary",3,"click"],["mat-tab-label",""],[1,"content"],["class","field",4,"ngFor","ngForOf"],[1,"field"],[3,"ngSwitch",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["matInput","",3,"ngModelChange","type","ngModel","matTooltip"],["matInput","",3,"ngModelChange","ngModel","matTooltip"],["matInput","","type","number",3,"ngModelChange","ngModel","matTooltip"],[1,"toggle"],[3,"ngModelChange","ngModel","matTooltip"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["matInput","","type","text","readonly","readonly",3,"ngModelChange","ngModel","matTooltip"],["matInput","","type","password",3,"ngModelChange","ngModel","matTooltip"],["matInput","","type","text",3,"ngModelChange","ngModel","matTooltip"]],template:function(n,o){n&1&&(l(0,"div",0)(1,"div",1),M(2,"img",2),f(3,"\xA0"),l(4,"uds-translate"),f(5,"UDS Configuration"),d()(),x(6,Oq,8,2,"div",3),_t(7,"notEmpty"),d()),n&2&&(u(2),h("src",o.api.staticURL("admin/img/icons/configuration.png"),Ce),u(4),h("ngIf",Ct(7,2,o.config)))},dependencies:[Fe,de,Qa,qc,Iy,st,zi,ve,be,Se,To,me,Te,pt,ht,Qe,Qt,Kt,Jt,cr,ae,fn],styles:[".content[_ngcontent-%COMP%]{margin-top:2rem}.field[_ngcontent-%COMP%]{display:flex;justify-content:center;width:100%}.field[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:50%}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}input[readonly][_ngcontent-%COMP%]{background-color:#e0e0e0}.slider-label[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0;line-height:18px;overflow:hidden;pointer-events:none;position:absolute;text-align:left;text-overflow:ellipsis;top:.5em;transform:matrix(.75,0,0,.75,0,-21.5);transform-origin:0px 0px;white-space:nowrap}.config-footer[_ngcontent-%COMP%]{display:flex;justify-content:center;width:100%;margin-top:2rem;margin-bottom:2rem}"]})}}return t})();var qR=(()=>{class t{constructor(e,n,o){this.api=e,this.route=n,this.rest=o}ngOnInit(){}onDelete(e){return V(this,null,function*(){yield this.api.gui.forms.deleteForm(e,django.gettext("Delete actor token - USE WITH EXTREME CAUTION!!!"))})}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(Ie),w(J))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-actor-tokens"]],standalone:!1,decls:2,vars:4,consts:[["icon","accounts",3,"deleteAction","rest","multiSelect","allowExport","pageSize"]],template:function(n,o){n&1&&(l(0,"div")(1,"uds-table",0),b("deleteAction",function(a){return o.onDelete(a)}),d()()),n&2&&(u(),h("rest",o.rest.actorToken)("multiSelect",!0)("allowExport",!0)("pageSize",o.api.config.admin.page_size))},dependencies:[xe],encapsulation:2})}}return t})();var YR=(()=>{class t{constructor(e,n,o){this.api=e,this.route=n,this.rest=o}ngOnInit(){}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete servers token - USE WITH EXTREME CAUTION!!!"))}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(Ie),w(J))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-servers-tokens"]],standalone:!1,decls:2,vars:4,consts:[["icon","proxy",3,"deleteAction","rest","multiSelect","allowExport","pageSize"]],template:function(n,o){n&1&&(l(0,"div")(1,"uds-table",0),b("deleteAction",function(a){return o.onDelete(a)}),d()()),n&2&&(u(),h("rest",o.rest.serversTokens)("multiSelect",!0)("allowExport",!0)("pageSize",o.api.config.admin.page_size))},dependencies:[xe],encapsulation:2})}}return t})();var Pq=[{path:"",canActivate:[Pk],children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:Vk},{path:"services/providers",component:qC},{path:"services/providers/:provider/detail",component:YC},{path:"services/providers/:provider",component:qC},{path:"services/providers/:provider/detail/:service",component:YC},{path:"services/servers",component:QC},{path:"services/servers/:server/detail",component:iR},{path:"services/servers/:server",component:QC},{path:"authenticators",component:KC},{path:"authenticators/:authenticator/detail",component:kg},{path:"authenticators/:authenticator",component:KC},{path:"authenticators/:authenticator/detail/groups/:group",component:kg},{path:"authenticators/:authenticator/detail/users/:user",component:kg},{path:"mfas",component:ZC},{path:"mfas/:mfa",component:ZC},{path:"osmanagers",component:nw},{path:"osmanagers/:osmanager",component:nw},{path:"connectivity/transports",component:iw},{path:"connectivity/transports/:transport",component:iw},{path:"connectivity/networks",component:ow},{path:"connectivity/networks/:network",component:ow},{path:"connectivity/tunnels",component:rw},{path:"connectivity/tunnels/:tunnel",component:rw},{path:"connectivity/tunnels/:tunnel/detail",component:uR},{path:"pools/service-pools",component:aw},{path:"pools/service-pools/:pool",component:aw},{path:"pools/service-pools/:pool/detail",component:Ng},{path:"pools/meta-pools",component:cw},{path:"pools/meta-pools/:metapool",component:cw},{path:"pools/meta-pools/:metapool/detail",component:bR},{path:"pools/pool-groups",component:uw},{path:"pools/pool-groups/:poolgroup",component:uw},{path:"pools/calendars",component:mw},{path:"pools/calendars/:calendar",component:mw},{path:"pools/calendars/:calendar/detail",component:BR},{path:"pools/accounts",component:xw},{path:"pools/accounts/:account",component:xw},{path:"pools/accounts/:account/detail",component:jR},{path:"tools/gallery",component:Sw},{path:"tools/gallery/:image",component:Sw},{path:"tools/reports",component:UR},{path:"tools/notifiers",component:HR},{path:"tools/tokens/actor",component:qR},{path:"tools/tokens/server",component:YR},{path:"tools/configuration",component:$R}]}],QR=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=Z({imports:[wh.forRoot(Pq,{}),wh]})}}return t})();var ft=(function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t})(ft||{}),Ro="*";function KR(t,i=null){return{type:ft.Sequence,steps:t,options:i}}function Ew(t){return{type:ft.Style,styles:t,offset:null}}var Vr=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(i=0,e=0){this.totalTime=i+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}onStart(i){this._originalOnStartFns.push(i),this._onStartFns.push(i)}onDone(i){this._originalOnDoneFns.push(i),this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(i=>i()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(i=>i()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(i){this._position=this.totalTime?i*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(i){let e=i=="start"?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}},ic=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(i){this.players=i;let e=0,n=0,o=0,r=this.players.length;r==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==r&&this._onFinish()}),a.onDestroy(()=>{++n==r&&this._onDestroy()}),a.onStart(()=>{++o==r&&this._onStart()})}),this.totalTime=this.players.reduce((a,s)=>Math.max(a,s.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}init(){this.players.forEach(i=>i.init())}onStart(i){this._onStartFns.push(i)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(i=>i()),this._onStartFns=[])}onDone(i){this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(i=>i.play())}pause(){this.players.forEach(i=>i.pause())}restart(){this.players.forEach(i=>i.restart())}finish(){this._onFinish(),this.players.forEach(i=>i.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(i=>i.destroy()),this._onDestroyFns.forEach(i=>i()),this._onDestroyFns=[])}reset(){this.players.forEach(i=>i.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(i){let e=i*this.totalTime;this.players.forEach(n=>{let o=n.totalTime?Math.min(1,e/n.totalTime):1;n.setPosition(o)})}getPosition(){let i=this.players.reduce((e,n)=>e===null||n.totalTime>e.totalTime?n:e,null);return i!=null?i.getPosition():0}beforeDestroy(){this.players.forEach(i=>{i.beforeDestroy&&i.beforeDestroy()})}triggerCallback(i){let e=i=="start"?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}},hu="!";function ZR(t){return new $(3e3,!1)}function Fq(){return new $(3100,!1)}function Nq(){return new $(3101,!1)}function Lq(t){return new $(3001,!1)}function Vq(t){return new $(3003,!1)}function Bq(t){return new $(3004,!1)}function JR(t,i){return new $(3005,!1)}function eO(){return new $(3006,!1)}function tO(){return new $(3007,!1)}function nO(t,i){return new $(3008,!1)}function iO(t){return new $(3002,!1)}function oO(t,i,e,n,o){return new $(3010,!1)}function rO(){return new $(3011,!1)}function aO(){return new $(3012,!1)}function sO(){return new $(3200,!1)}function lO(){return new $(3202,!1)}function cO(){return new $(3013,!1)}function dO(t){return new $(3014,!1)}function uO(t){return new $(3015,!1)}function mO(t){return new $(3016,!1)}function pO(t,i){return new $(3404,!1)}function jq(t){return new $(3502,!1)}function hO(t){return new $(3503,!1)}function fO(){return new $(3300,!1)}function gO(t){return new $(3504,!1)}function _O(t){return new $(3301,!1)}function vO(t,i){return new $(3302,!1)}function bO(t){return new $(3303,!1)}function yO(t,i){return new $(3400,!1)}function CO(t){return new $(3401,!1)}function wO(t){return new $(3402,!1)}function xO(t,i){return new $(3505,!1)}function Br(t){switch(t.length){case 0:return new Vr;case 1:return t[0];default:return new ic(t)}}function kw(t,i,e=new Map,n=new Map){let o=[],r=[],a=-1,s=null;if(i.forEach(c=>{let p=c.get("offset"),g=p==a,v=g&&s||new Map;c.forEach((S,D)=>{let I=D,R=S;if(D!=="offset")switch(I=t.normalizePropertyName(I,o),R){case hu:R=e.get(D);break;case Ro:R=n.get(D);break;default:R=t.normalizeStyleValue(D,I,R,o);break}v.set(I,R)}),g||r.push(v),s=v,a=p}),o.length)throw jq(o);return r}function zg(t,i,e,n){switch(i){case"start":t.onStart(()=>n(e&&Mw(e,"start",t)));break;case"done":t.onDone(()=>n(e&&Mw(e,"done",t)));break;case"destroy":t.onDestroy(()=>n(e&&Mw(e,"destroy",t)));break}}function Mw(t,i,e){let n=e.totalTime,o=!!e.disabled,r=Ug(t.element,t.triggerName,t.fromState,t.toState,i||t.phaseName,n??t.totalTime,o),a=t._data;return a!=null&&(r._data=a),r}function Ug(t,i,e,n,o="",r=0,a){return{element:t,triggerName:i,fromState:e,toState:n,phaseName:o,totalTime:r,disabled:!!a}}function ki(t,i,e){let n=t.get(i);return n||t.set(i,n=e),n}function Aw(t){let i=t.indexOf(":"),e=t.substring(1,i),n=t.slice(i+1);return[e,n]}var zq=typeof document>"u"?null:document.documentElement;function Hg(t){let i=t.parentNode||t.host||null;return i===zq?null:i}function Uq(t){return t.substring(1,6)=="ebkit"}var Ss=null,XR=!1;function DO(t){Ss||(Ss=Hq()||{},XR=Ss.style?"WebkitAppearance"in Ss.style:!1);let i=!0;return Ss.style&&!Uq(t)&&(i=t in Ss.style,!i&&XR&&(i="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Ss.style)),i}function Hq(){return typeof document<"u"?document.body:null}function Rw(t,i){for(;i;){if(i===t)return!0;i=Hg(i)}return!1}function Ow(t,i,e){if(e)return Array.from(t.querySelectorAll(i));let n=t.querySelector(i);return n?[n]:[]}var Wq=1e3,Pw="{{",Gq="}}",Fw="ng-enter",Wg="ng-leave",fu="ng-trigger",gu=".ng-trigger",Nw="ng-animating",Gg=".ng-animating";function dr(t){if(typeof t=="number")return t;let i=t.match(/^(-?[\.\d]+)(m?s)/);return!i||i.length<2?0:Iw(parseFloat(i[1]),i[2])}function Iw(t,i){return i==="s"?t*Wq:t}function _u(t,i,e){return t.hasOwnProperty("duration")?t:$q(t,i,e)}function $q(t,i,e){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,o,r=0,a="";if(typeof t=="string"){let s=t.match(n);if(s===null)return i.push(ZR(t)),{duration:0,delay:0,easing:""};o=Iw(parseFloat(s[1]),s[2]);let c=s[3];c!=null&&(r=Iw(parseFloat(c),s[4]));let p=s[5];p&&(a=p)}else o=t;if(!e){let s=!1,c=i.length;o<0&&(i.push(Fq()),s=!0),r<0&&(i.push(Nq()),s=!0),s&&i.splice(c,0,ZR(t))}return{duration:o,delay:r,easing:a}}function SO(t){return t.length?t[0]instanceof Map?t:t.map(i=>new Map(Object.entries(i))):[]}function Oo(t,i,e){i.forEach((n,o)=>{let r=$g(o);e&&!e.has(o)&&e.set(o,t.style[r]),t.style[r]=n})}function wa(t,i){i.forEach((e,n)=>{let o=$g(n);t.style[o]=""})}function oc(t){return Array.isArray(t)?t.length==1?t[0]:KR(t):t}function EO(t,i,e){let n=i.params||{},o=Lw(t);o.length&&o.forEach(r=>{n.hasOwnProperty(r)||e.push(Lq(r))})}var Tw=new RegExp(`${Pw}\\s*(.+?)\\s*${Gq}`,"g");function Lw(t){let i=[];if(typeof t=="string"){let e;for(;e=Tw.exec(t);)i.push(e[1]);Tw.lastIndex=0}return i}function rc(t,i,e){let n=`${t}`,o=n.replace(Tw,(r,a)=>{let s=i[a];return s==null&&(e.push(Vq(a)),s=""),s.toString()});return o==n?t:o}var qq=/-+([a-z0-9])/g;function $g(t){return t.replace(qq,(...i)=>i[1].toUpperCase())}function MO(t,i){return t===0||i===0}function IO(t,i,e){if(e.size&&i.length){let n=i[0],o=[];if(e.forEach((r,a)=>{n.has(a)||o.push(a),n.set(a,r)}),o.length)for(let r=1;ra.set(s,qg(t,s)))}}return i}function Ai(t,i,e){switch(i.type){case ft.Trigger:return t.visitTrigger(i,e);case ft.State:return t.visitState(i,e);case ft.Transition:return t.visitTransition(i,e);case ft.Sequence:return t.visitSequence(i,e);case ft.Group:return t.visitGroup(i,e);case ft.Animate:return t.visitAnimate(i,e);case ft.Keyframes:return t.visitKeyframes(i,e);case ft.Style:return t.visitStyle(i,e);case ft.Reference:return t.visitReference(i,e);case ft.AnimateChild:return t.visitAnimateChild(i,e);case ft.AnimateRef:return t.visitAnimateRef(i,e);case ft.Query:return t.visitQuery(i,e);case ft.Stagger:return t.visitStagger(i,e);default:throw Bq(i.type)}}function qg(t,i){return window.getComputedStyle(t)[i]}var ex=(()=>{class t{validateStyleProperty(e){return DO(e)}containsElement(e,n){return Rw(e,n)}getParentElement(e){return Hg(e)}query(e,n,o){return Ow(e,n,o)}computeStyle(e,n,o){return o||""}animate(e,n,o,r,a,s=[],c){return new Vr(o,r)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})(),Ms=class{static NOOP=new ex},Is=class{};var Yq=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"]),Xg=class extends Is{normalizePropertyName(i,e){return $g(i)}normalizeStyleValue(i,e,n,o){let r="",a=n.toString().trim();if(Yq.has(e)&&n!==0&&n!=="0")if(typeof n=="number")r="px";else{let s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&o.push(JR(i,n))}return a+r}};var Jg="*";function Qq(t,i){let e=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(n=>Kq(n,e,i)):e.push(t),e}function Kq(t,i,e){if(t[0]==":"){let c=Zq(t,e);if(typeof c=="function"){i.push(c);return}t=c}let n=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return e.push(uO(t)),i;let o=n[1],r=n[2],a=n[3];i.push(TO(o,a));let s=o==Jg&&a==Jg;r[0]=="<"&&!s&&i.push(TO(a,o))}function Zq(t,i){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,n)=>parseFloat(n)>parseFloat(e);case":decrement":return(e,n)=>parseFloat(n) *"}}var Yg=new Set(["true","1"]),Qg=new Set(["false","0"]);function TO(t,i){let e=Yg.has(t)||Qg.has(t),n=Yg.has(i)||Qg.has(i);return(o,r)=>{let a=t==Jg||t==o,s=i==Jg||i==r;return!a&&e&&typeof o=="boolean"&&(a=o?Yg.has(t):Qg.has(t)),!s&&n&&typeof r=="boolean"&&(s=r?Yg.has(i):Qg.has(i)),a&&s}}var BO=":self",Xq=new RegExp(`s*${BO}s*,?`,"g");function jO(t,i,e,n){return new Hw(t).build(i,e,n)}var kO="",Hw=class{_driver;constructor(i){this._driver=i}build(i,e,n){let o=new Ww(e);return this._resetContextStyleTimingState(o),Ai(this,oc(i),o)}_resetContextStyleTimingState(i){i.currentQuerySelector=kO,i.collectedStyles=new Map,i.collectedStyles.set(kO,new Map),i.currentTime=0}visitTrigger(i,e){let n=e.queryCount=0,o=e.depCount=0,r=[],a=[];return i.name.charAt(0)=="@"&&e.errors.push(eO()),i.definitions.forEach(s=>{if(this._resetContextStyleTimingState(e),s.type==ft.State){let c=s,p=c.name;p.toString().split(/\s*,\s*/).forEach(g=>{c.name=g,r.push(this.visitState(c,e))}),c.name=p}else if(s.type==ft.Transition){let c=this.visitTransition(s,e);n+=c.queryCount,o+=c.depCount,a.push(c)}else e.errors.push(tO())}),{type:ft.Trigger,name:i.name,states:r,transitions:a,queryCount:n,depCount:o,options:null}}visitState(i,e){let n=this.visitStyle(i.styles,e),o=i.options&&i.options.params||null;if(n.containsDynamicStyles){let r=new Set,a=o||{};n.styles.forEach(s=>{s instanceof Map&&s.forEach(c=>{Lw(c).forEach(p=>{a.hasOwnProperty(p)||r.add(p)})})}),r.size&&e.errors.push(nO(i.name,[...r.values()]))}return{type:ft.State,name:i.name,style:n,options:o?{params:o}:null}}visitTransition(i,e){e.queryCount=0,e.depCount=0;let n=Ai(this,oc(i.animation),e),o=Qq(i.expr,e.errors);return{type:ft.Transition,matchers:o,animation:n,queryCount:e.queryCount,depCount:e.depCount,options:Es(i.options)}}visitSequence(i,e){return{type:ft.Sequence,steps:i.steps.map(n=>Ai(this,n,e)),options:Es(i.options)}}visitGroup(i,e){let n=e.currentTime,o=0,r=i.steps.map(a=>{e.currentTime=n;let s=Ai(this,a,e);return o=Math.max(o,e.currentTime),s});return e.currentTime=o,{type:ft.Group,steps:r,options:Es(i.options)}}visitAnimate(i,e){let n=nY(i.timings,e.errors);e.currentAnimateTimings=n;let o,r=i.styles?i.styles:Ew({});if(r.type==ft.Keyframes)o=this.visitKeyframes(r,e);else{let a=i.styles,s=!1;if(!a){s=!0;let p={};n.easing&&(p.easing=n.easing),a=Ew(p)}e.currentTime+=n.duration+n.delay;let c=this.visitStyle(a,e);c.isEmptyStep=s,o=c}return e.currentAnimateTimings=null,{type:ft.Animate,timings:n,style:o,options:null}}visitStyle(i,e){let n=this._makeStyleAst(i,e);return this._validateStyleAst(n,e),n}_makeStyleAst(i,e){let n=[],o=Array.isArray(i.styles)?i.styles:[i.styles];for(let s of o)typeof s=="string"?s===Ro?n.push(s):e.errors.push(iO(s)):n.push(new Map(Object.entries(s)));let r=!1,a=null;return n.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(a=s.get("easing"),s.delete("easing")),!r)){for(let c of s.values())if(c.toString().indexOf(Pw)>=0){r=!0;break}}}),{type:ft.Style,styles:n,easing:a,offset:i.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(i,e){let n=e.currentAnimateTimings,o=e.currentTime,r=e.currentTime;n&&r>0&&(r-=n.duration+n.delay),i.styles.forEach(a=>{typeof a!="string"&&a.forEach((s,c)=>{let p=e.collectedStyles.get(e.currentQuerySelector),g=p.get(c),v=!0;g&&(r!=o&&r>=g.startTime&&o<=g.endTime&&(e.errors.push(oO(c,g.startTime,g.endTime,r,o)),v=!1),r=g.startTime),v&&p.set(c,{startTime:r,endTime:o}),e.options&&EO(s,e.options,e.errors)})})}visitKeyframes(i,e){let n={type:ft.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(rO()),n;let o=1,r=0,a=[],s=!1,c=!1,p=0,g=i.steps.map(j=>{let Ke=this._makeStyleAst(j,e),gt=Ke.offset!=null?Ke.offset:tY(Ke.styles),gn=0;return gt!=null&&(r++,gn=Ke.offset=gt),c=c||gn<0||gn>1,s=s||gn0&&r{let gt=S>0?Ke==D?1:S*Ke:a[Ke],gn=gt*Q;e.currentTime=I+R.delay+gn,R.duration=gn,this._validateStyleAst(j,e),j.offset=gt,n.styles.push(j)}),n}visitReference(i,e){return{type:ft.Reference,animation:Ai(this,oc(i.animation),e),options:Es(i.options)}}visitAnimateChild(i,e){return e.depCount++,{type:ft.AnimateChild,options:Es(i.options)}}visitAnimateRef(i,e){return{type:ft.AnimateRef,animation:this.visitReference(i.animation,e),options:Es(i.options)}}visitQuery(i,e){let n=e.currentQuerySelector,o=i.options||{};e.queryCount++,e.currentQuery=i;let[r,a]=Jq(i.selector);e.currentQuerySelector=n.length?n+" "+r:r,ki(e.collectedStyles,e.currentQuerySelector,new Map);let s=Ai(this,oc(i.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:ft.Query,selector:r,limit:o.limit||0,optional:!!o.optional,includeSelf:a,animation:s,originalSelector:i.selector,options:Es(i.options)}}visitStagger(i,e){e.currentQuery||e.errors.push(cO());let n=i.timings==="full"?{duration:0,delay:0,easing:"full"}:_u(i.timings,e.errors,!0);return{type:ft.Stagger,animation:Ai(this,oc(i.animation),e),timings:n,options:null}}};function Jq(t){let i=!!t.split(/\s*,\s*/).find(e=>e==BO);return i&&(t=t.replace(Xq,"")),t=t.replace(/@\*/g,gu).replace(/@\w+/g,e=>gu+"-"+e.slice(1)).replace(/:animating/g,Gg),[t,i]}function eY(t){return t?L({},t):null}var Ww=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(i){this.errors=i}};function tY(t){if(typeof t=="string")return null;let i=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){let n=e;i=parseFloat(n.get("offset")),n.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let e=t;i=parseFloat(e.get("offset")),e.delete("offset")}return i}function nY(t,i){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let r=_u(t,i).duration;return Vw(r,0,"")}let e=t;if(e.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=Vw(0,0,"");return r.dynamic=!0,r.strValue=e,r}let o=_u(e,i);return Vw(o.duration,o.delay,o.easing)}function Es(t){return t?(t=L({},t),t.params&&(t.params=eY(t.params))):t={},t}function Vw(t,i,e){return{duration:t,delay:i,easing:e}}function tx(t,i,e,n,o,r,a=null,s=!1){return{type:1,element:t,keyframes:i,preStyleProps:e,postStyleProps:n,duration:o,delay:r,totalTime:o+r,easing:a,subTimeline:s}}var bu=class{_map=new Map;get(i){return this._map.get(i)||[]}append(i,e){let n=this._map.get(i);n||this._map.set(i,n=[]),n.push(...e)}has(i){return this._map.has(i)}clear(){this._map.clear()}},iY=1,oY=":enter",rY=new RegExp(oY,"g"),aY=":leave",sY=new RegExp(aY,"g");function zO(t,i,e,n,o,r=new Map,a=new Map,s,c,p=[]){return new Gw().buildKeyframes(t,i,e,n,o,r,a,s,c,p)}var Gw=class{buildKeyframes(i,e,n,o,r,a,s,c,p,g=[]){p=p||new bu;let v=new $w(i,e,p,o,r,g,[]);v.options=c;let S=c.delay?dr(c.delay):0;v.currentTimeline.delayNextStep(S),v.currentTimeline.setStyles([a],null,v.errors,c),Ai(this,n,v);let D=v.timelines.filter(I=>I.containsAnimation());if(D.length&&s.size){let I;for(let R=D.length-1;R>=0;R--){let Q=D[R];if(Q.element===e){I=Q;break}}I&&!I.allowOnlyTimelineStyles()&&I.setStyles([s],null,v.errors,c)}return D.length?D.map(I=>I.buildKeyframes()):[tx(e,[],[],[],0,S,"",!1)]}visitTrigger(i,e){}visitState(i,e){}visitTransition(i,e){}visitAnimateChild(i,e){let n=e.subInstructions.get(e.element);if(n){let o=e.createSubContext(i.options),r=e.currentTimeline.currentTime,a=this._visitSubInstructions(n,o,o.options);r!=a&&e.transformIntoNewTimeline(a)}e.previousNode=i}visitAnimateRef(i,e){let n=e.createSubContext(i.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([i.options,i.animation.options],e,n),this.visitReference(i.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=i}_applyAnimationRefDelays(i,e,n){for(let o of i){let r=o?.delay;if(r){let a=typeof r=="number"?r:dr(rc(r,o?.params??{},e.errors));n.delayNextStep(a)}}}_visitSubInstructions(i,e,n){let r=e.currentTimeline.currentTime,a=n.duration!=null?dr(n.duration):null,s=n.delay!=null?dr(n.delay):null;return a!==0&&i.forEach(c=>{let p=e.appendInstructionToTimeline(c,a,s);r=Math.max(r,p.duration+p.delay)}),r}visitReference(i,e){e.updateOptions(i.options,!0),Ai(this,i.animation,e),e.previousNode=i}visitSequence(i,e){let n=e.subContextCount,o=e,r=i.options;if(r&&(r.params||r.delay)&&(o=e.createSubContext(r),o.transformIntoNewTimeline(),r.delay!=null)){o.previousNode.type==ft.Style&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=e_);let a=dr(r.delay);o.delayNextStep(a)}i.steps.length&&(i.steps.forEach(a=>Ai(this,a,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>n&&o.transformIntoNewTimeline()),e.previousNode=i}visitGroup(i,e){let n=[],o=e.currentTimeline.currentTime,r=i.options&&i.options.delay?dr(i.options.delay):0;i.steps.forEach(a=>{let s=e.createSubContext(i.options);r&&s.delayNextStep(r),Ai(this,a,s),o=Math.max(o,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(a=>e.currentTimeline.mergeTimelineCollectedStyles(a)),e.transformIntoNewTimeline(o),e.previousNode=i}_visitTiming(i,e){if(i.dynamic){let n=i.strValue,o=e.params?rc(n,e.params,e.errors):n;return _u(o,e.errors)}else return{duration:i.duration,delay:i.delay,easing:i.easing}}visitAnimate(i,e){let n=e.currentAnimateTimings=this._visitTiming(i.timings,e),o=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),o.snapshotCurrentStyles());let r=i.style;r.type==ft.Keyframes?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),o.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=i}visitStyle(i,e){let n=e.currentTimeline,o=e.currentAnimateTimings;!o&&n.hasCurrentStyleProperties()&&n.forwardFrame();let r=o&&o.easing||i.easing;i.isEmptyStep?n.applyEmptyStep(r):n.setStyles(i.styles,r,e.errors,e.options),e.previousNode=i}visitKeyframes(i,e){let n=e.currentAnimateTimings,o=e.currentTimeline.duration,r=n.duration,s=e.createSubContext().currentTimeline;s.easing=n.easing,i.styles.forEach(c=>{let p=c.offset||0;s.forwardTime(p*r),s.setStyles(c.styles,c.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(o+r),e.previousNode=i}visitQuery(i,e){let n=e.currentTimeline.currentTime,o=i.options||{},r=o.delay?dr(o.delay):0;r&&(e.previousNode.type===ft.Style||n==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=e_);let a=n,s=e.invokeQuery(i.selector,i.originalSelector,i.limit,i.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=s.length;let c=null;s.forEach((p,g)=>{e.currentQueryIndex=g;let v=e.createSubContext(i.options,p);r&&v.delayNextStep(r),p===e.element&&(c=v.currentTimeline),Ai(this,i.animation,v),v.currentTimeline.applyStylesToKeyframe();let S=v.currentTimeline.currentTime;a=Math.max(a,S)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),c&&(e.currentTimeline.mergeTimelineCollectedStyles(c),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=i}visitStagger(i,e){let n=e.parentContext,o=e.currentTimeline,r=i.timings,a=Math.abs(r.duration),s=a*(e.currentQueryTotal-1),c=a*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":c=s-c;break;case"full":c=n.currentStaggerTime;break}let g=e.currentTimeline;c&&g.delayNextStep(c);let v=g.currentTime;Ai(this,i.animation,e),e.previousNode=i,n.currentStaggerTime=o.currentTime-v+(o.startTime-n.currentTimeline.startTime)}},e_={},$w=class t{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=e_;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(i,e,n,o,r,a,s,c){this._driver=i,this.element=e,this.subInstructions=n,this._enterClassName=o,this._leaveClassName=r,this.errors=a,this.timelines=s,this.currentTimeline=c||new t_(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(i,e){if(!i)return;let n=i,o=this.options;n.duration!=null&&(o.duration=dr(n.duration)),n.delay!=null&&(o.delay=dr(n.delay));let r=n.params;if(r){let a=o.params;a||(a=this.options.params={}),Object.keys(r).forEach(s=>{(!e||!a.hasOwnProperty(s))&&(a[s]=rc(r[s],a,this.errors))})}}_copyOptions(){let i={};if(this.options){let e=this.options.params;if(e){let n=i.params={};Object.keys(e).forEach(o=>{n[o]=e[o]})}}return i}createSubContext(i=null,e,n){let o=e||this.element,r=new t(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(i),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(i){return this.previousNode=e_,this.currentTimeline=this.currentTimeline.fork(this.element,i),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(i,e,n){let o={duration:e??i.duration,delay:this.currentTimeline.currentTime+(n??0)+i.delay,easing:""},r=new qw(this._driver,i.element,i.keyframes,i.preStyleProps,i.postStyleProps,o,i.stretchStartingKeyframe);return this.timelines.push(r),o}incrementTime(i){this.currentTimeline.forwardTime(this.currentTimeline.duration+i)}delayNextStep(i){i>0&&this.currentTimeline.delayNextStep(i)}invokeQuery(i,e,n,o,r,a){let s=[];if(o&&s.push(this.element),i.length>0){i=i.replace(rY,"."+this._enterClassName),i=i.replace(sY,"."+this._leaveClassName);let c=n!=1,p=this._driver.query(this.element,i,c);n!==0&&(p=n<0?p.slice(p.length+n,p.length):p.slice(0,n)),s.push(...p)}return!r&&s.length==0&&a.push(dO(e)),s}},t_=class t{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(i,e,n,o){this._driver=i,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=o,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(i){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+i),e&&this.snapshotCurrentStyles()):this.startTime+=i}fork(i,e){return this.applyStylesToKeyframe(),new t(this._driver,i,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+=iY,this._loadKeyframe()}forwardTime(i){this.applyStylesToKeyframe(),this.duration=i,this._loadKeyframe()}_updateStyle(i,e){this._localTimelineStyles.set(i,e),this._globalTimelineStyles.set(i,e),this._styleSummary.set(i,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(i){i&&this._previousKeyframe.set("easing",i);for(let[e,n]of this._globalTimelineStyles)this._backFill.set(e,n||Ro),this._currentKeyframe.set(e,Ro);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(i,e,n,o){e&&this._previousKeyframe.set("easing",e);let r=o&&o.params||{},a=lY(i,this._globalTimelineStyles);for(let[s,c]of a){let p=rc(c,r,n);this._pendingStyles.set(s,p),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??Ro),this._updateStyle(s,p)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((i,e)=>{this._currentKeyframe.set(e,i)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((i,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,i)}))}snapshotCurrentStyles(){for(let[i,e]of this._localTimelineStyles)this._pendingStyles.set(i,e),this._updateStyle(i,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let i=[];for(let e in this._currentKeyframe)i.push(e);return i}mergeTimelineCollectedStyles(i){i._styleSummary.forEach((e,n)=>{let o=this._styleSummary.get(n);(!o||e.time>o.time)&&this._updateStyle(n,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let i=new Set,e=new Set,n=this._keyframes.size===1&&this.duration===0,o=[];this._keyframes.forEach((s,c)=>{let p=new Map([...this._backFill,...s]);p.forEach((g,v)=>{g===hu?i.add(v):g===Ro&&e.add(v)}),n||p.set("offset",c/this.duration),o.push(p)});let r=[...i.values()],a=[...e.values()];if(n){let s=o[0],c=new Map(s);s.set("offset",0),c.set("offset",1),o=[s,c]}return tx(this.element,o,r,a,this.duration,this.startTime,this.easing,!1)}},qw=class extends t_{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(i,e,n,o,r,a,s=!1){super(i,e,a.delay),this.keyframes=n,this.preStyleProps=o,this.postStyleProps=r,this._stretchStartingKeyframe=s,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let i=this.keyframes,{delay:e,duration:n,easing:o}=this.timings;if(this._stretchStartingKeyframe&&e){let r=[],a=n+e,s=e/a,c=new Map(i[0]);c.set("offset",0),r.push(c);let p=new Map(i[0]);p.set("offset",AO(s)),r.push(p);let g=i.length-1;for(let v=1;v<=g;v++){let S=new Map(i[v]),D=S.get("offset"),I=e+D*n;S.set("offset",AO(I/a)),r.push(S)}n=a,e=0,o="",i=r}return tx(this.element,i,this.preStyleProps,this.postStyleProps,n,e,o,!0)}};function AO(t,i=3){let e=Math.pow(10,i-1);return Math.round(t*e)/e}function lY(t,i){let e=new Map,n;return t.forEach(o=>{if(o==="*"){n??=i.keys();for(let r of n)e.set(r,Ro)}else for(let[r,a]of o)e.set(r,a)}),e}function RO(t,i,e,n,o,r,a,s,c,p,g,v,S){return{type:0,element:t,triggerName:i,isRemovalTransition:o,fromState:e,fromStyles:r,toState:n,toStyles:a,timelines:s,queriedElements:c,preStyleProps:p,postStyleProps:g,totalTime:v,errors:S}}var Bw={},n_=class{_triggerName;ast;_stateStyles;constructor(i,e,n){this._triggerName=i,this.ast=e,this._stateStyles=n}match(i,e,n,o){return cY(this.ast.matchers,i,e,n,o)}buildStyles(i,e,n){let o=this._stateStyles.get("*");return i!==void 0&&(o=this._stateStyles.get(i?.toString())||o),o?o.buildStyles(e,n):new Map}build(i,e,n,o,r,a,s,c,p,g){let v=[],S=this.ast.options&&this.ast.options.params||Bw,D=s&&s.params||Bw,I=this.buildStyles(n,D,v),R=c&&c.params||Bw,Q=this.buildStyles(o,R,v),j=new Set,Ke=new Map,gt=new Map,gn=o==="void",jr={params:UO(R,S),delay:this.ast.options?.delay},Gi=g?[]:zO(i,e,this.ast.animation,r,a,I,Q,jr,p,v),ni=0;return Gi.forEach(fi=>{ni=Math.max(fi.duration+fi.delay,ni)}),v.length?RO(e,this._triggerName,n,o,gn,I,Q,[],[],Ke,gt,ni,v):(Gi.forEach(fi=>{let xa=fi.element,Ts=ki(Ke,xa,new Set);fi.preStyleProps.forEach(Da=>Ts.add(Da));let cx=ki(gt,xa,new Set);fi.postStyleProps.forEach(Da=>cx.add(Da)),xa!==e&&j.add(xa)}),RO(e,this._triggerName,n,o,gn,I,Q,Gi,[...j.values()],Ke,gt,ni))}};function cY(t,i,e,n,o){return t.some(r=>r(i,e,n,o))}function UO(t,i){let e=L({},i);return Object.entries(t).forEach(([n,o])=>{o!=null&&(e[n]=o)}),e}var Yw=class{styles;defaultParams;normalizer;constructor(i,e,n){this.styles=i,this.defaultParams=e,this.normalizer=n}buildStyles(i,e){let n=new Map,o=UO(i,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((a,s)=>{a&&(a=rc(a,o,e));let c=this.normalizer.normalizePropertyName(s,e);a=this.normalizer.normalizeStyleValue(s,c,a,e),n.set(s,a)})}),n}};function dY(t,i,e){return new Qw(t,i,e)}var Qw=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(i,e,n){this.name=i,this.ast=e,this._normalizer=n,e.states.forEach(o=>{let r=o.options&&o.options.params||{};this.states.set(o.name,new Yw(o.style,r,n))}),OO(this.states,"true","1"),OO(this.states,"false","0"),e.transitions.forEach(o=>{this.transitionFactories.push(new n_(i,o,this.states))}),this.fallbackTransition=uY(i,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(i,e,n,o){return this.transitionFactories.find(a=>a.match(i,e,n,o))||null}matchStyles(i,e,n){return this.fallbackTransition.buildStyles(i,e,n)}};function uY(t,i,e){let n=[(a,s)=>!0],o={type:ft.Sequence,steps:[],options:null},r={type:ft.Transition,animation:o,matchers:n,options:null,queryCount:0,depCount:0};return new n_(t,r,i)}function OO(t,i,e){t.has(i)?t.has(e)||t.set(e,t.get(i)):t.has(e)&&t.set(i,t.get(e))}var mY=new bu,Kw=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(i,e,n){this.bodyNode=i,this._driver=e,this._normalizer=n}register(i,e){let n=[],o=[],r=jO(this._driver,e,n,o);if(n.length)throw hO(n);this._animations.set(i,r)}_buildPlayer(i,e,n){let o=i.element,r=kw(this._normalizer,i.keyframes,e,n);return this._driver.animate(o,r,i.duration,i.delay,i.easing,[],!0)}create(i,e,n={}){let o=[],r=this._animations.get(i),a,s=new Map;if(r?(a=zO(this._driver,e,r,Fw,Wg,new Map,new Map,n,mY,o),a.forEach(g=>{let v=ki(s,g.element,new Map);g.postStyleProps.forEach(S=>v.set(S,null))})):(o.push(fO()),a=[]),o.length)throw gO(o);s.forEach((g,v)=>{g.forEach((S,D)=>{g.set(D,this._driver.computeStyle(v,D,Ro))})});let c=a.map(g=>{let v=s.get(g.element);return this._buildPlayer(g,new Map,v)}),p=Br(c);return this._playersById.set(i,p),p.onDestroy(()=>this.destroy(i)),this.players.push(p),p}destroy(i){let e=this._getPlayer(i);e.destroy(),this._playersById.delete(i);let n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(i){let e=this._playersById.get(i);if(!e)throw _O(i);return e}listen(i,e,n,o){let r=Ug(e,"","","");return zg(this._getPlayer(i),n,r,o),()=>{}}command(i,e,n,o){if(n=="register"){this.register(i,o[0]);return}if(n=="create"){let a=o[0]||{};this.create(i,e,a);return}let r=this._getPlayer(i);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(i);break}}},PO="ng-animate-queued",pY=".ng-animate-queued",jw="ng-animate-disabled",hY=".ng-animate-disabled",fY="ng-star-inserted",gY=".ng-star-inserted",_Y=[],HO={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},vY={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Po="__ng_removed",yu=class{namespaceId;value;options;get params(){return this.options.params}constructor(i,e=""){this.namespaceId=e;let n=i&&i.hasOwnProperty("value"),o=n?i.value:i;if(this.value=yY(o),n){let r=i,{value:a}=r,s=d_(r,["value"]);this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(i){let e=i.params;if(e){let n=this.options.params;Object.keys(e).forEach(o=>{n[o]==null&&(n[o]=e[o])})}}},vu="void",zw=new yu(vu),Zw=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(i,e,n){this.id=i,this.hostElement=e,this._engine=n,this._hostClassName="ng-tns-"+i,ho(e,this._hostClassName)}listen(i,e,n,o){if(!this._triggers.has(e))throw vO(n,e);if(n==null||n.length==0)throw bO(e);if(!CY(n))throw yO(n,e);let r=ki(this._elementListeners,i,[]),a={name:e,phase:n,callback:o};r.push(a);let s=ki(this._engine.statesByElement,i,new Map);return s.has(e)||(ho(i,fu),ho(i,fu+"-"+e),s.set(e,zw)),()=>{this._engine.afterFlush(()=>{let c=r.indexOf(a);c>=0&&r.splice(c,1),this._triggers.has(e)||s.delete(e)})}}register(i,e){return this._triggers.has(i)?!1:(this._triggers.set(i,e),!0)}_getTrigger(i){let e=this._triggers.get(i);if(!e)throw CO(i);return e}trigger(i,e,n,o=!0){let r=this._getTrigger(e),a=new Cu(this.id,e,i),s=this._engine.statesByElement.get(i);s||(ho(i,fu),ho(i,fu+"-"+e),this._engine.statesByElement.set(i,s=new Map));let c=s.get(e),p=new yu(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&c&&p.absorbOptions(c.options),s.set(e,p),c||(c=zw),!(p.value===vu)&&c.value===p.value){if(!DY(c.params,p.params)){let R=[],Q=r.matchStyles(c.value,c.params,R),j=r.matchStyles(p.value,p.params,R);R.length?this._engine.reportError(R):this._engine.afterFlush(()=>{wa(i,Q),Oo(i,j)})}return}let S=ki(this._engine.playersByElement,i,[]);S.forEach(R=>{R.namespaceId==this.id&&R.triggerName==e&&R.queued&&R.destroy()});let D=r.matchTransition(c.value,p.value,i,p.params),I=!1;if(!D){if(!o)return;D=r.fallbackTransition,I=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:e,transition:D,fromState:c,toState:p,player:a,isFallbackTransition:I}),I||(ho(i,PO),a.onStart(()=>{ac(i,PO)})),a.onDone(()=>{let R=this.players.indexOf(a);R>=0&&this.players.splice(R,1);let Q=this._engine.playersByElement.get(i);if(Q){let j=Q.indexOf(a);j>=0&&Q.splice(j,1)}}),this.players.push(a),S.push(a),a}deregister(i){this._triggers.delete(i),this._engine.statesByElement.forEach(e=>e.delete(i)),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(o=>o.name!=i))})}clearElementCache(i){this._engine.statesByElement.delete(i),this._elementListeners.delete(i);let e=this._engine.playersByElement.get(i);e&&(e.forEach(n=>n.destroy()),this._engine.playersByElement.delete(i))}_signalRemovalForInnerTriggers(i,e){let n=this._engine.driver.query(i,gu,!0);n.forEach(o=>{if(o[Po])return;let r=this._engine.fetchNamespacesByElement(o);r.size?r.forEach(a=>a.triggerLeaveAnimation(o,e,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(i,e,n,o){let r=this._engine.statesByElement.get(i),a=new Map;if(r){let s=[];if(r.forEach((c,p)=>{if(a.set(p,c.value),this._triggers.has(p)){let g=this.trigger(i,p,vu,o);g&&s.push(g)}}),s.length)return this._engine.markElementAsRemoved(this.id,i,!0,e,a),n&&Br(s).onDone(()=>this._engine.processLeaveNode(i)),!0}return!1}prepareLeaveAnimationListeners(i){let e=this._elementListeners.get(i),n=this._engine.statesByElement.get(i);if(e&&n){let o=new Set;e.forEach(r=>{let a=r.name;if(o.has(a))return;o.add(a);let c=this._triggers.get(a).fallbackTransition,p=n.get(a)||zw,g=new yu(vu),v=new Cu(this.id,a,i);this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:a,transition:c,fromState:p,toState:g,player:v,isFallbackTransition:!0})})}}removeNode(i,e){let n=this._engine;if(i.childElementCount&&this._signalRemovalForInnerTriggers(i,e),this.triggerLeaveAnimation(i,e,!0))return;let o=!1;if(n.totalAnimations){let r=n.players.length?n.playersByQueriedElement.get(i):[];if(r&&r.length)o=!0;else{let a=i;for(;a=a.parentNode;)if(n.statesByElement.get(a)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(i),o)n.markElementAsRemoved(this.id,i,!1,e);else{let r=i[Po];(!r||r===HO)&&(n.afterFlush(()=>this.clearElementCache(i)),n.destroyInnerAnimations(i),n._onRemovalComplete(i,e))}}insertNode(i,e){ho(i,this._hostClassName)}drainQueuedTransitions(i){let e=[];return this._queue.forEach(n=>{let o=n.player;if(o.destroyed)return;let r=n.element,a=this._elementListeners.get(r);a&&a.forEach(s=>{if(s.name==n.triggerName){let c=Ug(r,n.triggerName,n.fromState.value,n.toState.value);c._data=i,zg(n.player,s.phase,c,s.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):e.push(n)}),this._queue=[],e.sort((n,o)=>{let r=n.transition.ast.depCount,a=o.transition.ast.depCount;return r==0||a==0?r-a:this._engine.driver.containsElement(n.element,o.element)?1:-1})}destroy(i){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,i)}},Xw=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(i,e)=>{};_onRemovalComplete(i,e){this.onRemovalComplete(i,e)}constructor(i,e,n){this.bodyNode=i,this.driver=e,this._normalizer=n}get queuedPlayers(){let i=[];return this._namespaceList.forEach(e=>{e.players.forEach(n=>{n.queued&&i.push(n)})}),i}createNamespace(i,e){let n=new Zw(i,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[i]=n}_balanceNamespaceList(i,e){let n=this._namespaceList,o=this.namespacesByHostElement;if(n.length-1>=0){let a=!1,s=this.driver.getParentElement(e);for(;s;){let c=o.get(s);if(c){let p=n.indexOf(c);n.splice(p+1,0,i),a=!0;break}s=this.driver.getParentElement(s)}a||n.unshift(i)}else n.push(i);return o.set(e,i),i}register(i,e){let n=this._namespaceLookup[i];return n||(n=this.createNamespace(i,e)),n}registerTrigger(i,e,n){let o=this._namespaceLookup[i];o&&o.register(e,n)&&this.totalAnimations++}destroy(i,e){i&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let n=this._fetchNamespace(i);this.namespacesByHostElement.delete(n.hostElement);let o=this._namespaceList.indexOf(n);o>=0&&this._namespaceList.splice(o,1),n.destroy(e),delete this._namespaceLookup[i]}))}_fetchNamespace(i){return this._namespaceLookup[i]}fetchNamespacesByElement(i){let e=new Set,n=this.statesByElement.get(i);if(n){for(let o of n.values())if(o.namespaceId){let r=this._fetchNamespace(o.namespaceId);r&&e.add(r)}}return e}trigger(i,e,n,o){if(Kg(e)){let r=this._fetchNamespace(i);if(r)return r.trigger(e,n,o),!0}return!1}insertNode(i,e,n,o){if(!Kg(e))return;let r=e[Po];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let a=this.collectedLeaveElements.indexOf(e);a>=0&&this.collectedLeaveElements.splice(a,1)}if(i){let a=this._fetchNamespace(i);a&&a.insertNode(e,n)}o&&this.collectEnterElement(e)}collectEnterElement(i){this.collectedEnterElements.push(i)}markElementAsDisabled(i,e){e?this.disabledNodes.has(i)||(this.disabledNodes.add(i),ho(i,jw)):this.disabledNodes.has(i)&&(this.disabledNodes.delete(i),ac(i,jw))}removeNode(i,e,n){if(Kg(e)){let o=i?this._fetchNamespace(i):null;o?o.removeNode(e,n):this.markElementAsRemoved(i,e,!1,n);let r=this.namespacesByHostElement.get(e);r&&r.id!==i&&r.removeNode(e,n)}else this._onRemovalComplete(e,n)}markElementAsRemoved(i,e,n,o,r){this.collectedLeaveElements.push(e),e[Po]={namespaceId:i,setForRemoval:o,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:r}}listen(i,e,n,o,r){return Kg(e)?this._fetchNamespace(i).listen(e,n,o,r):()=>{}}_buildInstruction(i,e,n,o,r){return i.transition.build(this.driver,i.element,i.fromState.value,i.toState.value,n,o,i.fromState.options,i.toState.options,e,r)}destroyInnerAnimations(i){let e=this.driver.query(i,gu,!0);e.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(i,Gg,!0),e.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(i){let e=this.playersByElement.get(i);e&&e.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(i){let e=this.playersByQueriedElement.get(i);e&&e.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(i=>{if(this.players.length)return Br(this.players).onDone(()=>i());i()})}processLeaveNode(i){let e=i[Po];if(e&&e.setForRemoval){if(i[Po]=HO,e.namespaceId){this.destroyInnerAnimations(i);let n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(i)}this._onRemovalComplete(i,e.setForRemoval)}i.classList?.contains(jw)&&this.markElementAsDisabled(i,!1),this.driver.query(i,hY,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(i=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,o)=>this._balanceNamespaceList(n,o)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nn()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],e.length?Br(e).onDone(()=>{n.forEach(o=>o())}):n.forEach(o=>o())}}reportError(i){throw wO(i)}_flushAnimations(i,e){let n=new bu,o=[],r=new Map,a=[],s=new Map,c=new Map,p=new Map,g=new Set;this.disabledNodes.forEach(fe=>{g.add(fe);let Re=this.driver.query(fe,pY,!0);for(let ze=0;ze{let ze=Fw+R++;I.set(Re,ze),fe.forEach(It=>ho(It,ze))});let Q=[],j=new Set,Ke=new Set;for(let fe=0;fej.add(It)):Ke.add(Re))}let gt=new Map,gn=LO(S,Array.from(j));gn.forEach((fe,Re)=>{let ze=Wg+R++;gt.set(Re,ze),fe.forEach(It=>ho(It,ze))}),i.push(()=>{D.forEach((fe,Re)=>{let ze=I.get(Re);fe.forEach(It=>ac(It,ze))}),gn.forEach((fe,Re)=>{let ze=gt.get(Re);fe.forEach(It=>ac(It,ze))}),Q.forEach(fe=>{this.processLeaveNode(fe)})});let jr=[],Gi=[];for(let fe=this._namespaceList.length-1;fe>=0;fe--)this._namespaceList[fe].drainQueuedTransitions(e).forEach(ze=>{let It=ze.player,Pn=ze.element;if(jr.push(It),this.collectedEnterElements.length){let qn=Pn[Po];if(qn&&qn.setForMove){if(qn.previousTriggersValues&&qn.previousTriggersValues.has(ze.triggerName)){let Sa=qn.previousTriggersValues.get(ze.triggerName),$i=this.statesByElement.get(ze.element);if($i&&$i.has(ze.triggerName)){let xu=$i.get(ze.triggerName);xu.value=Sa,$i.set(ze.triggerName,xu)}}It.destroy();return}}let Fo=!v||!this.driver.containsElement(v,Pn),Ri=gt.get(Pn),zr=I.get(Pn),dn=this._buildInstruction(ze,n,zr,Ri,Fo);if(dn.errors&&dn.errors.length){Gi.push(dn);return}if(Fo){It.onStart(()=>wa(Pn,dn.fromStyles)),It.onDestroy(()=>Oo(Pn,dn.toStyles)),o.push(It);return}if(ze.isFallbackTransition){It.onStart(()=>wa(Pn,dn.fromStyles)),It.onDestroy(()=>Oo(Pn,dn.toStyles)),o.push(It);return}let mx=[];dn.timelines.forEach(qn=>{qn.stretchStartingKeyframe=!0,this.disabledNodes.has(qn.element)||mx.push(qn)}),dn.timelines=mx,n.append(Pn,dn.timelines);let OP={instruction:dn,player:It,element:Pn};a.push(OP),dn.queriedElements.forEach(qn=>ki(s,qn,[]).push(It)),dn.preStyleProps.forEach((qn,Sa)=>{if(qn.size){let $i=c.get(Sa);$i||c.set(Sa,$i=new Set),qn.forEach((xu,c_)=>$i.add(c_))}}),dn.postStyleProps.forEach((qn,Sa)=>{let $i=p.get(Sa);$i||p.set(Sa,$i=new Set),qn.forEach((xu,c_)=>$i.add(c_))})});if(Gi.length){let fe=[];Gi.forEach(Re=>{fe.push(xO(Re.triggerName,Re.errors))}),jr.forEach(Re=>Re.destroy()),this.reportError(fe)}let ni=new Map,fi=new Map;a.forEach(fe=>{let Re=fe.element;n.has(Re)&&(fi.set(Re,Re),this._beforeAnimationBuild(fe.player.namespaceId,fe.instruction,ni))}),o.forEach(fe=>{let Re=fe.element;this._getPreviousPlayers(Re,!1,fe.namespaceId,fe.triggerName,null).forEach(It=>{ki(ni,Re,[]).push(It),It.destroy()})});let xa=Q.filter(fe=>VO(fe,c,p)),Ts=new Map;NO(Ts,this.driver,Ke,p,Ro).forEach(fe=>{VO(fe,c,p)&&xa.push(fe)});let Da=new Map;D.forEach((fe,Re)=>{NO(Da,this.driver,new Set(fe),c,hu)}),xa.forEach(fe=>{let Re=Ts.get(fe),ze=Da.get(fe);Ts.set(fe,new Map([...Re?.entries()??[],...ze?.entries()??[]]))});let l_=[],dx=[],ux={};a.forEach(fe=>{let{element:Re,player:ze,instruction:It}=fe;if(n.has(Re)){if(g.has(Re)){ze.onDestroy(()=>Oo(Re,It.toStyles)),ze.disabled=!0,ze.overrideTotalTime(It.totalTime),o.push(ze);return}let Pn=ux;if(fi.size>1){let Ri=Re,zr=[];for(;Ri=Ri.parentNode;){let dn=fi.get(Ri);if(dn){Pn=dn;break}zr.push(Ri)}zr.forEach(dn=>fi.set(dn,Pn))}let Fo=this._buildAnimation(ze.namespaceId,It,ni,r,Da,Ts);if(ze.setRealPlayer(Fo),Pn===ux)l_.push(ze);else{let Ri=this.playersByElement.get(Pn);Ri&&Ri.length&&(ze.parentPlayer=Br(Ri)),o.push(ze)}}else wa(Re,It.fromStyles),ze.onDestroy(()=>Oo(Re,It.toStyles)),dx.push(ze),g.has(Re)&&o.push(ze)}),dx.forEach(fe=>{let Re=r.get(fe.element);if(Re&&Re.length){let ze=Br(Re);fe.setRealPlayer(ze)}}),o.forEach(fe=>{fe.parentPlayer?fe.syncPlayerEvents(fe.parentPlayer):fe.destroy()});for(let fe=0;fe!Fo.destroyed);Pn.length?wY(this,Re,Pn):this.processLeaveNode(Re)}return Q.length=0,l_.forEach(fe=>{this.players.push(fe),fe.onDone(()=>{fe.destroy();let Re=this.players.indexOf(fe);this.players.splice(Re,1)}),fe.play()}),l_}afterFlush(i){this._flushFns.push(i)}afterFlushAnimationsDone(i){this._whenQuietFns.push(i)}_getPreviousPlayers(i,e,n,o,r){let a=[];if(e){let s=this.playersByQueriedElement.get(i);s&&(a=s)}else{let s=this.playersByElement.get(i);if(s){let c=!r||r==vu;s.forEach(p=>{p.queued||!c&&p.triggerName!=o||a.push(p)})}}return(n||o)&&(a=a.filter(s=>!(n&&n!=s.namespaceId||o&&o!=s.triggerName))),a}_beforeAnimationBuild(i,e,n){let o=e.triggerName,r=e.element,a=e.isRemovalTransition?void 0:i,s=e.isRemovalTransition?void 0:o;for(let c of e.timelines){let p=c.element,g=p!==r,v=ki(n,p,[]);this._getPreviousPlayers(p,g,a,s,e.toState).forEach(D=>{let I=D.getRealPlayer();I.beforeDestroy&&I.beforeDestroy(),D.destroy(),v.push(D)})}wa(r,e.fromStyles)}_buildAnimation(i,e,n,o,r,a){let s=e.triggerName,c=e.element,p=[],g=new Set,v=new Set,S=e.timelines.map(I=>{let R=I.element;g.add(R);let Q=R[Po];if(Q&&Q.removedBeforeQueried)return new Vr(I.duration,I.delay);let j=R!==c,Ke=xY((n.get(R)||_Y).map(ni=>ni.getRealPlayer())).filter(ni=>{let fi=ni;return fi.element?fi.element===R:!1}),gt=r.get(R),gn=a.get(R),jr=kw(this._normalizer,I.keyframes,gt,gn),Gi=this._buildPlayer(I,jr,Ke);if(I.subTimeline&&o&&v.add(R),j){let ni=new Cu(i,s,R);ni.setRealPlayer(Gi),p.push(ni)}return Gi});p.forEach(I=>{ki(this.playersByQueriedElement,I.element,[]).push(I),I.onDone(()=>bY(this.playersByQueriedElement,I.element,I))}),g.forEach(I=>ho(I,Nw));let D=Br(S);return D.onDestroy(()=>{g.forEach(I=>ac(I,Nw)),Oo(c,e.toStyles)}),v.forEach(I=>{ki(o,I,[]).push(D)}),D}_buildPlayer(i,e,n){return e.length>0?this.driver.animate(i.element,e,i.duration,i.delay,i.easing,n):new Vr(i.duration,i.delay)}},Cu=class{namespaceId;triggerName;element;_player=new Vr;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(i,e,n){this.namespaceId=i,this.triggerName=e,this.element=n}setRealPlayer(i){this._containsRealPlayer||(this._player=i,this._queuedCallbacks.forEach((e,n)=>{e.forEach(o=>zg(i,n,void 0,o))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(i.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(i){this.totalTime=i}syncPlayerEvents(i){let e=this._player;e.triggerCallback&&i.onStart(()=>e.triggerCallback("start")),i.onDone(()=>this.finish()),i.onDestroy(()=>this.destroy())}_queueEvent(i,e){ki(this._queuedCallbacks,i,[]).push(e)}onDone(i){this.queued&&this._queueEvent("done",i),this._player.onDone(i)}onStart(i){this.queued&&this._queueEvent("start",i),this._player.onStart(i)}onDestroy(i){this.queued&&this._queueEvent("destroy",i),this._player.onDestroy(i)}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(i){this.queued||this._player.setPosition(i)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(i){let e=this._player;e.triggerCallback&&e.triggerCallback(i)}};function bY(t,i,e){let n=t.get(i);if(n){if(n.length){let o=n.indexOf(e);n.splice(o,1)}n.length==0&&t.delete(i)}return n}function yY(t){return t??null}function Kg(t){return t&&t.nodeType===1}function CY(t){return t=="start"||t=="done"}function FO(t,i){let e=t.style.display;return t.style.display=i??"none",e}function NO(t,i,e,n,o){let r=[];e.forEach(c=>r.push(FO(c)));let a=[];n.forEach((c,p)=>{let g=new Map;c.forEach(v=>{let S=i.computeStyle(p,v,o);g.set(v,S),(!S||S.length==0)&&(p[Po]=vY,a.push(p))}),t.set(p,g)});let s=0;return e.forEach(c=>FO(c,r[s++])),a}function LO(t,i){let e=new Map;if(t.forEach(s=>e.set(s,[])),i.length==0)return e;let n=1,o=new Set(i),r=new Map;function a(s){if(!s)return n;let c=r.get(s);if(c)return c;let p=s.parentNode;return e.has(p)?c=p:o.has(p)?c=n:c=a(p),r.set(s,c),c}return i.forEach(s=>{let c=a(s);c!==n&&e.get(c).push(s)}),e}function ho(t,i){t.classList?.add(i)}function ac(t,i){t.classList?.remove(i)}function wY(t,i,e){Br(e).onDone(()=>t.processLeaveNode(i))}function xY(t){let i=[];return WO(t,i),i}function WO(t,i){for(let e=0;eo.add(r)):i.set(t,n),e.delete(t),!0}var sc=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(i,e)=>{};constructor(i,e,n){this._driver=e,this._normalizer=n,this._transitionEngine=new Xw(i.body,e,n),this._timelineEngine=new Kw(i.body,e,n),this._transitionEngine.onRemovalComplete=(o,r)=>this.onRemovalComplete(o,r)}registerTrigger(i,e,n,o,r){let a=i+"-"+o,s=this._triggerCache[a];if(!s){let c=[],p=[],g=jO(this._driver,r,c,p);if(c.length)throw pO(o,c);s=dY(o,g,this._normalizer),this._triggerCache[a]=s}this._transitionEngine.registerTrigger(e,o,s)}register(i,e){this._transitionEngine.register(i,e)}destroy(i,e){this._transitionEngine.destroy(i,e)}onInsert(i,e,n,o){this._transitionEngine.insertNode(i,e,n,o)}onRemove(i,e,n){this._transitionEngine.removeNode(i,e,n)}disableAnimations(i,e){this._transitionEngine.markElementAsDisabled(i,e)}process(i,e,n,o){if(n.charAt(0)=="@"){let[r,a]=Aw(n),s=o;this._timelineEngine.command(r,e,a,s)}else this._transitionEngine.trigger(i,e,n,o)}listen(i,e,n,o,r){if(n.charAt(0)=="@"){let[a,s]=Aw(n);return this._timelineEngine.listen(a,e,s,r)}return this._transitionEngine.listen(i,e,n,o,r)}flush(i=-1){this._transitionEngine.flush(i)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(i){this._transitionEngine.afterFlushAnimationsDone(i)}};function SY(t,i){let e=null,n=null;return Array.isArray(i)&&i.length?(e=Uw(i[0]),i.length>1&&(n=Uw(i[i.length-1]))):i instanceof Map&&(e=Uw(i)),e||n?new EY(t,e,n):null}var EY=(()=>{class t{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,n,o){this._element=e,this._startStyles=n,this._endStyles=o;let r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&Oo(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Oo(this._element,this._initialStyles),this._endStyles&&(Oo(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(wa(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(wa(this._element,this._endStyles),this._endStyles=null),Oo(this._element,this._initialStyles),this._state=3)}}return t})();function Uw(t){let i=null;return t.forEach((e,n)=>{MY(n)&&(i=i||new Map,i.set(n,e))}),i}function MY(t){return t==="display"||t==="position"}var i_=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(i,e,n,o){this.element=i,this.keyframes=e,this.options=n,this._specialStyles=o,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let i=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,i,this.options),this._finalKeyframe=i.length?i[i.length-1]:new Map;let e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",e)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(i){let e=[];return i.forEach(n=>{e.push(Object.fromEntries(n))}),e}_triggerWebAnimation(i,e,n){return i.animate(this._convertKeyframesToObject(e),n)}onStart(i){this._originalOnStartFns.push(i),this._onStartFns.push(i)}onDone(i){this._originalOnDoneFns.push(i),this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(i=>i()),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(i=>i()),this._onDestroyFns=[])}setPosition(i){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=i*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let i=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,o)=>{o!=="offset"&&i.set(o,this._finished?n:qg(this.element,o))}),this.currentSnapshot=i}triggerCallback(i){let e=i==="start"?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}},o_=class{validateStyleProperty(i){return!0}validateAnimatableStyleProperty(i){return!0}containsElement(i,e){return Rw(i,e)}getParentElement(i){return Hg(i)}query(i,e,n){return Ow(i,e,n)}computeStyle(i,e,n){return qg(i,e)}animate(i,e,n,o,r,a=[]){let s=o==0?"both":"forwards",c={duration:n,delay:o,fill:s};r&&(c.easing=r);let p=new Map,g=a.filter(D=>D instanceof i_);MO(n,o)&&g.forEach(D=>{D.currentSnapshot.forEach((I,R)=>p.set(R,I))});let v=SO(e).map(D=>new Map(D));v=IO(i,v,p);let S=SY(i,v);return new i_(i,v,c,S)}};var Zg="@",GO="@.disabled",r_=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(i,e,n,o){this.namespaceId=i,this.delegate=e,this.engine=n,this._onDestroy=o}get data(){return this.delegate.data}destroyNode(i){this.delegate.destroyNode?.(i)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(i,e){return this.delegate.createElement(i,e)}createComment(i){return this.delegate.createComment(i)}createText(i){return this.delegate.createText(i)}appendChild(i,e){this.delegate.appendChild(i,e),this.engine.onInsert(this.namespaceId,e,i,!1)}insertBefore(i,e,n,o=!0){this.delegate.insertBefore(i,e,n),this.engine.onInsert(this.namespaceId,e,i,o)}removeChild(i,e,n){this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(i,e){return this.delegate.selectRootElement(i,e)}parentNode(i){return this.delegate.parentNode(i)}nextSibling(i){return this.delegate.nextSibling(i)}setAttribute(i,e,n,o){this.delegate.setAttribute(i,e,n,o)}removeAttribute(i,e,n){this.delegate.removeAttribute(i,e,n)}addClass(i,e){this.delegate.addClass(i,e)}removeClass(i,e){this.delegate.removeClass(i,e)}setStyle(i,e,n,o){this.delegate.setStyle(i,e,n,o)}removeStyle(i,e,n){this.delegate.removeStyle(i,e,n)}setProperty(i,e,n){e.charAt(0)==Zg&&e==GO?this.disableAnimations(i,!!n):this.delegate.setProperty(i,e,n)}setValue(i,e){this.delegate.setValue(i,e)}listen(i,e,n,o){return this.delegate.listen(i,e,n,o)}disableAnimations(i,e){this.engine.disableAnimations(i,e)}},Jw=class extends r_{factory;constructor(i,e,n,o,r){super(e,n,o,r),this.factory=i,this.namespaceId=e}setProperty(i,e,n){e.charAt(0)==Zg?e.charAt(1)=="."&&e==GO?(n=n===void 0?!0:!!n,this.disableAnimations(i,n)):this.engine.process(this.namespaceId,i,e.slice(1),n):this.delegate.setProperty(i,e,n)}listen(i,e,n,o){if(e.charAt(0)==Zg){let r=IY(i),a=e.slice(1),s="";return a.charAt(0)!=Zg&&([a,s]=TY(a)),this.engine.listen(this.namespaceId,r,a,s,c=>{let p=c._data||-1;this.factory.scheduleListenerCallback(p,n,c)})}return this.delegate.listen(i,e,n,o)}};function IY(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function TY(t){let i=t.indexOf("."),e=t.substring(0,i),n=t.slice(i+1);return[e,n]}var a_=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(i,e,n){this.delegate=i,this.engine=e,this._zone=n,e.onRemovalComplete=(o,r)=>{r?.removeChild(null,o)}}createRenderer(i,e){let o=this.delegate.createRenderer(i,e);if(!i||!e?.data?.animation){let p=this._rendererCache,g=p.get(o);if(!g){let v=()=>p.delete(o);g=new r_("",o,this.engine,v),p.set(o,g)}return g}let r=e.id,a=e.id+"-"+this._currentId;this._currentId++,this.engine.register(a,i);let s=p=>{Array.isArray(p)?p.forEach(s):this.engine.registerTrigger(r,a,i,p.name,p)};return e.data.animation.forEach(s),new Jw(this,a,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(i,e,n){if(i>=0&&ie(n));return}let o=this._animationCallbacksBuffer;o.length==0&&queueMicrotask(()=>{this._zone.run(()=>{o.forEach(r=>{let[a,s]=r;a(s)}),this._animationCallbacksBuffer=[]})}),o.push([e,n])}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()}componentReplaced(i){this.engine.flush(),this.delegate.componentReplaced?.(i)}};var AY=(()=>{class t extends sc{constructor(e,n,o){super(e,n,o)}ngOnDestroy(){this.flush()}static \u0275fac=function(n){return new(n||t)(oe(ce),oe(Ms),oe(Is))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})();function RY(){return new Xg}function OY(t,i,e){return new a_(t,i,e)}var qO=[{provide:Is,useFactory:RY},{provide:sc,useClass:AY},{provide:_n,useFactory:OY,deps:[Jc,sc,ne]}],PY=[{provide:Ms,useClass:ex},{provide:et,useValue:"NoopAnimations"},...qO],$O=[{provide:Ms,useFactory:()=>new o_},{provide:et,useFactory:()=>"BrowserAnimations"},...qO],YO=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?PY:$O}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:$O,imports:[td]})}return t})();var FY=["button"],NY=["*"];function LY(t,i){if(t&1&&(l(0,"div",2),M(1,"mat-pseudo-checkbox",6),d()),t&2){let e=_();u(),h("disabled",e.disabled)}}var VY=new k("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:BY});function BY(){return{hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1,disabledInteractive:!1}}var jY=new k("MatButtonToggleGroup");var nx=class{source;value;constructor(i,e){this.source=i,this.value=e}};var zY=(()=>{class t{_changeDetectorRef=m(De);_elementRef=m(K);_focusMonitor=m(Sn);_idGenerator=m(mt);_animationMode=m(et,{optional:!0});_checked=!1;ariaLabel;ariaLabelledby=null;_buttonElement;buttonToggleGroup;get buttonId(){return`${this.id}-button`}id;name;value;get tabIndex(){return this._tabIndex}set tabIndex(e){e!==this._tabIndex&&(this._tabIndex=e,this._markForCheck())}_tabIndex;disableRipple;get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(e){this._appearance=e}_appearance;get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(e){e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(e){this._disabled=e}_disabled=!1;get disabledInteractive(){return this._disabledInteractive||this.buttonToggleGroup!==null&&this.buttonToggleGroup.disabledInteractive}set disabledInteractive(e){this._disabledInteractive=e}_disabledInteractive;change=new T;constructor(){m(wt).load(yn);let e=m(jY,{optional:!0}),n=m(new jn("tabindex"),{optional:!0})||"",o=m(VY,{optional:!0});this._tabIndex=parseInt(n)||0,this.buttonToggleGroup=e,this.appearance=o&&o.appearance?o.appearance:"standard",this.disabledInteractive=o?.disabledInteractive??!1}ngOnInit(){let e=this.buttonToggleGroup;this.id=this.id||this._idGenerator.getId("mat-button-toggle-"),e&&(e._isPrechecked(this)?this.checked=!0:e._isSelected(this)!==this._checked&&e._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._animationMode!=="NoopAnimations"&&this._elementRef.nativeElement.classList.add("mat-button-toggle-animations-enabled"),this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){let e=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),e&&e._isSelected(this)&&e._syncButtonToggle(this,!1,!1,!0)}focus(e){this._buttonElement.nativeElement.focus(e)}_onButtonClick(){if(this.disabled)return;let e=this.isSingleSelector()?!0:!this._checked;if(e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.isSingleSelector()){let n=this.buttonToggleGroup._buttonToggles.find(o=>o.tabIndex===0);n&&(n.tabIndex=-1),this.tabIndex=0}this.change.emit(new nx(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this.isSingleSelector()?this.buttonToggleGroup.name:this.name||null}isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-button-toggle"]],viewQuery:function(n,o){if(n&1&&se(FY,5),n&2){let r;q(r=Y())&&(o._buttonElement=r.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:14,hostBindings:function(n,o){n&1&&b("focus",function(){return o.focus()}),n&2&&(ee("aria-label",null)("aria-labelledby",null)("id",o.id)("name",null),te("mat-button-toggle-standalone",!o.buttonToggleGroup)("mat-button-toggle-checked",o.checked)("mat-button-toggle-disabled",o.disabled)("mat-button-toggle-disabled-interactive",o.disabledInteractive)("mat-button-toggle-appearance-standard",o.appearance==="standard"))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",disableRipple:[2,"disableRipple","disableRipple",G],appearance:"appearance",checked:[2,"checked","checked",G],disabled:[2,"disabled","disabled",G],disabledInteractive:[2,"disabledInteractive","disabledInteractive",G]},outputs:{change:"change"},exportAs:["matButtonToggle"],ngContentSelectors:NY,decls:7,vars:13,consts:[["button",""],["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"click","id","disabled"],[1,"mat-button-toggle-checkbox-wrapper"],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"],["state","checked","aria-hidden","true","appearance","minimal",3,"disabled"]],template:function(n,o){if(n&1){let r=A();Pe(),l(0,"button",1,0),b("click",function(){return y(r),C(o._onButtonClick())}),x(2,LY,2,1,"div",2),l(3,"span",3),re(4),d()(),M(5,"span",4)(6,"span",5)}if(n&2){let r=ge(1);h("id",o.buttonId)("disabled",o.disabled&&!o.disabledInteractive||null),ee("role",o.isSingleSelector()?"radio":"button")("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-pressed",o.isSingleSelector()?null:o.checked)("aria-checked",o.isSingleSelector()?o.checked:null)("name",o._getButtonName())("aria-label",o.ariaLabel)("aria-labelledby",o.ariaLabelledby)("aria-disabled",o.disabled&&o.disabledInteractive?"true":null),u(2),we(o.buttonToggleGroup&&(!o.buttonToggleGroup.multiple&&!o.buttonToggleGroup.hideSingleSelectionIndicator||o.buttonToggleGroup.multiple&&!o.buttonToggleGroup.hideMultipleSelectionIndicator)?2:-1),u(4),h("matRippleTrigger",r)("matRippleDisabled",o.disableRipple||o.disabled)}},dependencies:[ji,Sf],styles:[`.mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0);border-radius:var(--mat-legacy-button-toggle-shape)}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}@media(forced-colors: active){.mat-button-toggle-standalone,.mat-button-toggle-group{outline:solid 1px}}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-extra-large));border:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard .mat-pseudo-checkbox,.mat-button-toggle-group-appearance-standard .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-standard-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}@media(forced-colors: active){.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{outline:0}}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative;color:var(--mat-legacy-button-toggle-text-color);font-family:var(--mat-legacy-button-toggle-label-text-font);font-size:var(--mat-legacy-button-toggle-label-text-size);line-height:var(--mat-legacy-button-toggle-label-text-line-height);font-weight:var(--mat-legacy-button-toggle-label-text-weight);letter-spacing:var(--mat-legacy-button-toggle-label-text-tracking);--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-legacy-button-toggle-selected-state-text-color)}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-legacy-button-toggle-focus-state-layer-opacity)}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle-checkbox-wrapper{display:inline-block;justify-content:flex-start;align-items:center;width:0;height:18px;line-height:18px;overflow:hidden;box-sizing:border-box;position:absolute;top:50%;left:16px;transform:translate3d(0, -50%, 0)}[dir=rtl] .mat-button-toggle-checkbox-wrapper{left:auto;right:16px}.mat-button-toggle-appearance-standard .mat-button-toggle-checkbox-wrapper{left:12px}[dir=rtl] .mat-button-toggle-appearance-standard .mat-button-toggle-checkbox-wrapper{left:auto;right:12px}.mat-button-toggle-checked .mat-button-toggle-checkbox-wrapper{width:18px}.mat-button-toggle-animations-enabled .mat-button-toggle-checkbox-wrapper{transition:width 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-button-toggle-vertical .mat-button-toggle-checkbox-wrapper{transition:none}.mat-button-toggle-checked{color:var(--mat-legacy-button-toggle-selected-state-text-color);background-color:var(--mat-legacy-button-toggle-selected-state-background-color)}.mat-button-toggle-disabled{pointer-events:none;color:var(--mat-legacy-button-toggle-disabled-state-text-color);background-color:var(--mat-legacy-button-toggle-disabled-state-background-color);--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var(--mat-legacy-button-toggle-disabled-state-text-color)}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-legacy-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-disabled-interactive{pointer-events:auto}.mat-button-toggle-appearance-standard{color:var(--mat-standard-button-toggle-text-color, var(--mat-sys-on-surface));background-color:var(--mat-standard-button-toggle-background-color, transparent);font-family:var(--mat-standard-button-toggle-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-standard-button-toggle-label-text-size, var(--mat-sys-label-large-size));line-height:var(--mat-standard-button-toggle-label-text-line-height, var(--mat-sys-label-large-line-height));font-weight:var(--mat-standard-button-toggle-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-standard-button-toggle-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-sys-outline))}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:none;border-top:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-appearance-standard.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-standard-button-toggle-selected-state-background-color, var(--mat-sys-secondary-container))}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled{color:var(--mat-standard-button-toggle-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-standard-button-toggle-disabled-state-background-color, transparent)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var(--mat-standard-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-standard-button-toggle-disabled-selected-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:var(--mat-standard-button-toggle-state-layer-color, var(--mat-sys-on-surface))}.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-button-toggle-appearance-standard.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}@media(hover: none){.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;padding:0 16px;line-height:var(--mat-legacy-button-toggle-height);position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px;line-height:var(--mat-standard-button-toggle-height, 40px)}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0;background-color:var(--mat-legacy-button-toggle-state-layer-color)}@media(forced-colors: active){.mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 500px;opacity:.5;height:0}.mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-animations-enabled .mat-button-toggle-button{transition:padding 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-button-toggle-vertical .mat-button-toggle-button{transition:none}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}.mat-button-toggle-checked .mat-button-toggle-button:has(.mat-button-toggle-checkbox-wrapper){padding-left:30px}[dir=rtl] .mat-button-toggle-checked .mat-button-toggle-button:has(.mat-button-toggle-checkbox-wrapper){padding-left:0;padding-right:30px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{--mat-focus-indicator-border-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard:not(.mat-button-toggle-vertical) .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-extra-large));border-bottom-right-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard:not(.mat-button-toggle-vertical) .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-left-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-extra-large));border-bottom-left-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-bottom-right-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-extra-large));border-bottom-left-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-extra-large));border-top-left-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-extra-large))} -`],encapsulation:2,changeDetection:0})}return t})(),QO=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[ue,rr,zY,ue]})}return t})();var HY=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],WY=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function GY(t,i){t&1&&(l(0,"span",3),re(1,1),d())}function $Y(t,i){t&1&&(l(0,"span",6),re(1,2),d())}var qY=`.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}@media(forced-colors: active){.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{forced-color-adjust:none}}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}.mdc-evolution-chip__icon,.mat-mdc-chip-remove .mat-icon{min-height:fit-content} -`,YY=[[["mat-chip-avatar"],["","matChipAvatar",""]],[["","matChipEditInput",""]],"*",[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],QY=["mat-chip-avatar, [matChipAvatar]","[matChipEditInput]","*","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function KY(t,i){t&1&&M(0,"span",0)}function ZY(t,i){t&1&&(l(0,"span",2),re(1),d())}function XY(t,i){t&1&&re(0,1)}function JY(t,i){t&1&&M(0,"span",7)}function eQ(t,i){if(t&1&&x(0,XY,1,0)(1,JY,1,0,"span",7),t&2){let e=_();we(e.contentEditInput?0:1)}}function tQ(t,i){t&1&&re(0,2)}function nQ(t,i){t&1&&(l(0,"span",5),re(1,3),d())}var XO=["*"],iQ=`.mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px} -`,JO=new k("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),KO=new k("MatChipAvatar"),ZO=new k("MatChipTrailingIcon"),ox=new k("MatChipRemove"),sx=new k("MatChip"),s_=(()=>{class t{_elementRef=m(K);_parentChip=m(sx);isInteractive=!0;_isPrimary=!0;get disabled(){return this._disabled||this._parentChip?.disabled||!1}set disabled(e){this._disabled=e}_disabled=!1;tabIndex=-1;_allowFocusWhenDisabled=!1;_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(){m(wt).load(yn),this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(e){!this.disabled&&this.isInteractive&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(n,o){n&1&&b("click",function(a){return o._handleClick(a)})("keydown",function(a){return o._handleKeydown(a)}),n&2&&(ee("tabindex",o._getTabindex())("disabled",o._getDisabledAttribute())("aria-disabled",o.disabled),te("mdc-evolution-chip__action--primary",o._isPrimary)("mdc-evolution-chip__action--presentational",!o.isInteractive)("mdc-evolution-chip__action--trailing",!o._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",G],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?-1:Xt(e)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}})}return t})();var eP=(()=>{class t extends s_{_isPrimary=!1;_handleClick(e){this.disabled||(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!this.disabled&&(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}static \u0275fac=(()=>{let e;return function(o){return(e||(e=nt(t)))(o||t)}})();static \u0275dir=N({type:t,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(n,o){n&2&&ee("aria-hidden",null)},features:[_e([{provide:ox,useExisting:t}]),pe]})}return t})(),rx=(()=>{class t{_changeDetectorRef=m(De);_elementRef=m(K);_ngZone=m(ne);_focusMonitor=m(Sn);_globalRippleOptions=m(Ll,{optional:!0});_document=m(ce);_onFocus=new B;_onBlur=new B;_isBasicChip;role=null;_hasFocusInternal=!1;_pendingFocus;_actionChanges;_animationsDisabled;_allLeadingIcons;_allTrailingIcons;_allRemoveIcons;_hasFocus(){return this._hasFocusInternal}id=m(mt).getId("mat-mdc-chip-");ariaLabel=null;ariaDescription=null;_ariaDescriptionId=`${this.id}-aria-description`;_chipListDisabled=!1;_textElement;get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}_value;color;removable=!0;highlighted=!1;disableRipple=!1;get disabled(){return this._disabled||this._chipListDisabled}set disabled(e){this._disabled=e}_disabled=!1;removed=new T;destroyed=new T;basicChipAttrName="mat-basic-chip";leadingIcon;trailingIcon;removeIcon;primaryAction;_rippleLoader=m(qh);_injector=m(Me);constructor(){let e=m(wt);e.load(yn),e.load(no);let n=m(et,{optional:!0});this._animationsDisabled=n==="NoopAnimations",this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){let e=this._elementRef.nativeElement;this._isBasicChip=e.hasAttribute(this.basicChipAttrName)||e.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=yt(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(e){(e.keyCode===8&&!e.repeat||e.keyCode===46)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(n=>{let o=n._elementRef.nativeElement;return o===e||o.contains(e)})}_getActions(){let e=[];return this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),this.trailingIcon&&e.push(this.trailingIcon),e}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{let n=e!==null;n!==this._hasFocusInternal&&(this._hasFocusInternal=n,n?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))))})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(n,o,r){if(n&1&&(Ne(r,KO,5),Ne(r,ZO,5),Ne(r,ox,5),Ne(r,KO,5),Ne(r,ZO,5),Ne(r,ox,5)),n&2){let a;q(a=Y())&&(o.leadingIcon=a.first),q(a=Y())&&(o.trailingIcon=a.first),q(a=Y())&&(o.removeIcon=a.first),q(a=Y())&&(o._allLeadingIcons=a),q(a=Y())&&(o._allTrailingIcons=a),q(a=Y())&&(o._allRemoveIcons=a)}},viewQuery:function(n,o){if(n&1&&se(s_,5),n&2){let r;q(r=Y())&&(o.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(n,o){n&1&&b("keydown",function(a){return o._handleKeydown(a)}),n&2&&(xn("id",o.id),ee("role",o.role)("aria-label",o.ariaLabel),Vt("mat-"+(o.color||"primary")),te("mdc-evolution-chip",!o._isBasicChip)("mdc-evolution-chip--disabled",o.disabled)("mdc-evolution-chip--with-trailing-action",o._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",o.leadingIcon)("mdc-evolution-chip--with-primary-icon",o.leadingIcon)("mdc-evolution-chip--with-avatar",o.leadingIcon)("mat-mdc-chip-with-avatar",o.leadingIcon)("mat-mdc-chip-highlighted",o.highlighted)("mat-mdc-chip-disabled",o.disabled)("mat-mdc-basic-chip",o._isBasicChip)("mat-mdc-standard-chip",!o._isBasicChip)("mat-mdc-chip-with-trailing-icon",o._hasTrailingIcon())("_mat-animation-noopable",o._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",G],highlighted:[2,"highlighted","highlighted",G],disableRipple:[2,"disableRipple","disableRipple",G],disabled:[2,"disabled","disabled",G]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[_e([{provide:sx,useExisting:t}])],ngContentSelectors:WY,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(n,o){n&1&&(Pe(HY),M(0,"span",0),l(1,"span",1)(2,"span",2),x(3,GY,2,0,"span",3),l(4,"span",4),re(5),M(6,"span",5),d()()(),x(7,$Y,2,0,"span",6)),n&2&&(u(2),h("isInteractive",!1),u(),we(o.leadingIcon?3:-1),u(4),we(o._hasTrailingIcon()?7:-1))},dependencies:[s_],styles:[`.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}@media(forced-colors: active){.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{forced-color-adjust:none}}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}.mdc-evolution-chip__icon,.mat-mdc-chip-remove .mat-icon{min-height:fit-content} -`],encapsulation:2,changeDetection:0})}return t})();var ix=(()=>{class t{_elementRef=m(K);_document=m(ce);constructor(){}initialize(e){this.getNativeElement().focus(),this.setValue(e)}getNativeElement(){return this._elementRef.nativeElement}setValue(e){this.getNativeElement().textContent=e,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){let e=this._document.createRange();e.selectNodeContents(this.getNativeElement()),e.collapse(!1);let n=window.getSelection();n.removeAllRanges(),n.addRange(e)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]})}return t})(),lx=(()=>{class t extends rx{basicChipAttrName="mat-basic-chip-row";_editStartPending=!1;editable=!1;edited=new T;defaultEditInput;contentEditInput;_isEditing=!1;constructor(){super(),this.role="row",this._onBlur.pipe(Ee(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(e){e.keyCode===13&&!this.disabled?this._isEditing?(e.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(e):this._isEditing?e.stopPropagation():super._handleKeydown(e)}_handleDoubleclick(e){!this.disabled&&this.editable&&this._startEditing(e)}_startEditing(e){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(e.target)===this.removeIcon)return;let n=this.value;this._isEditing=this._editStartPending=!0,Wt(()=>{this._getEditInput().initialize(n),this._editStartPending=!1},{injector:this._injector})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_isRippleDisabled(){return super._isRippleDisabled()||this._isEditing}_getEditInput(){return this.contentEditInput||this.defaultEditInput}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(n,o,r){if(n&1&&Ne(r,ix,5),n&2){let a;q(a=Y())&&(o.contentEditInput=a.first)}},viewQuery:function(n,o){if(n&1&&se(ix,5),n&2){let r;q(r=Y())&&(o.defaultEditInput=r.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(n,o){n&1&&b("focus",function(){return o._handleFocus()})("dblclick",function(a){return o._handleDoubleclick(a)}),n&2&&(xn("id",o.id),ee("tabindex",o.disabled?null:-1)("aria-label",null)("aria-description",null)("role",o.role),te("mat-mdc-chip-with-avatar",o.leadingIcon)("mat-mdc-chip-disabled",o.disabled)("mat-mdc-chip-editing",o._isEditing)("mat-mdc-chip-editable",o.editable)("mdc-evolution-chip--disabled",o.disabled)("mdc-evolution-chip--with-trailing-action",o._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",o.leadingIcon)("mdc-evolution-chip--with-primary-icon",o.leadingIcon)("mdc-evolution-chip--with-avatar",o.leadingIcon)("mat-mdc-chip-highlighted",o.highlighted)("mat-mdc-chip-with-trailing-icon",o._hasTrailingIcon()))},inputs:{editable:"editable"},outputs:{edited:"edited"},features:[_e([{provide:rx,useExisting:t},{provide:sx,useExisting:t}]),pe],ngContentSelectors:QY,decls:10,vars:9,consts:[[1,"mat-mdc-chip-focus-overlay"],["role","gridcell","matChipAction","",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary",3,"disabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],["aria-hidden","true",1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"],["matChipEditInput",""]],template:function(n,o){n&1&&(Pe(YY),x(0,KY,1,0,"span",0),l(1,"span",1),x(2,ZY,2,0,"span",2),l(3,"span",3),x(4,eQ,2,1)(5,tQ,1,0),M(6,"span",4),d()(),x(7,nQ,2,0,"span",5),l(8,"span",6),f(9),d()),n&2&&(we(o._isEditing?-1:0),u(),h("disabled",o.disabled),ee("aria-label",o.ariaLabel)("aria-describedby",o._ariaDescriptionId),u(),we(o.leadingIcon?2:-1),u(2),we(o._isEditing?4:5),u(3),we(o._hasTrailingIcon()?7:-1),u(),h("id",o._ariaDescriptionId),u(),Ve(o.ariaDescription))},dependencies:[s_,ix],styles:[qY],encapsulation:2,changeDetection:0})}return t})(),oQ=(()=>{class t{_elementRef=m(K);_changeDetectorRef=m(De);_dir=m(Ft,{optional:!0});_lastDestroyedFocusedChipIndex=null;_keyManager;_destroyed=new B;_defaultRole="presentation";get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get chipRemovedChanges(){return this._getChipStream(e=>e.removed)}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._syncChipsState()}_disabled=!1;get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}tabIndex=0;set role(e){this._explicitRole=e}_explicitRole=null;get focused(){return this._hasFocusedChip()}_chips;_chipActions=new Ki;constructor(){}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips?.forEach(e=>{e._chipListDisabled=this._disabled,e._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e)}_isValidIndex(e){return e>=0&&ethis._elementRef.nativeElement.tabIndex=e))}_getChipStream(e){return this._chips.changes.pipe(Dt(null),St(()=>yt(...this._chips.map(e))))}_originatesFromChip(e){let n=e.target;for(;n&&n!==this._elementRef.nativeElement;){if(n.classList.contains("mat-mdc-chip"))return!0;n=n.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(Dt(this._chips)).subscribe(e=>{let n=[];e.forEach(o=>o._getActions().forEach(r=>n.push(r))),this._chipActions.reset(n),this._chipActions.notifyOnChanges()}),this._keyManager=new Ar(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(e=>this._skipPredicate(e)),this.chipFocusChanges.pipe(Ee(this._destroyed)).subscribe(({chip:e})=>{let n=e._getSourceAction(document.activeElement);n&&this._keyManager.updateActiveItem(n)}),this._dir?.change.pipe(Ee(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e))}_skipPredicate(e){return!e.isInteractive||e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Dt(null),Ee(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(Ee(this._destroyed)).subscribe(e=>{let o=this._chips.toArray().indexOf(e.chip);this._isValidIndex(o)&&e.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=o)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),n=this._chips.toArray()[e];n.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():n.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-chip-set"]],contentQueries:function(n,o,r){if(n&1&&Ne(r,rx,5),n&2){let a;q(a=Y())&&(o._chips=a)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(n,o){n&1&&b("keydown",function(a){return o._handleKeydown(a)}),n&2&&ee("role",o.role)},inputs:{disabled:[2,"disabled","disabled",G],role:"role",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Xt(e)]},ngContentSelectors:XO,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(n,o){n&1&&(Pe(),l(0,"div",0),re(1),d())},styles:[`.mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px} -`],encapsulation:2,changeDetection:0})}return t})();var ax=class{source;value;constructor(i,e){this.source=i,this.value=e}},tP=(()=>{class t extends oQ{ngControl=m(Ii,{optional:!0,self:!0});controlType="mat-chip-grid";_chipInput;_defaultRole="grid";_errorStateTracker;_ariaDescribedbyIds=[];_onTouched=()=>{};_onChange=()=>{};get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=e,this._syncChipsState(),this.stateChanges.next()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||this._chips.length===0)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(sr.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(e){this._value=e}_value=[];get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}change=new T;valueChange=new T;_chips=void 0;stateChanges=new B;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(){super();let e=m(so,{optional:!0}),n=m(ga,{optional:!0}),o=m(vs);this.ngControl&&(this.ngControl.valueAccessor=this),this._errorStateTracker=new _a(o,this.ngControl,n,e,this.stateChanges)}ngAfterContentInit(){this.chipBlurChanges.pipe(Ee(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),yt(this.chipFocusChanges,this._chips.changes).pipe(Ee(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit(),this._chipInput}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(e){this._chipInput=e,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(e){!this.disabled&&!this._originatesFromChip(e)&&this.focus()}focus(){if(!(this.disabled||this._chipInput.focused)){if(!this._chips.length||this._chips.first.disabled)Promise.resolve().then(()=>this._chipInput.focus());else{let e=this._keyManager.activeItem;e?e.focus():this._keyManager.setFirstItemActive()}this.stateChanges.next()}}setDescribedByIds(e){this._ariaDescribedbyIds=e,this._chipInput?.setDescribedByIds(e)}writeValue(e){this._value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}updateErrorState(){this._errorStateTracker.updateErrorState()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(e){let n=e.keyCode,o=this._keyManager.activeItem;if(n===9)this._chipInput.focused&&Mt(e,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(e.preventDefault(),o?this._keyManager.setActiveItem(o):this._focusLastChip()):super._allowFocusEscape();else if(!this._chipInput.focused)if((n===38||n===40)&&o){let r=this._chipActions.filter(c=>c._isPrimary===o._isPrimary&&!this._skipPredicate(c)),a=r.indexOf(o),s=e.keyCode===38?-1:1;e.preventDefault(),a>-1&&this._isValidIndex(a+s)&&this._keyManager.setActiveItem(r[a+s])}else super._handleKeydown(e);this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){let e=this._chips.length?this._chips.toArray().map(n=>n.value):[];this._value=e,this.change.emit(new ax(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-chip-grid"]],contentQueries:function(n,o,r){if(n&1&&Ne(r,lx,5),n&2){let a;q(a=Y())&&(o._chips=a)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(n,o){n&1&&b("focus",function(){return o.focus()})("blur",function(){return o._blur()}),n&2&&(ee("role",o.role)("tabindex",o.disabled||o._chips&&o._chips.length===0?-1:o.tabIndex)("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState),te("mat-mdc-chip-list-disabled",o.disabled)("mat-mdc-chip-list-invalid",o.errorState)("mat-mdc-chip-list-required",o.required))},inputs:{disabled:[2,"disabled","disabled",G],placeholder:"placeholder",required:[2,"required","required",G],value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[_e([{provide:Pr,useExisting:t}]),pe],ngContentSelectors:XO,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(n,o){n&1&&(Pe(),l(0,"div",0),re(1),d())},styles:[iQ],encapsulation:2,changeDetection:0})}return t})(),nP=(()=>{class t{_elementRef=m(K);focused=!1;get chipGrid(){return this._chipGrid}set chipGrid(e){e&&(this._chipGrid=e,this._chipGrid.registerInput(this))}_chipGrid;addOnBlur=!1;separatorKeyCodes;chipEnd=new T;placeholder="";id=m(mt).getId("mat-mdc-chip-list-input-");get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(e){this._disabled=e}_disabled=!1;get empty(){return!this.inputElement.value}inputElement;constructor(){let e=m(JO),n=m(lo,{optional:!0});this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=e.separatorKeyCodes,n&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}_keydown(e){this.empty&&e.keyCode===8?(e.repeat||this._chipGrid._focusLastChip(),e.preventDefault()):this._emitChipEnd(e)}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._chipGrid.stateChanges.next()}_emitChipEnd(e){(!e||this._isSeparatorKey(e)&&!e.repeat)&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),e?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value=""}setDescribedByIds(e){let n=this._elementRef.nativeElement;e.length?n.setAttribute("aria-describedby",e.join(" ")):n.removeAttribute("aria-describedby")}_isSeparatorKey(e){return!Mt(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(n,o){n&1&&b("keydown",function(a){return o._keydown(a)})("blur",function(){return o._blur()})("focus",function(){return o._focus()})("input",function(){return o._onInput()}),n&2&&(xn("id",o.id),ee("disabled",o.disabled||null)("placeholder",o.placeholder||null)("aria-invalid",o._chipGrid&&o._chipGrid.ngControl?o._chipGrid.ngControl.invalid:null)("aria-required",o._chipGrid&&o._chipGrid.required||null)("required",o._chipGrid&&o._chipGrid.required||null))},inputs:{chipGrid:[0,"matChipInputFor","chipGrid"],addOnBlur:[2,"matChipInputAddOnBlur","addOnBlur",G],separatorKeyCodes:[0,"matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:[2,"disabled","disabled",G]},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[He]})}return t})();var iP=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[vs,{provide:JO,useValue:{separatorKeyCodes:[13]}}],imports:[ue,rr,ue]})}return t})();var oP=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();var rP=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[ue,oP,Ei]})}return t})();var aQ=["*",[["mat-toolbar-row"]]],sQ=["*","mat-toolbar-row"],lQ=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return t})(),aP=(()=>{class t{_elementRef=m(K);_platform=m(Je);_document=m(ce);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-toolbar"]],contentQueries:function(n,o,r){if(n&1&&Ne(r,lQ,5),n&2){let a;q(a=Y())&&(o._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(n,o){n&2&&(Vt(o.color?"mat-"+o.color:""),te("mat-toolbar-multiple-rows",o._toolbarRows.length>0)("mat-toolbar-single-row",o._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:sQ,decls:2,vars:0,template:function(n,o){n&1&&(Pe(aQ),re(0),re(1,1))},styles:[`.mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-sys-surface));color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-sys-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-sys-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-sys-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-sys-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-sys-title-large-tracking));margin:0}@media(forced-colors: active){.mat-toolbar{outline:solid 1px}}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface));--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height, 56px)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height, 56px)}} -`],encapsulation:2,changeDetection:0})}return t})();var sP=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[ue,ue]})}return t})();var lP=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=Z({providers:[{provide:Yf,useValue:{floatLabel:"always",appearance:"outline"}},{provide:eu,useValue:udsData.language}],imports:[Ka,_k,gf,sP,ar,GA,ys,rP,U0,ba,KA,ou,PR,Ak,_A,rA,lA,Cg,_g,Dk,iP,QO,fR,aR,Tk,Dg,zA,OA]})}}return t})();function dQ(t,i){if(t&1){let e=A();l(0,"button",7),b("click",function(){let o=y(e).$implicit,r=_();return C(r.changeLang(o))}),f(1),d()}if(t&2){let e=i.$implicit;u(),Ve(e.name)}}function uQ(t,i){if(t&1&&(l(0,"button",12)(1,"i",8),f(2,"face"),d(),f(3),d()),t&2){let e=_(),n=ge(7);h("matMenuTriggerFor",n),u(3),Ve(e.api.user.user)}}function mQ(t,i){if(t&1&&(l(0,"button",18),f(1),l(2,"i",8),f(3,"arrow_drop_down"),d()()),t&2){let e=_(),n=ge(7);h("matMenuTriggerFor",n),u(),P("",e.api.user.user," ")}}var cP=(()=>{class t{constructor(e){this.api=e,this.lang={id:"",name:""},this.isNavbarCollapsed=!0;let n=e.config.language;this.langs=[];for(let o of e.config.available_languages)o.id===n?this.lang=o:this.langs.push(o)}ngOnInit(){}changeLang(e){this.lang=e;let n=document.getElementById("id_language");return n&&n.setAttribute("value",e.id),document.getElementById("form_language").submit(),!1}user(){this.api.gotoUser()}logout(){this.api.logout()}static{this.\u0275fac=function(n){return new(n||t)(w(z))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-navbar"]],standalone:!1,decls:39,vars:13,consts:[["appMenu","matMenu"],["userMenu","matMenu"],["shrink","matMenu"],["id","form_language","method","post",3,"action"],["type","hidden",3,"name","value"],["id","id_language","type","hidden","name","language",3,"value"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click"],[1,"material-icons"],[1,"material-icons","highlight"],["x-position","before"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["color","primary",1,"uds-nav"],["mat-button","","routerLink","/"],["alt","Universal Desktop Services",1,"udsicon",3,"src"],[1,"fill-remaining-space"],[1,"expanded"],["mat-button","",3,"matMenuTriggerFor"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],[1,"shrinked"],["mat-icon-button","",3,"matMenuTriggerFor"]],template:function(n,o){if(n&1){let r=A();l(0,"form",3),M(1,"input",4)(2,"input",5),d(),l(3,"mat-menu",null,0),x(5,dQ,2,1,"button",6),d(),l(6,"mat-menu",null,1)(8,"button",7),b("click",function(){return y(r),C(o.user())}),l(9,"i",8),f(10,"home"),d(),l(11,"uds-translate"),f(12,"User mode"),d()(),l(13,"button",7),b("click",function(){return y(r),C(o.logout())}),l(14,"i",9),f(15,"exit_to_app"),d(),l(16,"uds-translate"),f(17,"Logout"),d()()(),l(18,"mat-menu",10,2),x(20,uQ,4,2,"button",11),l(21,"button",12)(22,"i",8),f(23,"language"),d(),f(24),d()(),l(25,"mat-toolbar",13)(26,"button",14),M(27,"img",15),d(),M(28,"span",16),l(29,"div",17)(30,"button",18),f(31),l(32,"i",8),f(33,"arrow_drop_down"),d()(),x(34,mQ,4,2,"button",19),d(),l(35,"div",20)(36,"button",21)(37,"i",8),f(38,"menu"),d()()()()}if(n&2){let r=ge(4),a=ge(19);ta("action",o.api.config.urls.change_language,Ce),u(),ta("name",o.api.csrfField),ta("value",o.api.csrfToken),u(),ta("value",o.lang.id),u(3),h("ngForOf",o.langs),u(15),h("ngIf",o.api.user.isLogged),u(),h("matMenuTriggerFor",r),u(3),Ve(o.lang.name),u(3),h("src",o.api.staticURL("admin/img/udsicon.png"),Ce),u(3),h("matMenuTriggerFor",r),u(),P("",o.lang.name," "),u(3),h("ngIf",o.api.user.isLogged),u(2),h("matMenuTriggerFor",a)}},dependencies:[Fe,de,ln,ff,uf,so,aP,Se,Ln,Ca,ws,Mg,ae],styles:[".mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}html[_ngcontent-%COMP%]{--mat-sys-on-surface: initial}.mat-app-background[_ngcontent-%COMP%]{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}.uds-nav[_ngcontent-%COMP%]{position:fixed;top:0;z-index:1000}.fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}.material-icons[_ngcontent-%COMP%]{margin-right:.3rem}.udsicon[_ngcontent-%COMP%]{width:2rem}.mat-mdc-button[_ngcontent-%COMP%]{font-weight:300}.uds-nav[_ngcontent-%COMP%] .expanded[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{color:#000}@media only screen and (max-width:744px){.expanded[_ngcontent-%COMP%]{display:none;visibility:hidden}.shrinked[_ngcontent-%COMP%]{visibility:visible}}@media only screen and (min-width:745px){.expanded[_ngcontent-%COMP%]{visibility:visible}.shrinked[_ngcontent-%COMP%]{display:none;visibility:hidden}} .dark-theme .uds-nav .expanded button{color:#fff!important}"]})}}return t})();var dP=(()=>{class t{constructor(){}ngOnInit(){}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-footer"]],standalone:!1,decls:4,vars:0,consts:[["href","https://www.udsenterprise.com"]],template:function(n,o){n&1&&(l(0,"div"),f(1,"\xA9 2012-2025 "),l(2,"a",0),f(3,"Virtual Cable S.L.U."),d()())},styles:[".mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}html[_ngcontent-%COMP%]{--mat-sys-on-surface: initial}.mat-app-background[_ngcontent-%COMP%]{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}a[_ngcontent-%COMP%]{text-decoration:none}div[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{color:#000} .dark-theme div, .dark-theme a{color:#fff}"]})}}return t})();function fQ(t,i){if(t&1&&(l(0,"a",27),M(1,"img",2),l(2,"uds-translate"),f(3,"Groups"),d()()),t&2){let e=_();u(),h("src",e.icon("groups"),Ce)}}function gQ(t,i){if(t&1){let e=A();l(0,"a",3),b("click",function(){y(e);let o=_();return C(o.toggleConfig())}),M(1,"img",2),l(2,"span")(3,"uds-translate"),f(4,"Tools"),d(),l(5,"i",4),f(6,"arrow_drop_down"),d()()()}if(t&2){let e=_();u(),h("src",e.icon("tools"),Ce)}}var uP=(()=>{class t{constructor(e,n){this.api=e,this.rest=n,this.connectivityShown=!1,this.poolsShown=!1,this.configShown=!1,this.tokensShown=!1,this.authsShown=!1,this.servicesShown=!1}ngOnInit(){}icon(e){return this.api.staticURL("admin/img/icons/"+e+".png")}toggle(e){let n=new Map([["connectivity",o=>this.connectivityShown=o?!this.connectivityShown:!1],["pools",o=>this.poolsShown=o?!this.poolsShown:!1],["config",o=>this.configShown=o?!this.configShown:!1],["tokens",o=>this.tokensShown=o?!this.tokensShown:!1],["auths",o=>this.authsShown=o?!this.authsShown:!1],["services",o=>this.servicesShown=o?!this.servicesShown:!1]]);for(let o of n)o[1](o[0]===e)}toggleConnectivity(){this.toggle("connectivity")}togglePools(){this.toggle("pools")}toggleConfig(){this.toggle("config")}toggleTokens(){this.toggle("tokens")}toggleAuths(){this.toggle("auths")}toggleServices(){this.toggle("services")}flushCache(){this.rest.system.flushCache().then(()=>{this.api.gui.snackbar.open(django.gettext("Cache flushed"),django.gettext("dismiss"),{duration:2e3})})}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(J))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-sidebar"]],standalone:!1,decls:124,vars:33,consts:[[1,"sidebar","mat-toolbar","mat-primary"],["mat-button","","routerLink","/summary",1,"sidebar-link"],[1,"icon",3,"src"],["mat-button","",1,"sidebar-link",3,"click"],[1,"material-icons"],[1,"submenu",3,"hidden"],["mat-button","","routerLink","/services/providers",1,"sidebar-link"],["mat-button","","routerLink","/services/servers",1,"sidebar-link"],["mat-button","","routerLink","/authenticators",1,"sidebar-link"],["mat-button","","routerLink","/mfas",1,"sidebar-link"],["mat-button","","routerLink","/osmanagers",1,"sidebar-link"],["mat-button","","routerLink","/connectivity/transports",1,"sidebar-link"],["mat-button","","routerLink","/connectivity/networks",1,"sidebar-link"],["mat-button","","routerLink","/connectivity/tunnels",1,"sidebar-link"],["mat-button","","routerLink","/pools/service-pools",1,"sidebar-link"],["mat-button","","routerLink","/pools/meta-pools",1,"sidebar-link"],["mat-button","","routerLink","/pools/pool-groups","class","sidebar-link",4,"ngIf"],["mat-button","","routerLink","/pools/calendars",1,"sidebar-link"],["mat-button","","routerLink","/pools/accounts",1,"sidebar-link"],["mat-button","","class","sidebar-link",3,"click",4,"ngIf"],["mat-button","","routerLink","/tools/gallery",1,"sidebar-link"],["mat-button","","routerLink","/tools/reports",1,"sidebar-link"],["mat-button","","routerLink","/tools/notifiers",1,"sidebar-link"],[1,"submenu2",3,"hidden"],["mat-button","","routerLink","/tools/tokens/actor",1,"sidebar-link"],["mat-button","","routerLink","/tools/tokens/server",1,"sidebar-link"],["mat-button","","routerLink","/tools/configuration",1,"sidebar-link"],["mat-button","","routerLink","/pools/pool-groups",1,"sidebar-link"]],template:function(n,o){n&1&&(l(0,"div",0)(1,"a",1),M(2,"img",2),l(3,"uds-translate"),f(4,"Summary"),d()(),l(5,"a",3),b("click",function(){return o.toggleServices()}),M(6,"img",2),l(7,"span")(8,"uds-translate"),f(9,"Services"),d(),l(10,"i",4),f(11,"arrow_drop_down"),d()()(),l(12,"div",5)(13,"a",6),M(14,"img",2),l(15,"uds-translate"),f(16,"Providers"),d()(),l(17,"a",7),M(18,"img",2),l(19,"uds-translate"),f(20,"Servers"),d()()(),l(21,"a",3),b("click",function(){return o.toggleAuths()}),M(22,"img",2),l(23,"span")(24,"uds-translate"),f(25,"Authentication"),d(),l(26,"i",4),f(27,"arrow_drop_down"),d()()(),l(28,"div",5)(29,"a",8),M(30,"img",2),l(31,"uds-translate"),f(32,"Authenticators"),d()(),l(33,"a",9),M(34,"img",2),l(35,"uds-translate"),f(36,"Multi Factor"),d()()(),l(37,"a",10),M(38,"img",2),l(39,"uds-translate"),f(40,"Os Managers"),d()(),l(41,"a",3),b("click",function(){return o.toggleConnectivity()}),M(42,"img",2),l(43,"span")(44,"uds-translate"),f(45,"Connectivity"),d(),l(46,"i",4),f(47,"arrow_drop_down"),d()()(),l(48,"div",5)(49,"a",11),M(50,"img",2),l(51,"uds-translate"),f(52,"Transports"),d()(),l(53,"a",12),M(54,"img",2),l(55,"uds-translate"),f(56,"Networks"),d()(),l(57,"a",13),M(58,"img",2),l(59,"uds-translate"),f(60,"Tunnels"),d()()(),l(61,"a",3),b("click",function(){return o.togglePools()}),M(62,"img",2),l(63,"span")(64,"uds-translate"),f(65,"Pools"),d(),l(66,"i",4),f(67,"arrow_drop_down"),d()()(),l(68,"div",5)(69,"a",14),M(70,"img",2),l(71,"uds-translate"),f(72,"Service pools"),d()(),l(73,"a",15),M(74,"img",2),l(75,"uds-translate"),f(76,"Meta pools"),d()(),x(77,fQ,4,1,"a",16),l(78,"a",17),M(79,"img",2),l(80,"uds-translate"),f(81,"Calendars"),d()(),l(82,"a",18),M(83,"img",2),l(84,"uds-translate"),f(85,"Accounting"),d()()(),x(86,gQ,7,1,"a",19),l(87,"div",5)(88,"a",20),M(89,"img",2),l(90,"uds-translate"),f(91,"Gallery"),d()(),l(92,"a",21),M(93,"img",2),l(94,"uds-translate"),f(95,"Reports"),d()(),l(96,"a",22),M(97,"img",2),l(98,"uds-translate"),f(99,"Notifiers"),d()(),l(100,"a",3),b("click",function(){return o.tokensShown=!o.tokensShown}),M(101,"img",2),l(102,"span")(103,"uds-translate"),f(104,"Tokens"),d(),l(105,"i",4),f(106,"arrow_drop_down"),d()()(),l(107,"div",23)(108,"a",24),M(109,"img",2),l(110,"uds-translate"),f(111,"Actor"),d()(),l(112,"a",25),M(113,"img",2),l(114,"uds-translate"),f(115,"Servers"),d()()(),l(116,"a",26),M(117,"img",2),l(118,"uds-translate"),f(119,"Configuration"),d()(),l(120,"a",3),b("click",function(){return o.flushCache()}),M(121,"img",2),l(122,"uds-translate"),f(123,"Flush Cache"),d()()()()),n&2&&(u(2),h("src",o.icon("dashboard-monitor"),Ce),u(4),h("src",o.icon("providers"),Ce),u(6),h("hidden",!o.servicesShown),u(2),h("src",o.icon("providers"),Ce),u(4),h("src",o.icon("servers"),Ce),u(4),h("src",o.icon("authentication"),Ce),u(6),h("hidden",!o.authsShown),u(2),h("src",o.icon("authenticators"),Ce),u(4),h("src",o.icon("mfas"),Ce),u(4),h("src",o.icon("osmanagers"),Ce),u(4),h("src",o.icon("connectivity"),Ce),u(6),h("hidden",!o.connectivityShown),u(2),h("src",o.icon("transports"),Ce),u(4),h("src",o.icon("networks"),Ce),u(4),h("src",o.icon("tunnels"),Ce),u(4),h("src",o.icon("poolsmenu"),Ce),u(6),h("hidden",!o.poolsShown),u(2),h("src",o.icon("pools"),Ce),u(4),h("src",o.icon("metas"),Ce),u(3),h("ngIf",o.api.user.isAdmin),u(2),h("src",o.icon("calendars"),Ce),u(4),h("src",o.icon("accounts"),Ce),u(3),h("ngIf",o.api.user.isAdmin),u(),h("hidden",!o.configShown),u(2),h("src",o.icon("gallery"),Ce),u(4),h("src",o.icon("reports"),Ce),u(4),h("src",o.icon("notifiers"),Ce),u(4),h("src",o.icon("tokens"),Ce),u(6),h("hidden",!o.tokensShown),u(2),h("src",o.icon("actors"),Ce),u(4),h("src",o.icon("servers"),Ce),u(4),h("src",o.icon("configuration"),Ce),u(4),h("src",o.icon("flush-cache"),Ce))},dependencies:[de,ln,ha,ae],styles:[".mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}html[_ngcontent-%COMP%]{--mat-sys-on-surface: initial}.mat-app-background[_ngcontent-%COMP%]{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}.sidebar[_ngcontent-%COMP%]{position:fixed;top:4rem;padding-top:12px;bottom:0;display:flex;flex-direction:column;overflow-y:auto;width:3.7rem;-moz-transition:all .5s cubic-bezier(.86,0,.07,1);transition:all .3s cubic-bezier(.86,0,.07,1);box-shadow:0 16px 38px -12px #fafafa8f,0 4px 25px #fafafa1f,0 8px 10px -5px #fafafa33;overflow-x:hidden;z-index:25}.sidebar-link[_ngcontent-%COMP%]{display:flex;width:15rem;color:transparent;-moz-transition:color .5s cubic-bezier(.86,0,.07,1);transition:color .3s cubic-bezier(.86,0,.07,1);font-weight:300;font-size:1rem;justify-content:left;justify-items:center;padding-left:1rem;text-decoration:none}.sidebar[_ngcontent-%COMP%]:hover{width:15rem;-moz-transition:all .5s cubic-bezier(.86,0,.07,1);transition:all .3s cubic-bezier(.86,0,.07,1)}.sidebar[_ngcontent-%COMP%]:hover .sidebar-link[_ngcontent-%COMP%]{color:#000}.submenu[_ngcontent-%COMP%] > .mat-mdc-button[_ngcontent-%COMP%]{padding-left:1.5rem}.submenu2[_ngcontent-%COMP%] > .mat-mdc-button[_ngcontent-%COMP%]{padding-left:1.8rem}.icon[_ngcontent-%COMP%]{width:24px;margin:0 1em -.5rem 0} .dark-theme .sidebar{box-shadow:0 16px 38px -12px #3030308f,0 4px 25px #3030301f,0 8px 10px -5px #30303033} .dark-theme .sidebar:hover .sidebar-link{color:#fff!important}.mat-mdc-button[_ngcontent-%COMP%]:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 1rem}"]})}}return t})();function vQ(t,i){if(t&1&&M(0,"div",1),t&2){let e=_();h("innerHTML",e.messages,Gt)}}var mP=(()=>{class t{constructor(e){this.api=e,this.messages="",this.visible=!1}ngOnInit(){let e=n=>n.replace(/ /gm," ").replace(/([A-Z]+[A-Z]+)/gm,"$1").replace(/([0-9]+)/gm,"$1");if(this.api.notices.length>0){let n='
';this.messages='
'+n+this.api.notices.map(e).join("
"+n)+"
",this.api.gui.alert("",this.messages,0,"80%").then(()=>{this.visible=!0})}}static{this.\u0275fac=function(n){return new(n||t)(w(z))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-notices"]],standalone:!1,decls:1,vars:1,consts:[["class","notice",3,"innerHTML",4,"ngIf"],[1,"notice",3,"innerHTML"]],template:function(n,o){n&1&&x(0,vQ,1,1,"div",0),n&2&&h("ngIf",o.visible)},dependencies:[de],styles:[".notice[_ngcontent-%COMP%]{display:block} .warn-notice-container{background:#4682b4;border-radius:3px;box-shadow:#00000024 0 4px 20px,#465d9c66 0 7px 10px -5px;box-sizing:border-box;color:#fff;margin:1rem 2rem 0rem;padding:15px;word-wrap:break-word;display:flex;flex-direction:column} .warn-notice{display:block;width:100%;text-align:center;font-size:1.1em;margin-bottom:.5rem}"]})}}return t})();var pP=(()=>{class t{constructor(e){this.api=e,this.title="UDS Admin"}get blackTheme(){return this.api.getFromStorage("blackTheme")==="true"}set blackTheme(e){this.api.putOnStorage("blackTheme",e.toString())}handleKeyboardEvent(e){e.altKey&&e.ctrlKey&&e.key==="b"&&(this.blackTheme=!this.blackTheme,this.api.switchTheme(this.blackTheme))}ngOnInit(){this.api.switchTheme(this.blackTheme)}static{this.\u0275fac=function(n){return new(n||t)(w(z))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-root"]],hostBindings:function(n,o){n&1&&b("keydown",function(a){return o.handleKeyboardEvent(a)},!1,EE)},standalone:!1,decls:8,vars:0,consts:[[1,"page"],[1,"content"],[1,"footer"]],template:function(n,o){n&1&&(M(0,"uds-navbar")(1,"uds-sidebar"),l(2,"div",0)(3,"div",1),M(4,"uds-notices")(5,"router-outlet"),d(),l(6,"div",2),M(7,"uds-footer"),d()())},dependencies:[Cd,cP,dP,uP,mP],styles:[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.footer[_ngcontent-%COMP%]{flex-shrink:0;margin:1em;height:1em;display:flex;flex-direction:row;justify-content:flex-end}.content[_ngcontent-%COMP%]{flex:1 0 auto;width:calc(100% - 64px);margin:4rem auto auto 56px;padding-left:8px;overflow-x:hidden}"]})}}return t})();var hP=(()=>{class t extends ya{constructor(){super(),this.itemsPerPageLabel=django.gettext("Items per page")}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=F({token:t,factory:t.\u0275fac})}}return t})();var fP=(()=>{class t{constructor(){this.field={},this.changed=new T}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field-text"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:4,vars:7,consts:[["matInput","","type","text",3,"ngModelChange","change","ngModel","placeholder","required","disabled","maxlength","autocomplete"]],template:function(n,o){n&1&&(l(0,"mat-form-field")(1,"mat-label"),f(2),d(),l(3,"input",0),H("ngModelChange",function(a){return W(o.field.value,a)||(o.field.value=a),a}),b("change",function(){return o.changed.emit(o)}),d()()),n&2&&(u(2),P(" ",o.field.gui.label," "),u(),U("ngModel",o.field.value),h("placeholder",o.field.gui.tooltip)("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0)("maxlength",o.field.gui.length||128)("autocomplete","new-"+o.field.name))},dependencies:[st,ve,An,_s,be,me,Te,pt],styles:[".cdk-text-field-autofilled[_ngcontent-%COMP%]{background-color:red}"]})}}return t})();function yQ(t,i){if(t&1&&(l(0,"mat-option",3),f(1),d()),t&2){let e=i.$implicit;h("value",e),u(),P(" ",e," ")}}var gP=(()=>{class t{constructor(){this.field={},this.changed=new T,this.values=[]}ngOnInit(){let e=this.field.gui.choices||[];this.field.value=this.field.value||this.field.gui.default||"",this.values=e.map(n=>n.text)}_filter(){let e=this.field.value.toLowerCase();return this.values.filter(n=>n.toLowerCase().includes(e))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field-autocomplete"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:7,vars:9,consts:[["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["matInput","","type","text",3,"ngModelChange","change","ngModel","placeholder","required","disabled","maxlength","matAutocomplete","autocomplete"],[3,"value"]],template:function(n,o){if(n&1){let r=A();l(0,"mat-form-field")(1,"mat-label"),f(2),d(),l(3,"mat-autocomplete",null,0),x(5,yQ,2,2,"mat-option",1),d(),l(6,"input",2),H("ngModelChange",function(s){return y(r),W(o.field.value,s)||(o.field.value=s),C(s)}),b("change",function(){return y(r),C(o.changed.emit(o))}),d()()}if(n&2){let r=ge(4);u(2),P(" ",o.field.gui.label," "),u(3),h("ngForOf",o._filter()),u(),U("ngModel",o.field.value),h("placeholder",o.field.gui.tooltip)("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0)("maxlength",o.field.gui.length||128)("matAutocomplete",r)("autocomplete","new-"+o.field.name)}},dependencies:[Fe,st,ve,An,_s,be,me,Te,pt,Qe,Zl,Ds],styles:[".cdk-text-field-autofilled[_ngcontent-%COMP%]{background-color:red}"]})}}return t})();var _P=(()=>{class t{constructor(){this.field={},this.changed=new T}ngOnInit(){!this.field.value&&this.field.value!==0&&(this.field.value=this.field.gui.default||0)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field-numeric"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:4,vars:5,consts:[["floatLabel","always"],["matInput","","type","number",3,"ngModelChange","change","ngModel","placeholder","required","disabled"]],template:function(n,o){n&1&&(l(0,"mat-form-field",0)(1,"mat-label"),f(2),d(),l(3,"input",1),H("ngModelChange",function(a){return W(o.field.value,a)||(o.field.value=a),a}),b("change",function(){return o.changed.emit(o)}),d()()),n&2&&(u(2),P(" ",o.field.gui.label," "),u(),U("ngModel",o.field.value),h("placeholder",o.field.gui.tooltip)("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0))},dependencies:[st,zi,ve,An,be,me,Te,pt],encapsulation:2})}}return t})();var vP=(()=>{class t{constructor(){this.field={},this.changed=new T,this.passwordType="password"}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field-password"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:7,vars:7,consts:[["floatLabel","always"],["matInput","","autocomplete","new-password",3,"ngModelChange","change","ngModel","placeholder","required","disabled","type"],["matSuffix","","mat-icon-button","",3,"click"],[1,"material-icons"]],template:function(n,o){n&1&&(l(0,"mat-form-field",0)(1,"mat-label"),f(2),d(),l(3,"input",1),H("ngModelChange",function(a){return W(o.field.value,a)||(o.field.value=a),a}),b("change",function(){return o.changed.emit(o)}),d(),l(4,"button",2),b("click",function(){return o.passwordType=o.passwordType==="text"?"password":"text"}),l(5,"i",3),f(6),d()()()),n&2&&(u(2),P(" ",o.field.gui.label," "),u(),U("ngModel",o.field.value),h("placeholder",o.field.gui.tooltip)("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0)("type",o.passwordType),u(3),Ve(o.passwordType==="text"?"visibility_off":"visibility"))},dependencies:[st,ve,An,be,Ln,me,Te,Hi,pt],styles:[".cdk-text-field-autofilled[_ngcontent-%COMP%]{background-color:red}"]})}}return t})();var bP=(()=>{class t{constructor(){this.field={}}ngOnInit(){(this.field.value===""||this.field.value===void 0)&&(this.field.value=this.field.gui.default||"")}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field-hidden"]],inputs:{field:"field"},standalone:!1,decls:0,vars:0,template:function(n,o){},encapsulation:2})}}return t})();var yP=(()=>{class t{constructor(){this.field={}}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field-textbox"]],inputs:{field:"field",value:"value"},standalone:!1,decls:4,vars:7,consts:[["floatLabel","auto"],["matInput","",3,"ngModelChange","ngModel","placeholder","required","readonly","rows","maxlength"]],template:function(n,o){n&1&&(l(0,"mat-form-field",0)(1,"mat-label"),f(2),d(),l(3,"textarea",1),H("ngModelChange",function(a){return W(o.field.value,a)||(o.field.value=a),a}),d()()),n&2&&(u(2),P(" ",o.field.gui.label," "),u(),U("ngModel",o.field.value),h("placeholder",o.field.gui.tooltip)("required",!!o.field.gui.required)("readonly",o.field.gui.readonly===!0)("rows",o.field.gui.lines||3)("maxlength",o.field.gui.length||255))},dependencies:[st,ve,An,_s,be,me,Te,pt],encapsulation:2})}}return t})();function CQ(t,i){if(t&1&&(l(0,"mat-option",3),f(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),P(" ",e.text," ")}}var CP=(()=>{class t{constructor(){this.field={},this.changed=new T,this.placeholderLabel=django.gettext("Search"),this.noEntriesFoundLabel=django.gettext("No entries found"),this.filter=""}setValue(){let e=this.field.gui.choices||[];this.field.value=this.field.value||this.field.gui.default||"",e.length>0&&!e.find(n=>n.id===this.field.value)&&(this.field.value=""),this.field.value===""&&e.length>0&&(this.field.value=e[0].id)}ngOnInit(){this.setValue()}filteredValues(){let e=this.field.gui.choices||[];if(this.setValue(),!this.filter)return e;let n=this.filter.toLocaleLowerCase();return e.filter(o=>o.text.toLocaleLowerCase().includes(n))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field-choice"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:6,vars:9,consts:[[3,"ngModelChange","valueChange","ngModel","placeholder","required","disabled"],[3,"changed","options","placeholderLabel","noEntriesFoundLabel"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(n,o){n&1&&(l(0,"mat-form-field")(1,"mat-label"),f(2),d(),l(3,"mat-select",0),H("ngModelChange",function(a){return W(o.field.value,a)||(o.field.value=a),a}),b("valueChange",function(){return o.changed.emit(o)}),l(4,"uds-cond-select-search",1),b("changed",function(a){return o.filter=a}),d(),x(5,CQ,2,2,"mat-option",2),d()()),n&2&&(u(2),P(" ",o.field.gui.label," "),u(),U("ngModel",o.field.value),h("placeholder",o.field.gui.tooltip)("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0),u(),h("options",o.field.gui.choices)("placeholderLabel",o.placeholderLabel)("noEntriesFoundLabel",o.noEntriesFoundLabel),u(),h("ngForOf",o.filteredValues()))},dependencies:[Fe,ve,An,be,me,Te,ht,Qe,cn],encapsulation:2})}}return t})();function wQ(t,i){if(t&1&&(l(0,"mat-option",3),f(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),P(" ",e.text," ")}}var wP=(()=>{class t{constructor(){this.field={},this.changed=new T,this.filter="",this.placeholderLabel=django.gettext("Search"),this.noEntriesFoundLabel=django.gettext("No entries found")}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||new Array}filteredValues(){let e=this.field.gui.choices||[];if(!this.filter||e.length===0)return e;let n=this.filter.toLocaleLowerCase();return e.filter(o=>o.text.toLocaleLowerCase().includes(n))}selectTriggerString(){let e=this.field.value||[],n="";e.length===0&&(n=this.field.gui.tooltip||django.gettext("Select"));for(let o of e)n!==""&&(n+=", "),n+=this.field.gui.choices?.find(r=>r.id===o)?.text||o;return n}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field-multichoice"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:8,vars:8,consts:[["multiple","",3,"ngModelChange","valueChange","ngModel","placeholder","required","disabled"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(n,o){n&1&&(l(0,"mat-form-field")(1,"mat-label"),f(2),d(),l(3,"mat-select",0),H("ngModelChange",function(a){return W(o.field.value,a)||(o.field.value=a),a}),b("valueChange",function(){return o.changed.emit(o)}),l(4,"mat-select-trigger"),f(5),d(),l(6,"uds-cond-select-search",1),b("changed",function(a){return o.filter=a}),d(),x(7,wQ,2,2,"mat-option",2),d()()),n&2&&(u(2),P(" ",o.field.gui.label," "),u(),U("ngModel",o.field.value),h("placeholder",o.selectTriggerString())("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0),u(2),P(" ",o.selectTriggerString()," "),u(),h("options",o.field.gui.choices),u(),h("ngForOf",o.filteredValues()))},dependencies:[Fe,ve,An,be,me,Te,ht,iu,Qe,cn],encapsulation:2})}}return t})();function xQ(t,i){if(t&1){let e=A();l(0,"div",12)(1,"div",13),f(2),d(),l(3,"div",14),f(4," \xA0"),l(5,"a",15),b("click",function(){let o=y(e).index,r=_();return C(r.removeElement(o))}),l(6,"i",16),f(7,"close"),d()()()()}if(t&2){let e=i.$implicit;u(2),P(" ",e," ")}}var xP=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.data=r,this.values=[],this.input="",this.done=new Yt,this.data.values.forEach(a=>this.values.push(a))}static launch(e,n,o){let r=window.innerWidth<800?"50%":"30%";return e.gui.dialog.open(t,{width:r,data:{title:n,values:o},disableClose:!0}).componentInstance.done}addElements(){this.input.split(",").forEach(e=>{this.values.push(e)}),this.input=""}checkKey(e){e.code==="Enter"&&this.addElements()}removeAll(){this.values.length=0}removeElement(e){this.values.splice(e,1)}save(){this.data.values.length=0,this.values.forEach(e=>this.data.values.push(e)),this.dialogRef.close(),this.done.resolve(this.data.values)}cancel(){this.dialogRef.close(),this.done.resolve(null)}ngOnInit(){}static{this.\u0275fac=function(n){return new(n||t)(w(z),w(J),w(Ae),w(Be))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-editlist-editor"]],standalone:!1,decls:23,vars:3,consts:[["mat-dialog-title",""],[1,"content"],[1,"list"],["class","elem",4,"ngFor","ngForOf"],[1,"buttons"],["mat-raised-button","","color","warn",3,"click"],[1,"input"],[1,"example-full-width"],["type","text","matInput","",3,"keyup","ngModelChange","ngModel"],["matSuffix","","mat-icon-button","",3,"click"],["matSuffix","",1,"material-icons"],["mat-raised-button","","color","primary",3,"click"],[1,"elem"],[1,"val"],[1,"remove"],[3,"click"],[1,"material-icons"]],template:function(n,o){n&1&&(l(0,"h4",0),f(1),d(),l(2,"mat-dialog-content")(3,"div",1)(4,"div",2),x(5,xQ,8,1,"div",3),d(),l(6,"div",4)(7,"button",5),b("click",function(){return o.removeAll()}),l(8,"uds-translate"),f(9,"Remove all"),d()()(),l(10,"div",6)(11,"mat-form-field",7)(12,"input",8),b("keyup",function(a){return o.checkKey(a)}),H("ngModelChange",function(a){return W(o.input,a)||(o.input=a),a}),d(),l(13,"button",9),b("click",function(){return o.addElements()}),l(14,"i",10),f(15,"add"),d()()()()()(),l(16,"mat-dialog-actions")(17,"button",5),b("click",function(){return o.cancel()}),l(18,"uds-translate"),f(19,"Cancel"),d()(),l(20,"button",11),b("click",function(){return o.save()}),l(21,"uds-translate"),f(22,"Ok"),d()()()),n&2&&(u(),P(" ",o.data.title,` -`),u(4),h("ngForOf",o.values),u(7),U("ngModel",o.input))},dependencies:[Fe,st,ve,be,Se,Ln,We,$e,Ge,me,Hi,pt,ae],styles:[".content[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;justify-content:space-between;justify-self:center}.list[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:1rem;height:16rem;overflow-y:auto;border-color:#333;border-radius:1px;box-shadow:#00000024 0 1px 4px;padding:.5rem}.buttons[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;margin-right:1rem;margin-bottom:1rem}.input[_ngcontent-%COMP%]{margin:0 1rem}.elem[_ngcontent-%COMP%]{font-family:Courier New,Courier,monospace;font-size:1.2rem;display:flex;justify-content:space-between;white-space:nowrap;flex-wrap:nowrap;margin-right:.4rem}.elem[_ngcontent-%COMP%]:hover{background-color:#333;color:#fff;cursor:default}.val[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:.2rem}.material-icons[_ngcontent-%COMP%]{font-size:1em;padding-bottom:1px}.material-icons[_ngcontent-%COMP%]:hover{cursor:pointer;color:red}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]})}}return t})();var DP=(()=>{class t{constructor(e){this.api=e,this.field={},this.changed=new T}ngOnInit(){}valueEmpty(){return this.field.value===void 0||this.field.value===null||this.field.value.length===0}launch(){return V(this,null,function*(){this.valueEmpty()&&(this.field.value=[]);let e=yield xP.launch(this.api,this.field.gui.label,this.field.value||this.field.gui.default||[]);this.changed.emit({field:this.field})})}getValue(){if(this.valueEmpty())return"";let e=this.field.value.filter((n,o,r)=>o<5).join(", ");return this.field.value.length>5&&(e+=django.gettext(", (%i more items)").replace("%i",""+(this.field.value.length-5))),e}static{this.\u0275fac=function(n){return new(n||t)(w(z))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field-editlist"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:4,vars:5,consts:[["floatLabel","always",3,"click"],["matInput","","type","text",1,"editlist",3,"readonly","value","placeholder","disabled"]],template:function(n,o){n&1&&(l(0,"mat-form-field",0),b("click",function(){return o.launch()}),l(1,"mat-label"),f(2),d(),M(3,"input",1),d()),n&2&&(u(2),P(" ",o.field.gui.label," "),u(),h("readonly",!0)("value",o.getValue())("placeholder",o.field.gui.tooltip)("disabled",o.field.gui.readonly===!0))},dependencies:[me,Te,pt],styles:[".editlist[_ngcontent-%COMP%]{cursor:pointer}"]})}}return t})();var SP=(()=>{class t{constructor(){this.field={},this.changed=new T}ngOnInit(){T1(this.field.value)?this.field.value=Gh(this.field.gui.default):this.field.value=Gh(this.field.value)}getValue(){return Gh(this.field.value)?django.gettext("Yes"):django.gettext("No")}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field-checkbox"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:3,vars:4,consts:[[1,"toggle"],[3,"ngModelChange","change","ngModel","required","disabled"]],template:function(n,o){n&1&&(l(0,"div",0)(1,"mat-slide-toggle",1),H("ngModelChange",function(a){return W(o.field.value,a)||(o.field.value=a),a}),b("change",function(){return o.changed.emit(o)}),f(2),d()()),n&2&&(u(),U("ngModel",o.field.value),h("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0),u(),P(" ",o.field.gui.label," "))},dependencies:[ve,An,be,cr],encapsulation:2})}}return t})();function DQ(t,i){if(t&1&&M(0,"div",5),t&2){let e=_().$implicit,n=_();h("innerHTML",n.asIcon(e),Gt)}}function SQ(t,i){if(t&1&&(l(0,"div"),x(1,DQ,1,1,"div",4),d()),t&2){let e=i.$implicit,n=_();u(),h("ngIf",e.id===n.field.value)}}function EQ(t,i){if(t&1&&(l(0,"mat-option",6),M(1,"div",5),d()),t&2){let e=i.$implicit,n=_();h("value",e.id),u(),h("innerHTML",n.asIcon(e),Gt)}}var EP=(()=>{class t{constructor(e){this.api=e,this.field={},this.changed=new T,this.filter=""}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||"";let e=this.field.gui.choices||[];this.field.value===""&&e.length>0&&(this.field.value=e[0].id)}asIcon(e){return this.api.safeString(this.api.gui.icon(e.img)+e.text)}filteredValues(){let e=this.field.gui.choices||[];if(!this.filter)return e;let n=this.filter.toLocaleLowerCase();return e.filter(o=>o.text.toLocaleLowerCase().includes(n))}static{this.\u0275fac=function(n){return new(n||t)(w(z))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field-imgchoice"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:8,vars:8,consts:[[3,"valueChange","ngModelChange","placeholder","ngModel","required","disabled"],[4,"ngFor","ngForOf"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],[3,"innerHTML",4,"ngIf"],[3,"innerHTML"],[3,"value"]],template:function(n,o){n&1&&(l(0,"mat-form-field")(1,"mat-label"),f(2),d(),l(3,"mat-select",0),b("valueChange",function(){return o.changed.emit(o)}),H("ngModelChange",function(a){return W(o.field.value,a)||(o.field.value=a),a}),l(4,"mat-select-trigger"),x(5,SQ,2,1,"div",1),d(),l(6,"uds-cond-select-search",2),b("changed",function(a){return o.filter=a}),d(),x(7,EQ,2,2,"mat-option",3),d()()),n&2&&(u(2),P(" ",o.field.gui.label," "),u(),h("placeholder",o.field.gui.tooltip),U("ngModel",o.field.value),h("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0),u(2),h("ngForOf",o.field.gui.choices),u(),h("options",o.field.gui.choices),u(),h("ngForOf",o.filteredValues()))},dependencies:[Fe,de,ve,An,be,me,Te,ht,iu,Qe,cn],encapsulation:2})}}return t})();var MP=(()=>{class t{constructor(){this.field={},this.changed=new T,this.value=new Date}get date(){return this.value}set date(e){this.value!==e&&(this.value=e,this.field.value=pa("%Y-%m-%d",this.value))}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||"",this.field.value==="2000-01-01"?this.field.value=pa("%Y-01-01"):this.field.value==="2000-01-01"&&(this.field.value=pa("%Y-12-31"));let e=this.field.value.split("-");e.length===3&&(this.value=new Date(+e[0],+e[1]-1,+e[2]))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field-date"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:7,vars:6,consts:[["endDatePicker",""],[1,"oneHalf"],["matInput","",3,"ngModelChange","matDatepicker","ngModel","placeholder","disabled"],["matSuffix","",3,"for"]],template:function(n,o){if(n&1){let r=A();l(0,"mat-form-field",1)(1,"mat-label"),f(2),d(),l(3,"input",2),H("ngModelChange",function(s){return y(r),W(o.date,s)||(o.date=s),C(s)}),d(),M(4,"mat-datepicker-toggle",3)(5,"mat-datepicker",null,0),d()}if(n&2){let r=ge(6);u(2),P(" ",o.field.gui.label," "),u(),h("matDatepicker",r),U("ngModel",o.date),h("placeholder",o.field.gui.tooltip)("disabled",o.field.gui.readonly===!0),u(),h("for",r)}},dependencies:[st,ve,be,me,Te,Hi,pt,Vg,nc,pu],encapsulation:2})}}return t})();function MQ(t,i){if(t&1){let e=A();l(0,"mat-chip-row",5),b("removed",function(){let o=y(e).$implicit,r=_();return C(r.remove(o))}),f(1),l(2,"i",6),f(3,"cancel"),d()()}if(t&2){let e=i.$implicit,n=_();h("removable",n.field.gui.readonly!==!0),u(),P(" ",e," ")}}var IP=(()=>{class t{constructor(){this.field={},this.changed=new T,this.separatorKeysCodes=[13,188]}ngOnInit(){this.field.value=this.field.value||new Array,this.field.value.forEach((e,n,o)=>{e.trim()===""&&o.splice(n,1)})}add(e){let n=e.input,o=e.value;(o||"").trim()&&this.field.value&&this.field.value.push(o.trim()),n&&(n.value="")}remove(e){if(!this.field.value){console.warn("Trying to remove tag from field with no values: "+this.field.name);return}let n=this.field.value.indexOf(e);n>=0&&this.field.value.splice(n,1)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field-tags"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:7,vars:7,consts:[["chipList",""],["floatLabel","always"],[3,"change","disabled"],[3,"removable","removed",4,"ngFor","ngForOf"],[3,"matChipInputTokenEnd","placeholder","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur"],[3,"removed","removable"],["matChipRemove","",1,"material-icons"]],template:function(n,o){if(n&1){let r=A();l(0,"mat-form-field",1)(1,"mat-label"),f(2),d(),l(3,"mat-chip-grid",2,0),b("change",function(){return y(r),C(o.changed.emit(o))}),x(5,MQ,4,2,"mat-chip-row",3),l(6,"input",4),b("matChipInputTokenEnd",function(s){return y(r),C(o.add(s))}),d()()()}if(n&2){let r=ge(4);u(2),P(" ",o.field.gui.label," "),u(),h("disabled",o.field.gui.readonly===!0),u(2),h("ngForOf",o.field.value),u(),h("placeholder",o.field.gui.tooltip)("matChipInputFor",r)("matChipInputSeparatorKeyCodes",o.separatorKeysCodes)("matChipInputAddOnBlur",!0)}},dependencies:[Fe,me,Te,tP,nP,eP,lx],styles:["*.mat-chip-trailing-icon[_ngcontent-%COMP%]{position:relative;top:-4px;left:-4px}mat-form-field[_ngcontent-%COMP%]{width:99.5%}"]})}}return t})();var LAe=lc(AP());var RP=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t,bootstrap:[pP]})}static{this.\u0275inj=Z({providers:[z,J,{provide:ya,useClass:hP},$y(qy())],imports:[td,QR,YO,lP,Nk.forRoot({echarts:()=>import("./chunk-DULIRFDD.js")})]})}}return t})();NM(vf,function(){return[Qa,qc,To,fP,_P,vP,bP,yP,CP,wP,DP,SP,EP,MP,IP,gP]},[]);Cf.production&&void 0;jy().bootstrapModule(RP).catch(t=>console.log(t)); +`,o=new Blob([n],{type:"application/extension-vnc"});setTimeout(()=>{(0,DP.saveAs)(o,e.ip+".vnc",{autoBom:!1})},100)}onCustomAssigned(e){return V(this,null,function*(){let n=e.table.selection.selected[0];if(e.param.id==="change-owner"){if(["E","R","M","S","C"].includes(n.state))return;(yield F_.launch(this.api,n,this.assignedServices))===!0&&e.table.overview()}else e.param.id==="log"?mm.launch(this.api,n,this.assignedServices):e.param.id==="assign-service"?(yield wP.launch(this.api,this.servicePool))===!0&&e.table.overview():e.param.id==="vnc"&&this.vnc(n)})}onCustomCached(e){let n=e.table.selection.selected[0];e.param.id==="log"&&this.cache&&mm.launch(this.api,n,this.cache)}processsAssignedElement(e){e.in_use=this.api.boolAsHumanString(e.in_use),e.origState=e.state,e.state==="U"&&(e.state=e.os_state!==""&&e.os_state!=="U"?"Z":"U")}onDeleteAssigned(e){t.cleanInvalidSelections(e)||this.api.gui.forms.deleteForm(e,django.gettext("Delete assigned service"))}onDeleteCache(e){t.cleanInvalidSelections(e)||this.api.gui.forms.deleteForm(e,django.gettext("Delete cached service"))}processsCacheElement(e){e.origState=e.state,e.state==="U"&&(e.state=e.os_state!==""&&e.os_state!=="U"?"Z":"U")}checkLocked(){return V(this,null,function*(){return this.servicePool.state==="Q"?(this.api.gui.alert(django.gettext("Service pool is locked"),django.gettext("Service pool is locked, no changes allowed")),!0):!1})}onNewGroup(e){return V(this,null,function*(){(yield this.checkLocked())||(yield L_.launch(this.api,this.servicePool,this.groups))===!0&&e.table.overview()})}onDeleteGroup(e){return V(this,null,function*(){(yield this.checkLocked())||this.api.gui.forms.deleteForm(e,django.gettext("Delete assigned group"))})}onNewTransport(e){return V(this,null,function*(){(yield this.checkLocked())||(yield vP.launch(this.api,this.servicePool))===!0&&e.table.overview()})}onDeleteTransport(e){return V(this,null,function*(){(yield this.checkLocked())||this.api.gui.forms.deleteForm(e,django.gettext("Delete assigned transport"))})}onNewPublication(e){return V(this,null,function*(){(yield bP.launch(this.api,this.servicePool))===!0&&e.table.overview()})}onPublicationRowSelect(e){return V(this,null,function*(){e.table.selection.selected.length===1&&(this.customButtonsPublication[0].disabled=!["P","W","L","K"].includes(e.table.selection.selected[0].state))})}onCustomPublication(e){return V(this,null,function*(){e.param.id==="cancel-publication"?this.api.gui.questionDialog(django.gettext("Publication"),django.gettext("Cancel publication?"),!0).then(n=>{n&&this.publications&&this.publications.invoke(e.table.selection.selected[0].id+"/cancel").then(o=>{this.api.gui.snackbar.open(django.gettext("Publication canceled"),django.gettext("dismiss"),{duration:2e3}),e.table.overview()})}):e.param.id==="changelog"&&yP.launch(this.api,this.servicePool)})}onNewScheduledAction(e){return V(this,null,function*(){qx.launch(this.api,this.servicePool).subscribe(n=>e.table.overview())})}onEditScheduledAction(e){return V(this,null,function*(){qx.launch(this.api,this.servicePool,e.table.selection.selected[0]).subscribe(n=>e.table.overview())})}onDeleteScheduledAction(e){return V(this,null,function*(){this.api.gui.forms.deleteForm(e,django.gettext("Delete scheduled action"))})}onCustomScheduleAction(e){return V(this,null,function*(){this.api.gui.questionDialog(django.gettext("Execute scheduled action"),django.gettext("Execute scheduled action right now?")).then(n=>{n&&this.scheduledActions.invoke(e.table.selection.selected[0].id+"/execute").then(()=>{this.api.gui.snackbar.open(django.gettext("Scheduled action executed"),django.gettext("dismiss"),{duration:2e3}),e.table.overview()})})})}onNewAccessCalendar(e){return V(this,null,function*(){(yield this.checkLocked())||$c.launch(this.api,this.servicePool,this.accessCalendars).subscribe(n=>e.table.overview())})}onEditAccessCalendar(e){return V(this,null,function*(){(yield this.checkLocked())||$c.launch(this.api,this.servicePool,this.accessCalendars,e.table.selection.selected[0]).subscribe(n=>e.table.overview())})}onDeleteAccessCalendar(e){return V(this,null,function*(){(yield this.checkLocked())||(e.table.selection.selected[0].id!==-1?this.api.gui.forms.deleteForm(e,django.gettext("Delete calendar access rule")):this.onEditAccessCalendar(e))})}onAccessCalendarLoad(e){return V(this,null,function*(){this.rest.servicesPools.getFallbackAccess(this.servicePool.id).then(n=>{let o=e.table.dataSource.data.filter(r=>!0);o.push({id:-1,calendar:"-",priority:this.api.safeString('10000000FallBack'),access:n}),e.table.dataSource.data=o})})}processsCalendarOrScheduledElement(e){e.name=e.calendar,e.atStart=this.api.boolAsHumanString(e.atStart)}static{this.\u0275fac=function(n){return new(n||t)(w(Oe),w(J),w(G))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-service-pools-detail"]],standalone:!1,decls:9,vars:6,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary",3,"selectedIndexChange","selectedIndex"],["mat-tab-label",""],[1,"content"],[3,"value","gui",4,"ngIf"],[4,"ngIf"],["icon","calendars",3,"customButtonAction","newAction","editAction","deleteAction","rest","multiSelect","allowExport","tableId","customButtons","onItem","pageSize"],[3,"rest","itemId","tableId","pageSize"],[3,"value","gui"],["icon","pools",3,"customButtonAction","deleteAction","rest","multiSelect","allowExport","onItem","tableId","customButtons","pageSize"],["icon","cached",3,"customButtonAction","deleteAction","rest","titleOverride","multiSelect","allowExport","onItem","tableId","customButtons","pageSize"],["icon","groups",3,"newAction","deleteAction","rest","multiSelect","allowExport","customButtons","tableId","pageSize"],["icon","transports",3,"newAction","deleteAction","rest","multiSelect","allowExport","customButtons","tableId","pageSize"],["icon","publications",3,"customButtonAction","newAction","rowSelected","rest","multiSelect","allowExport","tableId","customButtons","pageSize"],["icon","calendars",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","customButtons","tableId","onItem","pageSize"],[3,"poolUuid"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),g(4,"arrow_back"),d()(),g(5," \xA0"),M(6,"img",4),g(7),d(),S(8,Mq,22,21,"div",5),d()),n&2&&(u(2),h("routerLink",ni(4,aq,o.servicePool?o.servicePool.id:"")),u(4),h("src",o.api.staticURL("admin/img/icons/pools.png"),we),u(),O(" \xA0",o.servicePool==null?null:o.servicePool.name," "),u(),h("ngIf",o.servicePool!==null))},dependencies:[pe,mn,nn,on,sn,se,Me,Li,Mo,xP],styles:[".mat-column-state{max-width:10rem;justify-content:center} .mat-column-revision, .mat-column-cache_level, .mat-column-in_use, .mat-column-priority{max-width:7rem;justify-content:center} .mat-column-publish_date, .mat-column-state_date, .mat-column-creation_date{width:14rem} .mat-column-trans_type, .mat-column-access{max-width:9rem} .mat-column-owner{overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:break-all;word-break:break-all;word-break:break-word} .row-state-S>.mat-mdc-cell{color:gray!important} .row-state-C>.mat-mdc-cell{color:gray!important} .row-state-E>.mat-mdc-cell{color:red!important} .row-state-R>.mat-mdc-cell{color:orange!important}"]})}}return t})();var Qx=(()=>{class t{constructor(e,n,o){this.api=e,this.route=n,this.rest=o}ngOnInit(){}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New meta pool"))}onEdit(e){this.api.gui.forms.typedEditForm(e,django.gettext("Edit meta pool"))}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete meta pool"),void 0,!0)}onDetail(e){this.api.navigation.gotoMetapoolDetail(e.param.id)}processElement(e){e.visible=this.api.boolAsHumanString(e.visible),typeof e.name!="string"&&(e.name=""),e.name=e.name.replace(//g,">"),e.name=this.api.safeString(this.api.gui.icon(e.thumb)+e.name),e.pool_group_name=this.api.safeString(this.api.gui.icon(e.pool_group_thumb)+e.pool_group_name)}onLoad(e){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("metapool"))}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(Oe),w(J))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-meta-pools"]],standalone:!1,decls:2,vars:6,consts:[["icon","metas",3,"detailAction","newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","onItem","hasPermissions","pageSize"]],template:function(n,o){n&1&&(c(0,"div")(1,"uds-table",0),b("detailAction",function(a){return o.onDetail(a)})("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("loaded",function(a){return o.onLoad(a)}),d()()),n&2&&(u(),h("rest",o.rest.metaPools)("multiSelect",!0)("allowExport",!0)("onItem",o.processElement)("hasPermissions",!0)("pageSize",o.api.config.admin.page_size))},dependencies:[Me],styles:[".mat-column-user_services_count, .mat-column-user_services_in_preparation, .mat-column-visible, .mat-column-pool_group_name{max-width:7rem;justify-content:center}"]})}}return t})();function Oq(t,i){t&1&&(c(0,"uds-translate"),g(1,"New member pool"),d())}function Pq(t,i){t&1&&(c(0,"uds-translate"),g(1,"Edit member pool"),d())}function Nq(t,i){if(t&1){let e=A();c(0,"uds-cond-select-search",11),b("changed",function(o){y(e);let r=_();return C(r.servicePoolsFilter=o)}),d()}}function Fq(t,i){if(t&1&&(c(0,"mat-option",12),g(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),O(" ",e.name," ")}}var Kx=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.done=new tn,this.servicePools=[],this.servicePoolsFilter="",this.model=r.model,this.memberPool={id:void 0,priority:0,pool_id:"",enabled:!0},r.memberPool&&(this.memberPool.id=r.memberPool.id)}static launch(e,n,o){let r=window.innerWidth<800?"60%":"40%";return e.gui.dialog.open(t,{width:r,position:{top:window.innerWidth<800?"0px":"7rem"},data:{memberPool:o,model:n},disableClose:!1}).componentInstance.done}ngOnInit(){return V(this,null,function*(){this.servicePools=yield this.rest.servicesPools.summary(),this.memberPool.id&&(this.memberPool=yield this.model.get(this.memberPool.id))})}filtered(e,n){return n?e.filter(o=>o.name.toLocaleLowerCase().includes(n.toLocaleLowerCase())):e}save(){return V(this,null,function*(){if(!this.memberPool.pool_id){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid service pool"));return}yield this.model.save(this.memberPool),this.dialogRef.close(),this.done.resolve(!0)})}cancel(){this.dialogRef.close(),this.done.resolve(!1)}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(J),w(Le),w(We))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-meta-pools-service-pools"]],standalone:!1,decls:30,vars:8,consts:[["mat-dialog-title",""],[4,"ngIf"],[1,"content"],["matInput","","type","number",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],[3,"changed",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[1,"mat-form-field-infix"],[1,"label-enabled"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"changed"],[3,"value"]],template:function(n,o){n&1&&(c(0,"h4",0),S(1,Oq,2,0,"uds-translate",1)(2,Pq,2,0,"uds-translate",1),d(),c(3,"mat-dialog-content")(4,"div",2)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),g(8,"Priority"),d()(),c(9,"input",3),H("ngModelChange",function(a){return W(o.memberPool.priority,a)||(o.memberPool.priority=a),a}),d()(),c(10,"mat-form-field")(11,"mat-label")(12,"uds-translate"),g(13,"Service pool"),d()(),c(14,"mat-select",4),H("ngModelChange",function(a){return W(o.memberPool.pool_id,a)||(o.memberPool.pool_id=a),a}),S(15,Nq,1,0,"uds-cond-select-search",5)(16,Fq,2,2,"mat-option",6),d()(),c(17,"div",7)(18,"span",8)(19,"uds-translate"),g(20,"Enabled?"),d()(),c(21,"mat-slide-toggle",4),H("ngModelChange",function(a){return W(o.memberPool.enabled,a)||(o.memberPool.enabled=a),a}),g(22),d()()()(),c(23,"mat-dialog-actions")(24,"button",9),b("click",function(){return o.cancel()}),c(25,"uds-translate"),g(26,"Cancel"),d()(),c(27,"button",10),b("click",function(){return o.save()}),c(28,"uds-translate"),g(29,"Ok"),d()()()),n&2&&(u(),h("ngIf",!(o.memberPool!=null&&o.memberPool.id)),u(),h("ngIf",o.memberPool==null?null:o.memberPool.id),u(7),U("ngModel",o.memberPool.priority),u(5),U("ngModel",o.memberPool.pool_id),u(),h("ngIf",o.servicePools.length>10),u(),h("ngForOf",o.filtered(o.servicePools,o.servicePoolsFilter)),u(5),U("ngModel",o.memberPool.enabled),u(),O(" ",o.api.boolAsHumanString(o.memberPool.enabled)," "))},dependencies:[Ue,pe,ct,io,Ce,xe,ge,Ze,Je,Xe,he,Pe,pt,gt,$e,ca,se,pn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.label-enabled[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0;line-height:18px;overflow:hidden;pointer-events:none;text-align:left;text-overflow:ellipsis;transform:matrix(.85,0,0,.85,-4,-.5);white-space:nowrap}"]})}}return t})();var Lq=t=>["/pools","meta-pools",t];function Vq(t,i){t&1&&(c(0,"uds-translate"),g(1,"Summary"),d())}function Bq(t,i){if(t&1&&M(0,"uds-information",17),t&2){let e=_(2);h("value",e.metaPool)("gui",e.gui)}}function jq(t,i){t&1&&(c(0,"uds-translate"),g(1,"Service pools"),d())}function zq(t,i){t&1&&(c(0,"uds-translate"),g(1,"Assigned services"),d())}function Uq(t,i){t&1&&(c(0,"uds-translate"),g(1,"Groups"),d())}function Hq(t,i){t&1&&(c(0,"uds-translate"),g(1,"Access calendars"),d())}function Gq(t,i){t&1&&(c(0,"uds-translate"),g(1,"Logs"),d())}function Wq(t,i){if(t&1){let e=A();c(0,"div",6)(1,"div",7)(2,"mat-tab-group",8),H("selectedIndexChange",function(o){y(e);let r=_();return W(r.selectedTab,o)||(r.selectedTab=o),C(o)}),c(3,"mat-tab"),S(4,Vq,2,0,"ng-template",9),c(5,"div",10),S(6,Bq,1,2,"uds-information",11),d()(),c(7,"mat-tab"),S(8,jq,2,0,"ng-template",9),c(9,"div",10)(10,"uds-table",12),b("newAction",function(o){y(e);let r=_();return C(r.onNewMemberPool(o))})("editAction",function(o){y(e);let r=_();return C(r.onEditMemberPool(o))})("deleteAction",function(o){y(e);let r=_();return C(r.onDeleteMemberPool(o))}),d()()(),c(11,"mat-tab"),S(12,zq,2,0,"ng-template",9),c(13,"div",10)(14,"uds-table",13),b("customButtonAction",function(o){y(e);let r=_();return C(r.onCustomAssigned(o))})("deleteAction",function(o){y(e);let r=_();return C(r.onDeleteAssigned(o))}),d()()(),c(15,"mat-tab"),S(16,Uq,2,0,"ng-template",9),c(17,"div",10)(18,"uds-table",14),b("newAction",function(o){y(e);let r=_();return C(r.onNewGroup(o))})("deleteAction",function(o){y(e);let r=_();return C(r.onDeleteGroup(o))}),d()()(),c(19,"mat-tab"),S(20,Hq,2,0,"ng-template",9),c(21,"div",10)(22,"uds-table",15),b("newAction",function(o){y(e);let r=_();return C(r.onNewAccessCalendar(o))})("editAction",function(o){y(e);let r=_();return C(r.onEditAccessCalendar(o))})("deleteAction",function(o){y(e);let r=_();return C(r.onDeleteAccessCalendar(o))})("loaded",function(o){y(e);let r=_();return C(r.onAccessCalendarLoad(o))}),d()()(),c(23,"mat-tab"),S(24,Gq,2,0,"ng-template",9),c(25,"div",10),M(26,"uds-logs-table",16),d()()()()()}if(t&2){let e=_();u(2),U("selectedIndex",e.selectedTab),h("@.disabled",!0),u(4),h("ngIf",e.metaPool&&e.gui),u(4),h("rest",e.memberPools)("multiSelect",!0)("allowExport",!0)("onItem",e.processElement)("customButtons",e.customButtons)("tableId","metaPools-d-members"+e.metaPool.id)("pageSize",e.api.config.admin.page_size),u(4),h("rest",e.memberUserServices)("multiSelect",!0)("allowExport",!0)("tableId","metaPools-d-services"+e.metaPool.id)("customButtons",e.customButtonsAssignedServices)("pageSize",e.api.config.admin.page_size),u(4),h("rest",e.groups)("multiSelect",!0)("allowExport",!0)("tableId","metaPools-d-groups"+e.metaPool.id)("pageSize",e.api.config.admin.page_size),u(4),h("rest",e.accessCalendars)("multiSelect",!0)("allowExport",!0)("tableId","metaPools-d-access"+e.metaPool.id)("pageSize",e.api.config.admin.page_size)("onItem",e.processsCalendarItem),u(4),h("rest",e.rest.metaPools)("itemId",e.metaPool.id)("tableId","metaPools-d-log"+e.metaPool.id)("pageSize",e.api.config.admin.page_size)}}var EP=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o,this.customButtons=[Rn.getGotoButton(em,"pool_id")],this.customButtonsAssignedServices=[{id:"change-owner",html:Yx,type:st.SINGLE_SELECT},{id:"log",html:j_,type:st.SINGLE_SELECT},Rn.getGotoButton(tm,"owner_info.auth_id","owner_info.user_id")],this.metaPool=null,this.gui=null,this.selectedTab=1,this.memberPools={},this.memberUserServices={},this.groups={},this.accessCalendars={}}ngOnInit(){return V(this,null,function*(){let e=this.route.snapshot.paramMap.get("metapool");if(!e)return;let n=yield this.rest.metaPools.get(e),o=yield this.rest.metaPools.gui();this.memberPools=this.rest.metaPools.detail(e,"pools"),this.memberUserServices=this.rest.metaPools.detail(e,"services"),this.groups=this.rest.metaPools.detail(e,"groups"),this.accessCalendars=this.rest.metaPools.detail(e,"access"),this.metaPool=n,this.gui=o})}onNewMemberPool(e){return V(this,null,function*(){(yield Kx.launch(this.api,this.memberPools))===!0&&e.table.overview()})}onEditMemberPool(e){return V(this,null,function*(){(yield Kx.launch(this.api,this.memberPools,e.table.selection.selected[0]))===!0&&e.table.overview()})}onDeleteMemberPool(e){return V(this,null,function*(){this.api.gui.forms.deleteForm(e,django.gettext("Remove member pool"))})}onCustomAssigned(e){return V(this,null,function*(){let n=e.table.selection.selected[0];if(e.param.id==="change-owner"){if(["E","R","M","S","C"].includes(n.state))return;(yield F_.launch(this.api,n,this.memberUserServices))===!0&&e.table.overview()}else e.param.id==="log"&&mm.launch(this.api,n,this.memberUserServices)})}onDeleteAssigned(e){return V(this,null,function*(){z_.cleanInvalidSelections(e)||this.api.gui.forms.deleteForm(e,django.gettext("Delete assigned service"))})}onNewGroup(e){return V(this,null,function*(){(yield L_.launch(this.api,this.metaPool.id,this.groups))===!0&&e.table.overview()})}onDeleteGroup(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete assigned group"))}onNewAccessCalendar(e){$c.launch(this.api,this.metaPool,this.accessCalendars).subscribe(n=>e.table.overview())}onEditAccessCalendar(e){$c.launch(this.api,this.metaPool,this.accessCalendars,e.table.selection.selected[0]).subscribe(n=>e.table.overview())}onDeleteAccessCalendar(e){e.table.selection.selected[0].id!==-1?this.api.gui.forms.deleteForm(e,django.gettext("Delete calendar access rule")):this.onEditAccessCalendar(e)}onAccessCalendarLoad(e){this.rest.metaPools.getFallbackAccess(this.metaPool.id).then(n=>{let o=e.table.dataSource.data.filter(r=>!0);o.push({id:-1,calendar:"-",priority:this.api.safeString('10000000FallBack'),access:n}),e.table.dataSource.data=o})}processElement(e){e.enabled=this.api.boolAsHumanString(e.enabled)}processsCalendarItem(e){e.name=e.calendar,e.atStart=this.api.boolAsHumanString(e.atStart)}static{this.\u0275fac=function(n){return new(n||t)(w(Oe),w(J),w(G))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-meta-pools-detail"]],standalone:!1,decls:10,vars:8,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary",3,"selectedIndexChange","selectedIndex"],["mat-tab-label",""],[1,"content"],[3,"value","gui",4,"ngIf"],["icon","pools",3,"newAction","editAction","deleteAction","rest","multiSelect","allowExport","onItem","customButtons","tableId","pageSize"],["icon","pools",3,"customButtonAction","deleteAction","rest","multiSelect","allowExport","tableId","customButtons","pageSize"],["icon","groups",3,"newAction","deleteAction","rest","multiSelect","allowExport","tableId","pageSize"],["icon","calendars",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","tableId","pageSize","onItem"],[3,"rest","itemId","tableId","pageSize"],[3,"value","gui"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),g(4,"arrow_back"),d()(),g(5," \xA0"),M(6,"img",4),g(7),d(),S(8,Wq,27,31,"div",5),ht(9,"notEmpty"),d()),n&2&&(u(2),h("routerLink",ni(6,Lq,o.metaPool?o.metaPool.id:"")),u(4),h("src",o.api.staticURL("admin/img/icons/metas.png"),we),u(),O(" ",o.metaPool==null?null:o.metaPool.name," "),u(),h("ngIf",wt(9,4,o.metaPool)))},dependencies:[pe,mn,nn,on,sn,se,Me,Li,Mo,Dn],styles:[".mat-column-enabled, .mat-column-priority{max-width:8rem;justify-content:center}"]})}}return t})();var Zx=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o}ngOnInit(){}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New pool group"),!1).then(()=>e.table.overview())}onEdit(e){return V(this,null,function*(){this.api.gui.forms.typedEditForm(e,django.gettext("Edit pool group"),!1)})}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete pool group"))}onLoad(e){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("poolgroup"))}static{this.\u0275fac=function(n){return new(n||t)(w(Oe),w(J),w(G))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-pool-groups"]],standalone:!1,decls:1,vars:5,consts:[["icon","spool-group",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(n,o){n&1&&(c(0,"uds-table",0),b("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("loaded",function(a){return o.onLoad(a)}),d()),n&2&&h("rest",o.rest.servicesPoolGroups)("multiSelect",!0)("allowExport",!0)("hasPermissions",!1)("pageSize",o.api.config.admin.page_size)},dependencies:[Me],styles:[".mat-column-priority, .mat-column-thumb{max-width:7rem;justify-content:center}"]})}}return t})();var Xx=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o}ngOnInit(){}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New calendar"))}onEdit(e){this.api.gui.forms.typedEditForm(e,django.gettext("Edit calendar"))}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete calendar"))}onDetail(e){this.api.navigation.gotoCalendarDetail(e.param.id)}onLoad(e){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("calendar"))}static{this.\u0275fac=function(n){return new(n||t)(w(Oe),w(J),w(G))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-calendars"]],standalone:!1,decls:1,vars:5,consts:[["icon","calendars",3,"newAction","editAction","deleteAction","detailAction","loaded","rest","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(n,o){n&1&&(c(0,"uds-table",0),b("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("detailAction",function(a){return o.onDetail(a)})("loaded",function(a){return o.onLoad(a)}),d()),n&2&&h("rest",o.rest.calendars)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",o.api.config.admin.page_size)},dependencies:[Me],encapsulation:2})}}return t})();var $q=["mat-calendar-body",""];function qq(t,i){return this._trackRow(i)}var RP=(t,i)=>i.id;function Yq(t,i){if(t&1&&(c(0,"tr",0)(1,"td",3),g(2),d()()),t&2){let e=_();u(),Zn("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),ee("colspan",e.numCols),u(),O(" ",e.label," ")}}function Qq(t,i){if(t&1&&(c(0,"td",3),g(1),d()),t&2){let e=_(2);Zn("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),ee("colspan",e._firstRowOffset),u(),O(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function Kq(t,i){if(t&1){let e=A();c(0,"td",6)(1,"button",7),b("click",function(o){let r=y(e).$implicit,a=_(2);return C(a._cellClicked(r,o))})("focus",function(o){let r=y(e).$implicit,a=_(2);return C(a._emitActiveDateChange(r,o))}),c(2,"span",8),g(3),d(),M(4,"span",9),d()()}if(t&2){let e=i.$implicit,n=i.$index,o=_().$index,r=_();Zn("width",r._cellWidth)("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),ee("data-mat-row",o)("data-mat-col",n),u(),ne("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",r._isActiveCell(o,n))("mat-calendar-body-range-start",r._isRangeStart(e.compareValue))("mat-calendar-body-range-end",r._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",r._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",r._isComparisonBridgeStart(e.compareValue,o,n))("mat-calendar-body-comparison-bridge-end",r._isComparisonBridgeEnd(e.compareValue,o,n))("mat-calendar-body-comparison-start",r._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",r._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",r._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",r._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",r._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",r._isInPreview(e.compareValue)),h("ngClass",e.cssClasses)("tabindex",r._isActiveCell(o,n)?0:-1),ee("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",r._isSelected(e.compareValue))("aria-current",r.todayValue===e.compareValue?"date":null)("aria-describedby",r._getDescribedby(e.compareValue)),u(),ne("mat-calendar-body-selected",r._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",r._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",r.todayValue===e.compareValue),u(),O(" ",e.displayValue," ")}}function Zq(t,i){if(t&1&&(c(0,"tr",1),ue(1,Qq,2,6,"td",4),wr(2,Kq,5,48,"td",5,RP),d()),t&2){let e=i.$implicit,n=i.$index,o=_();u(),me(n===0&&o._firstRowOffset?1:-1),u(),xr(e)}}function Xq(t,i){if(t&1&&(c(0,"th",2)(1,"span",6),g(2),d(),c(3,"span",3),g(4),d()()),t&2){let e=i.$implicit;u(2),tt(e.long),u(2),tt(e.narrow)}}var Jq=["*"];function eY(t,i){}function tY(t,i){if(t&1){let e=A();c(0,"mat-month-view",4),H("activeDateChange",function(o){y(e);let r=_();return W(r.activeDate,o)||(r.activeDate=o),C(o)}),b("_userSelection",function(o){y(e);let r=_();return C(r._dateSelected(o))})("dragStarted",function(o){y(e);let r=_();return C(r._dragStarted(o))})("dragEnded",function(o){y(e);let r=_();return C(r._dragEnded(o))}),d()}if(t&2){let e=_();U("activeDate",e.activeDate),h("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("startDateAccessibleName",e.startDateAccessibleName)("endDateAccessibleName",e.endDateAccessibleName)("activeDrag",e._activeDrag)}}function nY(t,i){if(t&1){let e=A();c(0,"mat-year-view",5),H("activeDateChange",function(o){y(e);let r=_();return W(r.activeDate,o)||(r.activeDate=o),C(o)}),b("monthSelected",function(o){y(e);let r=_();return C(r._monthSelectedInYearView(o))})("selectedChange",function(o){y(e);let r=_();return C(r._goToDateInView(o,"month"))}),d()}if(t&2){let e=_();U("activeDate",e.activeDate),h("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function iY(t,i){if(t&1){let e=A();c(0,"mat-multi-year-view",6),H("activeDateChange",function(o){y(e);let r=_();return W(r.activeDate,o)||(r.activeDate=o),C(o)}),b("yearSelected",function(o){y(e);let r=_();return C(r._yearSelectedInMultiYearView(o))})("selectedChange",function(o){y(e);let r=_();return C(r._goToDateInView(o,"year"))}),d()}if(t&2){let e=_();U("activeDate",e.activeDate),h("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function oY(t,i){}var rY=["button"],aY=[[["","matDatepickerToggleIcon",""]]],sY=["[matDatepickerToggleIcon]"];function lY(t,i){t&1&&(Jt(),c(0,"svg",2),M(1,"path",3),d())}var Qc=(()=>{class t{changes=new j;calendarLabel="Calendar";openCalendarLabel="Open calendar";closeCalendarLabel="Close calendar";prevMonthLabel="Previous month";nextMonthLabel="Next month";prevYearLabel="Previous year";nextYearLabel="Next year";prevMultiYearLabel="Previous 24 years";nextMultiYearLabel="Next 24 years";switchToMonthViewLabel="Choose date";switchToMultiYearViewLabel="Choose month and year";startDateLabel="Start date";endDateLabel="End date";comparisonDateLabel="Comparison range";formatYearRange(e,n){return`${e} \u2013 ${n}`}formatYearRangeLabel(e,n){return`${e} to ${n}`}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),cY=0,hm=class{value;displayValue;ariaLabel;enabled;cssClasses;compareValue;rawValue;id=cY++;constructor(i,e,n,o,r={},a=i,s){this.value=i,this.displayValue=e,this.ariaLabel=n,this.enabled=o,this.cssClasses=r,this.compareValue=a,this.rawValue=s}},dY={passive:!1,capture:!0},U_={passive:!0,capture:!0},SP={passive:!0},Yc=(()=>{class t{_elementRef=p(K);_ngZone=p(te);_platform=p(nt);_intl=p(Qc);_eventCleanups;_skipNextFocus;_focusActiveCellAfterViewChecked=!1;label;rows;todayValue;startValue;endValue;labelMinRequiredCells;numCols=7;activeCell=0;ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}isRange=!1;cellAspectRatio=1;comparisonStart;comparisonEnd;previewStart=null;previewEnd=null;startDateAccessibleName;endDateAccessibleName;selectedValueChange=new k;previewChange=new k;activeDateChange=new k;dragStarted=new k;dragEnded=new k;_firstRowOffset;_cellPadding;_cellWidth;_startDateLabelId;_endDateLabelId;_comparisonStartDateLabelId;_comparisonEndDateLabelId;_didDragSinceMouseDown=!1;_injector=p(re);comparisonDateAccessibleName=this._intl.comparisonDateLabel;_trackRow=e=>e;constructor(){let e=p(St),n=p(mt);this._startDateLabelId=n.getId("mat-calendar-body-start-"),this._endDateLabelId=n.getId("mat-calendar-body-end-"),this._comparisonStartDateLabelId=n.getId("mat-calendar-body-comparison-start-"),this._comparisonEndDateLabelId=n.getId("mat-calendar-body-comparison-end-"),p(Dt).load(In),this._ngZone.runOutsideAngular(()=>{let o=this._elementRef.nativeElement,r=[e.listen(o,"touchmove",this._touchmoveHandler,dY),e.listen(o,"mouseenter",this._enterHandler,U_),e.listen(o,"focus",this._enterHandler,U_),e.listen(o,"mouseleave",this._leaveHandler,U_),e.listen(o,"blur",this._leaveHandler,U_),e.listen(o,"mousedown",this._mousedownHandler,SP),e.listen(o,"touchstart",this._mousedownHandler,SP)];this._platform.isBrowser&&r.push(e.listen("window","mouseup",this._mouseupHandler),e.listen("window","touchend",this._touchendHandler)),this._eventCleanups=r})}_cellClicked(e,n){this._didDragSinceMouseDown||e.enabled&&this.selectedValueChange.emit({value:e.value,event:n})}_emitActiveDateChange(e,n){e.enabled&&this.activeDateChange.emit({value:e.value,event:n})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){let n=e.numCols,{rows:o,numCols:r}=this;(e.rows||n)&&(this._firstRowOffset=o&&o.length&&o[0].length?r-o[0].length:0),(e.cellAspectRatio||n||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/r}%`),(n||!this._cellWidth)&&(this._cellWidth=`${100/r}%`)}ngOnDestroy(){this._eventCleanups.forEach(e=>e())}_isActiveCell(e,n){let o=e*this.numCols+n;return e&&(o-=this._firstRowOffset),o==this.activeCell}_focusActiveCell(e=!0){xt(()=>{setTimeout(()=>{let n=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");n&&(e||(this._skipNextFocus=!0),n.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return tD(e,this.startValue,this.endValue)}_isRangeEnd(e){return nD(e,this.startValue,this.endValue)}_isInRange(e){return iD(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return tD(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,n,o){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let r=this.rows[n][o-1];if(!r){let a=this.rows[n-1];r=a&&a[a.length-1]}return r&&!this._isRangeEnd(r.compareValue)}_isComparisonBridgeEnd(e,n,o){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let r=this.rows[n][o+1];if(!r){let a=this.rows[n+1];r=a&&a[0]}return r&&!this._isRangeStart(r.compareValue)}_isComparisonEnd(e){return nD(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return iD(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return tD(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return nD(e,this.previewStart,this.previewEnd)}_isInPreview(e){return iD(e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(e){if(!this.isRange)return null;if(this.startValue===e&&this.endValue===e)return`${this._startDateLabelId} ${this._endDateLabelId}`;if(this.startValue===e)return this._startDateLabelId;if(this.endValue===e)return this._endDateLabelId;if(this.comparisonStart!==null&&this.comparisonEnd!==null){if(e===this.comparisonStart&&e===this.comparisonEnd)return`${this._comparisonStartDateLabelId} ${this._comparisonEndDateLabelId}`;if(e===this.comparisonStart)return this._comparisonStartDateLabelId;if(e===this.comparisonEnd)return this._comparisonEndDateLabelId}return null}_enterHandler=e=>{if(this._skipNextFocus&&e.type==="focus"){this._skipNextFocus=!1;return}if(e.target&&this.isRange){let n=this._getCellFromElement(e.target);n&&this._ngZone.run(()=>this.previewChange.emit({value:n.enabled?n:null,event:e}))}};_touchmoveHandler=e=>{if(!this.isRange)return;let n=MP(e),o=n?this._getCellFromElement(n):null;n!==e.target&&(this._didDragSinceMouseDown=!0),eD(e.target)&&e.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:o?.enabled?o:null,event:e}))};_leaveHandler=e=>{this.previewEnd!==null&&this.isRange&&(e.type!=="blur"&&(this._didDragSinceMouseDown=!0),e.target&&this._getCellFromElement(e.target)&&!(e.relatedTarget&&this._getCellFromElement(e.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:e})))};_mousedownHandler=e=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let n=e.target&&this._getCellFromElement(e.target);!n||!this._isInRange(n.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:n.rawValue,event:e})})};_mouseupHandler=e=>{if(!this.isRange)return;let n=eD(e.target);if(!n){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:e})});return}n.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let o=this._getCellFromElement(n);this.dragEnded.emit({value:o?.rawValue??null,event:e})})};_touchendHandler=e=>{let n=MP(e);n&&this._mouseupHandler({target:n})};_getCellFromElement(e){let n=eD(e);if(n){let o=n.getAttribute("data-mat-row"),r=n.getAttribute("data-mat-col");if(o&&r)return this.rows[parseInt(o)]?.[parseInt(r)]||null}return null}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[Ge],attrs:$q,decls:11,vars:11,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(n,o){n&1&&(ue(0,Yq,3,6,"tr",0),wr(1,Zq,4,1,"tr",1,qq,!0),c(3,"span",2),g(4),d(),c(5,"span",2),g(6),d(),c(7,"span",2),g(8),d(),c(9,"span",2),g(10),d()),n&2&&(me(o._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mat-calendar-body-disabled{opacity:.5}}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color, var(--mat-sys-on-surface));border-color:var(--mat-datepicker-calendar-date-outline-color, transparent)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}@media(forced-colors: active){.mat-calendar-body-cell-content{border:none}}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color, var(--mat-sys-primary));color:var(--mat-datepicker-calendar-date-selected-state-text-color, var(--mat-sys-on-primary))}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color, var(--mat-sys-primary))}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color, var(--mat-sys-secondary-container))}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color, var(--mat-sys-secondary))}@media(forced-colors: active){.mat-datepicker-popup:not(:empty),.mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.mat-calendar-body-today{outline:dotted 1px}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-selected{background:none}.mat-calendar-body-in-range::before,.mat-calendar-body-comparison-bridge-start::before,.mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}} +`],encapsulation:2,changeDetection:0})}return t})();function Jx(t){return t?.nodeName==="TD"}function eD(t){let i;return Jx(t)?i=t:Jx(t.parentNode)?i=t.parentNode:Jx(t.parentNode?.parentNode)&&(i=t.parentNode.parentNode),i?.getAttribute("data-mat-row")!=null?i:null}function tD(t,i,e){return e!==null&&i!==e&&t=i&&t===e}function iD(t,i,e,n){return n&&i!==null&&e!==null&&i!==e&&t>=i&&t<=e}function MP(t){let i=t.changedTouches[0];return document.elementFromPoint(i.clientX,i.clientY)}var Io=class{start;end;_disableStructuralEquivalency;constructor(i,e){this.start=i,this.end=e}},fm=(()=>{class t{selection;_adapter;_selectionChanged=new j;selectionChanged=this._selectionChanged;constructor(e,n){this.selection=e,this._adapter=n,this.selection=e}updateSelection(e,n){let o=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:n,oldValue:o})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}static \u0275fac=function(n){Vs()};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})(),uY=(()=>{class t extends fm{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return this.selection!=null&&this._isValidDateInstance(this.selection)}isComplete(){return this.selection!=null}clone(){let e=new t(this._adapter);return e.updateSelection(this.selection,this),e}static \u0275fac=function(n){return new(n||t)(oe(ei))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})();function mY(t,i){return t||new uY(i)}var OP={provide:fm,deps:[[new yr,new Ia,fm],ei],useFactory:mY};var PP=new T("MAT_DATE_RANGE_SELECTION_STRATEGY");var oD=7,pY=0,IP=(()=>{class t{_changeDetectorRef=p(Te);_dateFormats=p(Xa,{optional:!0});_dateAdapter=p(ei,{optional:!0});_dir=p(Bt,{optional:!0});_rangeStrategy=p(PP,{optional:!0});_rerenderSubscription=_e.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(e){let n=this._activeDate,o=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(o,this.minDate,this.maxDate),this._hasSameMonthAndYear(n,this._activeDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof Io?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;activeDrag=null;selectedChange=new k;_userSelection=new k;dragStarted=new k;dragEnded=new k;activeDateChange=new k;_matCalendarBody;_monthLabel=Ie("");_weeks=Ie([]);_firstWeekOffset=Ie(0);_rangeStart=Ie(null);_rangeEnd=Ie(null);_comparisonRangeStart=Ie(null);_comparisonRangeEnd=Ie(null);_previewStart=Ie(null);_previewEnd=Ie(null);_isRange=Ie(!1);_todayDate=Ie(null);_weekdays=Ie([]);constructor(){p(Dt).load(_o),this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Et(null)).subscribe(()=>this._init())}ngOnChanges(e){let n=e.comparisonStart||e.comparisonEnd;n&&!n.firstChange&&this._setRanges(this.selected),e.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){let n=e.value,o=this._getDateFromDayOfMonth(n),r,a;this._selected instanceof Io?(r=this._getDateInCurrentMonth(this._selected.start),a=this._getDateInCurrentMonth(this._selected.end)):r=a=this._getDateInCurrentMonth(this._selected),(r!==n||a!==n)&&this.selectedChange.emit(o),this._userSelection.emit({value:o,event:e.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(e){let n=e.value,o=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(n),this._dateAdapter.compareDate(o,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(e){let n=this._activeDate,o=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,o?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,o?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0,this._canSelect(this._activeDate)&&e.preventDefault();return;case 27:this._previewEnd()!=null&&!kt(e)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:e}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e})),e.preventDefault(),e.stopPropagation());return;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate.set(this._getCellCompareValue(this._dateAdapter.today())),this._monthLabel.set(this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase());let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset.set((oD+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%oD),this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:e,value:n}){if(this._rangeStrategy){let o=n?n.rawValue:null,r=this._rangeStrategy.createPreview(o,this.selected,e);if(this._previewStart.set(this._getCellCompareValue(r.start)),this._previewEnd.set(this._getCellCompareValue(r.end)),this.activeDrag&&o){let a=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,o,e);a&&(this._previewStart.set(this._getCellCompareValue(a.start)),this._previewEnd.set(this._getCellCompareValue(a.end)))}}}_dragEnded(e){if(this.activeDrag)if(e.value){let n=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,e.value,e.event);this.dragEnded.emit({value:n??null,event:e.event})}else this.dragEnded.emit({value:null,event:e.event})}_getDateFromDayOfMonth(e){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),e)}_initWeekdays(){let e=this._dateAdapter.getFirstDayOfWeek(),n=this._dateAdapter.getDayOfWeekNames("narrow"),r=this._dateAdapter.getDayOfWeekNames("long").map((a,s)=>({long:a,narrow:n[s],id:pY++}));this._weekdays.set(r.slice(e).concat(r.slice(0,e)))}_createWeekCells(){let e=this._dateAdapter.getNumDaysInMonth(this.activeDate),n=this._dateAdapter.getDateNames(),o=[[]];for(let r=0,a=this._firstWeekOffset();r=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,n){return!!(e&&n&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(n)&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(n))}_getCellCompareValue(e){if(e){let n=this._dateAdapter.getYear(e),o=this._dateAdapter.getMonth(e),r=this._dateAdapter.getDate(e);return new Date(n,o,r).getTime()}return null}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setRanges(e){e instanceof Io?(this._rangeStart.set(this._getCellCompareValue(e.start)),this._rangeEnd.set(this._getCellCompareValue(e.end)),this._isRange.set(!0)):(this._rangeStart.set(this._getCellCompareValue(e)),this._rangeEnd.set(this._rangeStart()),this._isRange.set(!1)),this._comparisonRangeStart.set(this._getCellCompareValue(this.comparisonStart)),this._comparisonRangeEnd.set(this._getCellCompareValue(this.comparisonEnd))}_canSelect(e){return!this.dateFilter||this.dateFilter(e)}_clearPreview(){this._previewStart.set(null),this._previewEnd.set(null)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-month-view"]],viewQuery:function(n,o){if(n&1&&le(Yc,5),n&2){let r;Y(r=Q())&&(o._matCalendarBody=r.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[Ge],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(n,o){n&1&&(c(0,"table",0)(1,"thead",1)(2,"tr"),wr(3,Xq,5,2,"th",2,RP),d(),c(5,"tr",3),M(6,"th",4),d()(),c(7,"tbody",5),b("selectedValueChange",function(a){return o._dateSelected(a)})("activeDateChange",function(a){return o._updateActiveDate(a)})("previewChange",function(a){return o._previewChanged(a)})("dragStarted",function(a){return o.dragStarted.emit(a)})("dragEnded",function(a){return o._dragEnded(a)})("keyup",function(a){return o._handleCalendarBodyKeyup(a)})("keydown",function(a){return o._handleCalendarBodyKeydown(a)}),d()()),n&2&&(u(3),xr(o._weekdays()),u(4),h("label",o._monthLabel())("rows",o._weeks())("todayValue",o._todayDate())("startValue",o._rangeStart())("endValue",o._rangeEnd())("comparisonStart",o._comparisonRangeStart())("comparisonEnd",o._comparisonRangeEnd())("previewStart",o._previewStart())("previewEnd",o._previewEnd())("isRange",o._isRange())("labelMinRequiredCells",3)("activeCell",o._dateAdapter.getDate(o.activeDate)-1)("startDateAccessibleName",o.startDateAccessibleName)("endDateAccessibleName",o.endDateAccessibleName))},dependencies:[Yc],encapsulation:2,changeDetection:0})}return t})(),so=24,rD=4,TP=(()=>{class t{_changeDetectorRef=p(Te);_dateAdapter=p(ei,{optional:!0});_dir=p(Bt,{optional:!0});_rerenderSubscription=_e.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(e){let n=this._activeDate,o=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(o,this.minDate,this.maxDate),NP(this._dateAdapter,n,this._activeDate,this.minDate,this.maxDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof Io?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;selectedChange=new k;yearSelected=new k;activeDateChange=new k;_matCalendarBody;_years=Ie([]);_todayYear=Ie(0);_selectedYear=Ie(null);constructor(){this._dateAdapter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Et(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear.set(this._dateAdapter.getYear(this._dateAdapter.today()));let n=this._dateAdapter.getYear(this._activeDate)-pm(this._dateAdapter,this.activeDate,this.minDate,this.maxDate),o=[];for(let r=0,a=[];rthis._createCellForYear(s))),a=[]);this._years.set(o),this._changeDetectorRef.markForCheck()}_yearSelected(e){let n=e.value,o=this._dateAdapter.createDate(n,0,1),r=this._getDateFromYear(n);this.yearSelected.emit(o),this.selectedChange.emit(r)}_updateActiveDate(e){let n=e.value,o=this._activeDate;this.activeDate=this._getDateFromYear(n),this._dateAdapter.compareDate(o,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){let n=this._activeDate,o=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,o?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,o?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-rD);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,rD);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-pm(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,so-pm(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-so*10:-so);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?so*10:so);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_getActiveCell(){return pm(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(e){let n=this._dateAdapter.getMonth(this.activeDate),o=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,n,1));return this._dateAdapter.createDate(e,n,Math.min(this._dateAdapter.getDate(this.activeDate),o))}_createCellForYear(e){let n=this._dateAdapter.createDate(e,0,1),o=this._dateAdapter.getYearName(n),r=this.dateClass?this.dateClass(n,"multi-year"):void 0;return new hm(e,o,o,this._shouldEnableYear(e),r)}_shouldEnableYear(e){if(e==null||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e{class t{_changeDetectorRef=p(Te);_dateFormats=p(Xa,{optional:!0});_dateAdapter=p(ei,{optional:!0});_dir=p(Bt,{optional:!0});_rerenderSubscription=_e.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(e){let n=this._activeDate,o=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(o,this.minDate,this.maxDate),this._dateAdapter.getYear(n)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof Io?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;selectedChange=new k;monthSelected=new k;activeDateChange=new k;_matCalendarBody;_months=Ie([]);_yearLabel=Ie("");_todayMonth=Ie(null);_selectedMonth=Ie(null);constructor(){this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Et(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){let n=e.value,o=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),n,1);this.monthSelected.emit(o);let r=this._getDateFromMonth(n);this.selectedChange.emit(r)}_updateActiveDate(e){let n=e.value,o=this._activeDate;this.activeDate=this._getDateFromMonth(n),this._dateAdapter.compareDate(o,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){let n=this._activeDate,o=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,o?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,o?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth.set(this._getMonthInCurrentYear(this._dateAdapter.today())),this._yearLabel.set(this._dateAdapter.getYearName(this.activeDate));let e=this._dateAdapter.getMonthNames("short");this._months.set([[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(n=>n.map(o=>this._createCellForMonth(o,e[o])))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_getDateFromMonth(e){let n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),o=this._dateAdapter.getNumDaysInMonth(n);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),o))}_createCellForMonth(e,n){let o=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),r=this._dateAdapter.format(o,this._dateFormats.display.monthYearA11yLabel),a=this.dateClass?this.dateClass(o,"year"):void 0;return new hm(e,n.toLocaleUpperCase(),r,this._shouldEnableMonth(e),a)}_shouldEnableMonth(e){let n=this._dateAdapter.getYear(this.activeDate);if(e==null||this._isYearAndMonthAfterMaxDate(n,e)||this._isYearAndMonthBeforeMinDate(n,e))return!1;if(!this.dateFilter)return!0;let o=this._dateAdapter.createDate(n,e,1);for(let r=o;this._dateAdapter.getMonth(r)==e;r=this._dateAdapter.addCalendarDays(r,1))if(this.dateFilter(r))return!0;return!1}_isYearAndMonthAfterMaxDate(e,n){if(this.maxDate){let o=this._dateAdapter.getYear(this.maxDate),r=this._dateAdapter.getMonth(this.maxDate);return e>o||e===o&&n>r}return!1}_isYearAndMonthBeforeMinDate(e,n){if(this.minDate){let o=this._dateAdapter.getYear(this.minDate),r=this._dateAdapter.getMonth(this.minDate);return e{class t{_intl=p(Qc);calendar=p(aD);_dateAdapter=p(ei,{optional:!0});_dateFormats=p(Xa,{optional:!0});_periodButtonText;_periodButtonDescription;_periodButtonLabel;_prevButtonLabel;_nextButtonLabel;constructor(){p(Dt).load(_o);let e=p(Te);this._updateLabels(),this.calendar.stateChanges.subscribe(()=>{this._updateLabels(),e.markForCheck()})}get periodButtonText(){return this._periodButtonText}get periodButtonDescription(){return this._periodButtonDescription}get periodButtonLabel(){return this._periodButtonLabel}get prevButtonLabel(){return this._prevButtonLabel}get nextButtonLabel(){return this._nextButtonLabel}currentPeriodClicked(){this.calendar.currentView=this.calendar.currentView=="month"?"multi-year":"month"}previousClicked(){this.previousEnabled()&&(this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?-1:-so))}nextClicked(){this.nextEnabled()&&(this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?1:so))}previousEnabled(){return this.calendar.minDate?!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate):!0}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_updateLabels(){let e=this.calendar,n=this._intl,o=this._dateAdapter;e.currentView==="month"?(this._periodButtonText=o.format(e.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase(),this._periodButtonDescription=o.format(e.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase(),this._periodButtonLabel=n.switchToMultiYearViewLabel,this._prevButtonLabel=n.prevMonthLabel,this._nextButtonLabel=n.nextMonthLabel):e.currentView==="year"?(this._periodButtonText=o.getYearName(e.activeDate),this._periodButtonDescription=o.getYearName(e.activeDate),this._periodButtonLabel=n.switchToMonthViewLabel,this._prevButtonLabel=n.prevYearLabel,this._nextButtonLabel=n.nextYearLabel):(this._periodButtonText=n.formatYearRange(...this._formatMinAndMaxYearLabels()),this._periodButtonDescription=n.formatYearRangeLabel(...this._formatMinAndMaxYearLabels()),this._periodButtonLabel=n.switchToMonthViewLabel,this._prevButtonLabel=n.prevMultiYearLabel,this._nextButtonLabel=n.nextMultiYearLabel)}_isSameView(e,n){return this.calendar.currentView=="month"?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(n)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(n):this.calendar.currentView=="year"?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(n):NP(this._dateAdapter,e,n,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){let n=this._dateAdapter.getYear(this.calendar.activeDate)-pm(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),o=n+so-1,r=this._dateAdapter.getYearName(this._dateAdapter.createDate(n,0,1)),a=this._dateAdapter.getYearName(this._dateAdapter.createDate(o,0,1));return[r,a]}_periodButtonLabelId=p(mt).getId("mat-calendar-period-label-");static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:Jq,decls:17,vars:13,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["aria-live","polite",1,"cdk-visually-hidden",3,"id"],["matButton","","type","button",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["matIconButton","","type","button","disabledInteractive","",1,"mat-calendar-previous-button",3,"click","disabled","matTooltip"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["matIconButton","","type","button","disabledInteractive","",1,"mat-calendar-next-button",3,"click","disabled","matTooltip"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],template:function(n,o){n&1&&(He(),c(0,"div",0)(1,"div",1)(2,"span",2),g(3),d(),c(4,"button",3),b("click",function(){return o.currentPeriodClicked()}),c(5,"span",4),g(6),d(),Jt(),c(7,"svg",5),M(8,"polygon",6),d()(),Bo(),M(9,"div",7),ae(10),c(11,"button",8),b("click",function(){return o.previousClicked()}),Jt(),c(12,"svg",9),M(13,"path",10),d()(),Bo(),c(14,"button",11),b("click",function(){return o.nextClicked()}),Jt(),c(15,"svg",9),M(16,"path",12),d()()()()),n&2&&(u(2),h("id",o._periodButtonLabelId),u(),tt(o.periodButtonDescription),u(),ee("aria-label",o.periodButtonLabel)("aria-describedby",o._periodButtonLabelId),u(2),tt(o.periodButtonText),u(),ne("mat-calendar-invert",o.calendar.currentView!=="month"),u(4),h("disabled",!o.previousEnabled())("matTooltip",o.prevButtonLabel),ee("aria-label",o.prevButtonLabel),u(3),h("disabled",!o.nextEnabled())("matTooltip",o.nextButtonLabel),ee("aria-label",o.nextButtonLabel))},dependencies:[ge,Jn,ao],encapsulation:2,changeDetection:0})}return t})(),aD=(()=>{class t{_dateAdapter=p(ei,{optional:!0});_dateFormats=p(Xa,{optional:!0});_changeDetectorRef=p(Te);_elementRef=p(K);headerComponent;_calendarHeaderPortal;_intlChanges;_moveFocusOnNextTick=!1;get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_startAt;startView="month";get selected(){return this._selected}set selected(e){e instanceof Io?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;selectedChange=new k;yearSelected=new k;monthSelected=new k;viewChanged=new k(!0);_userSelection=new k;_userDragDrop=new k;monthView;yearView;multiYearView;get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}_clampedActiveDate;get currentView(){return this._currentView}set currentView(e){let n=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),n&&(this.stateChanges.next(),this.viewChanged.emit(n))}_currentView;_activeDrag=null;stateChanges=new j;constructor(){this._intlChanges=p(Qc).changes.subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new Ni(this.headerComponent||LP),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){let n=e.minDate&&!this._dateAdapter.sameDate(e.minDate.previousValue,e.minDate.currentValue)?e.minDate:void 0,o=e.maxDate&&!this._dateAdapter.sameDate(e.maxDate.previousValue,e.maxDate.currentValue)?e.maxDate:void 0,r=n||o||e.dateFilter;if(r&&!r.firstChange){let a=this._getCurrentViewComponent();a&&(this._elementRef.nativeElement.contains(go())&&(this._moveFocusOnNextTick=!0),this._changeDetectorRef.detectChanges(),a._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(e){let n=e.value;(this.selected instanceof Io||n&&!this._dateAdapter.sameDate(n,this.selected))&&this.selectedChange.emit(n),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,n){this.activeDate=e,this.currentView=n}_dragStarted(e){this._activeDrag=e}_dragEnded(e){this._activeDrag&&(e.value&&this._userDragDrop.emit(e),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-calendar"]],viewQuery:function(n,o){if(n&1&&(le(IP,5),le(kP,5),le(TP,5)),n&2){let r;Y(r=Q())&&(o.monthView=r.first),Y(r=Q())&&(o.yearView=r.first),Y(r=Q())&&(o.multiYearView=r.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[ve([OP]),Ge],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(n,o){if(n&1&&(S(0,eY,0,0,"ng-template",0),c(1,"div",1),ue(2,tY,1,11,"mat-month-view",2)(3,nY,1,6,"mat-year-view",3)(4,iY,1,6,"mat-multi-year-view",3),d()),n&2){let r;h("cdkPortalOutlet",o._calendarHeaderPortal),u(2),me((r=o.currentView)==="month"?2:r==="year"?3:r==="multi-year"?4:-1)}},dependencies:[Di,Ru,IP,kP,TP],styles:[`.mat-calendar{display:block;line-height:normal;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size))}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-period-button-text-weight, var(--mat-sys-title-small-weight));--mat-button-text-label-text-color: var(--mat-datepicker-calendar-period-button-text-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}@media(forced-colors: active){.mat-calendar-arrow{fill:CanvasText}}.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){color:var(--mat-datepicker-calendar-navigation-button-icon-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color, var(--mat-sys-on-surface-variant));font-size:var(--mat-datepicker-calendar-header-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-header-text-weight, var(--mat-sys-title-small-weight))}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color, transparent)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""} +`],encapsulation:2,changeDetection:0})}return t})(),VP=new T("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let t=p(re);return()=>zn(t)}});function fY(t){let i=p(re);return()=>zn(i)}var gY={provide:VP,deps:[],useFactory:fY},BP=(()=>{class t{_elementRef=p(K);_animationsDisabled=rt();_changeDetectorRef=p(Te);_globalModel=p(fm);_dateAdapter=p(ei);_ngZone=p(te);_rangeSelectionStrategy=p(PP,{optional:!0});_stateChanges;_model;_eventCleanups;_animationFallback;_calendar;color;datepicker;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;_isAbove;_animationDone=new j;_isAnimating=!1;_closeButtonText;_closeButtonFocused;_actionsPortal=null;_dialogLabelId;constructor(){if(p(Dt).load(_o),this._closeButtonText=p(Qc).closeCalendarLabel,!this._animationsDisabled){let e=this._elementRef.nativeElement,n=p(St);this._eventCleanups=this._ngZone.runOutsideAngular(()=>[n.listen(e,"animationstart",this._handleAnimationEvent),n.listen(e,"animationend",this._handleAnimationEvent),n.listen(e,"animationcancel",this._handleAnimationEvent)])}}ngAfterViewInit(){this._stateChanges=this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()}),this._calendar.focusActiveCell()}ngOnDestroy(){clearTimeout(this._animationFallback),this._eventCleanups?.forEach(e=>e()),this._stateChanges?.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){let n=this._model.selection,o=e.value,r=n instanceof Io;if(r&&this._rangeSelectionStrategy){let a=this._rangeSelectionStrategy.selectionFinished(o,n,e.event);this._model.updateSelection(a,this)}else o&&(r||!this._dateAdapter.sameDate(o,n))&&this._model.add(o);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(e){this._model.updateSelection(e.value,this)}_startExitAnimation(){this._elementRef.nativeElement.classList.add("mat-datepicker-content-exit"),this._animationsDisabled?this._animationDone.next():(clearTimeout(this._animationFallback),this._animationFallback=setTimeout(()=>{this._isAnimating||this._animationDone.next()},200))}_handleAnimationEvent=e=>{let n=this._elementRef.nativeElement;e.target!==n||!e.animationName.startsWith("_mat-datepicker-content")||(clearTimeout(this._animationFallback),this._isAnimating=e.type==="animationstart",n.classList.toggle("mat-datepicker-content-animating",this._isAnimating),this._isAnimating||this._animationDone.next())};_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(e,n){this._model=e?this._globalModel.clone():this._globalModel,this._actionsPortal=e,n&&this._changeDetectorRef.detectChanges()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(n,o){if(n&1&&le(aD,5),n&2){let r;Y(r=Q())&&(o._calendar=r.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:6,hostBindings:function(n,o){n&2&&(Kt(o.color?"mat-"+o.color:""),ne("mat-datepicker-content-touch",o.datepicker.touchUi)("mat-datepicker-content-animations-enabled",!o._animationsDisabled))},inputs:{color:"color"},exportAs:["matDatepickerContent"],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","matButton","elevated",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"mat-calendar",1),b("yearSelected",function(a){return o.datepicker._selectYear(a)})("monthSelected",function(a){return o.datepicker._selectMonth(a)})("viewChanged",function(a){return o.datepicker._viewChanged(a)})("_userSelection",function(a){return o._handleUserSelection(a)})("_userDragDrop",function(a){return o._handleUserDragDrop(a)}),d(),S(2,oY,0,0,"ng-template",2),c(3,"button",3),b("focus",function(){return o._closeButtonFocused=!0})("blur",function(){return o._closeButtonFocused=!1})("click",function(){return o.datepicker.close()}),g(4),d()()),n&2&&(ne("mat-datepicker-content-container-with-custom-header",o.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",o._actionsPortal),ee("aria-modal",!0)("aria-labelledby",o._dialogLabelId??void 0),u(),Kt(o.datepicker.panelClass),h("id",o.datepicker.id)("startAt",o.datepicker.startAt)("startView",o.datepicker.startView)("minDate",o.datepicker._getMinDate())("maxDate",o.datepicker._getMaxDate())("dateFilter",o.datepicker._getDateFilter())("headerComponent",o.datepicker.calendarHeaderComponent)("selected",o._getSelected())("dateClass",o.datepicker.dateClass)("comparisonStart",o.comparisonStart)("comparisonEnd",o.comparisonEnd)("startDateAccessibleName",o.startDateAccessibleName)("endDateAccessibleName",o.endDateAccessibleName),u(),h("cdkPortalOutlet",o._actionsPortal),u(),ne("cdk-visually-hidden",!o._closeButtonFocused),h("color",o.color||"primary"),u(),tt(o._closeButtonText))},dependencies:[uw,aD,Di,ge],styles:[`@keyframes _mat-datepicker-content-dropdown-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-dialog-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-exit{from{opacity:1}to{opacity:0}}.mat-datepicker-content{display:block;background-color:var(--mat-datepicker-calendar-container-background-color, var(--mat-sys-surface-container-high));color:var(--mat-datepicker-calendar-container-text-color, var(--mat-sys-on-surface));box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-shape, var(--mat-sys-corner-large))}.mat-datepicker-content.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dropdown-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.mat-datepicker-content-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-touch-shape, var(--mat-sys-corner-extra-large));position:relative;overflow:visible}.mat-datepicker-content-touch.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dialog-enter 150ms cubic-bezier(0, 0, 0.2, 1)}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}.mat-datepicker-content-exit.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-exit 100ms linear}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}} +`],encapsulation:2,changeDetection:0})}return t})(),AP=(()=>{class t{_injector=p(re);_viewContainerRef=p(Mt);_dateAdapter=p(ei,{optional:!0});_dir=p(Bt,{optional:!0});_model=p(fm);_animationsDisabled=rt();_scrollStrategy=p(VP);_inputStateChanges=_e.EMPTY;_document=p(ce);calendarHeaderComponent;get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_startAt;startView="month";get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(e){this._color=e}_color;touchUi=!1;get disabled(){return this._disabled===void 0&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){e!==this._disabled&&(this._disabled=e,this.stateChanges.next(void 0))}_disabled;xPosition="start";yPosition="below";restoreFocus=!0;yearSelected=new k;monthSelected=new k;viewChanged=new k(!0);dateClass;openedStream=new k;closedStream=new k;get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=pA(e)}_panelClass;get opened(){return this._opened}set opened(e){e?this.open():this.close()}_opened=!1;id=p(mt).getId("mat-datepicker-");_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}_overlayRef;_componentRef;_focusedElementBeforeOpen=null;_backdropHarnessClass=`${this.id}-backdrop`;_actionsPortal;datepickerInput;stateChanges=new j;_changeDetectorRef=p(Te);constructor(){this._dateAdapter,this._model.selectionChanged.subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnChanges(e){let n=e.xPosition||e.yPosition;if(n&&!n.firstChange&&this._overlayRef){let o=this._overlayRef.getConfig().positionStrategy;o instanceof wc&&(this._setConnectedPositions(o),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(e){this._model.add(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_viewChanged(e){this.viewChanged.emit(e)}registerInput(e){return this.datepickerInput,this._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(e){this._actionsPortal,this._actionsPortal=e,this._componentRef?.instance._assignActions(e,!0)}removeActions(e){e===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this.datepickerInput,this._focusedElementBeforeOpen=go(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;let e=this.restoreFocus&&this._focusedElementBeforeOpen&&typeof this._focusedElementBeforeOpen.focus=="function",n=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){let{instance:o,location:r}=this._componentRef;o._animationDone.pipe(Pt(1)).subscribe(()=>{let a=this._document.activeElement;e&&(!a||a===this._document.activeElement||r.nativeElement.contains(a))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()}),o._startExitAnimation()}e?setTimeout(n):n()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(e){e.datepicker=this,e.color=this.color,e._dialogLabelId=this.datepickerInput.getOverlayLabelId(),e._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();let e=this.touchUi,n=new Ni(BP,this._viewContainerRef),o=this._overlayRef=Ii(this._injector,new Si({positionStrategy:e?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[e?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir||"ltr",scrollStrategy:e?Wa(this._injector):this._scrollStrategy(),panelClass:`mat-datepicker-${e?"dialog":"popup"}`,disableAnimations:this._animationsDisabled}));this._getCloseStream(o).subscribe(r=>{r&&r.preventDefault(),this.close()}),o.keydownEvents().subscribe(r=>{let a=r.keyCode;(a===38||a===40||a===37||a===39||a===33||a===34)&&r.preventDefault()}),this._componentRef=o.attach(n),this._forwardContentValues(this._componentRef.instance),e||xt(()=>{o.updatePosition()},{injector:this._injector})}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return Ar(this._injector).centerHorizontally().centerVertically()}_getDropdownStrategy(){let e=Xo(this._injector,this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(e)}_setConnectedPositions(e){let n=this.xPosition==="end"?"end":"start",o=n==="start"?"end":"start",r=this.yPosition==="above"?"bottom":"top",a=r==="top"?"bottom":"top";return e.withPositions([{originX:n,originY:a,overlayX:n,overlayY:r},{originX:n,originY:r,overlayX:n,overlayY:a},{originX:o,originY:a,overlayX:o,overlayY:r},{originX:o,originY:r,overlayX:o,overlayY:a}])}_getCloseStream(e){let n=["ctrlKey","shiftKey","metaKey"];return Tt(e.backdropClick(),e.detachments(),e.keydownEvents().pipe(Ke(o=>o.keyCode===27&&!kt(o)||this.datepickerInput&&kt(o,"altKey")&&o.keyCode===38&&n.every(r=>!kt(o,r)))))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",$],disabled:[2,"disabled","disabled",$],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",$],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",$]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[Ge]})}return t})(),H_=(()=>{class t extends AP{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ct(t)))(o||t)}})();static \u0275cmp=E({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[ve([OP,{provide:AP,useExisting:t}]),ye],decls:0,vars:0,template:function(n,o){},encapsulation:2,changeDetection:0})}return t})(),qc=class{target;targetElement;value;constructor(i,e){this.target=i,this.targetElement=e,this.value=this.target.value}},_Y=(()=>{class t{_elementRef=p(K);_dateAdapter=p(ei,{optional:!0});_dateFormats=p(Xa,{optional:!0});_isInitialized;get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(e){this._assignValueProgrammatically(e)}_model;get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(e){let n=e,o=this._elementRef.nativeElement;this._disabled!==n&&(this._disabled=n,this.stateChanges.next(void 0)),n&&this._isInitialized&&o.blur&&o.blur()}_disabled;dateChange=new k;dateInput=new k;stateChanges=new j;_onTouched=()=>{};_validatorOnChange=()=>{};_cvaOnChange=()=>{};_valueChangesSubscription=_e.EMPTY;_localeSubscription=_e.EMPTY;_pendingValue;_parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}};_filterValidator=e=>{let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value));return!n||this._matchesFilter(n)?null:{matDatepickerFilter:!0}};_minValidator=e=>{let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),o=this._getMinDate();return!o||!n||this._dateAdapter.compareDate(o,n)<=0?null:{matDatepickerMin:{min:o,actual:n}}};_maxValidator=e=>{let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),o=this._getMaxDate();return!o||!n||this._dateAdapter.compareDate(o,n)>=0?null:{matDatepickerMax:{max:o,actual:n}}};_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(e){this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(n=>{if(this._shouldHandleChangeEvent(n)){let o=this._getValueFromModel(n.selection);this._lastValueValid=this._isValidValue(o),this._cvaOnChange(o),this._onTouched(),this._formatValue(o),this.dateInput.emit(new qc(this,this._elementRef.nativeElement)),this.dateChange.emit(new qc(this,this._elementRef.nativeElement))}})}_lastValueValid=!1;constructor(){this._localeSubscription=this._dateAdapter.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){vY(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}writeValue(e){this._assignValueProgrammatically(e)}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){let n=["ctrlKey","shiftKey","metaKey"];kt(e,"altKey")&&e.keyCode===40&&n.every(r=>!kt(e,r))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){let n=e.target.value,o=this._lastValueValid,r=this._dateAdapter.parse(n,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(r),r=this._dateAdapter.getValidDateOrNull(r);let a=!this._dateAdapter.sameDate(r,this.value);!r||a?this._cvaOnChange(r):(n&&!this.value&&this._cvaOnChange(r),o!==this._lastValueValid&&this._validatorOnChange()),a&&(this._assignValue(r),this.dateInput.emit(new qc(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new qc(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=e!=null?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_assignValue(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}_isValidValue(e){return!e||this._dateAdapter.isValid(e)}_parentDisabled(){return!1}_assignValueProgrammatically(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e),this._assignValue(e),this._formatValue(e)}_matchesFilter(e){let n=this._getDateFilter();return!n||n(e)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,inputs:{value:"value",disabled:[2,"disabled","disabled",$]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[Ge]})}return t})();function vY(t,i){let e=Object.keys(t);for(let n of e){let{previousValue:o,currentValue:r}=t[n];if(i.isDateInstance(o)&&i.isDateInstance(r)){if(!i.sameDate(o,r))return!0}else return!0}return!1}var bY={provide:Ai,useExisting:Zt(()=>Kc),multi:!0},yY={provide:wo,useExisting:Zt(()=>Kc),multi:!0},Kc=(()=>{class t extends _Y{_formField=p(Do,{optional:!0});_closedSubscription=_e.EMPTY;_openedSubscription=_e.EMPTY;set matDatepicker(e){e&&(this._datepicker=e,this._ariaOwns.set(e.opened?e.id:null),this._closedSubscription=e.closedStream.subscribe(()=>{this._onTouched(),this._ariaOwns.set(null)}),this._openedSubscription=e.openedStream.subscribe(()=>{this._ariaOwns.set(e.id)}),this._registerModel(e.registerInput(this)))}_datepicker;_ariaOwns=Ie(null);get min(){return this._min}set min(e){let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(n,this._min)||(this._min=n,this._validatorOnChange())}_min;get max(){return this._max}set max(e){let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(n,this._max)||(this._max=n,this._validatorOnChange())}_max;get dateFilter(){return this._dateFilter}set dateFilter(e){let n=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==n&&this._validatorOnChange()}_dateFilter;_validator;constructor(){super(),this._validator=Nr.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe(),this._openedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(e){return e}_assignValueToModel(e){this._model&&this._model.updateSelection(e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(e){return e.source!==this}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(n,o){n&1&&b("input",function(a){return o._onInput(a)})("change",function(){return o._onChange()})("blur",function(){return o._onBlur()})("keydown",function(a){return o._onKeydown(a)}),n&2&&(cn("disabled",o.disabled),ee("aria-haspopup",o._datepicker?"dialog":null)("aria-owns",o._ariaOwns())("min",o.min?o._dateAdapter.toIso8601(o.min):null)("max",o.max?o._dateAdapter.toIso8601(o.max):null)("data-mat-calendar",o._datepicker?o._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[0,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[ve([bY,yY,{provide:O_,useExisting:t}]),ye]})}return t})(),CY=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","matDatepickerToggleIcon",""]]})}return t})(),gm=(()=>{class t{_intl=p(Qc);_changeDetectorRef=p(Te);_stateChanges=_e.EMPTY;datepicker;tabIndex;ariaLabel;get disabled(){return this._disabled===void 0&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=e}_disabled;disableRipple;_customIcon;_button;constructor(){let e=p(new Vn("tabindex"),{optional:!0}),n=Number(e);this.tabIndex=n||n===0?n:null}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){let e=this.datepicker?this.datepicker.stateChanges:ie(),n=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:ie(),o=this.datepicker?Tt(this.datepicker.openedStream,this.datepicker.closedStream):ie();this._stateChanges.unsubscribe(),this._stateChanges=Tt(this._intl.changes,e,n,o).subscribe(()=>this._changeDetectorRef.markForCheck())}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(n,o,r){if(n&1&&Fe(r,CY,5),n&2){let a;Y(a=Q())&&(o._customIcon=a.first)}},viewQuery:function(n,o){if(n&1&&le(rY,5),n&2){let r;Y(r=Q())&&(o._button=r.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(n,o){n&1&&b("click",function(a){return o._open(a)}),n&2&&(ee("tabindex",null)("data-mat-calendar",o.datepicker?o.datepicker.id:null),ne("mat-datepicker-toggle-active",o.datepicker&&o.datepicker.opened)("mat-accent",o.datepicker&&o.datepicker.color==="accent")("mat-warn",o.datepicker&&o.datepicker.color==="warn"))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",$],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[Ge],ngContentSelectors:sY,decls:4,vars:7,consts:[["button",""],["matIconButton","","type","button",3,"tabIndex","disabled","disableRipple"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(n,o){n&1&&(He(aY),c(0,"button",1,0),ue(2,lY,2,0,":svg:svg",2),ae(3),d()),n&2&&(h("tabIndex",o.disabled?-1:o.tabIndex)("disabled",o.disabled)("disableRipple",o.disableRipple),ee("aria-haspopup",o.datepicker?"dialog":null)("aria-label",o.ariaLabel||o._intl.openCalendarLabel)("aria-expanded",o.datepicker?o.datepicker.opened:null),u(2),me(o._customIcon?-1:2))},dependencies:[Jn],styles:[`.mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color, var(--mat-sys-on-surface-variant))}.mat-datepicker-toggle button{color:inherit}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color, var(--mat-sys-primary))}@media(forced-colors: active){.mat-datepicker-toggle-default-icon{color:CanvasText}} +`],encapsulation:2,changeDetection:0})}return t})();var jP=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[Qc,gY],imports:[Pr,ri,tl,eo,fe,BP,gm,LP,to]})}return t})();function wY(t,i){t&1&&(c(0,"uds-translate"),g(1,"Edit rule"),d())}function xY(t,i){t&1&&(c(0,"uds-translate"),g(1,"New rule"),d())}function DY(t,i){if(t&1&&(c(0,"mat-option",21),g(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),O(" ",e.value," ")}}function EY(t,i){if(t&1&&(c(0,"mat-option",21),g(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),O(" ",e.value," ")}}function SY(t,i){if(t&1&&(c(0,"mat-option",21),g(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),O(" ",e.value," ")}}function MY(t,i){if(t&1){let e=A();c(0,"mat-form-field",11)(1,"mat-label")(2,"uds-translate"),g(3,"Week days"),d()(),c(4,"mat-select",22),H("ngModelChange",function(o){y(e);let r=_();return W(r.wDays,o)||(r.wDays=o),C(o)}),S(5,SY,2,2,"mat-option",10),d()()}if(t&2){let e=_();u(4),U("ngModel",e.wDays),u(),h("ngForOf",e.weekDays)}}function IY(t,i){if(t&1){let e=A();c(0,"mat-form-field",11)(1,"mat-label")(2,"uds-translate"),g(3,"Repeat every"),d()(),c(4,"input",8),H("ngModelChange",function(o){y(e);let r=_();return W(r.rule.interval,o)||(r.rule.interval=o),C(o)}),d(),c(5,"div",23),g(6),d()()}if(t&2){let e=_();u(4),U("ngModel",e.rule.interval),u(2),O("\xA0",e.frequency())}}var G_={DAILY:[django.gettext("day"),django.gettext("days"),django.gettext("Daily")],WEEKLY:[django.gettext("week"),django.gettext("weeks"),django.gettext("Weekly")],MONTHLY:[django.gettext("month"),django.gettext("months"),django.gettext("Monthly")],YEARLY:[django.gettext("year"),django.gettext("years"),django.gettext("Yearly")],WEEKDAYS:["","",django.gettext("Weekdays")],NEVER:["","",django.gettext("Never")]},W_={MINUTES:django.gettext("Minutes"),HOURS:django.gettext("Hours"),DAYS:django.gettext("Days"),WEEKS:django.gettext("Weeks")},UP=[django.gettext("Sunday"),django.gettext("Monday"),django.gettext("Tuesday"),django.gettext("Wednesday"),django.gettext("Thursday"),django.gettext("Friday"),django.gettext("Saturday")],HP=(t,i=!1)=>{let e=new Array;for(let n=0;n<7;n++)t&1&&e.push(UP[n].substr(0,i?100:3)),t>>=1;return e.length?e.join(", "):django.gettext("(no days)")},GP=t=>{t.frequency==="WEEKDAYS"?t.interval=HP(t.interval):t.interval=t.interval+" "+G_[t.frequency][django.pluralidx(t.interval)],t.duration=t.duration+" "+W_[t.duration_unit]},lD=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.dunits=Object.keys(W_).map(a=>({id:a,value:W_[a]})),this.freqs=Object.keys(G_).map(a=>({id:a,value:G_[a][2]})),this.weekDays=UP.map((a,s)=>({id:1<{if(this.rule=e,this.startDate=new Date(this.rule.start*1e3),this.startTime=this.startDate.toTimeString().split(":").splice(0,2).join(":"),this.endDate=this.rule.end?new Date(this.rule.end*1e3):null,this.rule.frequency==="WEEKDAYS"){let n=[];for(let o=0;o<7;o++){let r=1<this.rule.interval+=n),this.rule.interval===0)?django.gettext("Week days"):null}summary(){let e=django.gettext("Invalid or incomplete rule. Please, fix field $FIELD"),n=Ew(django.get_format("SHORT_DATE_FORMAT")),o=this.updateRuleData();if(o===null){e=django.gettext("This rule will be valid every"),this.rule.frequency==="WEEKDAYS"?e+=" "+HP(this.rule.interval,!0)+" "+django.gettext("of any week"):e+=" "+ +this.rule.interval+" "+this.frequency();let r=new Date(this.rule.start*1e3);e+=", "+django.gettext("from")+" "+Ya(n,r),this.rule.end?e+=" "+django.gettext("until")+" "+Ya(n,new Date(this.rule.end*1e3)):e+=" "+django.gettext("onwards"),e+=", "+django.gettext("starting at")+" "+r.toTimeString().split(":").slice(0,2).join(":"),+this.rule.duration>0?e+=" "+django.gettext("and every event will be active for")+" "+this.rule.duration+" "+W_[this.rule.duration_unit]:e+=django.gettext("with no duration")}return e.replace("$FIELD",o)}save(){this.rules.save(this.rule).then(()=>{this.dialogRef.close(),this.onSave.emit(!0)})}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(J),w(Le),w(We))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-calendar-rule"]],standalone:!1,decls:75,vars:25,consts:[["startDatePicker",""],["endDatePicker",""],["mat-dialog-title",""],[4,"ngIf"],[1,"content"],["matInput","","type","text",3,"ngModelChange","ngModel"],[1,"oneThird"],["matInput","","type","time",3,"ngModelChange","ngModel"],["matInput","","type","number",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],[1,"oneHalf"],["matInput","",3,"ngModelChange","matDatepicker","ngModel"],["matSuffix","",3,"for"],["matInput","",3,"ngModelChange","matDatepicker","ngModel","placeholder"],[1,"weekdays"],[3,"ngModelChange","valueChange","ngModel"],["class","oneHalf",4,"ngIf"],[1,"info"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click","disabled"],[3,"value"],["multiple","",3,"ngModelChange","ngModel"],["matSuffix",""]],template:function(n,o){if(n&1){let r=A();c(0,"h4",2),S(1,wY,2,0,"uds-translate",3),ht(2,"notEmpty"),S(3,xY,2,0,"uds-translate",3),ht(4,"isEmpty"),d(),c(5,"mat-dialog-content")(6,"div",4)(7,"mat-form-field")(8,"mat-label")(9,"uds-translate"),g(10,"Name"),d()(),c(11,"input",5),H("ngModelChange",function(s){return y(r),W(o.rule.name,s)||(o.rule.name=s),C(s)}),d()(),c(12,"mat-form-field")(13,"mat-label")(14,"uds-translate"),g(15,"Comments"),d()(),c(16,"input",5),H("ngModelChange",function(s){return y(r),W(o.rule.comments,s)||(o.rule.comments=s),C(s)}),d()(),c(17,"h3")(18,"uds-translate"),g(19,"Event"),d()(),c(20,"mat-form-field",6)(21,"mat-label")(22,"uds-translate"),g(23,"Start time"),d()(),c(24,"input",7),H("ngModelChange",function(s){return y(r),W(o.startTime,s)||(o.startTime=s),C(s)}),d()(),c(25,"mat-form-field",6)(26,"mat-label")(27,"uds-translate"),g(28,"Duration"),d()(),c(29,"input",8),H("ngModelChange",function(s){return y(r),W(o.rule.duration,s)||(o.rule.duration=s),C(s)}),d()(),c(30,"mat-form-field",6)(31,"mat-label")(32,"uds-translate"),g(33,"Duration units"),d()(),c(34,"mat-select",9),H("ngModelChange",function(s){return y(r),W(o.rule.duration_unit,s)||(o.rule.duration_unit=s),C(s)}),S(35,DY,2,2,"mat-option",10),d()(),c(36,"h3"),g(37," Repetition "),d(),c(38,"mat-form-field",11)(39,"mat-label")(40,"uds-translate"),g(41," Start date "),d()(),c(42,"input",12),H("ngModelChange",function(s){return y(r),W(o.startDate,s)||(o.startDate=s),C(s)}),d(),M(43,"mat-datepicker-toggle",13)(44,"mat-datepicker",null,0),d(),c(46,"mat-form-field",11)(47,"mat-label")(48,"uds-translate"),g(49," Repeat until date "),d()(),c(50,"input",14),H("ngModelChange",function(s){return y(r),W(o.endDate,s)||(o.endDate=s),C(s)}),d(),M(51,"mat-datepicker-toggle",13)(52,"mat-datepicker",null,1),d(),c(54,"div",15)(55,"mat-form-field",11)(56,"mat-label")(57,"uds-translate"),g(58,"Frequency"),d()(),c(59,"mat-select",16),H("ngModelChange",function(s){return y(r),W(o.rule.frequency,s)||(o.rule.frequency=s),C(s)}),b("valueChange",function(){return y(r),C(o.rule.interval=1)}),S(60,EY,2,2,"mat-option",10),d()(),S(61,MY,6,2,"mat-form-field",17)(62,IY,7,2,"mat-form-field",17),d(),c(63,"h3")(64,"uds-translate"),g(65,"Summary"),d()(),c(66,"div",18),g(67),d()()(),c(68,"mat-dialog-actions")(69,"button",19)(70,"uds-translate"),g(71,"Cancel"),d()(),c(72,"button",20),b("click",function(){return y(r),C(o.save())}),c(73,"uds-translate"),g(74,"Ok"),d()()()}if(n&2){let r=Se(45),a=Se(53);u(),h("ngIf",wt(2,21,o.rule.id)),u(2),h("ngIf",wt(4,23,o.rule.id)),u(8),U("ngModel",o.rule.name),u(5),U("ngModel",o.rule.comments),u(8),U("ngModel",o.startTime),u(5),U("ngModel",o.rule.duration),u(5),U("ngModel",o.rule.duration_unit),u(),h("ngForOf",o.dunits),u(7),h("matDatepicker",r),U("ngModel",o.startDate),u(),h("for",r),u(7),h("matDatepicker",a),U("ngModel",o.endDate),h("placeholder",o.FOREVER_STRING),u(),h("for",a),u(8),U("ngModel",o.rule.frequency),u(),h("ngForOf",o.freqs),u(),h("ngIf",o.rule.frequency==="WEEKDAYS"),u(),h("ngIf",o.rule.frequency!=="WEEKDAYS"&&o.rule.frequency!=="NEVER"),u(5),O(" ",o.summary()," "),u(5),h("disabled",o.updateRuleData()!==null||o.rule.name==="")}},dependencies:[Ue,pe,ct,io,Ce,xe,ge,Yt,Ze,Je,Xe,he,Pe,ro,pt,gt,$e,H_,Kc,gm,se,iP,Dn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]:not(.oneThird):not(.oneHalf){width:100%}.mat-mdc-form-field.oneThird[_ngcontent-%COMP%]{width:31%;margin-right:2%}.mat-mdc-form-field.oneHalf[_ngcontent-%COMP%]{width:48%;margin-right:2%}h3[_ngcontent-%COMP%]{width:100%;margin-top:.3rem;margin-bottom:1rem}.weekdays[_ngcontent-%COMP%]{width:100%;display:flex;align-items:flex-end}.label-weekdays[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0;line-height:18px;overflow:hidden;pointer-events:none;position:absolute;text-align:left;text-overflow:ellipsis;top:.5em;transform:matrix(.75,0,0,.75,0,-21.5);transform-origin:0px 0px;white-space:nowrap}.mat-datepicker-toggle[_ngcontent-%COMP%]{color:#00f}.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#23238580;color:#fff}"]})}}return t})();var TY=t=>["/pools","calendars",t];function kY(t,i){t&1&&(c(0,"uds-translate"),g(1,"Rules"),d())}function AY(t,i){if(t&1){let e=A();c(0,"div",6)(1,"div",7)(2,"mat-tab-group",8)(3,"mat-tab"),S(4,kY,2,0,"ng-template",9),c(5,"div",10)(6,"uds-table",11),b("newAction",function(o){y(e);let r=_();return C(r.onNewRule(o))})("editAction",function(o){y(e);let r=_();return C(r.onEditRule(o))})("deleteAction",function(o){y(e);let r=_();return C(r.onDeleteRule(o))}),d()()()()()()}if(t&2){let e=_();u(2),h("@.disabled",!0),u(4),h("rest",e.calendarRules)("multiSelect",!0)("allowExport",!0)("onItem",e.processElement)("tableId","calendars-d-rules"+e.calendar.id)("pageSize",e.api.config.admin.page_size)}}var WP=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o,this.calendarRules={}}ngOnInit(){let e=this.route.snapshot.paramMap.get("calendar");e&&this.rest.calendars.get(e).then(n=>{this.calendar=n,this.calendarRules=this.rest.calendars.detail(n.id,"rules")})}onNewRule(e){lD.launch(this.api,this.calendarRules).subscribe(()=>e.table.overview())}onEditRule(e){lD.launch(this.api,this.calendarRules,e.table.selection.selected[0]).subscribe(()=>e.table.overview())}onDeleteRule(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete calendar rule"))}processElement(e){GP(e)}static{this.\u0275fac=function(n){return new(n||t)(w(Oe),w(J),w(G))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-calendars-detail"]],standalone:!1,decls:10,vars:8,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary"],["mat-tab-label",""],[1,"content"],["icon","pools",3,"newAction","editAction","deleteAction","rest","multiSelect","allowExport","onItem","tableId","pageSize"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),g(4,"arrow_back"),d()(),g(5," \xA0"),M(6,"img",4),g(7),d(),S(8,AY,7,7,"div",5),ht(9,"notEmpty"),d()),n&2&&(u(2),h("routerLink",ni(6,TY,o.calendar?o.calendar.id:"")),u(4),h("src",o.api.staticURL("admin/img/icons/calendars.png"),we),u(),O(" ",o.calendar==null?null:o.calendar.name," "),u(),h("ngIf",wt(9,4,o.calendar)))},dependencies:[pe,mn,nn,on,sn,se,Me,Dn],styles:[".mat-column-start, .mat-column-end{max-width:9rem} .mat-column-frequency{max-width:9rem} .mat-column-interval, .mat-column-duration{max-width:11rem}"]})}}return t})();var RY='event'+django.gettext("Set time mark")+"",cD=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o,this.cButtons=[{id:"timemark",html:RY,type:st.SINGLE_SELECT}]}get customButtons(){return this.api.user.isAdmin?this.cButtons:[]}ngOnInit(){}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New account"))}onEdit(e){this.api.gui.forms.typedEditForm(e,django.gettext("Edit account"))}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete account"))}onTimeMark(e){let n=e.table.selection.selected[0];this.api.gui.questionDialog(django.gettext("Time mark"),django.gettext("Set time mark for $NAME to current date/time?").replace("$NAME",n.name)).then(o=>{o&&this.rest.accounts.timemark(n.id).then(()=>{this.api.gui.snackbar.open(django.gettext("Time mark stablished"),django.gettext("dismiss"),{duration:2e3}),e.table.overview()})})}onDetail(e){this.api.navigation.gotoAccountDetail(e.param.id)}onLoad(e){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("account"))}processElement(e){e.time_mark=e.time_mark===78793200?django.gettext("No time mark"):Xn("SHORT_DATE_FORMAT",e.time_mark)}static{this.\u0275fac=function(n){return new(n||t)(w(Oe),w(J),w(G))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-accounts"]],standalone:!1,decls:1,vars:7,consts:[["icon","accounts",3,"customButtonAction","newAction","editAction","deleteAction","detailAction","loaded","rest","multiSelect","allowExport","hasPermissions","customButtons","pageSize","onItem"]],template:function(n,o){n&1&&(c(0,"uds-table",0),b("customButtonAction",function(a){return o.onTimeMark(a)})("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("detailAction",function(a){return o.onDetail(a)})("loaded",function(a){return o.onLoad(a)}),d()),n&2&&h("rest",o.rest.accounts)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("customButtons",o.customButtons)("pageSize",o.api.config.admin.page_size)("onItem",o.processElement)},dependencies:[Me],encapsulation:2})}}return t})();var OY=t=>["/pools","accounts",t];function PY(t,i){t&1&&(c(0,"uds-translate"),g(1,"Account usage"),d())}function NY(t,i){if(t&1){let e=A();c(0,"div",6)(1,"div",7)(2,"mat-tab-group",8)(3,"mat-tab"),S(4,PY,2,0,"ng-template",9),c(5,"div",10)(6,"uds-table",11),b("deleteAction",function(o){y(e);let r=_();return C(r.onDeleteUsage(o))}),d()()()()()()}if(t&2){let e=_();u(2),h("@.disabled",!0),u(4),h("rest",e.accountUsage)("multiSelect",!0)("allowExport",!0)("onItem",e.processElement)("tableId","account-d-usage"+e.account.id)}}var $P=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o,this.accountUsage={}}ngOnInit(){let e=this.route.snapshot.paramMap.get("account");e&&this.rest.accounts.get(e).then(n=>{this.account=n,this.accountUsage=this.rest.accounts.detail(n.id,"usage")})}onDeleteUsage(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete account usage"))}processElement(e){e.running=this.api.boolAsHumanString(e.running)}static{this.\u0275fac=function(n){return new(n||t)(w(Oe),w(J),w(G))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-accounts-detail"]],standalone:!1,decls:10,vars:8,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary"],["mat-tab-label",""],[1,"content"],["icon","accounts",3,"deleteAction","rest","multiSelect","allowExport","onItem","tableId"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),g(4,"arrow_back"),d()(),g(5," \xA0"),M(6,"img",4),g(7),d(),S(8,NY,7,6,"div",5),ht(9,"notEmpty"),d()),n&2&&(u(2),h("routerLink",ni(6,OY,o.account?o.account.id:"")),u(4),h("src",o.api.staticURL("admin/img/icons/accounts.png"),we),u(),O(" ",o.account==null?null:o.account.name," "),u(),h("ngIf",wt(9,4,o.account)))},dependencies:[pe,mn,nn,on,sn,se,Me,Dn],encapsulation:2})}}return t})();function FY(t,i){t&1&&(c(0,"uds-translate"),g(1,"New image for"),d())}function LY(t,i){t&1&&(c(0,"uds-translate"),g(1,"Edit for"),d())}var dD=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.onSave=new k(!0),this.preview="",this.image={id:void 0,data:"",name:""},r.image&&(this.image.id=r.image.id)}static launch(e,n=null){let o=window.innerWidth<800?"60%":"40%";return e.gui.dialog.open(t,{width:o,position:{top:window.innerWidth<800?"0px":"7rem"},data:{image:n},disableClose:!0}).componentInstance.onSave}onFileChanged(e){let n=e.target;if(!n.files||n.files.length===0)return;let o=n.files[0];if(o.size>256*1024){this.api.gui.alert(django.gettext("Error"),django.gettext("Image is too big (max. upload size is 256Kb)"));return}if(!["image/jpeg","image/png","image/gif"].includes(o.type)){this.api.gui.alert(django.gettext("Error on upload"),django.gettext("Invalid image type. Supported types are: JPEG, PNG and GIF"));return}let r=new FileReader;r.onload=a=>{let s=r.result;this.preview=s,this.image.data=s.substr(s.indexOf("base64,")+7),this.image.name||(this.image.name=o.name)},r.readAsDataURL(o)}ngOnInit(){this.image.id&&this.rest.gallery.get(this.image.id).then(e=>{switch(this.image=e,this.image.data.substr(2)){case"iV":this.preview="data:image/png;base64,"+this.image.data;break;case"/9":this.preview="data:image/jpeg;base64,"+this.image.data;break;default:this.preview="data:image/gif;base64,"+this.image.data}})}background(){let e=this.api.config.image_size[0],n=this.api.config.image_size[1],o={"width.px":e,"height.px":n,"background-size":e+"px "+n+"px","background-image":"none"};return this.preview&&(o["background-image"]="url("+this.preview+")"),o}save(){if(!this.image.name||!this.image.data){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, provide a name and a image"));return}this.rest.gallery.save(this.image).then(()=>{this.api.gui.snackbar.open(django.gettext("Successfully saved"),django.gettext("dismiss"),{duration:2e3}),this.dialogRef.close(),this.onSave.emit(!0)})}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(J),w(Le),w(We))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-gallery-image"]],standalone:!1,decls:32,vars:7,consts:[["fileInput",""],["mat-dialog-title",""],[4,"ngIf"],[1,"content"],["matInput","","type","text",3,"ngModelChange","ngModel"],["type","file",2,"display","none",3,"change"],["matInput","","type","text",3,"click","hidden"],[1,"preview",3,"click"],[1,"image-preview",3,"ngStyle"],[1,"help"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"]],template:function(n,o){if(n&1){let r=A();c(0,"h4",1),S(1,FY,2,0,"uds-translate",2)(2,LY,2,0,"uds-translate",2),d(),c(3,"mat-dialog-content")(4,"div",3)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),g(8,"Image name"),d()(),c(9,"input",4),H("ngModelChange",function(s){return y(r),W(o.image.name,s)||(o.image.name=s),C(s)}),d()(),c(10,"input",5,0),b("change",function(s){return y(r),C(o.onFileChanged(s))}),d(),c(12,"mat-form-field")(13,"mat-label")(14,"uds-translate"),g(15,"Image (click to change)"),d()(),c(16,"input",6),b("click",function(){y(r);let s=Se(11);return C(s.click())}),d(),c(17,"div",7),b("click",function(){y(r);let s=Se(11);return C(s.click())}),M(18,"div",8),d()(),c(19,"div",9)(20,"uds-translate"),g(21,' For optimal results, use "squared" images. '),d(),c(22,"uds-translate"),g(23," The image will be resized on upload to "),d(),g(24),d()()(),c(25,"mat-dialog-actions")(26,"button",10)(27,"uds-translate"),g(28,"Cancel"),d()(),c(29,"button",11),b("click",function(){return y(r),C(o.save())}),c(30,"uds-translate"),g(31,"Ok"),d()()()}n&2&&(u(),h("ngIf",!o.image.id),u(),h("ngIf",o.image.id),u(7),U("ngModel",o.image.name),u(7),h("hidden",!0),u(2),h("ngStyle",o.background()),u(6),Qi(" ",o.api.config.image_size[0],"x",o.api.config.image_size[1]," "))},dependencies:[pe,lC,ct,Ce,xe,ge,Yt,Ze,Je,Xe,he,Pe,pt,se],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.preview[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;width:100%}.image-preview[_ngcontent-%COMP%]{background-color:#0000004d}"]})}}return t})();var uD=(()=>{class t{constructor(e,n,o){this.route=e,this.rest=n,this.api=o}ngOnInit(){}onNew(e){dD.launch(this.api).subscribe(()=>e.table.overview())}onEdit(e){dD.launch(this.api,e.table.selection.selected[0]).subscribe(()=>e.table.overview())}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete image"))}onLoad(e){e.param===!0&&e.table.selectElement("id",this.route.snapshot.paramMap.get("image"))}static{this.\u0275fac=function(n){return new(n||t)(w(Oe),w(J),w(G))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-gallery"]],standalone:!1,decls:1,vars:5,consts:[["icon","gallery",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(n,o){n&1&&(c(0,"uds-table",0),b("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)})("loaded",function(a){return o.onLoad(a)}),d()),n&2&&h("rest",o.rest.gallery)("multiSelect",!0)("allowExport",!0)("hasPermissions",!1)("pageSize",o.api.config.admin.page_size)},dependencies:[Me],styles:[".mat-column-thumb{max-width:7rem;justify-content:center} .mat-column-name{max-width:32rem}"]})}}return t})();var qP=nd(um());var VY='assessment'+django.gettext("Generate report")+"",YP=(()=>{class t{constructor(e,n){this.rest=e,this.api=n,this.customButtons=[{id:"genreport",html:VY,type:st.SINGLE_SELECT}]}ngOnInit(){}generateReport(e){return V(this,null,function*(){let n=new tn;this.api.gui.forms.typedForm(e,django.gettext("Generate report"),!1,[],void 0,e.table.selection.selected[0].id,{save:n});let o=yield n;this.api.gui.snackbar.open(django.gettext("Generating report..."));let r=yield this.rest.reports.save(o,e.table.selection.selected[0].id),a=r.encoded?window.atob(r.data):r.data,s=a.length,l=new Uint8Array(s);for(let f=0;f{(0,qP.saveAs)(m,r.filename,{autoBom:!1})})})}static{this.\u0275fac=function(n){return new(n||t)(w(J),w(G))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-reports"]],standalone:!1,decls:1,vars:6,consts:[["icon","reports",3,"customButtonAction","rest","multiSelect","allowExport","hasPermissions","customButtons","pageSize"]],template:function(n,o){n&1&&(c(0,"uds-table",0),b("customButtonAction",function(a){return o.generateReport(a)}),d()),n&2&&h("rest",o.rest.reports)("multiSelect",!1)("allowExport",!1)("hasPermissions",!1)("customButtons",o.customButtons)("pageSize",o.api.config.admin.page_size)},dependencies:[Me],styles:[".mat-column-group{max-width:16rem} .mat-column-name{max-width:32rem}"]})}}return t})();var QP=(()=>{class t{constructor(e,n){this.api=e,this.rest=n}ngOnInit(){}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New Notifier"),!1)}onEdit(e){this.api.gui.forms.typedEditForm(e,django.gettext("Edit Notifier"),!1)}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete actor token - USE WITH EXTREME CAUTION!!!"))}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(J))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-notifiers"]],standalone:!1,decls:2,vars:4,consts:[["icon","accounts",3,"newAction","editAction","deleteAction","rest","multiSelect","allowExport","pageSize"]],template:function(n,o){n&1&&(c(0,"div")(1,"uds-table",0),b("newAction",function(a){return o.onNew(a)})("editAction",function(a){return o.onEdit(a)})("deleteAction",function(a){return o.onDelete(a)}),d()()),n&2&&(u(),h("rest",o.rest.notifiers)("multiSelect",!0)("allowExport",!0)("pageSize",o.api.config.admin.page_size))},dependencies:[Me],encapsulation:2})}}return t})();function BY(t,i){if(t&1&&g(0),t&2){let e=_().$implicit;O(" ",e," ")}}function jY(t,i){if(t&1){let e=A();c(0,"div")(1,"mat-form-field")(2,"mat-label"),g(3),d(),c(4,"input",18),H("ngModelChange",function(o){y(e);let r=_(2).$implicit,a=_().$implicit,s=_(2);return W(s.config[a][r].value,o)||(s.config[a][r].value=o),C(o)}),d()()()}if(t&2){let e=_(2).$implicit,n=_().$implicit,o=_(2);u(3),tt(e),u(),h("type",o.config[n][e].crypt?"password":"text"),U("ngModel",o.config[n][e].value),h("matTooltip",o.config[n][e].help)}}function zY(t,i){if(t&1){let e=A();c(0,"div")(1,"mat-form-field")(2,"mat-label"),g(3),d(),c(4,"textarea",19),H("ngModelChange",function(o){y(e);let r=_(2).$implicit,a=_().$implicit,s=_(2);return W(s.config[a][r].value,o)||(s.config[a][r].value=o),C(o)}),d()()()}if(t&2){let e=_(2).$implicit,n=_().$implicit,o=_(2);u(3),tt(e),u(),U("ngModel",o.config[n][e].value),h("matTooltip",o.config[n][e].help)}}function UY(t,i){if(t&1){let e=A();c(0,"div")(1,"mat-form-field")(2,"mat-label"),g(3),d(),c(4,"input",20),H("ngModelChange",function(o){y(e);let r=_(2).$implicit,a=_().$implicit,s=_(2);return W(s.config[a][r].value,o)||(s.config[a][r].value=o),C(o)}),d()()()}if(t&2){let e=_(2).$implicit,n=_().$implicit,o=_(2);u(3),tt(e),u(),U("ngModel",o.config[n][e].value),h("matTooltip",o.config[n][e].help)}}function HY(t,i){if(t&1){let e=A();c(0,"div")(1,"div",21)(2,"mat-slide-toggle",22),H("ngModelChange",function(o){y(e);let r=_(2).$implicit,a=_().$implicit,s=_(2);return W(s.config[a][r].value,o)||(s.config[a][r].value=o),C(o)}),g(3),d()()()}if(t&2){let e=_(2).$implicit,n=_().$implicit,o=_(2);u(2),U("ngModel",o.config[n][e].value),h("matTooltip",o.config[n][e].help),u(),O(" ",e," ")}}function GY(t,i){if(t&1&&(c(0,"mat-option",24),g(1),d()),t&2){let e=i.$implicit;h("value",e),u(),O(" ",e," ")}}function WY(t,i){if(t&1){let e=A();c(0,"div")(1,"mat-form-field")(2,"mat-label"),g(3),d(),c(4,"mat-select",22),H("ngModelChange",function(o){y(e);let r=_(2).$implicit,a=_().$implicit,s=_(2);return W(s.config[a][r].value,o)||(s.config[a][r].value=o),C(o)}),S(5,GY,2,2,"mat-option",23),d()()()}if(t&2){let e=_(2).$implicit,n=_().$implicit,o=_(2);u(3),O(" ",e," "),u(),U("ngModel",o.config[n][e].value),h("matTooltip",o.config[n][e].help),u(),h("ngForOf",o.config[n][e].params)}}function $Y(t,i){if(t&1){let e=A();c(0,"div")(1,"mat-form-field")(2,"mat-label"),g(3),d(),c(4,"input",25),H("ngModelChange",function(o){y(e);let r=_(2).$implicit,a=_().$implicit,s=_(2);return W(s.config[a][r].value,o)||(s.config[a][r].value=o),C(o)}),d()()()}if(t&2){let e=_(2).$implicit,n=_().$implicit,o=_(2);u(3),tt(e),u(),U("ngModel",o.config[n][e].value),h("matTooltip",o.config[n][e].help)}}function qY(t,i){t&1&&xn(0)}function YY(t,i){if(t&1){let e=A();c(0,"div")(1,"mat-form-field")(2,"mat-label"),g(3),d(),c(4,"input",26),H("ngModelChange",function(o){y(e);let r=_(2).$implicit,a=_().$implicit,s=_(2);return W(s.config[a][r].value,o)||(s.config[a][r].value=o),C(o)}),d()()()}if(t&2){let e=_(2).$implicit,n=_().$implicit,o=_(2);u(3),tt(e),u(),U("ngModel",o.config[n][e].value),h("matTooltip",o.config[n][e].help)}}function QY(t,i){if(t&1){let e=A();c(0,"div")(1,"mat-form-field")(2,"mat-label"),g(3),d(),c(4,"input",27),H("ngModelChange",function(o){y(e);let r=_(2).$implicit,a=_().$implicit,s=_(2);return W(s.config[a][r].value,o)||(s.config[a][r].value=o),C(o)}),d()()()}if(t&2){let e=_(2).$implicit,n=_().$implicit,o=_(2);u(3),tt(e),u(),U("ngModel",o.config[n][e].value),h("matTooltip",o.config[n][e].help)}}function KY(t,i){if(t&1&&(dt(0,15),S(1,jY,5,4,"div",16)(2,zY,5,3,"div",16)(3,UY,5,3,"div",16)(4,HY,4,3,"div",16)(5,WY,6,4,"div",16)(6,$Y,5,3,"div",16)(7,qY,1,0,"ng-container",16)(8,YY,5,3,"div",16)(9,QY,5,3,"div",17),ut()),t&2){let e=_().$implicit,n=_().$implicit,o=_(2);h("ngSwitch",o.config[n][e].type),u(),h("ngSwitchCase",0),u(),h("ngSwitchCase",1),u(),h("ngSwitchCase",2),u(),h("ngSwitchCase",3),u(),h("ngSwitchCase",4),u(),h("ngSwitchCase",5),u(),h("ngSwitchCase",6),u(),h("ngSwitchCase",7)}}function ZY(t,i){if(t&1&&(c(0,"div",13),S(1,KY,10,9,"ng-container",14),d()),t&2){let e=i.$implicit,n=_().$implicit,o=_(2);u(),h("ngIf",o.config[n][e])}}function XY(t,i){if(t&1&&(c(0,"mat-tab"),S(1,BY,1,1,"ng-template",10),c(2,"div",11),S(3,ZY,2,1,"div",12),d()()),t&2){let e=i.$implicit,n=_(2);u(3),h("ngForOf",n.configElements(e))}}function JY(t,i){if(t&1){let e=A();c(0,"div",4)(1,"div",5)(2,"mat-tab-group",6),S(3,XY,4,1,"mat-tab",7),d(),c(4,"div",8)(5,"button",9),b("click",function(){y(e);let o=_();return C(o.save())}),c(6,"uds-translate"),g(7,"Save"),d()()()()()}if(t&2){let e=_();u(2),h("@.disabled",!0),u(),h("ngForOf",e.sections())}}var KP=["UDS","Security"],ZP=["UDS ID"],XP=(()=>{class t{constructor(e,n){this.rest=e,this.api=n}ngOnInit(){this.rest.configuration.overview().then(e=>{this.config=e;for(let n in this.config)if(this.config.hasOwnProperty(n)){for(let o in this.config[n])if(this.config[n].hasOwnProperty(o)){let r=this.config[n][o];r.type===7?r.value='\u20ACfa{}#42123~#||23|\xDF\xF0\u0111\xE6"':r.type===3&&(r.value=!!["1",1,!0].includes(r.value)),r.original_value=r.value}}})}sections(){let e=[];for(let n in this.config)this.config.hasOwnProperty(n)&&!KP.includes(n)&&e.push(n);return e=e.sort((n,o)=>n.localeCompare(o)),e.unshift.apply(e,KP),e}configElements(e){let n=[],o=this.config[e];if(o)for(let r in o)o.hasOwnProperty(r)&&!(e==="UDS"&&ZP.includes(r))&&n.push(r);return n=n.sort((r,a)=>r.localeCompare(a)),e==="UDS"&&n.unshift.apply(n,ZP),n}save(){let e={};for(let n in this.config)if(this.config.hasOwnProperty(n)){for(let o in this.config[n])if(this.config[n].hasOwnProperty(o)){let r=this.config[n][o];if(r.original_value!==r.value){r.original_value=r.value,e[n]||(e[n]={});let a=r.value;r.type===3&&(a=["1",1,!0].includes(r.value)?"1":"0"),e[n][o]={value:a}}}}this.rest.configuration.save(e).then(()=>{this.api.gui.snackbar.open(django.gettext("Configuration saved"),django.gettext("dismiss"),{duration:2e3})})}static{this.\u0275fac=function(n){return new(n||t)(w(J),w(G))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-configuration"]],standalone:!1,decls:8,vars:4,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary"],[4,"ngFor","ngForOf"],[1,"config-footer"],["mat-raised-button","","color","primary",3,"click"],["mat-tab-label",""],[1,"content"],["class","field",4,"ngFor","ngForOf"],[1,"field"],[3,"ngSwitch",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["matInput","",3,"ngModelChange","type","ngModel","matTooltip"],["matInput","",3,"ngModelChange","ngModel","matTooltip"],["matInput","","type","number",3,"ngModelChange","ngModel","matTooltip"],[1,"toggle"],[3,"ngModelChange","ngModel","matTooltip"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["matInput","","type","text","readonly","readonly",3,"ngModelChange","ngModel","matTooltip"],["matInput","","type","password",3,"ngModelChange","ngModel","matTooltip"],["matInput","","type","text",3,"ngModelChange","ngModel","matTooltip"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1),M(2,"img",2),g(3,"\xA0"),c(4,"uds-translate"),g(5,"UDS Configuration"),d()(),S(6,JY,8,2,"div",3),ht(7,"notEmpty"),d()),n&2&&(u(2),h("src",o.api.staticURL("admin/img/icons/configuration.png"),we),u(4),h("ngIf",wt(7,2,o.config)))},dependencies:[Ue,pe,js,Zd,sC,ct,io,Ce,xe,ge,ao,he,Pe,pt,gt,$e,nn,on,sn,ca,se,Dn],styles:[".content[_ngcontent-%COMP%]{margin-top:2rem}.field[_ngcontent-%COMP%]{display:flex;justify-content:center;width:100%}.field[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:50%}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}input[readonly][_ngcontent-%COMP%]{background-color:#e0e0e0}.slider-label[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0;line-height:18px;overflow:hidden;pointer-events:none;position:absolute;text-align:left;text-overflow:ellipsis;top:.5em;transform:matrix(.75,0,0,.75,0,-21.5);transform-origin:0px 0px;white-space:nowrap}.config-footer[_ngcontent-%COMP%]{display:flex;justify-content:center;width:100%;margin-top:2rem;margin-bottom:2rem}"]})}}return t})();var JP=(()=>{class t{constructor(e,n,o){this.api=e,this.route=n,this.rest=o}ngOnInit(){}onDelete(e){return V(this,null,function*(){yield this.api.gui.forms.deleteForm(e,django.gettext("Delete actor token - USE WITH EXTREME CAUTION!!!"))})}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(Oe),w(J))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-actor-tokens"]],standalone:!1,decls:2,vars:4,consts:[["icon","accounts",3,"deleteAction","rest","multiSelect","allowExport","pageSize"]],template:function(n,o){n&1&&(c(0,"div")(1,"uds-table",0),b("deleteAction",function(a){return o.onDelete(a)}),d()()),n&2&&(u(),h("rest",o.rest.actorToken)("multiSelect",!0)("allowExport",!0)("pageSize",o.api.config.admin.page_size))},dependencies:[Me],encapsulation:2})}}return t})();var eN=(()=>{class t{constructor(e,n,o){this.api=e,this.route=n,this.rest=o}ngOnInit(){}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete servers token - USE WITH EXTREME CAUTION!!!"))}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(Oe),w(J))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-servers-tokens"]],standalone:!1,decls:2,vars:4,consts:[["icon","proxy",3,"deleteAction","rest","multiSelect","allowExport","pageSize"]],template:function(n,o){n&1&&(c(0,"div")(1,"uds-table",0),b("deleteAction",function(a){return o.onDelete(a)}),d()()),n&2&&(u(),h("rest",o.rest.serversTokens)("multiSelect",!0)("allowExport",!0)("pageSize",o.api.config.admin.page_size))},dependencies:[Me],encapsulation:2})}}return t})();var eQ=[{path:"",canActivate:[LR],children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:UR},{path:"services/providers",component:Ox},{path:"services/providers/:provider/detail",component:Px},{path:"services/providers/:provider",component:Ox},{path:"services/providers/:provider/detail/:service",component:Px},{path:"services/servers",component:Nx},{path:"services/servers/:server/detail",component:cP},{path:"services/servers/:server",component:Nx},{path:"authenticators",component:Fx},{path:"authenticators/:authenticator/detail",component:N_},{path:"authenticators/:authenticator",component:Fx},{path:"authenticators/:authenticator/detail/groups/:group",component:N_},{path:"authenticators/:authenticator/detail/users/:user",component:N_},{path:"mfas",component:Lx},{path:"mfas/:mfa",component:Lx},{path:"osmanagers",component:Ux},{path:"osmanagers/:osmanager",component:Ux},{path:"connectivity/transports",component:Hx},{path:"connectivity/transports/:transport",component:Hx},{path:"connectivity/networks",component:Gx},{path:"connectivity/networks/:network",component:Gx},{path:"connectivity/tunnels",component:Wx},{path:"connectivity/tunnels/:tunnel",component:Wx},{path:"connectivity/tunnels/:tunnel/detail",component:_P},{path:"pools/service-pools",component:$x},{path:"pools/service-pools/:pool",component:$x},{path:"pools/service-pools/:pool/detail",component:z_},{path:"pools/meta-pools",component:Qx},{path:"pools/meta-pools/:metapool",component:Qx},{path:"pools/meta-pools/:metapool/detail",component:EP},{path:"pools/pool-groups",component:Zx},{path:"pools/pool-groups/:poolgroup",component:Zx},{path:"pools/calendars",component:Xx},{path:"pools/calendars/:calendar",component:Xx},{path:"pools/calendars/:calendar/detail",component:WP},{path:"pools/accounts",component:cD},{path:"pools/accounts/:account",component:cD},{path:"pools/accounts/:account/detail",component:$P},{path:"tools/gallery",component:uD},{path:"tools/gallery/:image",component:uD},{path:"tools/reports",component:YP},{path:"tools/notifiers",component:QP},{path:"tools/tokens/actor",component:JP},{path:"tools/tokens/server",component:eN},{path:"tools/configuration",component:XP}]}],tN=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=Z({imports:[Ff.forRoot(eQ,{}),Ff]})}}return t})();var _t=(function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t})(_t||{}),tr="*";function nN(t,i=null){return{type:_t.Sequence,steps:t,options:i}}function mD(t){return{type:_t.Style,styles:t,offset:null}}var da=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(i=0,e=0){this.totalTime=i+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}onStart(i){this._originalOnStartFns.push(i),this._onStartFns.push(i)}onDone(i){this._originalOnDoneFns.push(i),this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(i=>i()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(i=>i()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(i){this._position=this.totalTime?i*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(i){let e=i=="start"?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}},Zc=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(i){this.players=i;let e=0,n=0,o=0,r=this.players.length;r==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==r&&this._onFinish()}),a.onDestroy(()=>{++n==r&&this._onDestroy()}),a.onStart(()=>{++o==r&&this._onStart()})}),this.totalTime=this.players.reduce((a,s)=>Math.max(a,s.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}init(){this.players.forEach(i=>i.init())}onStart(i){this._onStartFns.push(i)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(i=>i()),this._onStartFns=[])}onDone(i){this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(i=>i.play())}pause(){this.players.forEach(i=>i.pause())}restart(){this.players.forEach(i=>i.restart())}finish(){this._onFinish(),this.players.forEach(i=>i.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(i=>i.destroy()),this._onDestroyFns.forEach(i=>i()),this._onDestroyFns=[])}reset(){this.players.forEach(i=>i.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(i){let e=i*this.totalTime;this.players.forEach(n=>{let o=n.totalTime?Math.min(1,e/n.totalTime):1;n.setPosition(o)})}getPosition(){let i=this.players.reduce((e,n)=>e===null||n.totalTime>e.totalTime?n:e,null);return i!=null?i.getPosition():0}beforeDestroy(){this.players.forEach(i=>{i.beforeDestroy&&i.beforeDestroy()})}triggerCallback(i){let e=i=="start"?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}},_m="!";function iN(t){return new z(3e3,!1)}function tQ(){return new z(3100,!1)}function nQ(){return new z(3101,!1)}function iQ(t){return new z(3001,!1)}function oQ(t){return new z(3003,!1)}function rQ(t){return new z(3004,!1)}function rN(t,i){return new z(3005,!1)}function aN(){return new z(3006,!1)}function sN(){return new z(3007,!1)}function lN(t,i){return new z(3008,!1)}function cN(t){return new z(3002,!1)}function dN(t,i,e,n,o){return new z(3010,!1)}function uN(){return new z(3011,!1)}function mN(){return new z(3012,!1)}function pN(){return new z(3200,!1)}function hN(){return new z(3202,!1)}function fN(){return new z(3013,!1)}function gN(t){return new z(3014,!1)}function _N(t){return new z(3015,!1)}function vN(t){return new z(3016,!1)}function bN(t,i){return new z(3404,!1)}function aQ(t){return new z(3502,!1)}function yN(t){return new z(3503,!1)}function CN(){return new z(3300,!1)}function wN(t){return new z(3504,!1)}function xN(t){return new z(3301,!1)}function DN(t,i){return new z(3302,!1)}function EN(t){return new z(3303,!1)}function SN(t,i){return new z(3400,!1)}function MN(t){return new z(3401,!1)}function IN(t){return new z(3402,!1)}function TN(t,i){return new z(3505,!1)}function ua(t){switch(t.length){case 0:return new da;case 1:return t[0];default:return new Zc(t)}}function gD(t,i,e=new Map,n=new Map){let o=[],r=[],a=-1,s=null;if(i.forEach(l=>{let m=l.get("offset"),f=m==a,v=f&&s||new Map;l.forEach((D,x)=>{let I=x,N=D;if(x!=="offset")switch(I=t.normalizePropertyName(I,o),N){case _m:N=e.get(x);break;case tr:N=n.get(x);break;default:N=t.normalizeStyleValue(x,I,N,o);break}v.set(I,N)}),f||r.push(v),s=v,a=m}),o.length)throw aQ(o);return r}function $_(t,i,e,n){switch(i){case"start":t.onStart(()=>n(e&&pD(e,"start",t)));break;case"done":t.onDone(()=>n(e&&pD(e,"done",t)));break;case"destroy":t.onDestroy(()=>n(e&&pD(e,"destroy",t)));break}}function pD(t,i,e){let n=e.totalTime,o=!!e.disabled,r=q_(t.element,t.triggerName,t.fromState,t.toState,i||t.phaseName,n??t.totalTime,o),a=t._data;return a!=null&&(r._data=a),r}function q_(t,i,e,n,o="",r=0,a){return{element:t,triggerName:i,fromState:e,toState:n,phaseName:o,totalTime:r,disabled:!!a}}function Vi(t,i,e){let n=t.get(i);return n||t.set(i,n=e),n}function _D(t){let i=t.indexOf(":"),e=t.substring(1,i),n=t.slice(i+1);return[e,n]}var sQ=typeof document>"u"?null:document.documentElement;function Y_(t){let i=t.parentNode||t.host||null;return i===sQ?null:i}function lQ(t){return t.substring(1,6)=="ebkit"}var pl=null,oN=!1;function kN(t){pl||(pl=cQ()||{},oN=pl.style?"WebkitAppearance"in pl.style:!1);let i=!0;return pl.style&&!lQ(t)&&(i=t in pl.style,!i&&oN&&(i="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in pl.style)),i}function cQ(){return typeof document<"u"?document.body:null}function vD(t,i){for(;i;){if(i===t)return!0;i=Y_(i)}return!1}function bD(t,i,e){if(e)return Array.from(t.querySelectorAll(i));let n=t.querySelector(i);return n?[n]:[]}var dQ=1e3,yD="{{",uQ="}}",CD="ng-enter",Q_="ng-leave",vm="ng-trigger",bm=".ng-trigger",wD="ng-animating",K_=".ng-animating";function Lr(t){if(typeof t=="number")return t;let i=t.match(/^(-?[\.\d]+)(m?s)/);return!i||i.length<2?0:hD(parseFloat(i[1]),i[2])}function hD(t,i){return i==="s"?t*dQ:t}function ym(t,i,e){return t.hasOwnProperty("duration")?t:pQ(t,i,e)}var mQ=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function pQ(t,i,e){let n,o=0,r="";if(typeof t=="string"){let a=t.match(mQ);if(a===null)return i.push(iN(t)),{duration:0,delay:0,easing:""};n=hD(parseFloat(a[1]),a[2]);let s=a[3];s!=null&&(o=hD(parseFloat(s),a[4]));let l=a[5];l&&(r=l)}else n=t;if(!e){let a=!1,s=i.length;n<0&&(i.push(tQ()),a=!0),o<0&&(i.push(nQ()),a=!0),a&&i.splice(s,0,iN(t))}return{duration:n,delay:o,easing:r}}function AN(t){return t.length?t[0]instanceof Map?t:t.map(i=>new Map(Object.entries(i))):[]}function nr(t,i,e){i.forEach((n,o)=>{let r=Z_(o);e&&!e.has(o)&&e.set(o,t.style[r]),t.style[r]=n})}function ns(t,i){i.forEach((e,n)=>{let o=Z_(n);t.style[o]=""})}function Xc(t){return Array.isArray(t)?t.length==1?t[0]:nN(t):t}function RN(t,i,e){let n=i.params||{},o=xD(t);o.length&&o.forEach(r=>{n.hasOwnProperty(r)||e.push(iQ(r))})}var fD=new RegExp(`${yD}\\s*(.+?)\\s*${uQ}`,"g");function xD(t){let i=[];if(typeof t=="string"){let e;for(;e=fD.exec(t);)i.push(e[1]);fD.lastIndex=0}return i}function Jc(t,i,e){let n=`${t}`,o=n.replace(fD,(r,a)=>{let s=i[a];return s==null&&(e.push(oQ(a)),s=""),s.toString()});return o==n?t:o}var hQ=/-+([a-z0-9])/g;function Z_(t){return t.replace(hQ,(...i)=>i[1].toUpperCase())}function ON(t,i){return t===0||i===0}function PN(t,i,e){if(e.size&&i.length){let n=i[0],o=[];if(e.forEach((r,a)=>{n.has(a)||o.push(a),n.set(a,r)}),o.length)for(let r=1;ra.set(s,X_(t,s)))}}return i}function Bi(t,i,e){switch(i.type){case _t.Trigger:return t.visitTrigger(i,e);case _t.State:return t.visitState(i,e);case _t.Transition:return t.visitTransition(i,e);case _t.Sequence:return t.visitSequence(i,e);case _t.Group:return t.visitGroup(i,e);case _t.Animate:return t.visitAnimate(i,e);case _t.Keyframes:return t.visitKeyframes(i,e);case _t.Style:return t.visitStyle(i,e);case _t.Reference:return t.visitReference(i,e);case _t.AnimateChild:return t.visitAnimateChild(i,e);case _t.AnimateRef:return t.visitAnimateRef(i,e);case _t.Query:return t.visitQuery(i,e);case _t.Stagger:return t.visitStagger(i,e);default:throw rQ(i.type)}}function X_(t,i){return window.getComputedStyle(t)[i]}var jD=(()=>{class t{validateStyleProperty(e){return kN(e)}containsElement(e,n){return vD(e,n)}getParentElement(e){return Y_(e)}query(e,n,o){return bD(e,n,o)}computeStyle(e,n,o){return o||""}animate(e,n,o,r,a,s=[],l){return new da(o,r)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})(),fl=class{static NOOP=new jD},gl=class{};var fQ=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"]),iv=class extends gl{normalizePropertyName(i,e){return Z_(i)}normalizeStyleValue(i,e,n,o){let r="",a=n.toString().trim();if(fQ.has(e)&&n!==0&&n!=="0")if(typeof n=="number")r="px";else{let s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&o.push(rN(i,n))}return a+r}};var ov="*";function gQ(t,i){let e=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(n=>_Q(n,e,i)):e.push(t),e}function _Q(t,i,e){if(t[0]==":"){let l=vQ(t,e);if(typeof l=="function"){i.push(l);return}t=l}let n=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return e.push(_N(t)),i;let o=n[1],r=n[2],a=n[3];i.push(NN(o,a));let s=o==ov&&a==ov;r[0]=="<"&&!s&&i.push(NN(a,o))}function vQ(t,i){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,n)=>parseFloat(n)>parseFloat(e);case":decrement":return(e,n)=>parseFloat(n) *"}}var J_=new Set(["true","1"]),ev=new Set(["false","0"]);function NN(t,i){let e=J_.has(t)||ev.has(t),n=J_.has(i)||ev.has(i);return(o,r)=>{let a=t==ov||t==o,s=i==ov||i==r;return!a&&e&&typeof o=="boolean"&&(a=o?J_.has(t):ev.has(t)),!s&&n&&typeof r=="boolean"&&(s=r?J_.has(i):ev.has(i)),a&&s}}var WN=":self",bQ=new RegExp(`s*${WN}s*,?`,"g");function $N(t,i,e,n){return new TD(t).build(i,e,n)}var FN="",TD=class{_driver;constructor(i){this._driver=i}build(i,e,n){let o=new kD(e);return this._resetContextStyleTimingState(o),Bi(this,Xc(i),o)}_resetContextStyleTimingState(i){i.currentQuerySelector=FN,i.collectedStyles=new Map,i.collectedStyles.set(FN,new Map),i.currentTime=0}visitTrigger(i,e){let n=e.queryCount=0,o=e.depCount=0,r=[],a=[];return i.name.charAt(0)=="@"&&e.errors.push(aN()),i.definitions.forEach(s=>{if(this._resetContextStyleTimingState(e),s.type==_t.State){let l=s,m=l.name;m.toString().split(/\s*,\s*/).forEach(f=>{l.name=f,r.push(this.visitState(l,e))}),l.name=m}else if(s.type==_t.Transition){let l=this.visitTransition(s,e);n+=l.queryCount,o+=l.depCount,a.push(l)}else e.errors.push(sN())}),{type:_t.Trigger,name:i.name,states:r,transitions:a,queryCount:n,depCount:o,options:null}}visitState(i,e){let n=this.visitStyle(i.styles,e),o=i.options&&i.options.params||null;if(n.containsDynamicStyles){let r=new Set,a=o||{};n.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{xD(l).forEach(m=>{a.hasOwnProperty(m)||r.add(m)})})}),r.size&&e.errors.push(lN(i.name,[...r.values()]))}return{type:_t.State,name:i.name,style:n,options:o?{params:o}:null}}visitTransition(i,e){e.queryCount=0,e.depCount=0;let n=Bi(this,Xc(i.animation),e),o=gQ(i.expr,e.errors);return{type:_t.Transition,matchers:o,animation:n,queryCount:e.queryCount,depCount:e.depCount,options:hl(i.options)}}visitSequence(i,e){return{type:_t.Sequence,steps:i.steps.map(n=>Bi(this,n,e)),options:hl(i.options)}}visitGroup(i,e){let n=e.currentTime,o=0,r=i.steps.map(a=>{e.currentTime=n;let s=Bi(this,a,e);return o=Math.max(o,e.currentTime),s});return e.currentTime=o,{type:_t.Group,steps:r,options:hl(i.options)}}visitAnimate(i,e){let n=xQ(i.timings,e.errors);e.currentAnimateTimings=n;let o,r=i.styles?i.styles:mD({});if(r.type==_t.Keyframes)o=this.visitKeyframes(r,e);else{let a=i.styles,s=!1;if(!a){s=!0;let m={};n.easing&&(m.easing=n.easing),a=mD(m)}e.currentTime+=n.duration+n.delay;let l=this.visitStyle(a,e);l.isEmptyStep=s,o=l}return e.currentAnimateTimings=null,{type:_t.Animate,timings:n,style:o,options:null}}visitStyle(i,e){let n=this._makeStyleAst(i,e);return this._validateStyleAst(n,e),n}_makeStyleAst(i,e){let n=[],o=Array.isArray(i.styles)?i.styles:[i.styles];for(let s of o)typeof s=="string"?s===tr?n.push(s):e.errors.push(cN(s)):n.push(new Map(Object.entries(s)));let r=!1,a=null;return n.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(a=s.get("easing"),s.delete("easing")),!r)){for(let l of s.values())if(l.toString().indexOf(yD)>=0){r=!0;break}}}),{type:_t.Style,styles:n,easing:a,offset:i.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(i,e){let n=e.currentAnimateTimings,o=e.currentTime,r=e.currentTime;n&&r>0&&(r-=n.duration+n.delay),i.styles.forEach(a=>{typeof a!="string"&&a.forEach((s,l)=>{let m=e.collectedStyles.get(e.currentQuerySelector),f=m.get(l),v=!0;f&&(r!=o&&r>=f.startTime&&o<=f.endTime&&(e.errors.push(dN(l,f.startTime,f.endTime,r,o)),v=!1),r=f.startTime),v&&m.set(l,{startTime:r,endTime:o}),e.options&&RN(s,e.options,e.errors)})})}visitKeyframes(i,e){let n={type:_t.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(uN()),n;let o=1,r=0,a=[],s=!1,l=!1,m=0,f=i.steps.map(P=>{let Ee=this._makeStyleAst(P,e),Ft=Ee.offset!=null?Ee.offset:wQ(Ee.styles),It=0;return Ft!=null&&(r++,It=Ee.offset=Ft),l=l||It<0||It>1,s=s||It0&&r{let Ft=D>0?Ee==x?1:D*Ee:a[Ee],It=Ft*q;e.currentTime=I+N.delay+It,N.duration=It,this._validateStyleAst(P,e),P.offset=Ft,n.styles.push(P)}),n}visitReference(i,e){return{type:_t.Reference,animation:Bi(this,Xc(i.animation),e),options:hl(i.options)}}visitAnimateChild(i,e){return e.depCount++,{type:_t.AnimateChild,options:hl(i.options)}}visitAnimateRef(i,e){return{type:_t.AnimateRef,animation:this.visitReference(i.animation,e),options:hl(i.options)}}visitQuery(i,e){let n=e.currentQuerySelector,o=i.options||{};e.queryCount++,e.currentQuery=i;let[r,a]=yQ(i.selector);e.currentQuerySelector=n.length?n+" "+r:r,Vi(e.collectedStyles,e.currentQuerySelector,new Map);let s=Bi(this,Xc(i.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:_t.Query,selector:r,limit:o.limit||0,optional:!!o.optional,includeSelf:a,animation:s,originalSelector:i.selector,options:hl(i.options)}}visitStagger(i,e){e.currentQuery||e.errors.push(fN());let n=i.timings==="full"?{duration:0,delay:0,easing:"full"}:ym(i.timings,e.errors,!0);return{type:_t.Stagger,animation:Bi(this,Xc(i.animation),e),timings:n,options:null}}};function yQ(t){let i=!!t.split(/\s*,\s*/).find(e=>e==WN);return i&&(t=t.replace(bQ,"")),t=t.replace(/@\*/g,bm).replace(/@\w+/g,e=>bm+"-"+e.slice(1)).replace(/:animating/g,K_),[t,i]}function CQ(t){return t?L({},t):null}var kD=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(i){this.errors=i}};function wQ(t){if(typeof t=="string")return null;let i=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){let n=e;i=parseFloat(n.get("offset")),n.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let e=t;i=parseFloat(e.get("offset")),e.delete("offset")}return i}function xQ(t,i){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let r=ym(t,i).duration;return DD(r,0,"")}let e=t;if(e.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=DD(0,0,"");return r.dynamic=!0,r.strValue=e,r}let o=ym(e,i);return DD(o.duration,o.delay,o.easing)}function hl(t){return t?(t=L({},t),t.params&&(t.params=CQ(t.params))):t={},t}function DD(t,i,e){return{duration:t,delay:i,easing:e}}function zD(t,i,e,n,o,r,a=null,s=!1){return{type:1,element:t,keyframes:i,preStyleProps:e,postStyleProps:n,duration:o,delay:r,totalTime:o+r,easing:a,subTimeline:s}}var wm=class{_map=new Map;get(i){return this._map.get(i)||[]}append(i,e){let n=this._map.get(i);n||this._map.set(i,n=[]),n.push(...e)}has(i){return this._map.has(i)}clear(){this._map.clear()}},DQ=1,EQ=":enter",SQ=new RegExp(EQ,"g"),MQ=":leave",IQ=new RegExp(MQ,"g");function qN(t,i,e,n,o,r=new Map,a=new Map,s,l,m=[]){return new AD().buildKeyframes(t,i,e,n,o,r,a,s,l,m)}var AD=class{buildKeyframes(i,e,n,o,r,a,s,l,m,f=[]){m=m||new wm;let v=new RD(i,e,m,o,r,f,[]);v.options=l;let D=l.delay?Lr(l.delay):0;v.currentTimeline.delayNextStep(D),v.currentTimeline.setStyles([a],null,v.errors,l),Bi(this,n,v);let x=v.timelines.filter(I=>I.containsAnimation());if(x.length&&s.size){let I;for(let N=x.length-1;N>=0;N--){let q=x[N];if(q.element===e){I=q;break}}I&&!I.allowOnlyTimelineStyles()&&I.setStyles([s],null,v.errors,l)}return x.length?x.map(I=>I.buildKeyframes()):[zD(e,[],[],[],0,D,"",!1)]}visitTrigger(i,e){}visitState(i,e){}visitTransition(i,e){}visitAnimateChild(i,e){let n=e.subInstructions.get(e.element);if(n){let o=e.createSubContext(i.options),r=e.currentTimeline.currentTime,a=this._visitSubInstructions(n,o,o.options);r!=a&&e.transformIntoNewTimeline(a)}e.previousNode=i}visitAnimateRef(i,e){let n=e.createSubContext(i.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([i.options,i.animation.options],e,n),this.visitReference(i.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=i}_applyAnimationRefDelays(i,e,n){for(let o of i){let r=o?.delay;if(r){let a=typeof r=="number"?r:Lr(Jc(r,o?.params??{},e.errors));n.delayNextStep(a)}}}_visitSubInstructions(i,e,n){let r=e.currentTimeline.currentTime,a=n.duration!=null?Lr(n.duration):null,s=n.delay!=null?Lr(n.delay):null;return a!==0&&i.forEach(l=>{let m=e.appendInstructionToTimeline(l,a,s);r=Math.max(r,m.duration+m.delay)}),r}visitReference(i,e){e.updateOptions(i.options,!0),Bi(this,i.animation,e),e.previousNode=i}visitSequence(i,e){let n=e.subContextCount,o=e,r=i.options;if(r&&(r.params||r.delay)&&(o=e.createSubContext(r),o.transformIntoNewTimeline(),r.delay!=null)){o.previousNode.type==_t.Style&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=rv);let a=Lr(r.delay);o.delayNextStep(a)}i.steps.length&&(i.steps.forEach(a=>Bi(this,a,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>n&&o.transformIntoNewTimeline()),e.previousNode=i}visitGroup(i,e){let n=[],o=e.currentTimeline.currentTime,r=i.options&&i.options.delay?Lr(i.options.delay):0;i.steps.forEach(a=>{let s=e.createSubContext(i.options);r&&s.delayNextStep(r),Bi(this,a,s),o=Math.max(o,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(a=>e.currentTimeline.mergeTimelineCollectedStyles(a)),e.transformIntoNewTimeline(o),e.previousNode=i}_visitTiming(i,e){if(i.dynamic){let n=i.strValue,o=e.params?Jc(n,e.params,e.errors):n;return ym(o,e.errors)}else return{duration:i.duration,delay:i.delay,easing:i.easing}}visitAnimate(i,e){let n=e.currentAnimateTimings=this._visitTiming(i.timings,e),o=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),o.snapshotCurrentStyles());let r=i.style;r.type==_t.Keyframes?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),o.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=i}visitStyle(i,e){let n=e.currentTimeline,o=e.currentAnimateTimings;!o&&n.hasCurrentStyleProperties()&&n.forwardFrame();let r=o&&o.easing||i.easing;i.isEmptyStep?n.applyEmptyStep(r):n.setStyles(i.styles,r,e.errors,e.options),e.previousNode=i}visitKeyframes(i,e){let n=e.currentAnimateTimings,o=e.currentTimeline.duration,r=n.duration,s=e.createSubContext().currentTimeline;s.easing=n.easing,i.styles.forEach(l=>{let m=l.offset||0;s.forwardTime(m*r),s.setStyles(l.styles,l.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(o+r),e.previousNode=i}visitQuery(i,e){let n=e.currentTimeline.currentTime,o=i.options||{},r=o.delay?Lr(o.delay):0;r&&(e.previousNode.type===_t.Style||n==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=rv);let a=n,s=e.invokeQuery(i.selector,i.originalSelector,i.limit,i.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=s.length;let l=null;s.forEach((m,f)=>{e.currentQueryIndex=f;let v=e.createSubContext(i.options,m);r&&v.delayNextStep(r),m===e.element&&(l=v.currentTimeline),Bi(this,i.animation,v),v.currentTimeline.applyStylesToKeyframe();let D=v.currentTimeline.currentTime;a=Math.max(a,D)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=i}visitStagger(i,e){let n=e.parentContext,o=e.currentTimeline,r=i.timings,a=Math.abs(r.duration),s=a*(e.currentQueryTotal-1),l=a*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=s-l;break;case"full":l=n.currentStaggerTime;break}let f=e.currentTimeline;l&&f.delayNextStep(l);let v=f.currentTime;Bi(this,i.animation,e),e.previousNode=i,n.currentStaggerTime=o.currentTime-v+(o.startTime-n.currentTimeline.startTime)}},rv={},RD=class t{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=rv;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(i,e,n,o,r,a,s,l){this._driver=i,this.element=e,this.subInstructions=n,this._enterClassName=o,this._leaveClassName=r,this.errors=a,this.timelines=s,this.currentTimeline=l||new av(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(i,e){if(!i)return;let n=i,o=this.options;n.duration!=null&&(o.duration=Lr(n.duration)),n.delay!=null&&(o.delay=Lr(n.delay));let r=n.params;if(r){let a=o.params;a||(a=this.options.params={}),Object.keys(r).forEach(s=>{(!e||!a.hasOwnProperty(s))&&(a[s]=Jc(r[s],a,this.errors))})}}_copyOptions(){let i={};if(this.options){let e=this.options.params;if(e){let n=i.params={};Object.keys(e).forEach(o=>{n[o]=e[o]})}}return i}createSubContext(i=null,e,n){let o=e||this.element,r=new t(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(i),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(i){return this.previousNode=rv,this.currentTimeline=this.currentTimeline.fork(this.element,i),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(i,e,n){let o={duration:e??i.duration,delay:this.currentTimeline.currentTime+(n??0)+i.delay,easing:""},r=new OD(this._driver,i.element,i.keyframes,i.preStyleProps,i.postStyleProps,o,i.stretchStartingKeyframe);return this.timelines.push(r),o}incrementTime(i){this.currentTimeline.forwardTime(this.currentTimeline.duration+i)}delayNextStep(i){i>0&&this.currentTimeline.delayNextStep(i)}invokeQuery(i,e,n,o,r,a){let s=[];if(o&&s.push(this.element),i.length>0){i=i.replace(SQ,"."+this._enterClassName),i=i.replace(IQ,"."+this._leaveClassName);let l=n!=1,m=this._driver.query(this.element,i,l);n!==0&&(m=n<0?m.slice(m.length+n,m.length):m.slice(0,n)),s.push(...m)}return!r&&s.length==0&&a.push(gN(e)),s}},av=class t{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(i,e,n,o){this._driver=i,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=o,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(i){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+i),e&&this.snapshotCurrentStyles()):this.startTime+=i}fork(i,e){return this.applyStylesToKeyframe(),new t(this._driver,i,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+=DQ,this._loadKeyframe()}forwardTime(i){this.applyStylesToKeyframe(),this.duration=i,this._loadKeyframe()}_updateStyle(i,e){this._localTimelineStyles.set(i,e),this._globalTimelineStyles.set(i,e),this._styleSummary.set(i,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(i){i&&this._previousKeyframe.set("easing",i);for(let[e,n]of this._globalTimelineStyles)this._backFill.set(e,n||tr),this._currentKeyframe.set(e,tr);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(i,e,n,o){e&&this._previousKeyframe.set("easing",e);let r=o&&o.params||{},a=TQ(i,this._globalTimelineStyles);for(let[s,l]of a){let m=Jc(l,r,n);this._pendingStyles.set(s,m),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??tr),this._updateStyle(s,m)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((i,e)=>{this._currentKeyframe.set(e,i)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((i,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,i)}))}snapshotCurrentStyles(){for(let[i,e]of this._localTimelineStyles)this._pendingStyles.set(i,e),this._updateStyle(i,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let i=[];for(let e in this._currentKeyframe)i.push(e);return i}mergeTimelineCollectedStyles(i){i._styleSummary.forEach((e,n)=>{let o=this._styleSummary.get(n);(!o||e.time>o.time)&&this._updateStyle(n,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let i=new Set,e=new Set,n=this._keyframes.size===1&&this.duration===0,o=[];this._keyframes.forEach((s,l)=>{let m=new Map([...this._backFill,...s]);m.forEach((f,v)=>{f===_m?i.add(v):f===tr&&e.add(v)}),n||m.set("offset",l/this.duration),o.push(m)});let r=[...i.values()],a=[...e.values()];if(n){let s=o[0],l=new Map(s);s.set("offset",0),l.set("offset",1),o=[s,l]}return zD(this.element,o,r,a,this.duration,this.startTime,this.easing,!1)}},OD=class extends av{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(i,e,n,o,r,a,s=!1){super(i,e,a.delay),this.keyframes=n,this.preStyleProps=o,this.postStyleProps=r,this._stretchStartingKeyframe=s,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let i=this.keyframes,{delay:e,duration:n,easing:o}=this.timings;if(this._stretchStartingKeyframe&&e){let r=[],a=n+e,s=e/a,l=new Map(i[0]);l.set("offset",0),r.push(l);let m=new Map(i[0]);m.set("offset",LN(s)),r.push(m);let f=i.length-1;for(let v=1;v<=f;v++){let D=new Map(i[v]),x=D.get("offset"),I=e+x*n;D.set("offset",LN(I/a)),r.push(D)}n=a,e=0,o="",i=r}return zD(this.element,i,this.preStyleProps,this.postStyleProps,n,e,o,!0)}};function LN(t,i=3){let e=Math.pow(10,i-1);return Math.round(t*e)/e}function TQ(t,i){let e=new Map,n;return t.forEach(o=>{if(o==="*"){n??=i.keys();for(let r of n)e.set(r,tr)}else for(let[r,a]of o)e.set(r,a)}),e}function VN(t,i,e,n,o,r,a,s,l,m,f,v,D){return{type:0,element:t,triggerName:i,isRemovalTransition:o,fromState:e,fromStyles:r,toState:n,toStyles:a,timelines:s,queriedElements:l,preStyleProps:m,postStyleProps:f,totalTime:v,errors:D}}var ED={},sv=class{_triggerName;ast;_stateStyles;constructor(i,e,n){this._triggerName=i,this.ast=e,this._stateStyles=n}match(i,e,n,o){return kQ(this.ast.matchers,i,e,n,o)}buildStyles(i,e,n){let o=this._stateStyles.get("*");return i!==void 0&&(o=this._stateStyles.get(i?.toString())||o),o?o.buildStyles(e,n):new Map}build(i,e,n,o,r,a,s,l,m,f){let v=[],D=this.ast.options&&this.ast.options.params||ED,x=s&&s.params||ED,I=this.buildStyles(n,x,v),N=l&&l.params||ED,q=this.buildStyles(o,N,v),P=new Set,Ee=new Map,Ft=new Map,It=o==="void",Ri={params:YN(N,D),delay:this.ast.options?.delay},Wn=f?[]:qN(i,e,this.ast.animation,r,a,I,q,Ri,m,v),ti=0;return Wn.forEach(Oi=>{ti=Math.max(Oi.duration+Oi.delay,ti)}),v.length?VN(e,this._triggerName,n,o,It,I,q,[],[],Ee,Ft,ti,v):(Wn.forEach(Oi=>{let is=Oi.element,_l=Vi(Ee,is,new Set);Oi.preStyleProps.forEach(os=>_l.add(os));let QD=Vi(Ft,is,new Set);Oi.postStyleProps.forEach(os=>QD.add(os)),is!==e&&P.add(is)}),VN(e,this._triggerName,n,o,It,I,q,Wn,[...P.values()],Ee,Ft,ti))}};function kQ(t,i,e,n,o){return t.some(r=>r(i,e,n,o))}function YN(t,i){let e=L({},i);return Object.entries(t).forEach(([n,o])=>{o!=null&&(e[n]=o)}),e}var PD=class{styles;defaultParams;normalizer;constructor(i,e,n){this.styles=i,this.defaultParams=e,this.normalizer=n}buildStyles(i,e){let n=new Map,o=YN(i,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((a,s)=>{a&&(a=Jc(a,o,e));let l=this.normalizer.normalizePropertyName(s,e);a=this.normalizer.normalizeStyleValue(s,l,a,e),n.set(s,a)})}),n}};function AQ(t,i,e){return new ND(t,i,e)}var ND=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(i,e,n){this.name=i,this.ast=e,this._normalizer=n,e.states.forEach(o=>{let r=o.options&&o.options.params||{};this.states.set(o.name,new PD(o.style,r,n))}),BN(this.states,"true","1"),BN(this.states,"false","0"),e.transitions.forEach(o=>{this.transitionFactories.push(new sv(i,o,this.states))}),this.fallbackTransition=RQ(i,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(i,e,n,o){return this.transitionFactories.find(a=>a.match(i,e,n,o))||null}matchStyles(i,e,n){return this.fallbackTransition.buildStyles(i,e,n)}};function RQ(t,i,e){let n=[(a,s)=>!0],o={type:_t.Sequence,steps:[],options:null},r={type:_t.Transition,animation:o,matchers:n,options:null,queryCount:0,depCount:0};return new sv(t,r,i)}function BN(t,i,e){t.has(i)?t.has(e)||t.set(e,t.get(i)):t.has(e)&&t.set(i,t.get(e))}var OQ=new wm,FD=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(i,e,n){this.bodyNode=i,this._driver=e,this._normalizer=n}register(i,e){let n=[],o=[],r=$N(this._driver,e,n,o);if(n.length)throw yN(n);this._animations.set(i,r)}_buildPlayer(i,e,n){let o=i.element,r=gD(this._normalizer,i.keyframes,e,n);return this._driver.animate(o,r,i.duration,i.delay,i.easing,[],!0)}create(i,e,n={}){let o=[],r=this._animations.get(i),a,s=new Map;if(r?(a=qN(this._driver,e,r,CD,Q_,new Map,new Map,n,OQ,o),a.forEach(f=>{let v=Vi(s,f.element,new Map);f.postStyleProps.forEach(D=>v.set(D,null))})):(o.push(CN()),a=[]),o.length)throw wN(o);s.forEach((f,v)=>{f.forEach((D,x)=>{f.set(x,this._driver.computeStyle(v,x,tr))})});let l=a.map(f=>{let v=s.get(f.element);return this._buildPlayer(f,new Map,v)}),m=ua(l);return this._playersById.set(i,m),m.onDestroy(()=>this.destroy(i)),this.players.push(m),m}destroy(i){let e=this._getPlayer(i);e.destroy(),this._playersById.delete(i);let n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(i){let e=this._playersById.get(i);if(!e)throw xN(i);return e}listen(i,e,n,o){let r=q_(e,"","","");return $_(this._getPlayer(i),n,r,o),()=>{}}command(i,e,n,o){if(n=="register"){this.register(i,o[0]);return}if(n=="create"){let a=o[0]||{};this.create(i,e,a);return}let r=this._getPlayer(i);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(i);break}}},jN="ng-animate-queued",PQ=".ng-animate-queued",SD="ng-animate-disabled",NQ=".ng-animate-disabled",FQ="ng-star-inserted",LQ=".ng-star-inserted",VQ=[],QN={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},BQ={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ir="__ng_removed",xm=class{namespaceId;value;options;get params(){return this.options.params}constructor(i,e=""){this.namespaceId=e;let n=i&&i.hasOwnProperty("value"),o=n?i.value:i;if(this.value=zQ(o),n){let r=i,{value:a}=r,s=fv(r,["value"]);this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(i){let e=i.params;if(e){let n=this.options.params;Object.keys(e).forEach(o=>{n[o]==null&&(n[o]=e[o])})}}},Cm="void",MD=new xm(Cm),LD=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(i,e,n){this.id=i,this.hostElement=e,this._engine=n,this._hostClassName="ng-tns-"+i,To(e,this._hostClassName)}listen(i,e,n,o){if(!this._triggers.has(e))throw DN(n,e);if(n==null||n.length==0)throw EN(e);if(!UQ(n))throw SN(n,e);let r=Vi(this._elementListeners,i,[]),a={name:e,phase:n,callback:o};r.push(a);let s=Vi(this._engine.statesByElement,i,new Map);return s.has(e)||(To(i,vm),To(i,vm+"-"+e),s.set(e,MD)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(a);l>=0&&r.splice(l,1),this._triggers.has(e)||s.delete(e)})}}register(i,e){return this._triggers.has(i)?!1:(this._triggers.set(i,e),!0)}_getTrigger(i){let e=this._triggers.get(i);if(!e)throw MN(i);return e}trigger(i,e,n,o=!0){let r=this._getTrigger(e),a=new Dm(this.id,e,i),s=this._engine.statesByElement.get(i);s||(To(i,vm),To(i,vm+"-"+e),this._engine.statesByElement.set(i,s=new Map));let l=s.get(e),m=new xm(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&m.absorbOptions(l.options),s.set(e,m),l||(l=MD),!(m.value===Cm)&&l.value===m.value){if(!WQ(l.params,m.params)){let N=[],q=r.matchStyles(l.value,l.params,N),P=r.matchStyles(m.value,m.params,N);N.length?this._engine.reportError(N):this._engine.afterFlush(()=>{ns(i,q),nr(i,P)})}return}let D=Vi(this._engine.playersByElement,i,[]);D.forEach(N=>{N.namespaceId==this.id&&N.triggerName==e&&N.queued&&N.destroy()});let x=r.matchTransition(l.value,m.value,i,m.params),I=!1;if(!x){if(!o)return;x=r.fallbackTransition,I=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:e,transition:x,fromState:l,toState:m,player:a,isFallbackTransition:I}),I||(To(i,jN),a.onStart(()=>{ed(i,jN)})),a.onDone(()=>{let N=this.players.indexOf(a);N>=0&&this.players.splice(N,1);let q=this._engine.playersByElement.get(i);if(q){let P=q.indexOf(a);P>=0&&q.splice(P,1)}}),this.players.push(a),D.push(a),a}deregister(i){this._triggers.delete(i),this._engine.statesByElement.forEach(e=>e.delete(i)),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(o=>o.name!=i))})}clearElementCache(i){this._engine.statesByElement.delete(i),this._elementListeners.delete(i);let e=this._engine.playersByElement.get(i);e&&(e.forEach(n=>n.destroy()),this._engine.playersByElement.delete(i))}_signalRemovalForInnerTriggers(i,e){let n=this._engine.driver.query(i,bm,!0);n.forEach(o=>{if(o[ir])return;let r=this._engine.fetchNamespacesByElement(o);r.size?r.forEach(a=>a.triggerLeaveAnimation(o,e,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(i,e,n,o){let r=this._engine.statesByElement.get(i),a=new Map;if(r){let s=[];if(r.forEach((l,m)=>{if(a.set(m,l.value),this._triggers.has(m)){let f=this.trigger(i,m,Cm,o);f&&s.push(f)}}),s.length)return this._engine.markElementAsRemoved(this.id,i,!0,e,a),n&&ua(s).onDone(()=>this._engine.processLeaveNode(i)),!0}return!1}prepareLeaveAnimationListeners(i){let e=this._elementListeners.get(i),n=this._engine.statesByElement.get(i);if(e&&n){let o=new Set;e.forEach(r=>{let a=r.name;if(o.has(a))return;o.add(a);let l=this._triggers.get(a).fallbackTransition,m=n.get(a)||MD,f=new xm(Cm),v=new Dm(this.id,a,i);this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:a,transition:l,fromState:m,toState:f,player:v,isFallbackTransition:!0})})}}removeNode(i,e){let n=this._engine;if(i.childElementCount&&this._signalRemovalForInnerTriggers(i,e),this.triggerLeaveAnimation(i,e,!0))return;let o=!1;if(n.totalAnimations){let r=n.players.length?n.playersByQueriedElement.get(i):[];if(r&&r.length)o=!0;else{let a=i;for(;a=a.parentNode;)if(n.statesByElement.get(a)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(i),o)n.markElementAsRemoved(this.id,i,!1,e);else{let r=i[ir];(!r||r===QN)&&(n.afterFlush(()=>this.clearElementCache(i)),n.destroyInnerAnimations(i),n._onRemovalComplete(i,e))}}insertNode(i,e){To(i,this._hostClassName)}drainQueuedTransitions(i){let e=[];return this._queue.forEach(n=>{let o=n.player;if(o.destroyed)return;let r=n.element,a=this._elementListeners.get(r);a&&a.forEach(s=>{if(s.name==n.triggerName){let l=q_(r,n.triggerName,n.fromState.value,n.toState.value);l._data=i,$_(n.player,s.phase,l,s.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):e.push(n)}),this._queue=[],e.sort((n,o)=>{let r=n.transition.ast.depCount,a=o.transition.ast.depCount;return r==0||a==0?r-a:this._engine.driver.containsElement(n.element,o.element)?1:-1})}destroy(i){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,i)}},VD=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(i,e)=>{};_onRemovalComplete(i,e){this.onRemovalComplete(i,e)}constructor(i,e,n){this.bodyNode=i,this.driver=e,this._normalizer=n}get queuedPlayers(){let i=[];return this._namespaceList.forEach(e=>{e.players.forEach(n=>{n.queued&&i.push(n)})}),i}createNamespace(i,e){let n=new LD(i,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[i]=n}_balanceNamespaceList(i,e){let n=this._namespaceList,o=this.namespacesByHostElement;if(n.length-1>=0){let a=!1,s=this.driver.getParentElement(e);for(;s;){let l=o.get(s);if(l){let m=n.indexOf(l);n.splice(m+1,0,i),a=!0;break}s=this.driver.getParentElement(s)}a||n.unshift(i)}else n.push(i);return o.set(e,i),i}register(i,e){let n=this._namespaceLookup[i];return n||(n=this.createNamespace(i,e)),n}registerTrigger(i,e,n){let o=this._namespaceLookup[i];o&&o.register(e,n)&&this.totalAnimations++}destroy(i,e){i&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let n=this._fetchNamespace(i);this.namespacesByHostElement.delete(n.hostElement);let o=this._namespaceList.indexOf(n);o>=0&&this._namespaceList.splice(o,1),n.destroy(e),delete this._namespaceLookup[i]}))}_fetchNamespace(i){return this._namespaceLookup[i]}fetchNamespacesByElement(i){let e=new Set,n=this.statesByElement.get(i);if(n){for(let o of n.values())if(o.namespaceId){let r=this._fetchNamespace(o.namespaceId);r&&e.add(r)}}return e}trigger(i,e,n,o){if(tv(e)){let r=this._fetchNamespace(i);if(r)return r.trigger(e,n,o),!0}return!1}insertNode(i,e,n,o){if(!tv(e))return;let r=e[ir];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let a=this.collectedLeaveElements.indexOf(e);a>=0&&this.collectedLeaveElements.splice(a,1)}if(i){let a=this._fetchNamespace(i);a&&a.insertNode(e,n)}o&&this.collectEnterElement(e)}collectEnterElement(i){this.collectedEnterElements.push(i)}markElementAsDisabled(i,e){e?this.disabledNodes.has(i)||(this.disabledNodes.add(i),To(i,SD)):this.disabledNodes.has(i)&&(this.disabledNodes.delete(i),ed(i,SD))}removeNode(i,e,n){if(tv(e)){let o=i?this._fetchNamespace(i):null;o?o.removeNode(e,n):this.markElementAsRemoved(i,e,!1,n);let r=this.namespacesByHostElement.get(e);r&&r.id!==i&&r.removeNode(e,n)}else this._onRemovalComplete(e,n)}markElementAsRemoved(i,e,n,o,r){this.collectedLeaveElements.push(e),e[ir]={namespaceId:i,setForRemoval:o,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:r}}listen(i,e,n,o,r){return tv(e)?this._fetchNamespace(i).listen(e,n,o,r):()=>{}}_buildInstruction(i,e,n,o,r){return i.transition.build(this.driver,i.element,i.fromState.value,i.toState.value,n,o,i.fromState.options,i.toState.options,e,r)}destroyInnerAnimations(i){let e=this.driver.query(i,bm,!0);e.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(i,K_,!0),e.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(i){let e=this.playersByElement.get(i);e&&e.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(i){let e=this.playersByQueriedElement.get(i);e&&e.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(i=>{if(this.players.length)return ua(this.players).onDone(()=>i());i()})}processLeaveNode(i){let e=i[ir];if(e&&e.setForRemoval){if(i[ir]=QN,e.namespaceId){this.destroyInnerAnimations(i);let n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(i)}this._onRemovalComplete(i,e.setForRemoval)}i.classList?.contains(SD)&&this.markElementAsDisabled(i,!1),this.driver.query(i,NQ,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(i=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,o)=>this._balanceNamespaceList(n,o)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nn()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],e.length?ua(e).onDone(()=>{n.forEach(o=>o())}):n.forEach(o=>o())}}reportError(i){throw IN(i)}_flushAnimations(i,e){let n=new wm,o=[],r=new Map,a=[],s=new Map,l=new Map,m=new Map,f=new Set;this.disabledNodes.forEach(be=>{f.add(be);let Ve=this.driver.query(be,PQ,!0);for(let Ye=0;Ye{let Ye=CD+N++;I.set(Ve,Ye),be.forEach(At=>To(At,Ye))});let q=[],P=new Set,Ee=new Set;for(let be=0;beP.add(At)):Ee.add(Ve))}let Ft=new Map,It=HN(D,Array.from(P));It.forEach((be,Ve)=>{let Ye=Q_+N++;Ft.set(Ve,Ye),be.forEach(At=>To(At,Ye))}),i.push(()=>{x.forEach((be,Ve)=>{let Ye=I.get(Ve);be.forEach(At=>ed(At,Ye))}),It.forEach((be,Ve)=>{let Ye=Ft.get(Ve);be.forEach(At=>ed(At,Ye))}),q.forEach(be=>{this.processLeaveNode(be)})});let Ri=[],Wn=[];for(let be=this._namespaceList.length-1;be>=0;be--)this._namespaceList[be].drainQueuedTransitions(e).forEach(Ye=>{let At=Ye.player,$n=Ye.element;if(Ri.push(At),this.collectedEnterElements.length){let li=$n[ir];if(li&&li.setForMove){if(li.previousTriggersValues&&li.previousTriggersValues.has(Ye.triggerName)){let rs=li.previousTriggersValues.get(Ye.triggerName),lo=this.statesByElement.get(Ye.element);if(lo&&lo.has(Ye.triggerName)){let Sm=lo.get(Ye.triggerName);Sm.value=rs,lo.set(Ye.triggerName,Sm)}}At.destroy();return}}let or=!v||!this.driver.containsElement(v,$n),ji=Ft.get($n),ma=I.get($n),hn=this._buildInstruction(Ye,n,ma,ji,or);if(hn.errors&&hn.errors.length){Wn.push(hn);return}if(or){At.onStart(()=>ns($n,hn.fromStyles)),At.onDestroy(()=>nr($n,hn.toStyles)),o.push(At);return}if(Ye.isFallbackTransition){At.onStart(()=>ns($n,hn.fromStyles)),At.onDestroy(()=>nr($n,hn.toStyles)),o.push(At);return}let XD=[];hn.timelines.forEach(li=>{li.stretchStartingKeyframe=!0,this.disabledNodes.has(li.element)||XD.push(li)}),hn.timelines=XD,n.append($n,hn.timelines);let jF={instruction:hn,player:At,element:$n};a.push(jF),hn.queriedElements.forEach(li=>Vi(s,li,[]).push(At)),hn.preStyleProps.forEach((li,rs)=>{if(li.size){let lo=l.get(rs);lo||l.set(rs,lo=new Set),li.forEach((Sm,hv)=>lo.add(hv))}}),hn.postStyleProps.forEach((li,rs)=>{let lo=m.get(rs);lo||m.set(rs,lo=new Set),li.forEach((Sm,hv)=>lo.add(hv))})});if(Wn.length){let be=[];Wn.forEach(Ve=>{be.push(TN(Ve.triggerName,Ve.errors))}),Ri.forEach(Ve=>Ve.destroy()),this.reportError(be)}let ti=new Map,Oi=new Map;a.forEach(be=>{let Ve=be.element;n.has(Ve)&&(Oi.set(Ve,Ve),this._beforeAnimationBuild(be.player.namespaceId,be.instruction,ti))}),o.forEach(be=>{let Ve=be.element;this._getPreviousPlayers(Ve,!1,be.namespaceId,be.triggerName,null).forEach(At=>{Vi(ti,Ve,[]).push(At),At.destroy()})});let is=q.filter(be=>GN(be,l,m)),_l=new Map;UN(_l,this.driver,Ee,m,tr).forEach(be=>{GN(be,l,m)&&is.push(be)});let os=new Map;x.forEach((be,Ve)=>{UN(os,this.driver,new Set(be),l,_m)}),is.forEach(be=>{let Ve=_l.get(be),Ye=os.get(be);_l.set(be,new Map([...Ve?.entries()??[],...Ye?.entries()??[]]))});let pv=[],KD=[],ZD={};a.forEach(be=>{let{element:Ve,player:Ye,instruction:At}=be;if(n.has(Ve)){if(f.has(Ve)){Ye.onDestroy(()=>nr(Ve,At.toStyles)),Ye.disabled=!0,Ye.overrideTotalTime(At.totalTime),o.push(Ye);return}let $n=ZD;if(Oi.size>1){let ji=Ve,ma=[];for(;ji=ji.parentNode;){let hn=Oi.get(ji);if(hn){$n=hn;break}ma.push(ji)}ma.forEach(hn=>Oi.set(hn,$n))}let or=this._buildAnimation(Ye.namespaceId,At,ti,r,os,_l);if(Ye.setRealPlayer(or),$n===ZD)pv.push(Ye);else{let ji=this.playersByElement.get($n);ji&&ji.length&&(Ye.parentPlayer=ua(ji)),o.push(Ye)}}else ns(Ve,At.fromStyles),Ye.onDestroy(()=>nr(Ve,At.toStyles)),KD.push(Ye),f.has(Ve)&&o.push(Ye)}),KD.forEach(be=>{let Ve=r.get(be.element);if(Ve&&Ve.length){let Ye=ua(Ve);be.setRealPlayer(Ye)}}),o.forEach(be=>{be.parentPlayer?be.syncPlayerEvents(be.parentPlayer):be.destroy()});for(let be=0;be!or.destroyed);$n.length?HQ(this,Ve,$n):this.processLeaveNode(Ve)}return q.length=0,pv.forEach(be=>{this.players.push(be),be.onDone(()=>{be.destroy();let Ve=this.players.indexOf(be);this.players.splice(Ve,1)}),be.play()}),pv}afterFlush(i){this._flushFns.push(i)}afterFlushAnimationsDone(i){this._whenQuietFns.push(i)}_getPreviousPlayers(i,e,n,o,r){let a=[];if(e){let s=this.playersByQueriedElement.get(i);s&&(a=s)}else{let s=this.playersByElement.get(i);if(s){let l=!r||r==Cm;s.forEach(m=>{m.queued||!l&&m.triggerName!=o||a.push(m)})}}return(n||o)&&(a=a.filter(s=>!(n&&n!=s.namespaceId||o&&o!=s.triggerName))),a}_beforeAnimationBuild(i,e,n){let o=e.triggerName,r=e.element,a=e.isRemovalTransition?void 0:i,s=e.isRemovalTransition?void 0:o;for(let l of e.timelines){let m=l.element,f=m!==r,v=Vi(n,m,[]);this._getPreviousPlayers(m,f,a,s,e.toState).forEach(x=>{let I=x.getRealPlayer();I.beforeDestroy&&I.beforeDestroy(),x.destroy(),v.push(x)})}ns(r,e.fromStyles)}_buildAnimation(i,e,n,o,r,a){let s=e.triggerName,l=e.element,m=[],f=new Set,v=new Set,D=e.timelines.map(I=>{let N=I.element;f.add(N);let q=N[ir];if(q&&q.removedBeforeQueried)return new da(I.duration,I.delay);let P=N!==l,Ee=GQ((n.get(N)||VQ).map(ti=>ti.getRealPlayer())).filter(ti=>{let Oi=ti;return Oi.element?Oi.element===N:!1}),Ft=r.get(N),It=a.get(N),Ri=gD(this._normalizer,I.keyframes,Ft,It),Wn=this._buildPlayer(I,Ri,Ee);if(I.subTimeline&&o&&v.add(N),P){let ti=new Dm(i,s,N);ti.setRealPlayer(Wn),m.push(ti)}return Wn});m.forEach(I=>{Vi(this.playersByQueriedElement,I.element,[]).push(I),I.onDone(()=>jQ(this.playersByQueriedElement,I.element,I))}),f.forEach(I=>To(I,wD));let x=ua(D);return x.onDestroy(()=>{f.forEach(I=>ed(I,wD)),nr(l,e.toStyles)}),v.forEach(I=>{Vi(o,I,[]).push(x)}),x}_buildPlayer(i,e,n){return e.length>0?this.driver.animate(i.element,e,i.duration,i.delay,i.easing,n):new da(i.duration,i.delay)}},Dm=class{namespaceId;triggerName;element;_player=new da;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(i,e,n){this.namespaceId=i,this.triggerName=e,this.element=n}setRealPlayer(i){this._containsRealPlayer||(this._player=i,this._queuedCallbacks.forEach((e,n)=>{e.forEach(o=>$_(i,n,void 0,o))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(i.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(i){this.totalTime=i}syncPlayerEvents(i){let e=this._player;e.triggerCallback&&i.onStart(()=>e.triggerCallback("start")),i.onDone(()=>this.finish()),i.onDestroy(()=>this.destroy())}_queueEvent(i,e){Vi(this._queuedCallbacks,i,[]).push(e)}onDone(i){this.queued&&this._queueEvent("done",i),this._player.onDone(i)}onStart(i){this.queued&&this._queueEvent("start",i),this._player.onStart(i)}onDestroy(i){this.queued&&this._queueEvent("destroy",i),this._player.onDestroy(i)}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(i){this.queued||this._player.setPosition(i)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(i){let e=this._player;e.triggerCallback&&e.triggerCallback(i)}};function jQ(t,i,e){let n=t.get(i);if(n){if(n.length){let o=n.indexOf(e);n.splice(o,1)}n.length==0&&t.delete(i)}return n}function zQ(t){return t??null}function tv(t){return t&&t.nodeType===1}function UQ(t){return t=="start"||t=="done"}function zN(t,i){let e=t.style.display;return t.style.display=i??"none",e}function UN(t,i,e,n,o){let r=[];e.forEach(l=>r.push(zN(l)));let a=[];n.forEach((l,m)=>{let f=new Map;l.forEach(v=>{let D=i.computeStyle(m,v,o);f.set(v,D),(!D||D.length==0)&&(m[ir]=BQ,a.push(m))}),t.set(m,f)});let s=0;return e.forEach(l=>zN(l,r[s++])),a}function HN(t,i){let e=new Map;if(t.forEach(s=>e.set(s,[])),i.length==0)return e;let n=1,o=new Set(i),r=new Map;function a(s){if(!s)return n;let l=r.get(s);if(l)return l;let m=s.parentNode;return e.has(m)?l=m:o.has(m)?l=n:l=a(m),r.set(s,l),l}return i.forEach(s=>{let l=a(s);l!==n&&e.get(l).push(s)}),e}function To(t,i){t.classList?.add(i)}function ed(t,i){t.classList?.remove(i)}function HQ(t,i,e){ua(e).onDone(()=>t.processLeaveNode(i))}function GQ(t){let i=[];return KN(t,i),i}function KN(t,i){for(let e=0;eo.add(r)):i.set(t,n),e.delete(t),!0}var td=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(i,e)=>{};constructor(i,e,n){this._driver=e,this._normalizer=n,this._transitionEngine=new VD(i.body,e,n),this._timelineEngine=new FD(i.body,e,n),this._transitionEngine.onRemovalComplete=(o,r)=>this.onRemovalComplete(o,r)}registerTrigger(i,e,n,o,r){let a=i+"-"+o,s=this._triggerCache[a];if(!s){let l=[],m=[],f=$N(this._driver,r,l,m);if(l.length)throw bN(o,l);s=AQ(o,f,this._normalizer),this._triggerCache[a]=s}this._transitionEngine.registerTrigger(e,o,s)}register(i,e){this._transitionEngine.register(i,e)}destroy(i,e){this._transitionEngine.destroy(i,e)}onInsert(i,e,n,o){this._transitionEngine.insertNode(i,e,n,o)}onRemove(i,e,n){this._transitionEngine.removeNode(i,e,n)}disableAnimations(i,e){this._transitionEngine.markElementAsDisabled(i,e)}process(i,e,n,o){if(n.charAt(0)=="@"){let[r,a]=_D(n),s=o;this._timelineEngine.command(r,e,a,s)}else this._transitionEngine.trigger(i,e,n,o)}listen(i,e,n,o,r){if(n.charAt(0)=="@"){let[a,s]=_D(n);return this._timelineEngine.listen(a,e,s,r)}return this._transitionEngine.listen(i,e,n,o,r)}flush(i=-1){this._transitionEngine.flush(i)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(i){this._transitionEngine.afterFlushAnimationsDone(i)}};function $Q(t,i){let e=null,n=null;return Array.isArray(i)&&i.length?(e=ID(i[0]),i.length>1&&(n=ID(i[i.length-1]))):i instanceof Map&&(e=ID(i)),e||n?new qQ(t,e,n):null}var qQ=(()=>{class t{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,n,o){this._element=e,this._startStyles=n,this._endStyles=o;let r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&nr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(nr(this._element,this._initialStyles),this._endStyles&&(nr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(ns(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ns(this._element,this._endStyles),this._endStyles=null),nr(this._element,this._initialStyles),this._state=3)}}return t})();function ID(t){let i=null;return t.forEach((e,n)=>{YQ(n)&&(i=i||new Map,i.set(n,e))}),i}function YQ(t){return t==="display"||t==="position"}var lv=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(i,e,n,o){this.element=i,this.keyframes=e,this.options=n,this._specialStyles=o,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;let i=this.keyframes,e=this._triggerWebAnimation(this.element,i,this.options);if(!e)return this._onFinish(),null;this.domPlayer=e,this._finalKeyframe=i.length?i[i.length-1]:new Map;let n=()=>this._onFinish();return e.addEventListener("finish",n),this.onDestroy(()=>{e.removeEventListener("finish",n)}),e}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(i){let e=[];return i.forEach(n=>{e.push(Object.fromEntries(n))}),e}_triggerWebAnimation(i,e,n){let o=this._convertKeyframesToObject(e);try{return i.animate(o,n)}catch{return null}}onStart(i){this._originalOnStartFns.push(i),this._onStartFns.push(i)}onDone(i){this._originalOnDoneFns.push(i),this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}play(){let i=this._buildPlayer();i&&(this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),i.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(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?.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(i=>i()),this._onDestroyFns=[])}setPosition(i){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=i*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){let i=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,o)=>{o!=="offset"&&i.set(o,this._finished?n:X_(this.element,o))}),this.currentSnapshot=i}triggerCallback(i){let e=i==="start"?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}},cv=class{validateStyleProperty(i){return!0}validateAnimatableStyleProperty(i){return!0}containsElement(i,e){return vD(i,e)}getParentElement(i){return Y_(i)}query(i,e,n){return bD(i,e,n)}computeStyle(i,e,n){return X_(i,e)}animate(i,e,n,o,r,a=[]){let s=o==0?"both":"forwards",l={duration:n,delay:o,fill:s};r&&(l.easing=r);let m=new Map,f=a.filter(x=>x instanceof lv);ON(n,o)&&f.forEach(x=>{x.currentSnapshot.forEach((I,N)=>m.set(N,I))});let v=AN(e).map(x=>new Map(x));v=PN(i,v,m);let D=$Q(i,v);return new lv(i,v,l,D)}};var nv="@",ZN="@.disabled",dv=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(i,e,n,o){this.namespaceId=i,this.delegate=e,this.engine=n,this._onDestroy=o}get data(){return this.delegate.data}destroyNode(i){this.delegate.destroyNode?.(i)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(i,e){return this.delegate.createElement(i,e)}createComment(i){return this.delegate.createComment(i)}createText(i){return this.delegate.createText(i)}appendChild(i,e){this.delegate.appendChild(i,e),this.engine.onInsert(this.namespaceId,e,i,!1)}insertBefore(i,e,n,o=!0){this.delegate.insertBefore(i,e,n),this.engine.onInsert(this.namespaceId,e,i,o)}removeChild(i,e,n,o){if(o){this.delegate.removeChild(i,e,n,o);return}this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(i,e){return this.delegate.selectRootElement(i,e)}parentNode(i){return this.delegate.parentNode(i)}nextSibling(i){return this.delegate.nextSibling(i)}setAttribute(i,e,n,o){this.delegate.setAttribute(i,e,n,o)}removeAttribute(i,e,n){this.delegate.removeAttribute(i,e,n)}addClass(i,e){this.delegate.addClass(i,e)}removeClass(i,e){this.delegate.removeClass(i,e)}setStyle(i,e,n,o){this.delegate.setStyle(i,e,n,o)}removeStyle(i,e,n){this.delegate.removeStyle(i,e,n)}setProperty(i,e,n){e.charAt(0)==nv&&e==ZN?this.disableAnimations(i,!!n):this.delegate.setProperty(i,e,n)}setValue(i,e){this.delegate.setValue(i,e)}listen(i,e,n,o){return this.delegate.listen(i,e,n,o)}disableAnimations(i,e){this.engine.disableAnimations(i,e)}},BD=class extends dv{factory;constructor(i,e,n,o,r){super(e,n,o,r),this.factory=i,this.namespaceId=e}setProperty(i,e,n){e.charAt(0)==nv?e.charAt(1)=="."&&e==ZN?(n=n===void 0?!0:!!n,this.disableAnimations(i,n)):this.engine.process(this.namespaceId,i,e.slice(1),n):this.delegate.setProperty(i,e,n)}listen(i,e,n,o){if(e.charAt(0)==nv){let r=QQ(i),a=e.slice(1),s="";return a.charAt(0)!=nv&&([a,s]=KQ(a)),this.engine.listen(this.namespaceId,r,a,s,l=>{let m=l._data||-1;this.factory.scheduleListenerCallback(m,n,l)})}return this.delegate.listen(i,e,n,o)}};function QQ(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function KQ(t){let i=t.indexOf("."),e=t.substring(0,i),n=t.slice(i+1);return[e,n]}var uv=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(i,e,n){this.delegate=i,this.engine=e,this._zone=n,e.onRemovalComplete=(o,r)=>{r?.removeChild(null,o)}}createRenderer(i,e){let o=this.delegate.createRenderer(i,e);if(!i||!e?.data?.animation){let m=this._rendererCache,f=m.get(o);if(!f){let v=()=>m.delete(o);f=new dv("",o,this.engine,v),m.set(o,f)}return f}let r=e.id,a=e.id+"-"+this._currentId;this._currentId++,this.engine.register(a,i);let s=m=>{Array.isArray(m)?m.forEach(s):this.engine.registerTrigger(r,a,i,m.name,m)};return e.data.animation.forEach(s),new BD(this,a,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(i,e,n){if(i>=0&&ie(n));return}let o=this._animationCallbacksBuffer;o.length==0&&queueMicrotask(()=>{this._zone.run(()=>{o.forEach(r=>{let[a,s]=r;a(s)}),this._animationCallbacksBuffer=[]})}),o.push([e,n])}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()}componentReplaced(i){this.engine.flush(),this.delegate.componentReplaced?.(i)}};var XQ=(()=>{class t extends td{constructor(e,n,o){super(e,n,o)}ngOnDestroy(){this.flush()}static \u0275fac=function(n){return new(n||t)(oe(ce),oe(fl),oe(gl))};static \u0275prov=F({token:t,factory:t.\u0275fac})}return t})();function JQ(){return new iv}function eK(t,i,e){return new uv(t,i,e)}var JN=[{provide:gl,useFactory:JQ},{provide:td,useClass:XQ},{provide:Cn,useFactory:eK,deps:[ou,td,te]}],tK=[{provide:fl,useClass:jD},{provide:ka,useValue:"NoopAnimations"},...JN],XN=[{provide:fl,useFactory:()=>new cv},{provide:ka,useFactory:()=>"BrowserAnimations"},...JN],eF=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?tK:XN}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:XN,imports:[au]})}return t})();var nK=["button"],iK=["*"];function oK(t,i){if(t&1&&(c(0,"div",2),M(1,"mat-pseudo-checkbox",6),d()),t&2){let e=_();u(),h("disabled",e.disabled)}}var rK=new T("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:aK});function aK(){return{hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1,disabledInteractive:!1}}var sK=new T("MatButtonToggleGroup");var UD=class{source;value;constructor(i,e){this.source=i,this.value=e}};var lK=(()=>{class t{_changeDetectorRef=p(Te);_elementRef=p(K);_focusMonitor=p(An);_idGenerator=p(mt);_animationDisabled=rt();_checked=!1;ariaLabel;ariaLabelledby=null;_buttonElement;buttonToggleGroup;get buttonId(){return`${this.id}-button`}id;name;value;get tabIndex(){return this._tabIndex()}set tabIndex(e){this._tabIndex.set(e)}_tabIndex;disableRipple;get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(e){this._appearance=e}_appearance;get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(e){e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(e){this._disabled=e}_disabled=!1;get disabledInteractive(){return this._disabledInteractive||this.buttonToggleGroup!==null&&this.buttonToggleGroup.disabledInteractive}set disabledInteractive(e){this._disabledInteractive=e}_disabledInteractive;change=new k;constructor(){p(Dt).load(In);let e=p(sK,{optional:!0}),n=p(new Vn("tabindex"),{optional:!0})||"",o=p(rK,{optional:!0});this._tabIndex=Ie(parseInt(n)||0),this.buttonToggleGroup=e,this.appearance=o&&o.appearance?o.appearance:"standard",this.disabledInteractive=o?.disabledInteractive??!1}ngOnInit(){let e=this.buttonToggleGroup;this.id=this.id||this._idGenerator.getId("mat-button-toggle-"),e&&(e._isPrechecked(this)?this.checked=!0:e._isSelected(this)!==this._checked&&e._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._animationDisabled||this._elementRef.nativeElement.classList.add("mat-button-toggle-animations-enabled"),this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){let e=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),e&&e._isSelected(this)&&e._syncButtonToggle(this,!1,!1,!0)}focus(e){this._buttonElement.nativeElement.focus(e)}_onButtonClick(){if(this.disabled)return;let e=this.isSingleSelector()?!0:!this._checked;if(e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.isSingleSelector()){let n=this.buttonToggleGroup._buttonToggles.find(o=>o.tabIndex===0);n&&(n.tabIndex=-1),this.tabIndex=0}this.change.emit(new UD(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this.isSingleSelector()?this.buttonToggleGroup.name:this.name||null}isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-button-toggle"]],viewQuery:function(n,o){if(n&1&&le(nK,5),n&2){let r;Y(r=Q())&&(o._buttonElement=r.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:14,hostBindings:function(n,o){n&1&&b("focus",function(){return o.focus()}),n&2&&(ee("aria-label",null)("aria-labelledby",null)("id",o.id)("name",null),ne("mat-button-toggle-standalone",!o.buttonToggleGroup)("mat-button-toggle-checked",o.checked)("mat-button-toggle-disabled",o.disabled)("mat-button-toggle-disabled-interactive",o.disabledInteractive)("mat-button-toggle-appearance-standard",o.appearance==="standard"))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",disableRipple:[2,"disableRipple","disableRipple",$],appearance:"appearance",checked:[2,"checked","checked",$],disabled:[2,"disabled","disabled",$],disabledInteractive:[2,"disabledInteractive","disabledInteractive",$]},outputs:{change:"change"},exportAs:["matButtonToggle"],ngContentSelectors:iK,decls:7,vars:13,consts:[["button",""],["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"click","id","disabled"],[1,"mat-button-toggle-checkbox-wrapper"],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"],["state","checked","aria-hidden","true","appearance","minimal",3,"disabled"]],template:function(n,o){if(n&1){let r=A();He(),c(0,"button",1,0),b("click",function(){return y(r),C(o._onButtonClick())}),ue(2,oK,2,1,"div",2),c(3,"span",3),ae(4),d()(),M(5,"span",4)(6,"span",5)}if(n&2){let r=Se(1);h("id",o.buttonId)("disabled",o.disabled&&!o.disabledInteractive||null),ee("role",o.isSingleSelector()?"radio":"button")("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-pressed",o.isSingleSelector()?null:o.checked)("aria-checked",o.isSingleSelector()?o.checked:null)("name",o._getButtonName())("aria-label",o.ariaLabel)("aria-labelledby",o.ariaLabelledby)("aria-disabled",o.disabled&&o.disabledInteractive?"true":null),u(2),me(o.buttonToggleGroup&&(!o.buttonToggleGroup.multiple&&!o.buttonToggleGroup.hideSingleSelectionIndicator||o.buttonToggleGroup.multiple&&!o.buttonToggleGroup.hideMultipleSelectionIndicator)?2:-1),u(4),h("matRippleTrigger",r)("matRippleDisabled",o.disableRipple||o.disabled)}},dependencies:[no,Lg],styles:[`.mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mat-button-toggle-legacy-shape);transform:translateZ(0)}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}@media(forced-colors: active){.mat-button-toggle-standalone,.mat-button-toggle-group{outline:solid 1px}}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border:solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard .mat-pseudo-checkbox,.mat-button-toggle-group-appearance-standard .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}@media(forced-colors: active){.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{outline:0}}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative;color:var(--mat-button-toggle-legacy-text-color);font-family:var(--mat-button-toggle-legacy-label-text-font);font-size:var(--mat-button-toggle-legacy-label-text-size);line-height:var(--mat-button-toggle-legacy-label-text-line-height);font-weight:var(--mat-button-toggle-legacy-label-text-weight);letter-spacing:var(--mat-button-toggle-legacy-label-text-tracking);--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-button-toggle-legacy-selected-state-text-color)}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-button-toggle-legacy-focus-state-layer-opacity)}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle-checkbox-wrapper{display:inline-block;justify-content:flex-start;align-items:center;width:0;height:18px;line-height:18px;overflow:hidden;box-sizing:border-box;position:absolute;top:50%;left:16px;transform:translate3d(0, -50%, 0)}[dir=rtl] .mat-button-toggle-checkbox-wrapper{left:auto;right:16px}.mat-button-toggle-appearance-standard .mat-button-toggle-checkbox-wrapper{left:12px}[dir=rtl] .mat-button-toggle-appearance-standard .mat-button-toggle-checkbox-wrapper{left:auto;right:12px}.mat-button-toggle-checked .mat-button-toggle-checkbox-wrapper{width:18px}.mat-button-toggle-animations-enabled .mat-button-toggle-checkbox-wrapper{transition:width 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-button-toggle-vertical .mat-button-toggle-checkbox-wrapper{transition:none}.mat-button-toggle-checked{color:var(--mat-button-toggle-legacy-selected-state-text-color);background-color:var(--mat-button-toggle-legacy-selected-state-background-color)}.mat-button-toggle-disabled{pointer-events:none;color:var(--mat-button-toggle-legacy-disabled-state-text-color);background-color:var(--mat-button-toggle-legacy-disabled-state-background-color);--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: var(--mat-button-toggle-legacy-disabled-state-text-color)}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-button-toggle-legacy-disabled-selected-state-background-color)}.mat-button-toggle-disabled-interactive{pointer-events:auto}.mat-button-toggle-appearance-standard{color:var(--mat-button-toggle-text-color, var(--mat-sys-on-surface));background-color:var(--mat-button-toggle-background-color, transparent);font-family:var(--mat-button-toggle-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-toggle-label-text-size, var(--mat-sys-label-large-size));line-height:var(--mat-button-toggle-label-text-line-height, var(--mat-sys-label-large-line-height));font-weight:var(--mat-button-toggle-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-button-toggle-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline))}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:none;border-top:solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-appearance-standard.mat-button-toggle-checked{color:var(--mat-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-button-toggle-selected-state-background-color, var(--mat-sys-secondary-container))}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled{color:var(--mat-button-toggle-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-toggle-disabled-state-background-color, transparent)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: var(--mat-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked{color:var(--mat-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-toggle-disabled-selected-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:var(--mat-button-toggle-state-layer-color, var(--mat-sys-on-surface))}.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{opacity:var(--mat-button-toggle-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-button-toggle-appearance-standard.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-button-toggle-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}@media(hover: none){.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;padding:0 16px;line-height:var(--mat-button-toggle-legacy-height);position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px;line-height:var(--mat-button-toggle-height, 40px)}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0;background-color:var(--mat-button-toggle-legacy-state-layer-color)}@media(forced-colors: active){.mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 500px;opacity:.5;height:0}.mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-animations-enabled .mat-button-toggle-button{transition:padding 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-button-toggle-vertical .mat-button-toggle-button{transition:none}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}.mat-button-toggle-checked .mat-button-toggle-button:has(.mat-button-toggle-checkbox-wrapper){padding-left:30px}[dir=rtl] .mat-button-toggle-checked .mat-button-toggle-button:has(.mat-button-toggle-checkbox-wrapper){padding-left:0;padding-right:30px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{--mat-focus-indicator-border-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard:not(.mat-button-toggle-vertical) .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border-bottom-right-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard:not(.mat-button-toggle-vertical) .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-left-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border-bottom-left-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-bottom-right-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border-bottom-left-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border-top-left-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))} +`],encapsulation:2,changeDetection:0})}return t})(),tF=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[fe,Or,lK,fe]})}return t})();var dK=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],uK=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function mK(t,i){t&1&&(c(0,"span",3),ae(1,1),d())}function pK(t,i){t&1&&(c(0,"span",6),ae(1,2),d())}var hK=`.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}@media(forced-colors: active){.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{forced-color-adjust:none}}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mat-chip-outline-width, 1px);border-radius:var(--mat-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mat-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mat-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mat-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mat-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--secondary{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--secondary{color:var(--mat-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--secondary{color:var(--mat-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mat-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mat-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mat-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mat-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mat-chip-with-avatar-avatar-size, 24px);height:var(--mat-chip-with-avatar-avatar-size, 24px);font-size:var(--mat-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__graphic{padding-left:0}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mat-chip-container-shape-radius, 8px);height:var(--mat-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mat-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mat-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mat-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mat-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mat-chip-with-icon-icon-size, 18px);height:var(--mat-chip-with-icon-icon-size, 18px);font-size:var(--mat-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mat-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mat-chip-with-icon-icon-color: var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mat-chip-elevated-container-color: var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mat-chip-label-text-color: var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mat-chip-outline-width: var(--mat-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mat-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mat-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mat-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mat-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mat-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-edit,.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-edit:focus,.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-edit::after,.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-edit:hover::after,.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-edit:focus::after,.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mat-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-edit::before,.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-edit::after,.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-edit .mat-icon,.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}.mdc-evolution-chip__icon,.mat-mdc-chip-edit .mat-icon,.mat-mdc-chip-remove .mat-icon{min-height:fit-content}img.mdc-evolution-chip__icon{min-height:0} +`,fK=[[["","matChipEdit",""]],[["mat-chip-avatar"],["","matChipAvatar",""]],[["","matChipEditInput",""]],"*",[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],gK=["[matChipEdit]","mat-chip-avatar, [matChipAvatar]","[matChipEditInput]","*","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function _K(t,i){t&1&&M(0,"span",0)}function vK(t,i){t&1&&(c(0,"span",1),ae(1),d())}function bK(t,i){t&1&&(c(0,"span",3),ae(1,1),d())}function yK(t,i){t&1&&ae(0,2)}function CK(t,i){t&1&&M(0,"span",7)}function wK(t,i){if(t&1&&ue(0,yK,1,0)(1,CK,1,0,"span",7),t&2){let e=_();me(e.contentEditInput?0:1)}}function xK(t,i){t&1&&ae(0,3)}function DK(t,i){t&1&&(c(0,"span",6),ae(1,4),d())}var rF=["*"],EK=`.mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::placeholder{opacity:1}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-moz-placeholder{opacity:1}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-webkit-input-placeholder{opacity:1}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input:-ms-input-placeholder{opacity:1}.mat-mdc-chip-set+input.mat-mdc-chip-input{margin-left:0;margin-right:0} +`,aF=new T("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),nF=new T("MatChipAvatar"),iF=new T("MatChipTrailingIcon"),oF=new T("MatChipEdit"),GD=new T("MatChipRemove"),qD=new T("MatChip"),mv=(()=>{class t{_elementRef=p(K);_parentChip=p(qD);isInteractive=!0;_isPrimary=!0;_isLeading=!1;get disabled(){return this._disabled||this._parentChip?.disabled||!1}set disabled(e){this._disabled=e}_disabled=!1;tabIndex=-1;_allowFocusWhenDisabled=!1;_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(){p(Dt).load(In),this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(e){!this.disabled&&this.isInteractive&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:11,hostBindings:function(n,o){n&1&&b("click",function(a){return o._handleClick(a)})("keydown",function(a){return o._handleKeydown(a)}),n&2&&(ee("tabindex",o._getTabindex())("disabled",o._getDisabledAttribute())("aria-disabled",o.disabled),ne("mdc-evolution-chip__action--primary",o._isPrimary)("mdc-evolution-chip__action--presentational",!o.isInteractive)("mdc-evolution-chip__action--secondary",!o._isPrimary)("mdc-evolution-chip__action--trailing",!o._isPrimary&&!o._isLeading))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",$],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?-1:an(e)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}})}return t})();var sF=(()=>{class t extends mv{_isPrimary=!1;_handleClick(e){this.disabled||(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!this.disabled&&(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ct(t)))(o||t)}})();static \u0275dir=B({type:t,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(n,o){n&2&&ee("aria-hidden",null)},features:[ve([{provide:GD,useExisting:t}]),ye]})}return t})(),WD=(()=>{class t{_changeDetectorRef=p(Te);_elementRef=p(K);_tagName=p(K0);_ngZone=p(te);_focusMonitor=p(An);_globalRippleOptions=p(kc,{optional:!0});_document=p(ce);_onFocus=new j;_onBlur=new j;_isBasicChip;role=null;_hasFocusInternal=!1;_pendingFocus;_actionChanges;_animationsDisabled=rt();_allLeadingIcons;_allTrailingIcons;_allEditIcons;_allRemoveIcons;_hasFocus(){return this._hasFocusInternal}id=p(mt).getId("mat-mdc-chip-");ariaLabel=null;ariaDescription=null;_chipListDisabled=!1;_hadFocusOnRemove=!1;_textElement;get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}_value;color;removable=!0;highlighted=!1;disableRipple=!1;get disabled(){return this._disabled||this._chipListDisabled}set disabled(e){this._disabled=e}_disabled=!1;removed=new k;destroyed=new k;basicChipAttrName="mat-basic-chip";leadingIcon;editIcon;trailingIcon;removeIcon;primaryAction;_rippleLoader=p(lg);_injector=p(re);constructor(){let e=p(Dt);e.load(In),e.load(_o),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){this._isBasicChip=this._elementRef.nativeElement.hasAttribute(this.basicChipAttrName)||this._tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=Tt(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allEditIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&(this._hadFocusOnRemove=this._hasFocus(),this.removed.emit({chip:this}))}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!this._hasInteractiveActions()||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(e){(e.keyCode===8&&!e.repeat||e.keyCode===46)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(n=>{let o=n._elementRef.nativeElement;return o===e||o.contains(e)})}_getActions(){let e=[];return this.editIcon&&e.push(this.editIcon),this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),this.trailingIcon&&e.push(this.trailingIcon),e}_handlePrimaryActionInteraction(){}_hasInteractiveActions(){return this._getActions().some(e=>e.isInteractive)}_edit(e){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{let n=e!==null;n!==this._hasFocusInternal&&(this._hasFocusInternal=n,n?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))))})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(n,o,r){if(n&1&&(Fe(r,nF,5),Fe(r,oF,5),Fe(r,iF,5),Fe(r,GD,5),Fe(r,nF,5),Fe(r,iF,5),Fe(r,oF,5),Fe(r,GD,5)),n&2){let a;Y(a=Q())&&(o.leadingIcon=a.first),Y(a=Q())&&(o.editIcon=a.first),Y(a=Q())&&(o.trailingIcon=a.first),Y(a=Q())&&(o.removeIcon=a.first),Y(a=Q())&&(o._allLeadingIcons=a),Y(a=Q())&&(o._allTrailingIcons=a),Y(a=Q())&&(o._allEditIcons=a),Y(a=Q())&&(o._allRemoveIcons=a)}},viewQuery:function(n,o){if(n&1&&le(mv,5),n&2){let r;Y(r=Q())&&(o.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(n,o){n&1&&b("keydown",function(a){return o._handleKeydown(a)}),n&2&&(cn("id",o.id),ee("role",o.role)("aria-label",o.ariaLabel),Kt("mat-"+(o.color||"primary")),ne("mdc-evolution-chip",!o._isBasicChip)("mdc-evolution-chip--disabled",o.disabled)("mdc-evolution-chip--with-trailing-action",o._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",o.leadingIcon)("mdc-evolution-chip--with-primary-icon",o.leadingIcon)("mdc-evolution-chip--with-avatar",o.leadingIcon)("mat-mdc-chip-with-avatar",o.leadingIcon)("mat-mdc-chip-highlighted",o.highlighted)("mat-mdc-chip-disabled",o.disabled)("mat-mdc-basic-chip",o._isBasicChip)("mat-mdc-standard-chip",!o._isBasicChip)("mat-mdc-chip-with-trailing-icon",o._hasTrailingIcon())("_mat-animation-noopable",o._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",$],highlighted:[2,"highlighted","highlighted",$],disableRipple:[2,"disableRipple","disableRipple",$],disabled:[2,"disabled","disabled",$]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[ve([{provide:qD,useExisting:t}])],ngContentSelectors:uK,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(n,o){n&1&&(He(dK),M(0,"span",0),c(1,"span",1)(2,"span",2),ue(3,mK,2,0,"span",3),c(4,"span",4),ae(5),M(6,"span",5),d()()(),ue(7,pK,2,0,"span",6)),n&2&&(u(2),h("isInteractive",!1),u(),me(o.leadingIcon?3:-1),u(4),me(o._hasTrailingIcon()?7:-1))},dependencies:[mv],styles:[`.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}@media(forced-colors: active){.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{forced-color-adjust:none}}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mat-chip-outline-width, 1px);border-radius:var(--mat-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mat-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mat-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mat-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mat-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--secondary{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--secondary{color:var(--mat-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--secondary{color:var(--mat-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mat-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mat-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mat-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mat-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mat-chip-with-avatar-avatar-size, 24px);height:var(--mat-chip-with-avatar-avatar-size, 24px);font-size:var(--mat-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__graphic{padding-left:0}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mat-chip-container-shape-radius, 8px);height:var(--mat-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mat-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mat-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mat-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mat-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mat-chip-with-icon-icon-size, 18px);height:var(--mat-chip-with-icon-icon-size, 18px);font-size:var(--mat-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mat-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mat-chip-with-icon-icon-color: var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mat-chip-elevated-container-color: var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mat-chip-label-text-color: var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mat-chip-outline-width: var(--mat-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mat-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mat-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mat-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mat-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mat-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-edit,.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-edit:focus,.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-edit::after,.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-edit:hover::after,.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-edit:focus::after,.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mat-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-edit::before,.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-edit::after,.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-edit .mat-icon,.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}.mdc-evolution-chip__icon,.mat-mdc-chip-edit .mat-icon,.mat-mdc-chip-remove .mat-icon{min-height:fit-content}img.mdc-evolution-chip__icon{min-height:0} +`],encapsulation:2,changeDetection:0})}return t})();var HD=(()=>{class t{_elementRef=p(K);_document=p(ce);constructor(){}initialize(e){this.getNativeElement().focus(),this.setValue(e)}getNativeElement(){return this._elementRef.nativeElement}setValue(e){this.getNativeElement().textContent=e,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){let e=this._document.createRange();e.selectNodeContents(this.getNativeElement()),e.collapse(!1);let n=window.getSelection();n.removeAllRanges(),n.addRange(e)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]})}return t})(),YD=(()=>{class t extends WD{basicChipAttrName="mat-basic-chip-row";_editStartPending=!1;editable=!1;edited=new k;defaultEditInput;contentEditInput;_alreadyFocused=!1;_isEditing=!1;constructor(){super(),this.role="row",this._onBlur.pipe(ke(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish(),this._alreadyFocused=!1})}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("mousedown",()=>this._alreadyFocused=this._hasFocus())})}_hasLeadingActionIcon(){return!this._isEditing&&!!this.editIcon}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(e){e.keyCode===13&&!this.disabled?this._isEditing?(e.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(e):this._isEditing?e.stopPropagation():super._handleKeydown(e)}_handleClick(e){!this.disabled&&this.editable&&!this._isEditing&&this._alreadyFocused&&(e.preventDefault(),e.stopPropagation(),this._startEditing(e))}_handleDoubleclick(e){!this.disabled&&this.editable&&this._startEditing(e)}_edit(){this._changeDetectorRef.markForCheck(),this._startEditing()}_startEditing(e){if(!this.primaryAction||this.removeIcon&&e&&this._getSourceAction(e.target)===this.removeIcon)return;let n=this.value;this._isEditing=this._editStartPending=!0,xt(()=>{this._getEditInput().initialize(n),setTimeout(()=>this._ngZone.run(()=>this._editStartPending=!1))},{injector:this._injector})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_isRippleDisabled(){return super._isRippleDisabled()||this._isEditing}_getEditInput(){return this.contentEditInput||this.defaultEditInput}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(n,o,r){if(n&1&&Fe(r,HD,5),n&2){let a;Y(a=Q())&&(o.contentEditInput=a.first)}},viewQuery:function(n,o){if(n&1&&le(HD,5),n&2){let r;Y(r=Q())&&(o.defaultEditInput=r.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:29,hostBindings:function(n,o){n&1&&b("focus",function(){return o._handleFocus()})("click",function(a){return o._handleClick(a)})("dblclick",function(a){return o._handleDoubleclick(a)}),n&2&&(cn("id",o.id),ee("tabindex",o.disabled?null:-1)("aria-label",null)("aria-description",null)("role",o.role),ne("mat-mdc-chip-with-avatar",o.leadingIcon)("mat-mdc-chip-disabled",o.disabled)("mat-mdc-chip-editing",o._isEditing)("mat-mdc-chip-editable",o.editable)("mdc-evolution-chip--disabled",o.disabled)("mdc-evolution-chip--with-leading-action",o._hasLeadingActionIcon())("mdc-evolution-chip--with-trailing-action",o._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",o.leadingIcon)("mdc-evolution-chip--with-primary-icon",o.leadingIcon)("mdc-evolution-chip--with-avatar",o.leadingIcon)("mat-mdc-chip-highlighted",o.highlighted)("mat-mdc-chip-with-trailing-icon",o._hasTrailingIcon()))},inputs:{editable:"editable"},outputs:{edited:"edited"},features:[ve([{provide:WD,useExisting:t},{provide:qD,useExisting:t}]),ye],ngContentSelectors:gK,decls:9,vars:8,consts:[[1,"mat-mdc-chip-focus-overlay"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--leading"],["role","gridcell","matChipAction","",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary",3,"disabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],["aria-hidden","true",1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],["matChipEditInput",""]],template:function(n,o){n&1&&(He(fK),ue(0,_K,1,0,"span",0),ue(1,vK,2,0,"span",1),c(2,"span",2),ue(3,bK,2,0,"span",3),c(4,"span",4),ue(5,wK,2,1)(6,xK,1,0),M(7,"span",5),d()(),ue(8,DK,2,0,"span",6)),n&2&&(me(o._isEditing?-1:0),u(),me(o._hasLeadingActionIcon()?1:-1),u(),h("disabled",o.disabled),ee("aria-description",o.ariaDescription)("aria-label",o.ariaLabel),u(),me(o.leadingIcon?3:-1),u(2),me(o._isEditing?5:6),u(3),me(o._hasTrailingIcon()?8:-1))},dependencies:[mv,HD],styles:[hK],encapsulation:2,changeDetection:0})}return t})(),SK=(()=>{class t{_elementRef=p(K);_changeDetectorRef=p(Te);_dir=p(Bt,{optional:!0});_lastDestroyedFocusedChipIndex=null;_keyManager;_destroyed=new j;_defaultRole="presentation";get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get chipRemovedChanges(){return this._getChipStream(e=>e.removed)}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._syncChipsState()}_disabled=!1;get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}tabIndex=0;set role(e){this._explicitRole=e}_explicitRole=null;get focused(){return this._hasFocusedChip()}_chips;_chipActions=new qi;constructor(){}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips?.forEach(e=>{e._chipListDisabled=this._disabled,e._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e)}_isValidIndex(e){return e>=0&&ethis._elementRef.nativeElement.tabIndex=e))}_getChipStream(e){return this._chips.changes.pipe(Et(null),vt(()=>Tt(...this._chips.map(e))))}_originatesFromChip(e){let n=e.target;for(;n&&n!==this._elementRef.nativeElement;){if(n.classList.contains("mat-mdc-chip"))return!0;n=n.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(Et(this._chips)).subscribe(e=>{let n=[];e.forEach(o=>o._getActions().forEach(r=>n.push(r))),this._chipActions.reset(n),this._chipActions.notifyOnChanges()}),this._keyManager=new na(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(e=>this._skipPredicate(e)),this.chipFocusChanges.pipe(ke(this._destroyed)).subscribe(({chip:e})=>{let n=e._getSourceAction(document.activeElement);n&&this._keyManager.updateActiveItem(n)}),this._dir?.change.pipe(ke(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e))}_skipPredicate(e){return!e.isInteractive||e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Et(null),ke(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(ke(this._destroyed)).subscribe(e=>{let o=this._chips.toArray().indexOf(e.chip),r=e.chip._hasFocus(),a=e.chip._hadFocusOnRemove&&this._keyManager.activeItem&&e.chip._getActions().includes(this._keyManager.activeItem),s=r||a;this._isValidIndex(o)&&s&&(this._lastDestroyedFocusedChipIndex=o)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),n=this._chips.toArray()[e];n.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():n.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-chip-set"]],contentQueries:function(n,o,r){if(n&1&&Fe(r,WD,5),n&2){let a;Y(a=Q())&&(o._chips=a)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(n,o){n&1&&b("keydown",function(a){return o._handleKeydown(a)}),n&2&&ee("role",o.role)},inputs:{disabled:[2,"disabled","disabled",$],role:"role",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:an(e)]},ngContentSelectors:rF,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(n,o){n&1&&(He(),gn(0,"div",0),ae(1),wn())},styles:[`.mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::placeholder{opacity:1}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-moz-placeholder{opacity:1}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-webkit-input-placeholder{opacity:1}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input:-ms-input-placeholder{opacity:1}.mat-mdc-chip-set+input.mat-mdc-chip-input{margin-left:0;margin-right:0} +`],encapsulation:2,changeDetection:0})}return t})();var $D=class{source;value;constructor(i,e){this.source=i,this.value=e}},lF=(()=>{class t extends SK{ngControl=p(Fi,{optional:!0,self:!0});controlType="mat-chip-grid";_chipInput;_defaultRole="grid";_errorStateTracker;_ariaDescribedbyIds=[];_onTouched=()=>{};_onChange=()=>{};get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=e,this._syncChipsState(),this.stateChanges.next()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||this._chips.length===0)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(Nr.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(e){this._value=e}_value=[];get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}change=new k;valueChange=new k;_chips=void 0;stateChanges=new j;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(){super();let e=p(xo,{optional:!0}),n=p(Ka,{optional:!0}),o=p(sl);this.ngControl&&(this.ngControl.valueAccessor=this),this._errorStateTracker=new Za(o,this.ngControl,n,e,this.stateChanges)}ngAfterContentInit(){this.chipBlurChanges.pipe(ke(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),Tt(this.chipFocusChanges,this._chips.changes).pipe(ke(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit(),this._chipInput}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(e){this._chipInput=e,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(e){!this.disabled&&!this._originatesFromChip(e)&&this.focus()}focus(){if(!(this.disabled||this._chipInput.focused)){if(!this._chips.length||this._chips.first.disabled)Promise.resolve().then(()=>this._chipInput.focus());else{let e=this._keyManager.activeItem;e?e.focus():this._keyManager.setFirstItemActive()}this.stateChanges.next()}}get describedByIds(){return this._chipInput?.describedByIds||[]}setDescribedByIds(e){this._ariaDescribedbyIds=e,this._chipInput?.setDescribedByIds(e)}writeValue(e){this._value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}updateErrorState(){this._errorStateTracker.updateErrorState()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(e){let n=e.keyCode,o=this._keyManager.activeItem;if(n===9)this._chipInput.focused&&kt(e,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(e.preventDefault(),o?this._keyManager.setActiveItem(o):this._focusLastChip()):super._allowFocusEscape();else if(!this._chipInput.focused)if((n===38||n===40)&&o){let r=this._chipActions.filter(l=>l._isPrimary===o._isPrimary&&!this._skipPredicate(l)),a=r.indexOf(o),s=e.keyCode===38?-1:1;e.preventDefault(),a>-1&&this._isValidIndex(a+s)&&this._keyManager.setActiveItem(r[a+s])}else super._handleKeydown(e);this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){let e=this._chips.length?this._chips.toArray().map(n=>n.value):[];this._value=e,this.change.emit(new $D(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-chip-grid"]],contentQueries:function(n,o,r){if(n&1&&Fe(r,YD,5),n&2){let a;Y(a=Q())&&(o._chips=a)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(n,o){n&1&&b("focus",function(){return o.focus()})("blur",function(){return o._blur()}),n&2&&(ee("role",o.role)("tabindex",o.disabled||o._chips&&o._chips.length===0?-1:o.tabIndex)("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState),ne("mat-mdc-chip-list-disabled",o.disabled)("mat-mdc-chip-list-invalid",o.errorState)("mat-mdc-chip-list-required",o.required))},inputs:{disabled:[2,"disabled","disabled",$],placeholder:"placeholder",required:[2,"required","required",$],value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[ve([{provide:ra,useExisting:t}]),ye],ngContentSelectors:rF,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(n,o){n&1&&(He(),gn(0,"div",0),ae(1),wn())},styles:[EK],encapsulation:2,changeDetection:0})}return t})(),cF=(()=>{class t{_elementRef=p(K);focused=!1;get chipGrid(){return this._chipGrid}set chipGrid(e){e&&(this._chipGrid=e,this._chipGrid.registerInput(this))}_chipGrid;addOnBlur=!1;separatorKeyCodes;chipEnd=new k;placeholder="";id=p(mt).getId("mat-mdc-chip-list-input-");get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(e){this._disabled=e}_disabled=!1;readonly=!1;disabledInteractive;get empty(){return!this.inputElement.value}inputElement;constructor(){let e=p(aF),n=p(Do,{optional:!0});this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=e.separatorKeyCodes,this.disabledInteractive=e.inputDisabledInteractive??!1,n&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}_keydown(e){this.empty&&e.keyCode===8?(e.repeat||this._chipGrid._focusLastChip(),e.preventDefault()):this._emitChipEnd(e)}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._chipGrid.stateChanges.next()}_emitChipEnd(e){(!e||this._isSeparatorKey(e)&&!e.repeat)&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),e?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value=""}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let n=this._elementRef.nativeElement;e.length?n.setAttribute("aria-describedby",e.join(" ")):n.removeAttribute("aria-describedby")}_isSeparatorKey(e){return!kt(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}_getReadonlyAttribute(){return this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:8,hostBindings:function(n,o){n&1&&b("keydown",function(a){return o._keydown(a)})("blur",function(){return o._blur()})("focus",function(){return o._focus()})("input",function(){return o._onInput()}),n&2&&(cn("id",o.id),ee("disabled",o.disabled&&!o.disabledInteractive?"":null)("placeholder",o.placeholder||null)("aria-invalid",o._chipGrid&&o._chipGrid.ngControl?o._chipGrid.ngControl.invalid:null)("aria-required",o._chipGrid&&o._chipGrid.required||null)("aria-disabled",o.disabled&&o.disabledInteractive?"true":null)("readonly",o._getReadonlyAttribute())("required",o._chipGrid&&o._chipGrid.required||null))},inputs:{chipGrid:[0,"matChipInputFor","chipGrid"],addOnBlur:[2,"matChipInputAddOnBlur","addOnBlur",$],separatorKeyCodes:[0,"matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:[2,"disabled","disabled",$],readonly:[2,"readonly","readonly",$],disabledInteractive:[2,"matChipInputDisabledInteractive","disabledInteractive",$]},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[Ge]})}return t})();var dF=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({providers:[sl,{provide:aF,useValue:{separatorKeyCodes:[13]}}],imports:[fe,Or,fe]})}return t})();var uF=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({})}return t})();var mF=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[fe,uF,eo]})}return t})();var IK=["*",[["mat-toolbar-row"]]],TK=["*","mat-toolbar-row"],kK=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=B({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return t})(),pF=(()=>{class t{_elementRef=p(K);_platform=p(nt);_document=p(ce);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=E({type:t,selectors:[["mat-toolbar"]],contentQueries:function(n,o,r){if(n&1&&Fe(r,kK,5),n&2){let a;Y(a=Q())&&(o._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(n,o){n&2&&(Kt(o.color?"mat-"+o.color:""),ne("mat-toolbar-multiple-rows",o._toolbarRows.length>0)("mat-toolbar-single-row",o._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:TK,decls:2,vars:0,template:function(n,o){n&1&&(He(IK),ae(0),ae(1,1))},styles:[`.mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-sys-surface));color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-sys-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-sys-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-sys-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-sys-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-sys-title-large-tracking));margin:0}@media(forced-colors: active){.mat-toolbar{outline:solid 1px}}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mat-button-text-label-text-color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface));--mat-button-outlined-label-text-color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height, 56px)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height, 56px)}} +`],encapsulation:2,changeDetection:0})}return t})();var hF=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Z({imports:[fe,fe]})}return t})();var fF=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=Z({providers:[{provide:a_,useValue:{floatLabel:"always",appearance:"outline"}},{provide:im,useValue:udsData.language}],imports:[Jd,yR,Tg,hF,Pr,ZO,lm,mF,Dw,Ja,nP,sm,jP,PR,DO,mO,fO,AO,IO,MR,dF,tF,CP,mP,RR,TO,qO,BO]})}}return t})();function RK(t,i){if(t&1){let e=A();c(0,"button",7),b("click",function(){let o=y(e).$implicit,r=_();return C(r.changeLang(o))}),g(1),d()}if(t&2){let e=i.$implicit;u(),tt(e.name)}}function OK(t,i){if(t&1&&(c(0,"button",12)(1,"i",8),g(2,"face"),d(),g(3),d()),t&2){let e=_(),n=Se(7);h("matMenuTriggerFor",n),u(3),tt(e.api.user.user)}}function PK(t,i){if(t&1&&(c(0,"button",18),g(1),c(2,"i",8),g(3,"arrow_drop_down"),d()()),t&2){let e=_(),n=Se(7);h("matMenuTriggerFor",n),u(),O("",e.api.user.user," ")}}var gF=(()=>{class t{constructor(e){this.api=e,this.lang={id:"",name:""},this.isNavbarCollapsed=!0;let n=e.config.language;this.langs=[];for(let o of e.config.available_languages)o.id===n?this.lang=o:this.langs.push(o)}ngOnInit(){}changeLang(e){this.lang=e;let n=document.getElementById("id_language");return n&&n.setAttribute("value",e.id),document.getElementById("form_language").submit(),!1}user(){this.api.gotoUser()}logout(){this.api.logout()}static{this.\u0275fac=function(n){return new(n||t)(w(G))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-navbar"]],standalone:!1,decls:39,vars:17,consts:[["appMenu","matMenu"],["userMenu","matMenu"],["shrink","matMenu"],["id","form_language","method","post",3,"action"],["type","hidden",3,"name","value"],["id","id_language","type","hidden","name","language",3,"value"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click"],[1,"material-icons"],[1,"material-icons","highlight"],["x-position","before"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["color","primary",1,"uds-nav"],["mat-button","","routerLink","/"],["alt","Universal Desktop Services",1,"udsicon",3,"src"],[1,"fill-remaining-space"],[1,"expanded"],["mat-button","",3,"matMenuTriggerFor"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],[1,"shrinked"],["mat-icon-button","",3,"matMenuTriggerFor"]],template:function(n,o){if(n&1){let r=A();c(0,"form",3),M(1,"input",4)(2,"input",5),d(),c(3,"mat-menu",null,0),S(5,RK,2,1,"button",6),d(),c(6,"mat-menu",null,1)(8,"button",7),b("click",function(){return y(r),C(o.user())}),c(9,"i",8),g(10,"home"),d(),c(11,"uds-translate"),g(12,"User mode"),d()(),c(13,"button",7),b("click",function(){return y(r),C(o.logout())}),c(14,"i",9),g(15,"exit_to_app"),d(),c(16,"uds-translate"),g(17,"Logout"),d()()(),c(18,"mat-menu",10,2),S(20,OK,4,2,"button",11),c(21,"button",12)(22,"i",8),g(23,"language"),d(),g(24),d()(),c(25,"mat-toolbar",13)(26,"button",14),M(27,"img",15),d(),M(28,"span",16),c(29,"div",17)(30,"button",18),g(31),c(32,"i",8),g(33,"arrow_drop_down"),d()(),S(34,PK,4,2,"button",19),d(),c(35,"div",20)(36,"button",21)(37,"i",8),g(38,"menu"),d()()()()}if(n&2){let r=Se(4),a=Se(19);h("action",Ra(o.api.config.urls.change_language),we),u(),h("name",Ra(o.api.csrfField))("value",Ra(o.api.csrfToken)),u(),h("value",Ra(o.lang.id)),u(3),h("ngForOf",o.langs),u(15),h("ngIf",o.api.user.isLogged),u(),h("matMenuTriggerFor",r),u(3),tt(o.lang.name),u(3),h("src",o.api.staticURL("admin/img/udsicon.png"),we),u(3),h("matMenuTriggerFor",r),u(),O("",o.lang.name," "),u(3),h("ngIf",o.api.user.isLogged),u(2),h("matMenuTriggerFor",a)}},dependencies:[Ue,pe,mn,Ig,Dg,xo,pF,ge,Jn,ts,dl,R_,se],styles:[".mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-0, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-1, 0px 2px 1px -1px --mat-sys-shadow, 0px 1px 1px 0px --mat-sys-shadow, 0px 1px 3px 0px --mat-sys-shadow)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-2, 0px 3px 1px -2px --mat-sys-shadow, 0px 2px 2px 0px --mat-sys-shadow, 0px 1px 5px 0px --mat-sys-shadow)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-3, 0px 3px 3px -2px --mat-sys-shadow, 0px 3px 4px 0px --mat-sys-shadow, 0px 1px 8px 0px --mat-sys-shadow)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-4, 0px 2px 4px -1px --mat-sys-shadow, 0px 4px 5px 0px --mat-sys-shadow, 0px 1px 10px 0px --mat-sys-shadow)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-5, 0px 3px 5px -1px --mat-sys-shadow, 0px 5px 8px 0px --mat-sys-shadow, 0px 1px 14px 0px --mat-sys-shadow)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-6, 0px 3px 5px -1px --mat-sys-shadow, 0px 6px 10px 0px --mat-sys-shadow, 0px 1px 18px 0px --mat-sys-shadow)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-7, 0px 4px 5px -2px --mat-sys-shadow, 0px 7px 10px 1px --mat-sys-shadow, 0px 2px 16px 1px --mat-sys-shadow)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-8, 0px 5px 5px -3px --mat-sys-shadow, 0px 8px 10px 1px --mat-sys-shadow, 0px 3px 14px 2px --mat-sys-shadow)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-9, 0px 5px 6px -3px --mat-sys-shadow, 0px 9px 12px 1px --mat-sys-shadow, 0px 3px 16px 2px --mat-sys-shadow)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-10, 0px 6px 6px -3px --mat-sys-shadow, 0px 10px 14px 1px --mat-sys-shadow, 0px 4px 18px 3px --mat-sys-shadow)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-11, 0px 6px 7px -4px --mat-sys-shadow, 0px 11px 15px 1px --mat-sys-shadow, 0px 4px 20px 3px --mat-sys-shadow)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-12, 0px 7px 8px -4px --mat-sys-shadow, 0px 12px 17px 2px --mat-sys-shadow, 0px 5px 22px 4px --mat-sys-shadow)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-13, 0px 7px 8px -4px --mat-sys-shadow, 0px 13px 19px 2px --mat-sys-shadow, 0px 5px 24px 4px --mat-sys-shadow)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-14, 0px 7px 9px -4px --mat-sys-shadow, 0px 14px 21px 2px --mat-sys-shadow, 0px 5px 26px 4px --mat-sys-shadow)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-15, 0px 8px 9px -5px --mat-sys-shadow, 0px 15px 22px 2px --mat-sys-shadow, 0px 6px 28px 5px --mat-sys-shadow)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-16, 0px 8px 10px -5px --mat-sys-shadow, 0px 16px 24px 2px --mat-sys-shadow, 0px 6px 30px 5px --mat-sys-shadow)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-17, 0px 8px 11px -5px --mat-sys-shadow, 0px 17px 26px 2px --mat-sys-shadow, 0px 6px 32px 5px --mat-sys-shadow)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-18, 0px 9px 11px -5px --mat-sys-shadow, 0px 18px 28px 2px --mat-sys-shadow, 0px 7px 34px 6px --mat-sys-shadow)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-19, 0px 9px 12px -6px --mat-sys-shadow, 0px 19px 29px 2px --mat-sys-shadow, 0px 7px 36px 6px --mat-sys-shadow)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-20, 0px 10px 13px -6px --mat-sys-shadow, 0px 20px 31px 3px --mat-sys-shadow, 0px 8px 38px 7px --mat-sys-shadow)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-21, 0px 10px 13px -6px --mat-sys-shadow, 0px 21px 33px 3px --mat-sys-shadow, 0px 8px 40px 7px --mat-sys-shadow)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-22, 0px 10px 14px -6px --mat-sys-shadow, 0px 22px 35px 3px --mat-sys-shadow, 0px 8px 42px 7px --mat-sys-shadow)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-23, 0px 11px 14px -7px --mat-sys-shadow, 0px 23px 36px 3px --mat-sys-shadow, 0px 9px 44px 8px --mat-sys-shadow)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-24, 0px 11px 15px -7px --mat-sys-shadow, 0px 24px 38px 3px --mat-sys-shadow, 0px 9px 46px 8px --mat-sys-shadow)}html[_ngcontent-%COMP%]{--mat-sys-on-surface: initial}.mat-app-background[_ngcontent-%COMP%]{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}.uds-nav[_ngcontent-%COMP%]{position:fixed;top:0;z-index:1000}.fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}.material-icons[_ngcontent-%COMP%]{margin-right:.3rem}.udsicon[_ngcontent-%COMP%]{width:2rem}.mat-mdc-button[_ngcontent-%COMP%]{font-weight:300}.uds-nav[_ngcontent-%COMP%] .expanded[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{color:#000}@media only screen and (max-width:744px){.expanded[_ngcontent-%COMP%]{display:none;visibility:hidden}.shrinked[_ngcontent-%COMP%]{visibility:visible}}@media only screen and (min-width:745px){.expanded[_ngcontent-%COMP%]{visibility:visible}.shrinked[_ngcontent-%COMP%]{display:none;visibility:hidden}} .dark-theme .uds-nav .expanded button{color:#fff!important}"]})}}return t})();var _F=(()=>{class t{constructor(){}ngOnInit(){}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-footer"]],standalone:!1,decls:4,vars:0,consts:[["href","https://www.udsenterprise.com"]],template:function(n,o){n&1&&(c(0,"div"),g(1,"\xA9 2012-2025 "),c(2,"a",0),g(3,"Virtual Cable S.L.U."),d()())},styles:[".mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-0, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-1, 0px 2px 1px -1px --mat-sys-shadow, 0px 1px 1px 0px --mat-sys-shadow, 0px 1px 3px 0px --mat-sys-shadow)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-2, 0px 3px 1px -2px --mat-sys-shadow, 0px 2px 2px 0px --mat-sys-shadow, 0px 1px 5px 0px --mat-sys-shadow)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-3, 0px 3px 3px -2px --mat-sys-shadow, 0px 3px 4px 0px --mat-sys-shadow, 0px 1px 8px 0px --mat-sys-shadow)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-4, 0px 2px 4px -1px --mat-sys-shadow, 0px 4px 5px 0px --mat-sys-shadow, 0px 1px 10px 0px --mat-sys-shadow)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-5, 0px 3px 5px -1px --mat-sys-shadow, 0px 5px 8px 0px --mat-sys-shadow, 0px 1px 14px 0px --mat-sys-shadow)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-6, 0px 3px 5px -1px --mat-sys-shadow, 0px 6px 10px 0px --mat-sys-shadow, 0px 1px 18px 0px --mat-sys-shadow)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-7, 0px 4px 5px -2px --mat-sys-shadow, 0px 7px 10px 1px --mat-sys-shadow, 0px 2px 16px 1px --mat-sys-shadow)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-8, 0px 5px 5px -3px --mat-sys-shadow, 0px 8px 10px 1px --mat-sys-shadow, 0px 3px 14px 2px --mat-sys-shadow)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-9, 0px 5px 6px -3px --mat-sys-shadow, 0px 9px 12px 1px --mat-sys-shadow, 0px 3px 16px 2px --mat-sys-shadow)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-10, 0px 6px 6px -3px --mat-sys-shadow, 0px 10px 14px 1px --mat-sys-shadow, 0px 4px 18px 3px --mat-sys-shadow)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-11, 0px 6px 7px -4px --mat-sys-shadow, 0px 11px 15px 1px --mat-sys-shadow, 0px 4px 20px 3px --mat-sys-shadow)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-12, 0px 7px 8px -4px --mat-sys-shadow, 0px 12px 17px 2px --mat-sys-shadow, 0px 5px 22px 4px --mat-sys-shadow)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-13, 0px 7px 8px -4px --mat-sys-shadow, 0px 13px 19px 2px --mat-sys-shadow, 0px 5px 24px 4px --mat-sys-shadow)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-14, 0px 7px 9px -4px --mat-sys-shadow, 0px 14px 21px 2px --mat-sys-shadow, 0px 5px 26px 4px --mat-sys-shadow)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-15, 0px 8px 9px -5px --mat-sys-shadow, 0px 15px 22px 2px --mat-sys-shadow, 0px 6px 28px 5px --mat-sys-shadow)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-16, 0px 8px 10px -5px --mat-sys-shadow, 0px 16px 24px 2px --mat-sys-shadow, 0px 6px 30px 5px --mat-sys-shadow)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-17, 0px 8px 11px -5px --mat-sys-shadow, 0px 17px 26px 2px --mat-sys-shadow, 0px 6px 32px 5px --mat-sys-shadow)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-18, 0px 9px 11px -5px --mat-sys-shadow, 0px 18px 28px 2px --mat-sys-shadow, 0px 7px 34px 6px --mat-sys-shadow)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-19, 0px 9px 12px -6px --mat-sys-shadow, 0px 19px 29px 2px --mat-sys-shadow, 0px 7px 36px 6px --mat-sys-shadow)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-20, 0px 10px 13px -6px --mat-sys-shadow, 0px 20px 31px 3px --mat-sys-shadow, 0px 8px 38px 7px --mat-sys-shadow)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-21, 0px 10px 13px -6px --mat-sys-shadow, 0px 21px 33px 3px --mat-sys-shadow, 0px 8px 40px 7px --mat-sys-shadow)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-22, 0px 10px 14px -6px --mat-sys-shadow, 0px 22px 35px 3px --mat-sys-shadow, 0px 8px 42px 7px --mat-sys-shadow)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-23, 0px 11px 14px -7px --mat-sys-shadow, 0px 23px 36px 3px --mat-sys-shadow, 0px 9px 44px 8px --mat-sys-shadow)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-24, 0px 11px 15px -7px --mat-sys-shadow, 0px 24px 38px 3px --mat-sys-shadow, 0px 9px 46px 8px --mat-sys-shadow)}html[_ngcontent-%COMP%]{--mat-sys-on-surface: initial}.mat-app-background[_ngcontent-%COMP%]{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}a[_ngcontent-%COMP%]{text-decoration:none}div[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{color:#000} .dark-theme div, .dark-theme a{color:#fff}"]})}}return t})();function LK(t,i){if(t&1&&(c(0,"a",27),M(1,"img",2),c(2,"uds-translate"),g(3,"Groups"),d()()),t&2){let e=_();u(),h("src",e.icon("groups"),we)}}function VK(t,i){if(t&1){let e=A();c(0,"a",3),b("click",function(){y(e);let o=_();return C(o.toggleConfig())}),M(1,"img",2),c(2,"span")(3,"uds-translate"),g(4,"Tools"),d(),c(5,"i",4),g(6,"arrow_drop_down"),d()()()}if(t&2){let e=_();u(),h("src",e.icon("tools"),we)}}var vF=(()=>{class t{constructor(e,n){this.api=e,this.rest=n,this.connectivityShown=!1,this.poolsShown=!1,this.configShown=!1,this.tokensShown=!1,this.authsShown=!1,this.servicesShown=!1}ngOnInit(){}icon(e){return this.api.staticURL("admin/img/icons/"+e+".png")}toggle(e){let n=new Map([["connectivity",o=>this.connectivityShown=o?!this.connectivityShown:!1],["pools",o=>this.poolsShown=o?!this.poolsShown:!1],["config",o=>this.configShown=o?!this.configShown:!1],["tokens",o=>this.tokensShown=o?!this.tokensShown:!1],["auths",o=>this.authsShown=o?!this.authsShown:!1],["services",o=>this.servicesShown=o?!this.servicesShown:!1]]);for(let o of n)o[1](o[0]===e)}toggleConnectivity(){this.toggle("connectivity")}togglePools(){this.toggle("pools")}toggleConfig(){this.toggle("config")}toggleTokens(){this.toggle("tokens")}toggleAuths(){this.toggle("auths")}toggleServices(){this.toggle("services")}flushCache(){this.rest.system.flushCache().then(()=>{this.api.gui.snackbar.open(django.gettext("Cache flushed"),django.gettext("dismiss"),{duration:2e3})})}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(J))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-sidebar"]],standalone:!1,decls:124,vars:33,consts:[[1,"sidebar","mat-toolbar","mat-primary"],["mat-button","","routerLink","/summary",1,"sidebar-link"],[1,"icon",3,"src"],["mat-button","",1,"sidebar-link",3,"click"],[1,"material-icons"],[1,"submenu",3,"hidden"],["mat-button","","routerLink","/services/providers",1,"sidebar-link"],["mat-button","","routerLink","/services/servers",1,"sidebar-link"],["mat-button","","routerLink","/authenticators",1,"sidebar-link"],["mat-button","","routerLink","/mfas",1,"sidebar-link"],["mat-button","","routerLink","/osmanagers",1,"sidebar-link"],["mat-button","","routerLink","/connectivity/transports",1,"sidebar-link"],["mat-button","","routerLink","/connectivity/networks",1,"sidebar-link"],["mat-button","","routerLink","/connectivity/tunnels",1,"sidebar-link"],["mat-button","","routerLink","/pools/service-pools",1,"sidebar-link"],["mat-button","","routerLink","/pools/meta-pools",1,"sidebar-link"],["mat-button","","routerLink","/pools/pool-groups","class","sidebar-link",4,"ngIf"],["mat-button","","routerLink","/pools/calendars",1,"sidebar-link"],["mat-button","","routerLink","/pools/accounts",1,"sidebar-link"],["mat-button","","class","sidebar-link",3,"click",4,"ngIf"],["mat-button","","routerLink","/tools/gallery",1,"sidebar-link"],["mat-button","","routerLink","/tools/reports",1,"sidebar-link"],["mat-button","","routerLink","/tools/notifiers",1,"sidebar-link"],[1,"submenu2",3,"hidden"],["mat-button","","routerLink","/tools/tokens/actor",1,"sidebar-link"],["mat-button","","routerLink","/tools/tokens/server",1,"sidebar-link"],["mat-button","","routerLink","/tools/configuration",1,"sidebar-link"],["mat-button","","routerLink","/pools/pool-groups",1,"sidebar-link"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"a",1),M(2,"img",2),c(3,"uds-translate"),g(4,"Summary"),d()(),c(5,"a",3),b("click",function(){return o.toggleServices()}),M(6,"img",2),c(7,"span")(8,"uds-translate"),g(9,"Services"),d(),c(10,"i",4),g(11,"arrow_drop_down"),d()()(),c(12,"div",5)(13,"a",6),M(14,"img",2),c(15,"uds-translate"),g(16,"Providers"),d()(),c(17,"a",7),M(18,"img",2),c(19,"uds-translate"),g(20,"Servers"),d()()(),c(21,"a",3),b("click",function(){return o.toggleAuths()}),M(22,"img",2),c(23,"span")(24,"uds-translate"),g(25,"Authentication"),d(),c(26,"i",4),g(27,"arrow_drop_down"),d()()(),c(28,"div",5)(29,"a",8),M(30,"img",2),c(31,"uds-translate"),g(32,"Authenticators"),d()(),c(33,"a",9),M(34,"img",2),c(35,"uds-translate"),g(36,"Multi Factor"),d()()(),c(37,"a",10),M(38,"img",2),c(39,"uds-translate"),g(40,"Os Managers"),d()(),c(41,"a",3),b("click",function(){return o.toggleConnectivity()}),M(42,"img",2),c(43,"span")(44,"uds-translate"),g(45,"Connectivity"),d(),c(46,"i",4),g(47,"arrow_drop_down"),d()()(),c(48,"div",5)(49,"a",11),M(50,"img",2),c(51,"uds-translate"),g(52,"Transports"),d()(),c(53,"a",12),M(54,"img",2),c(55,"uds-translate"),g(56,"Networks"),d()(),c(57,"a",13),M(58,"img",2),c(59,"uds-translate"),g(60,"Tunnels"),d()()(),c(61,"a",3),b("click",function(){return o.togglePools()}),M(62,"img",2),c(63,"span")(64,"uds-translate"),g(65,"Pools"),d(),c(66,"i",4),g(67,"arrow_drop_down"),d()()(),c(68,"div",5)(69,"a",14),M(70,"img",2),c(71,"uds-translate"),g(72,"Service pools"),d()(),c(73,"a",15),M(74,"img",2),c(75,"uds-translate"),g(76,"Meta pools"),d()(),S(77,LK,4,1,"a",16),c(78,"a",17),M(79,"img",2),c(80,"uds-translate"),g(81,"Calendars"),d()(),c(82,"a",18),M(83,"img",2),c(84,"uds-translate"),g(85,"Accounting"),d()()(),S(86,VK,7,1,"a",19),c(87,"div",5)(88,"a",20),M(89,"img",2),c(90,"uds-translate"),g(91,"Gallery"),d()(),c(92,"a",21),M(93,"img",2),c(94,"uds-translate"),g(95,"Reports"),d()(),c(96,"a",22),M(97,"img",2),c(98,"uds-translate"),g(99,"Notifiers"),d()(),c(100,"a",3),b("click",function(){return o.tokensShown=!o.tokensShown}),M(101,"img",2),c(102,"span")(103,"uds-translate"),g(104,"Tokens"),d(),c(105,"i",4),g(106,"arrow_drop_down"),d()()(),c(107,"div",23)(108,"a",24),M(109,"img",2),c(110,"uds-translate"),g(111,"Actor"),d()(),c(112,"a",25),M(113,"img",2),c(114,"uds-translate"),g(115,"Servers"),d()()(),c(116,"a",26),M(117,"img",2),c(118,"uds-translate"),g(119,"Configuration"),d()(),c(120,"a",3),b("click",function(){return o.flushCache()}),M(121,"img",2),c(122,"uds-translate"),g(123,"Flush Cache"),d()()()()),n&2&&(u(2),h("src",o.icon("dashboard-monitor"),we),u(4),h("src",o.icon("providers"),we),u(6),h("hidden",!o.servicesShown),u(2),h("src",o.icon("providers"),we),u(4),h("src",o.icon("servers"),we),u(4),h("src",o.icon("authentication"),we),u(6),h("hidden",!o.authsShown),u(2),h("src",o.icon("authenticators"),we),u(4),h("src",o.icon("mfas"),we),u(4),h("src",o.icon("osmanagers"),we),u(4),h("src",o.icon("connectivity"),we),u(6),h("hidden",!o.connectivityShown),u(2),h("src",o.icon("transports"),we),u(4),h("src",o.icon("networks"),we),u(4),h("src",o.icon("tunnels"),we),u(4),h("src",o.icon("poolsmenu"),we),u(6),h("hidden",!o.poolsShown),u(2),h("src",o.icon("pools"),we),u(4),h("src",o.icon("metas"),we),u(3),h("ngIf",o.api.user.isAdmin),u(2),h("src",o.icon("calendars"),we),u(4),h("src",o.icon("accounts"),we),u(3),h("ngIf",o.api.user.isAdmin),u(),h("hidden",!o.configShown),u(2),h("src",o.icon("gallery"),we),u(4),h("src",o.icon("reports"),we),u(4),h("src",o.icon("notifiers"),we),u(4),h("src",o.icon("tokens"),we),u(6),h("hidden",!o.tokensShown),u(2),h("src",o.icon("actors"),we),u(4),h("src",o.icon("servers"),we),u(4),h("src",o.icon("configuration"),we),u(4),h("src",o.icon("flush-cache"),we))},dependencies:[pe,mn,ge,se],styles:[".mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-0, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-1, 0px 2px 1px -1px --mat-sys-shadow, 0px 1px 1px 0px --mat-sys-shadow, 0px 1px 3px 0px --mat-sys-shadow)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-2, 0px 3px 1px -2px --mat-sys-shadow, 0px 2px 2px 0px --mat-sys-shadow, 0px 1px 5px 0px --mat-sys-shadow)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-3, 0px 3px 3px -2px --mat-sys-shadow, 0px 3px 4px 0px --mat-sys-shadow, 0px 1px 8px 0px --mat-sys-shadow)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-4, 0px 2px 4px -1px --mat-sys-shadow, 0px 4px 5px 0px --mat-sys-shadow, 0px 1px 10px 0px --mat-sys-shadow)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-5, 0px 3px 5px -1px --mat-sys-shadow, 0px 5px 8px 0px --mat-sys-shadow, 0px 1px 14px 0px --mat-sys-shadow)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-6, 0px 3px 5px -1px --mat-sys-shadow, 0px 6px 10px 0px --mat-sys-shadow, 0px 1px 18px 0px --mat-sys-shadow)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-7, 0px 4px 5px -2px --mat-sys-shadow, 0px 7px 10px 1px --mat-sys-shadow, 0px 2px 16px 1px --mat-sys-shadow)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-8, 0px 5px 5px -3px --mat-sys-shadow, 0px 8px 10px 1px --mat-sys-shadow, 0px 3px 14px 2px --mat-sys-shadow)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-9, 0px 5px 6px -3px --mat-sys-shadow, 0px 9px 12px 1px --mat-sys-shadow, 0px 3px 16px 2px --mat-sys-shadow)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-10, 0px 6px 6px -3px --mat-sys-shadow, 0px 10px 14px 1px --mat-sys-shadow, 0px 4px 18px 3px --mat-sys-shadow)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-11, 0px 6px 7px -4px --mat-sys-shadow, 0px 11px 15px 1px --mat-sys-shadow, 0px 4px 20px 3px --mat-sys-shadow)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-12, 0px 7px 8px -4px --mat-sys-shadow, 0px 12px 17px 2px --mat-sys-shadow, 0px 5px 22px 4px --mat-sys-shadow)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-13, 0px 7px 8px -4px --mat-sys-shadow, 0px 13px 19px 2px --mat-sys-shadow, 0px 5px 24px 4px --mat-sys-shadow)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-14, 0px 7px 9px -4px --mat-sys-shadow, 0px 14px 21px 2px --mat-sys-shadow, 0px 5px 26px 4px --mat-sys-shadow)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-15, 0px 8px 9px -5px --mat-sys-shadow, 0px 15px 22px 2px --mat-sys-shadow, 0px 6px 28px 5px --mat-sys-shadow)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-16, 0px 8px 10px -5px --mat-sys-shadow, 0px 16px 24px 2px --mat-sys-shadow, 0px 6px 30px 5px --mat-sys-shadow)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-17, 0px 8px 11px -5px --mat-sys-shadow, 0px 17px 26px 2px --mat-sys-shadow, 0px 6px 32px 5px --mat-sys-shadow)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-18, 0px 9px 11px -5px --mat-sys-shadow, 0px 18px 28px 2px --mat-sys-shadow, 0px 7px 34px 6px --mat-sys-shadow)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-19, 0px 9px 12px -6px --mat-sys-shadow, 0px 19px 29px 2px --mat-sys-shadow, 0px 7px 36px 6px --mat-sys-shadow)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-20, 0px 10px 13px -6px --mat-sys-shadow, 0px 20px 31px 3px --mat-sys-shadow, 0px 8px 38px 7px --mat-sys-shadow)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-21, 0px 10px 13px -6px --mat-sys-shadow, 0px 21px 33px 3px --mat-sys-shadow, 0px 8px 40px 7px --mat-sys-shadow)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-22, 0px 10px 14px -6px --mat-sys-shadow, 0px 22px 35px 3px --mat-sys-shadow, 0px 8px 42px 7px --mat-sys-shadow)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-23, 0px 11px 14px -7px --mat-sys-shadow, 0px 23px 36px 3px --mat-sys-shadow, 0px 9px 44px 8px --mat-sys-shadow)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-24, 0px 11px 15px -7px --mat-sys-shadow, 0px 24px 38px 3px --mat-sys-shadow, 0px 9px 46px 8px --mat-sys-shadow)}html[_ngcontent-%COMP%]{--mat-sys-on-surface: initial}.mat-app-background[_ngcontent-%COMP%]{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}.sidebar[_ngcontent-%COMP%]{position:fixed;top:4rem;padding-top:12px;bottom:0;display:flex;flex-direction:column;overflow-y:auto;width:3.7rem;-moz-transition:all .5s cubic-bezier(.86,0,.07,1);transition:all .3s cubic-bezier(.86,0,.07,1);box-shadow:0 16px 38px -12px #fafafa8f,0 4px 25px #fafafa1f,0 8px 10px -5px #fafafa33;overflow-x:hidden;z-index:25}.sidebar-link[_ngcontent-%COMP%]{display:flex;width:15rem;color:transparent;-moz-transition:color .5s cubic-bezier(.86,0,.07,1);transition:color .3s cubic-bezier(.86,0,.07,1);font-weight:300;font-size:1rem;justify-content:left;justify-items:center;padding-left:1rem;text-decoration:none}.sidebar[_ngcontent-%COMP%]:hover{width:15rem;-moz-transition:all .5s cubic-bezier(.86,0,.07,1);transition:all .3s cubic-bezier(.86,0,.07,1)}.sidebar[_ngcontent-%COMP%]:hover .sidebar-link[_ngcontent-%COMP%]{color:#000}.submenu[_ngcontent-%COMP%] > .mat-mdc-button[_ngcontent-%COMP%]{padding-left:1.5rem}.submenu2[_ngcontent-%COMP%] > .mat-mdc-button[_ngcontent-%COMP%]{padding-left:1.8rem}.icon[_ngcontent-%COMP%]{width:24px;margin:0 1em -.5rem 0} .dark-theme .sidebar{box-shadow:0 16px 38px -12px #3030308f,0 4px 25px #3030301f,0 8px 10px -5px #30303033} .dark-theme .sidebar:hover .sidebar-link{color:#fff!important}.mat-mdc-button[_ngcontent-%COMP%]:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 1rem}"]})}}return t})();function jK(t,i){if(t&1&&M(0,"div",1),t&2){let e=_();h("innerHTML",e.messages,$t)}}var bF=(()=>{class t{constructor(e){this.api=e,this.messages="",this.visible=!1}ngOnInit(){let e=n=>n.replace(/ /gm," ").replace(/([A-Z]+[A-Z]+)/gm,"$1").replace(/([0-9]+)/gm,"$1");if(this.api.notices.length>0){let n='
';this.messages='
'+n+this.api.notices.map(e).join("
"+n)+"
",this.api.gui.alert("",this.messages,0,"80%").then(()=>{this.visible=!0})}}static{this.\u0275fac=function(n){return new(n||t)(w(G))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-notices"]],standalone:!1,decls:1,vars:1,consts:[["class","notice",3,"innerHTML",4,"ngIf"],[1,"notice",3,"innerHTML"]],template:function(n,o){n&1&&S(0,jK,1,1,"div",0),n&2&&h("ngIf",o.visible)},dependencies:[pe],styles:[".notice[_ngcontent-%COMP%]{display:block} .warn-notice-container{background:#4682b4;border-radius:3px;box-shadow:#00000024 0 4px 20px,#465d9c66 0 7px 10px -5px;box-sizing:border-box;color:#fff;margin:1rem 2rem 0rem;padding:15px;word-wrap:break-word;display:flex;flex-direction:column} .warn-notice{display:block;width:100%;text-align:center;font-size:1.1em;margin-bottom:.5rem}"]})}}return t})();var yF=(()=>{class t{constructor(e){this.api=e,this.title="UDS Admin"}get blackTheme(){return this.api.getFromStorage("blackTheme")==="true"}set blackTheme(e){this.api.putOnStorage("blackTheme",e.toString())}handleKeyboardEvent(e){e.altKey&&e.ctrlKey&&e.key==="b"&&(this.blackTheme=!this.blackTheme,this.api.switchTheme(this.blackTheme))}ngOnInit(){this.api.switchTheme(this.blackTheme)}static{this.\u0275fac=function(n){return new(n||t)(w(G))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-root"]],hostBindings:function(n,o){n&1&&b("keydown",function(a){return o.handleKeyboardEvent(a)},t0)},standalone:!1,decls:8,vars:0,consts:[[1,"page"],[1,"content"],[1,"footer"]],template:function(n,o){n&1&&(M(0,"uds-navbar")(1,"uds-sidebar"),c(2,"div",0)(3,"div",1),M(4,"uds-notices")(5,"router-outlet"),d(),c(6,"div",2),M(7,"uds-footer"),d()())},dependencies:[Du,gF,_F,vF,bF],styles:[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.footer[_ngcontent-%COMP%]{flex-shrink:0;margin:1em;height:1em;display:flex;flex-direction:row;justify-content:flex-end}.content[_ngcontent-%COMP%]{flex:1 0 auto;width:calc(100% - 64px);margin:4rem auto auto 56px;padding-left:8px;overflow-x:hidden}"]})}}return t})();var CF=(()=>{class t extends es{constructor(){super(),this.itemsPerPageLabel=django.gettext("Items per page")}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=F({token:t,factory:t.\u0275fac})}}return t})();var wF=(()=>{class t{constructor(){this.field={},this.changed=new k}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field-text"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:4,vars:7,consts:[["matInput","","type","text",3,"ngModelChange","change","ngModel","placeholder","required","disabled","maxlength","autocomplete"]],template:function(n,o){n&1&&(c(0,"mat-form-field")(1,"mat-label"),g(2),d(),c(3,"input",0),H("ngModelChange",function(a){return W(o.field.value,a)||(o.field.value=a),a}),b("change",function(){return o.changed.emit(o)}),d()()),n&2&&(u(2),O(" ",o.field.gui.label," "),u(),U("ngModel",o.field.value),h("placeholder",o.field.gui.tooltip)("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0)("maxlength",o.field.gui.length||128)("autocomplete","new-"+o.field.name))},dependencies:[ct,Ce,Un,al,xe,he,Pe,pt],styles:[".cdk-text-field-autofilled[_ngcontent-%COMP%]{background-color:red}"]})}}return t})();function UK(t,i){if(t&1&&(c(0,"mat-option",3),g(1),d()),t&2){let e=i.$implicit;h("value",e),u(),O(" ",e," ")}}var xF=(()=>{class t{constructor(){this.field={},this.changed=new k,this.values=[]}ngOnInit(){let e=this.field.gui.choices||[];this.field.value=this.field.value||this.field.gui.default||"",this.values=e.map(n=>n.text)}_filter(){let e=this.field.value.toLowerCase();return this.values.filter(n=>n.toLowerCase().includes(e))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field-autocomplete"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:7,vars:9,consts:[["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["matInput","","type","text",3,"ngModelChange","change","ngModel","placeholder","required","disabled","maxlength","matAutocomplete","autocomplete"],[3,"value"]],template:function(n,o){if(n&1){let r=A();c(0,"mat-form-field")(1,"mat-label"),g(2),d(),c(3,"mat-autocomplete",null,0),S(5,UK,2,2,"mat-option",1),d(),c(6,"input",2),H("ngModelChange",function(s){return y(r),W(o.field.value,s)||(o.field.value=s),C(s)}),b("change",function(){return y(r),C(o.changed.emit(o))}),d()()}if(n&2){let r=Se(4);u(2),O(" ",o.field.gui.label," "),u(3),h("ngForOf",o._filter()),u(),U("ngModel",o.field.value),h("placeholder",o.field.gui.tooltip)("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0)("maxlength",o.field.gui.length||128)("matAutocomplete",r)("autocomplete","new-"+o.field.name)}},dependencies:[Ue,ct,Ce,Un,al,xe,he,Pe,pt,$e,Wc,ml],styles:[".cdk-text-field-autofilled[_ngcontent-%COMP%]{background-color:red}"]})}}return t})();var DF=(()=>{class t{constructor(){this.field={},this.changed=new k}ngOnInit(){!this.field.value&&this.field.value!==0&&(this.field.value=this.field.gui.default||0)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field-numeric"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:4,vars:5,consts:[["floatLabel","always"],["matInput","","type","number",3,"ngModelChange","change","ngModel","placeholder","required","disabled"]],template:function(n,o){n&1&&(c(0,"mat-form-field",0)(1,"mat-label"),g(2),d(),c(3,"input",1),H("ngModelChange",function(a){return W(o.field.value,a)||(o.field.value=a),a}),b("change",function(){return o.changed.emit(o)}),d()()),n&2&&(u(2),O(" ",o.field.gui.label," "),u(),U("ngModel",o.field.value),h("placeholder",o.field.gui.tooltip)("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0))},dependencies:[ct,io,Ce,Un,xe,he,Pe,pt],encapsulation:2})}}return t})();var EF=(()=>{class t{constructor(){this.field={},this.changed=new k,this.passwordType="password"}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field-password"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:7,vars:7,consts:[["floatLabel","always"],["matInput","","autocomplete","new-password",3,"ngModelChange","change","ngModel","placeholder","required","disabled","type"],["matSuffix","","mat-icon-button","",3,"click"],[1,"material-icons"]],template:function(n,o){n&1&&(c(0,"mat-form-field",0)(1,"mat-label"),g(2),d(),c(3,"input",1),H("ngModelChange",function(a){return W(o.field.value,a)||(o.field.value=a),a}),b("change",function(){return o.changed.emit(o)}),d(),c(4,"button",2),b("click",function(){return o.passwordType=o.passwordType==="text"?"password":"text"}),c(5,"i",3),g(6),d()()()),n&2&&(u(2),O(" ",o.field.gui.label," "),u(),U("ngModel",o.field.value),h("placeholder",o.field.gui.tooltip)("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0)("type",o.passwordType),u(3),tt(o.passwordType==="text"?"visibility_off":"visibility"))},dependencies:[ct,Ce,Un,xe,Jn,he,Pe,ro,pt],styles:[".cdk-text-field-autofilled[_ngcontent-%COMP%]{background-color:red}"]})}}return t})();var SF=(()=>{class t{constructor(){this.field={}}ngOnInit(){(this.field.value===""||this.field.value===void 0)&&(this.field.value=this.field.gui.default||"")}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field-hidden"]],inputs:{field:"field"},standalone:!1,decls:0,vars:0,template:function(n,o){},encapsulation:2})}}return t})();var MF=(()=>{class t{constructor(){this.field={}}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field-textbox"]],inputs:{field:"field",value:"value"},standalone:!1,decls:4,vars:7,consts:[["floatLabel","auto"],["matInput","",3,"ngModelChange","ngModel","placeholder","required","readonly","rows","maxlength"]],template:function(n,o){n&1&&(c(0,"mat-form-field",0)(1,"mat-label"),g(2),d(),c(3,"textarea",1),H("ngModelChange",function(a){return W(o.field.value,a)||(o.field.value=a),a}),d()()),n&2&&(u(2),O(" ",o.field.gui.label," "),u(),U("ngModel",o.field.value),h("placeholder",o.field.gui.tooltip)("required",!!o.field.gui.required)("readonly",o.field.gui.readonly===!0)("rows",o.field.gui.lines||3)("maxlength",o.field.gui.length||255))},dependencies:[ct,Ce,Un,al,xe,he,Pe,pt],encapsulation:2})}}return t})();function HK(t,i){if(t&1&&(c(0,"mat-option",3),g(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),O(" ",e.text," ")}}var IF=(()=>{class t{constructor(){this.field={},this.changed=new k,this.placeholderLabel=django.gettext("Search"),this.noEntriesFoundLabel=django.gettext("No entries found"),this.filter=""}setValue(){let e=this.field.gui.choices||[];this.field.value=this.field.value||this.field.gui.default||"",e.length>0&&!e.find(n=>n.id===this.field.value)&&(this.field.value=""),this.field.value===""&&e.length>0&&(this.field.value=e[0].id)}ngOnInit(){this.setValue()}filteredValues(){let e=this.field.gui.choices||[];if(this.setValue(),!this.filter)return e;let n=this.filter.toLocaleLowerCase();return e.filter(o=>o.text.toLocaleLowerCase().includes(n))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field-choice"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:6,vars:9,consts:[[3,"ngModelChange","valueChange","ngModel","placeholder","required","disabled"],[3,"changed","options","placeholderLabel","noEntriesFoundLabel"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(n,o){n&1&&(c(0,"mat-form-field")(1,"mat-label"),g(2),d(),c(3,"mat-select",0),H("ngModelChange",function(a){return W(o.field.value,a)||(o.field.value=a),a}),b("valueChange",function(){return o.changed.emit(o)}),c(4,"uds-cond-select-search",1),b("changed",function(a){return o.filter=a}),d(),S(5,HK,2,2,"mat-option",2),d()()),n&2&&(u(2),O(" ",o.field.gui.label," "),u(),U("ngModel",o.field.value),h("placeholder",o.field.gui.tooltip)("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0),u(),h("options",o.field.gui.choices)("placeholderLabel",o.placeholderLabel)("noEntriesFoundLabel",o.noEntriesFoundLabel),u(),h("ngForOf",o.filteredValues()))},dependencies:[Ue,Ce,Un,xe,he,Pe,gt,$e,pn],encapsulation:2})}}return t})();function GK(t,i){if(t&1&&(c(0,"mat-option",3),g(1),d()),t&2){let e=i.$implicit;h("value",e.id),u(),O(" ",e.text," ")}}var TF=(()=>{class t{constructor(){this.field={},this.changed=new k,this.filter="",this.placeholderLabel=django.gettext("Search"),this.noEntriesFoundLabel=django.gettext("No entries found")}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||new Array}filteredValues(){let e=this.field.gui.choices||[];if(!this.filter||e.length===0)return e;let n=this.filter.toLocaleLowerCase();return e.filter(o=>o.text.toLocaleLowerCase().includes(n))}selectTriggerString(){let e=this.field.value||[],n="";e.length===0&&(n=this.field.gui.tooltip||django.gettext("Select"));for(let o of e)n!==""&&(n+=", "),n+=this.field.gui.choices?.find(r=>r.id===o)?.text||o;return n}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field-multichoice"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:8,vars:8,consts:[["multiple","",3,"ngModelChange","valueChange","ngModel","placeholder","required","disabled"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(n,o){n&1&&(c(0,"mat-form-field")(1,"mat-label"),g(2),d(),c(3,"mat-select",0),H("ngModelChange",function(a){return W(o.field.value,a)||(o.field.value=a),a}),b("valueChange",function(){return o.changed.emit(o)}),c(4,"mat-select-trigger"),g(5),d(),c(6,"uds-cond-select-search",1),b("changed",function(a){return o.filter=a}),d(),S(7,GK,2,2,"mat-option",2),d()()),n&2&&(u(2),O(" ",o.field.gui.label," "),u(),U("ngModel",o.field.value),h("placeholder",o.selectTriggerString())("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0),u(2),O(" ",o.selectTriggerString()," "),u(),h("options",o.field.gui.choices),u(),h("ngForOf",o.filteredValues()))},dependencies:[Ue,Ce,Un,xe,he,Pe,gt,am,$e,pn],encapsulation:2})}}return t})();function WK(t,i){if(t&1){let e=A();c(0,"div",12)(1,"div",13),g(2),d(),c(3,"div",14),g(4," \xA0"),c(5,"a",15),b("click",function(){let o=y(e).index,r=_();return C(r.removeElement(o))}),c(6,"i",16),g(7,"close"),d()()()()}if(t&2){let e=i.$implicit;u(2),O(" ",e," ")}}var kF=(()=>{class t{constructor(e,n,o,r){this.api=e,this.rest=n,this.dialogRef=o,this.data=r,this.values=[],this.input="",this.done=new tn,this.data.values.forEach(a=>this.values.push(a))}static launch(e,n,o){let r=window.innerWidth<800?"50%":"30%";return e.gui.dialog.open(t,{width:r,data:{title:n,values:o},disableClose:!0}).componentInstance.done}addElements(){this.input.split(",").forEach(e=>{this.values.push(e)}),this.input=""}checkKey(e){e.code==="Enter"&&this.addElements()}removeAll(){this.values.length=0}removeElement(e){this.values.splice(e,1)}save(){this.data.values.length=0,this.values.forEach(e=>this.data.values.push(e)),this.dialogRef.close(),this.done.resolve(this.data.values)}cancel(){this.dialogRef.close(),this.done.resolve(null)}ngOnInit(){}static{this.\u0275fac=function(n){return new(n||t)(w(G),w(J),w(Le),w(We))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-editlist-editor"]],standalone:!1,decls:23,vars:3,consts:[["mat-dialog-title",""],[1,"content"],[1,"list"],["class","elem",4,"ngFor","ngForOf"],[1,"buttons"],["mat-raised-button","","color","warn",3,"click"],[1,"input"],[1,"example-full-width"],["type","text","matInput","",3,"keyup","ngModelChange","ngModel"],["matSuffix","","mat-icon-button","",3,"click"],["matSuffix","",1,"material-icons"],["mat-raised-button","","color","primary",3,"click"],[1,"elem"],[1,"val"],[1,"remove"],[3,"click"],[1,"material-icons"]],template:function(n,o){n&1&&(c(0,"h4",0),g(1),d(),c(2,"mat-dialog-content")(3,"div",1)(4,"div",2),S(5,WK,8,1,"div",3),d(),c(6,"div",4)(7,"button",5),b("click",function(){return o.removeAll()}),c(8,"uds-translate"),g(9,"Remove all"),d()()(),c(10,"div",6)(11,"mat-form-field",7)(12,"input",8),b("keyup",function(a){return o.checkKey(a)}),H("ngModelChange",function(a){return W(o.input,a)||(o.input=a),a}),d(),c(13,"button",9),b("click",function(){return o.addElements()}),c(14,"i",10),g(15,"add"),d()()()()()(),c(16,"mat-dialog-actions")(17,"button",5),b("click",function(){return o.cancel()}),c(18,"uds-translate"),g(19,"Cancel"),d()(),c(20,"button",11),b("click",function(){return o.save()}),c(21,"uds-translate"),g(22,"Ok"),d()()()),n&2&&(u(),O(" ",o.data.title,` +`),u(4),h("ngForOf",o.values),u(7),U("ngModel",o.input))},dependencies:[Ue,ct,Ce,xe,ge,Jn,Ze,Je,Xe,he,ro,pt,se],styles:[".content[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;justify-content:space-between;justify-self:center}.list[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:1rem;height:16rem;overflow-y:auto;border-color:#333;border-radius:1px;box-shadow:#00000024 0 1px 4px;padding:.5rem}.buttons[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;margin-right:1rem;margin-bottom:1rem}.input[_ngcontent-%COMP%]{margin:0 1rem}.elem[_ngcontent-%COMP%]{font-family:Courier New,Courier,monospace;font-size:1.2rem;display:flex;justify-content:space-between;white-space:nowrap;flex-wrap:nowrap;margin-right:.4rem}.elem[_ngcontent-%COMP%]:hover{background-color:#333;color:#fff;cursor:default}.val[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:.2rem}.material-icons[_ngcontent-%COMP%]{font-size:1em;padding-bottom:1px}.material-icons[_ngcontent-%COMP%]:hover{cursor:pointer;color:red}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]})}}return t})();var AF=(()=>{class t{constructor(e){this.api=e,this.field={},this.changed=new k}ngOnInit(){}valueEmpty(){return this.field.value===void 0||this.field.value===null||this.field.value.length===0}launch(){return V(this,null,function*(){this.valueEmpty()&&(this.field.value=[]);let e=yield kF.launch(this.api,this.field.gui.label,this.field.value||this.field.gui.default||[]);this.changed.emit({field:this.field})})}getValue(){if(this.valueEmpty())return"";let e=this.field.value.filter((n,o,r)=>o<5).join(", ");return this.field.value.length>5&&(e+=django.gettext(", (%i more items)").replace("%i",""+(this.field.value.length-5))),e}static{this.\u0275fac=function(n){return new(n||t)(w(G))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field-editlist"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:4,vars:5,consts:[["floatLabel","always",3,"click"],["matInput","","type","text",1,"editlist",3,"readonly","value","placeholder","disabled"]],template:function(n,o){n&1&&(c(0,"mat-form-field",0),b("click",function(){return o.launch()}),c(1,"mat-label"),g(2),d(),M(3,"input",1),d()),n&2&&(u(2),O(" ",o.field.gui.label," "),u(),h("readonly",!0)("value",o.getValue())("placeholder",o.field.gui.tooltip)("disabled",o.field.gui.readonly===!0))},dependencies:[he,Pe,pt],styles:[".editlist[_ngcontent-%COMP%]{cursor:pointer}"]})}}return t})();var RF=(()=>{class t{constructor(){this.field={},this.changed=new k}ngOnInit(){NA(this.field.value)?this.field.value=ag(this.field.gui.default):this.field.value=ag(this.field.value)}getValue(){return ag(this.field.value)?django.gettext("Yes"):django.gettext("No")}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field-checkbox"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:3,vars:4,consts:[[1,"toggle"],[3,"ngModelChange","change","ngModel","required","disabled"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"mat-slide-toggle",1),H("ngModelChange",function(a){return W(o.field.value,a)||(o.field.value=a),a}),b("change",function(){return o.changed.emit(o)}),g(2),d()()),n&2&&(u(),U("ngModel",o.field.value),h("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0),u(),O(" ",o.field.gui.label," "))},dependencies:[Ce,Un,xe,ca],encapsulation:2})}}return t})();function $K(t,i){if(t&1&&M(0,"div",5),t&2){let e=_().$implicit,n=_();h("innerHTML",n.asIcon(e),$t)}}function qK(t,i){if(t&1&&(c(0,"div"),S(1,$K,1,1,"div",4),d()),t&2){let e=i.$implicit,n=_();u(),h("ngIf",e.id===n.field.value)}}function YK(t,i){if(t&1&&(c(0,"mat-option",6),M(1,"div",5),d()),t&2){let e=i.$implicit,n=_();h("value",e.id),u(),h("innerHTML",n.asIcon(e),$t)}}var OF=(()=>{class t{constructor(e){this.api=e,this.field={},this.changed=new k,this.filter=""}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||"";let e=this.field.gui.choices||[];this.field.value===""&&e.length>0&&(this.field.value=e[0].id)}asIcon(e){return this.api.safeString(this.api.gui.icon(e.img)+e.text)}filteredValues(){let e=this.field.gui.choices||[];if(!this.filter)return e;let n=this.filter.toLocaleLowerCase();return e.filter(o=>o.text.toLocaleLowerCase().includes(n))}static{this.\u0275fac=function(n){return new(n||t)(w(G))}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field-imgchoice"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:8,vars:8,consts:[[3,"valueChange","ngModelChange","placeholder","ngModel","required","disabled"],[4,"ngFor","ngForOf"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],[3,"innerHTML",4,"ngIf"],[3,"innerHTML"],[3,"value"]],template:function(n,o){n&1&&(c(0,"mat-form-field")(1,"mat-label"),g(2),d(),c(3,"mat-select",0),b("valueChange",function(){return o.changed.emit(o)}),H("ngModelChange",function(a){return W(o.field.value,a)||(o.field.value=a),a}),c(4,"mat-select-trigger"),S(5,qK,2,1,"div",1),d(),c(6,"uds-cond-select-search",2),b("changed",function(a){return o.filter=a}),d(),S(7,YK,2,2,"mat-option",3),d()()),n&2&&(u(2),O(" ",o.field.gui.label," "),u(),h("placeholder",o.field.gui.tooltip),U("ngModel",o.field.value),h("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0),u(2),h("ngForOf",o.field.gui.choices),u(),h("options",o.field.gui.choices),u(),h("ngForOf",o.filteredValues()))},dependencies:[Ue,pe,Ce,Un,xe,he,Pe,gt,am,$e,pn],encapsulation:2})}}return t})();var PF=(()=>{class t{constructor(){this.field={},this.changed=new k,this.value=new Date}get date(){return this.value}set date(e){this.value!==e&&(this.value=e,this.field.value=Ya("%Y-%m-%d",this.value))}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||"",this.field.value==="2000-01-01"?this.field.value=Ya("%Y-01-01"):this.field.value==="2000-01-01"&&(this.field.value=Ya("%Y-12-31"));let e=this.field.value.split("-");e.length===3&&(this.value=new Date(+e[0],+e[1]-1,+e[2]))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field-date"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:7,vars:6,consts:[["endDatePicker",""],[1,"oneHalf"],["matInput","",3,"ngModelChange","matDatepicker","ngModel","placeholder","disabled"],["matSuffix","",3,"for"]],template:function(n,o){if(n&1){let r=A();c(0,"mat-form-field",1)(1,"mat-label"),g(2),d(),c(3,"input",2),H("ngModelChange",function(s){return y(r),W(o.date,s)||(o.date=s),C(s)}),d(),M(4,"mat-datepicker-toggle",3)(5,"mat-datepicker",null,0),d()}if(n&2){let r=Se(6);u(2),O(" ",o.field.gui.label," "),u(),h("matDatepicker",r),U("ngModel",o.date),h("placeholder",o.field.gui.tooltip)("disabled",o.field.gui.readonly===!0),u(),h("for",r)}},dependencies:[ct,Ce,xe,he,Pe,ro,pt,H_,Kc,gm],encapsulation:2})}}return t})();function QK(t,i){if(t&1){let e=A();c(0,"mat-chip-row",5),b("removed",function(){let o=y(e).$implicit,r=_();return C(r.remove(o))}),g(1),c(2,"i",6),g(3,"cancel"),d()()}if(t&2){let e=i.$implicit,n=_();h("removable",n.field.gui.readonly!==!0),u(),O(" ",e," ")}}var NF=(()=>{class t{constructor(){this.field={},this.changed=new k,this.separatorKeysCodes=[13,188]}ngOnInit(){this.field.value=this.field.value||new Array,this.field.value.forEach((e,n,o)=>{e.trim()===""&&o.splice(n,1)})}add(e){let n=e.input,o=e.value;(o||"").trim()&&this.field.value&&this.field.value.push(o.trim()),n&&(n.value="")}remove(e){if(!this.field.value){console.warn("Trying to remove tag from field with no values: "+this.field.name);return}let n=this.field.value.indexOf(e);n>=0&&this.field.value.splice(n,1)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=E({type:t,selectors:[["uds-field-tags"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:7,vars:7,consts:[["chipList",""],["floatLabel","always"],[3,"change","disabled"],[3,"removable","removed",4,"ngFor","ngForOf"],[3,"matChipInputTokenEnd","placeholder","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur"],[3,"removed","removable"],["matChipRemove","",1,"material-icons"]],template:function(n,o){if(n&1){let r=A();c(0,"mat-form-field",1)(1,"mat-label"),g(2),d(),c(3,"mat-chip-grid",2,0),b("change",function(){return y(r),C(o.changed.emit(o))}),S(5,QK,4,2,"mat-chip-row",3),c(6,"input",4),b("matChipInputTokenEnd",function(s){return y(r),C(o.add(s))}),d()()()}if(n&2){let r=Se(4);u(2),O(" ",o.field.gui.label," "),u(),h("disabled",o.field.gui.readonly===!0),u(2),h("ngForOf",o.field.value),u(),h("placeholder",o.field.gui.tooltip)("matChipInputFor",r)("matChipInputSeparatorKeyCodes",o.separatorKeysCodes)("matChipInputAddOnBlur",!0)}},dependencies:[Ue,he,Pe,lF,cF,sF,YD],styles:["*.mat-chip-trailing-icon[_ngcontent-%COMP%]{position:relative;top:-4px;left:-4px}mat-form-field[_ngcontent-%COMP%]{width:99.5%}"]})}}return t})();var UVe=nd(VF());var BF=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t,bootstrap:[yF]})}static{this.\u0275inj=Z({providers:[G,J,{provide:es,useClass:CF},SC(MC())],imports:[au,tN,eF,fF,jR.forRoot({echarts:()=>import("./chunk-SMYT26DJ.js")})]})}}return t})();N0(Ag,function(){return[js,Zd,ao,wF,DF,EF,SF,MF,IF,TF,AF,RF,OF,PF,NF,xF]},[]);Pg.production&&void 0;yC().bootstrapModule(BF).catch(t=>console.log(t)); diff --git a/server/src/uds/static/admin/styles.css b/server/src/uds/static/admin/styles.css index 1559c6473..1722b10ef 100644 --- a/server/src/uds/static/admin/styles.css +++ b/server/src/uds/static/admin/styles.css @@ -1 +1 @@ -.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}html{--mat-sys-on-surface: initial}.mat-app-background{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}html{--mat-ripple-color: rgba(0, 0, 0, .1)}html{--mat-option-selected-state-label-text-color: #3f51b5;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-accent{--mat-option-selected-state-label-text-color: #ff4081;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}html{--mat-optgroup-label-text-color: rgba(0, 0, 0, .87)}html{--mat-full-pseudo-checkbox-selected-icon-color: #ff4081;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0}html{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #ff4081;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}.mat-primary{--mat-full-pseudo-checkbox-selected-icon-color: #3f51b5;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0}.mat-primary{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #3f51b5;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}.mat-accent{--mat-full-pseudo-checkbox-selected-icon-color: #ff4081;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0}.mat-accent{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #ff4081;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}.mat-warn{--mat-full-pseudo-checkbox-selected-icon-color: #f44336;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0}.mat-warn{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #f44336;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}html{--mat-app-background-color: #fafafa;--mat-app-text-color: rgba(0, 0, 0, .87);--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}html{--mat-option-label-text-font: Roboto, sans-serif;--mat-option-label-text-line-height: 24px;--mat-option-label-text-size: 16px;--mat-option-label-text-tracking: .03125em;--mat-option-label-text-weight: 400}html{--mat-optgroup-label-text-font: Roboto, sans-serif;--mat-optgroup-label-text-line-height: 24px;--mat-optgroup-label-text-size: 16px;--mat-optgroup-label-text-tracking: .03125em;--mat-optgroup-label-text-weight: 400}html{--mdc-elevated-card-container-shape: 4px}html{--mdc-outlined-card-container-shape: 4px;--mdc-outlined-card-outline-width: 1px}html{--mdc-elevated-card-container-color: white;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12)}html{--mdc-outlined-card-container-color: white;--mdc-outlined-card-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12)}html{--mat-card-subtitle-text-color: rgba(0, 0, 0, .54)}html{--mat-card-title-text-font: Roboto, sans-serif;--mat-card-title-text-line-height: 32px;--mat-card-title-text-size: 20px;--mat-card-title-text-tracking: .0125em;--mat-card-title-text-weight: 500;--mat-card-subtitle-text-font: Roboto, sans-serif;--mat-card-subtitle-text-line-height: 22px;--mat-card-subtitle-text-size: 14px;--mat-card-subtitle-text-tracking: .0071428571em;--mat-card-subtitle-text-weight: 500}html{--mdc-linear-progress-active-indicator-height: 4px;--mdc-linear-progress-track-height: 4px;--mdc-linear-progress-track-shape: 0}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #3f51b5;--mdc-linear-progress-track-color: rgba(63, 81, 181, .25)}.mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #ff4081;--mdc-linear-progress-track-color: rgba(255, 64, 129, .25)}.mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}html{--mdc-plain-tooltip-container-shape: 4px;--mdc-plain-tooltip-supporting-text-line-height: 16px}html{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}html{--mdc-plain-tooltip-supporting-text-font: Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: .0333333333em}html{--mdc-filled-text-field-active-indicator-height: 1px;--mdc-filled-text-field-focus-active-indicator-height: 2px;--mdc-filled-text-field-container-shape: 4px}html{--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-focus-outline-width: 2px;--mdc-outlined-text-field-container-shape: 4px}html{--mdc-filled-text-field-caret-color: #3f51b5;--mdc-filled-text-field-focus-active-indicator-color: #3f51b5;--mdc-filled-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-filled-text-field-container-color: rgb(244.8, 244.8, 244.8);--mdc-filled-text-field-disabled-container-color: rgb(249.9, 249.9, 249.9);--mdc-filled-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-hover-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-error-hover-label-text-color: #f44336;--mdc-filled-text-field-error-focus-label-text-color: #f44336;--mdc-filled-text-field-error-label-text-color: #f44336;--mdc-filled-text-field-error-caret-color: #f44336;--mdc-filled-text-field-active-indicator-color: rgba(0, 0, 0, .42);--mdc-filled-text-field-disabled-active-indicator-color: rgba(0, 0, 0, .06);--mdc-filled-text-field-hover-active-indicator-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-error-active-indicator-color: #f44336;--mdc-filled-text-field-error-focus-active-indicator-color: #f44336;--mdc-filled-text-field-error-hover-active-indicator-color: #f44336}html{--mdc-outlined-text-field-caret-color: #3f51b5;--mdc-outlined-text-field-focus-outline-color: #3f51b5;--mdc-outlined-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-outlined-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-hover-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-error-caret-color: #f44336;--mdc-outlined-text-field-error-focus-label-text-color: #f44336;--mdc-outlined-text-field-error-label-text-color: #f44336;--mdc-outlined-text-field-error-hover-label-text-color: #f44336;--mdc-outlined-text-field-outline-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-disabled-outline-color: rgba(0, 0, 0, .06);--mdc-outlined-text-field-hover-outline-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-error-focus-outline-color: #f44336;--mdc-outlined-text-field-error-hover-outline-color: #f44336;--mdc-outlined-text-field-error-outline-color: #f44336}html{--mat-form-field-focus-select-arrow-color: rgba(63, 81, 181, .87);--mat-form-field-disabled-input-text-placeholder-color: rgba(0, 0, 0, .38);--mat-form-field-state-layer-color: rgba(0, 0, 0, .87);--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: inherit;--mat-form-field-select-disabled-option-text-color: GrayText;--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: rgba(0, 0, 0, .54);--mat-form-field-disabled-select-arrow-color: rgba(0, 0, 0, .38);--mat-form-field-hover-state-layer-opacity: .04;--mat-form-field-focus-state-layer-opacity: .08}.mat-mdc-form-field.mat-accent{--mdc-filled-text-field-caret-color: #ff4081;--mdc-filled-text-field-focus-active-indicator-color: #ff4081;--mdc-filled-text-field-focus-label-text-color: rgba(255, 64, 129, .87)}.mat-mdc-form-field.mat-accent{--mdc-outlined-text-field-caret-color: #ff4081;--mdc-outlined-text-field-focus-outline-color: #ff4081;--mdc-outlined-text-field-focus-label-text-color: rgba(255, 64, 129, .87)}.mat-mdc-form-field.mat-accent{--mat-form-field-focus-select-arrow-color: rgba(255, 64, 129, .87)}.mat-mdc-form-field.mat-warn{--mdc-filled-text-field-caret-color: #f44336;--mdc-filled-text-field-focus-active-indicator-color: #f44336;--mdc-filled-text-field-focus-label-text-color: rgba(244, 67, 54, .87)}.mat-mdc-form-field.mat-warn{--mdc-outlined-text-field-caret-color: #f44336;--mdc-outlined-text-field-focus-outline-color: #f44336;--mdc-outlined-text-field-focus-label-text-color: rgba(244, 67, 54, .87)}.mat-mdc-form-field.mat-warn{--mat-form-field-focus-select-arrow-color: rgba(244, 67, 54, .87)}html{--mat-form-field-container-height: 56px;--mat-form-field-filled-label-display: block;--mat-form-field-container-vertical-padding: 16px;--mat-form-field-filled-with-label-container-padding-top: 24px;--mat-form-field-filled-with-label-container-padding-bottom: 8px}html{--mdc-filled-text-field-label-text-font: Roboto, sans-serif;--mdc-filled-text-field-label-text-size: 16px;--mdc-filled-text-field-label-text-tracking: .03125em;--mdc-filled-text-field-label-text-weight: 400}html{--mdc-outlined-text-field-label-text-font: Roboto, sans-serif;--mdc-outlined-text-field-label-text-size: 16px;--mdc-outlined-text-field-label-text-tracking: .03125em;--mdc-outlined-text-field-label-text-weight: 400}html{--mat-form-field-container-text-font: Roboto, sans-serif;--mat-form-field-container-text-line-height: 24px;--mat-form-field-container-text-size: 16px;--mat-form-field-container-text-tracking: .03125em;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 16px;--mat-form-field-subscript-text-font: Roboto, sans-serif;--mat-form-field-subscript-text-line-height: 20px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: .0333333333em;--mat-form-field-subscript-text-weight: 400}html{--mat-select-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(63, 81, 181, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(255, 64, 129, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html{--mat-select-arrow-transform: translateY(-8px)}html{--mat-select-trigger-text-font: Roboto, sans-serif;--mat-select-trigger-text-line-height: 24px;--mat-select-trigger-text-size: 16px;--mat-select-trigger-text-tracking: .03125em;--mat-select-trigger-text-weight: 400}html{--mat-autocomplete-container-shape: 4px;--mat-autocomplete-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-autocomplete-background-color: white}html{--mdc-dialog-container-shape: 4px}html{--mat-dialog-container-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-dialog-container-max-width: 80vw;--mat-dialog-container-small-max-width: 80vw;--mat-dialog-container-min-width: 0;--mat-dialog-actions-alignment: start;--mat-dialog-actions-padding: 8px;--mat-dialog-content-padding: 20px 24px;--mat-dialog-with-actions-content-padding: 20px 24px;--mat-dialog-headline-padding: 0 24px 9px}html{--mdc-dialog-container-color: white;--mdc-dialog-subhead-color: rgba(0, 0, 0, .87);--mdc-dialog-supporting-text-color: rgba(0, 0, 0, .6)}html{--mdc-dialog-subhead-font: Roboto, sans-serif;--mdc-dialog-subhead-line-height: 32px;--mdc-dialog-subhead-size: 20px;--mdc-dialog-subhead-weight: 500;--mdc-dialog-subhead-tracking: .0125em;--mdc-dialog-supporting-text-font: Roboto, sans-serif;--mdc-dialog-supporting-text-line-height: 24px;--mdc-dialog-supporting-text-size: 16px;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: .03125em}.mat-mdc-standard-chip{--mdc-chip-container-shape-radius: 16px;--mdc-chip-with-avatar-avatar-shape-radius: 14px;--mdc-chip-with-avatar-avatar-size: 28px;--mdc-chip-with-icon-icon-size: 18px;--mdc-chip-outline-width: 0;--mdc-chip-outline-color: transparent;--mdc-chip-disabled-outline-color: transparent;--mdc-chip-focus-outline-color: transparent;--mdc-chip-hover-state-layer-opacity: .04;--mdc-chip-with-avatar-disabled-avatar-opacity: 1;--mdc-chip-flat-selected-outline-width: 0;--mdc-chip-selected-hover-state-layer-opacity: .04;--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity: 1;--mdc-chip-with-icon-disabled-icon-opacity: 1}.mat-mdc-standard-chip{--mat-chip-disabled-container-opacity: .4;--mat-chip-trailing-action-opacity: .54;--mat-chip-trailing-action-focus-opacity: 1;--mat-chip-trailing-action-state-layer-color: transparent;--mat-chip-selected-trailing-action-state-layer-color: transparent;--mat-chip-trailing-action-hover-state-layer-opacity: 0;--mat-chip-trailing-action-focus-state-layer-opacity: 0}.mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color: #212121;--mdc-chip-elevated-container-color: rgb(224.4, 224.4, 224.4);--mdc-chip-elevated-selected-container-color: rgb(224.4, 224.4, 224.4);--mdc-chip-elevated-disabled-container-color: rgb(224.4, 224.4, 224.4);--mdc-chip-flat-disabled-selected-container-color: rgb(224.4, 224.4, 224.4);--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #212121;--mdc-chip-selected-label-text-color: #212121;--mdc-chip-with-icon-icon-color: #212121;--mdc-chip-with-icon-disabled-icon-color: #212121;--mdc-chip-with-icon-selected-icon-color: #212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #212121;--mdc-chip-with-trailing-icon-trailing-icon-color: #212121}.mat-mdc-standard-chip{--mat-chip-selected-disabled-trailing-icon-color: #212121;--mat-chip-selected-trailing-icon-color: #212121}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #3f51b5;--mdc-chip-elevated-selected-container-color: #3f51b5;--mdc-chip-elevated-disabled-container-color: #3f51b5;--mdc-chip-flat-disabled-selected-container-color: #3f51b5;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #ff4081;--mdc-chip-elevated-selected-container-color: #ff4081;--mdc-chip-elevated-disabled-container-color: #ff4081;--mdc-chip-flat-disabled-selected-container-color: #ff4081;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-selected-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-flat-disabled-selected-container-color: #f44336;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-chip.mat-mdc-standard-chip{--mdc-chip-container-height: 32px}.mat-mdc-standard-chip{--mdc-chip-label-text-font: Roboto, sans-serif;--mdc-chip-label-text-line-height: 20px;--mdc-chip-label-text-size: 14px;--mdc-chip-label-text-tracking: .0178571429em;--mdc-chip-label-text-weight: 400}html{--mdc-switch-disabled-selected-icon-opacity: .38;--mdc-switch-disabled-track-opacity: .12;--mdc-switch-disabled-unselected-icon-opacity: .38;--mdc-switch-handle-height: 20px;--mdc-switch-handle-shape: 10px;--mdc-switch-handle-width: 20px;--mdc-switch-selected-icon-size: 18px;--mdc-switch-track-height: 14px;--mdc-switch-track-shape: 7px;--mdc-switch-track-width: 36px;--mdc-switch-unselected-icon-size: 18px;--mdc-switch-selected-focus-state-layer-opacity: .12;--mdc-switch-selected-hover-state-layer-opacity: .04;--mdc-switch-selected-pressed-state-layer-opacity: .1;--mdc-switch-unselected-focus-state-layer-opacity: .12;--mdc-switch-unselected-hover-state-layer-opacity: .04;--mdc-switch-unselected-pressed-state-layer-opacity: .1}html .mat-mdc-slide-toggle{--mat-switch-disabled-selected-handle-opacity: .38;--mat-switch-disabled-unselected-handle-opacity: .38;--mat-switch-unselected-handle-size: 20px;--mat-switch-selected-handle-size: 20px;--mat-switch-pressed-handle-size: 20px;--mat-switch-with-icon-handle-size: 20px;--mat-switch-selected-handle-horizontal-margin: 0;--mat-switch-selected-with-icon-handle-horizontal-margin: 0;--mat-switch-selected-pressed-handle-horizontal-margin: 0;--mat-switch-unselected-handle-horizontal-margin: 0;--mat-switch-unselected-with-icon-handle-horizontal-margin: 0;--mat-switch-unselected-pressed-handle-horizontal-margin: 0;--mat-switch-visible-track-opacity: 1;--mat-switch-hidden-track-opacity: 1;--mat-switch-visible-track-transition: transform 75ms 0ms cubic-bezier(0, 0, .2, 1);--mat-switch-hidden-track-transition: transform 75ms 0ms cubic-bezier(.4, 0, .6, 1);--mat-switch-track-outline-width: 1px;--mat-switch-track-outline-color: transparent;--mat-switch-selected-track-outline-width: 1px;--mat-switch-selected-track-outline-color: transparent;--mat-switch-disabled-unselected-track-outline-width: 1px;--mat-switch-disabled-unselected-track-outline-color: transparent}html{--mdc-switch-selected-focus-state-layer-color: #3949ab;--mdc-switch-selected-handle-color: #3949ab;--mdc-switch-selected-hover-state-layer-color: #3949ab;--mdc-switch-selected-pressed-state-layer-color: #3949ab;--mdc-switch-selected-focus-handle-color: #1a237e;--mdc-switch-selected-hover-handle-color: #1a237e;--mdc-switch-selected-pressed-handle-color: #1a237e;--mdc-switch-selected-focus-track-color: #7986cb;--mdc-switch-selected-hover-track-color: #7986cb;--mdc-switch-selected-pressed-track-color: #7986cb;--mdc-switch-selected-track-color: #7986cb;--mdc-switch-disabled-selected-handle-color: #424242;--mdc-switch-disabled-selected-icon-color: #fff;--mdc-switch-disabled-selected-track-color: #424242;--mdc-switch-disabled-unselected-handle-color: #424242;--mdc-switch-disabled-unselected-icon-color: #fff;--mdc-switch-disabled-unselected-track-color: #424242;--mdc-switch-handle-surface-color: #fff;--mdc-switch-selected-icon-color: #fff;--mdc-switch-unselected-focus-handle-color: #212121;--mdc-switch-unselected-focus-state-layer-color: #424242;--mdc-switch-unselected-focus-track-color: #e0e0e0;--mdc-switch-unselected-handle-color: #616161;--mdc-switch-unselected-hover-handle-color: #212121;--mdc-switch-unselected-hover-state-layer-color: #424242;--mdc-switch-unselected-hover-track-color: #e0e0e0;--mdc-switch-unselected-icon-color: #fff;--mdc-switch-unselected-pressed-handle-color: #212121;--mdc-switch-unselected-pressed-state-layer-color: #424242;--mdc-switch-unselected-pressed-track-color: #e0e0e0;--mdc-switch-unselected-track-color: #e0e0e0;--mdc-switch-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12)}html{--mdc-switch-disabled-label-text-color: rgba(0, 0, 0, .38)}html .mat-mdc-slide-toggle{--mat-switch-label-text-color: rgba(0, 0, 0, .87)}html .mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color: #d81b60;--mdc-switch-selected-handle-color: #d81b60;--mdc-switch-selected-hover-state-layer-color: #d81b60;--mdc-switch-selected-pressed-state-layer-color: #d81b60;--mdc-switch-selected-focus-handle-color: #880e4f;--mdc-switch-selected-hover-handle-color: #880e4f;--mdc-switch-selected-pressed-handle-color: #880e4f;--mdc-switch-selected-focus-track-color: #f06292;--mdc-switch-selected-hover-track-color: #f06292;--mdc-switch-selected-pressed-track-color: #f06292;--mdc-switch-selected-track-color: #f06292}html .mat-mdc-slide-toggle.mat-warn{--mdc-switch-selected-focus-state-layer-color: #e53935;--mdc-switch-selected-handle-color: #e53935;--mdc-switch-selected-hover-state-layer-color: #e53935;--mdc-switch-selected-pressed-state-layer-color: #e53935;--mdc-switch-selected-focus-handle-color: #b71c1c;--mdc-switch-selected-hover-handle-color: #b71c1c;--mdc-switch-selected-pressed-handle-color: #b71c1c;--mdc-switch-selected-focus-track-color: #e57373;--mdc-switch-selected-hover-track-color: #e57373;--mdc-switch-selected-pressed-track-color: #e57373;--mdc-switch-selected-track-color: #e57373}html{--mdc-switch-state-layer-size: 40px}html .mat-mdc-slide-toggle{--mat-switch-label-text-font: Roboto, sans-serif;--mat-switch-label-text-line-height: 20px;--mat-switch-label-text-size: 14px;--mat-switch-label-text-tracking: .0178571429em;--mat-switch-label-text-weight: 400}html{--mdc-radio-disabled-selected-icon-opacity: .38;--mdc-radio-disabled-unselected-icon-opacity: .38;--mdc-radio-state-layer-size: 40px}.mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5}.mat-mdc-radio-button.mat-primary{--mat-radio-ripple-color: black;--mat-radio-checked-ripple-color: #3f51b5;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38);--mat-radio-label-text-color: rgba(0, 0, 0, .87)}.mat-mdc-radio-button.mat-accent{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081}.mat-mdc-radio-button.mat-accent{--mat-radio-ripple-color: black;--mat-radio-checked-ripple-color: #ff4081;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38);--mat-radio-label-text-color: rgba(0, 0, 0, .87)}.mat-mdc-radio-button.mat-warn{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.mat-mdc-radio-button.mat-warn{--mat-radio-ripple-color: black;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38);--mat-radio-label-text-color: rgba(0, 0, 0, .87)}html{--mdc-radio-state-layer-size: 40px}html{--mat-radio-touch-target-display: block}html{--mat-radio-label-text-font: Roboto, sans-serif;--mat-radio-label-text-line-height: 20px;--mat-radio-label-text-size: 14px;--mat-radio-label-text-tracking: .0178571429em;--mat-radio-label-text-weight: 400}html{--mdc-slider-active-track-height: 6px;--mdc-slider-active-track-shape: 9999px;--mdc-slider-handle-height: 20px;--mdc-slider-handle-shape: 50%;--mdc-slider-handle-width: 20px;--mdc-slider-inactive-track-height: 4px;--mdc-slider-inactive-track-shape: 9999px;--mdc-slider-with-overlap-handle-outline-width: 1px;--mdc-slider-with-tick-marks-active-container-opacity: .6;--mdc-slider-with-tick-marks-container-shape: 50%;--mdc-slider-with-tick-marks-container-size: 2px;--mdc-slider-with-tick-marks-inactive-container-opacity: .6;--mdc-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12)}html{--mat-slider-value-indicator-width: auto;--mat-slider-value-indicator-height: 32px;--mat-slider-value-indicator-caret-display: block;--mat-slider-value-indicator-border-radius: 4px;--mat-slider-value-indicator-padding: 0 12px;--mat-slider-value-indicator-text-transform: none;--mat-slider-value-indicator-container-transform: translateX(-50%)}html{--mdc-slider-handle-color: #3f51b5;--mdc-slider-focus-handle-color: #3f51b5;--mdc-slider-hover-handle-color: #3f51b5;--mdc-slider-active-track-color: #3f51b5;--mdc-slider-inactive-track-color: #3f51b5;--mdc-slider-with-tick-marks-inactive-container-color: #3f51b5;--mdc-slider-with-tick-marks-active-container-color: white;--mdc-slider-disabled-active-track-color: #000;--mdc-slider-disabled-handle-color: #000;--mdc-slider-disabled-inactive-track-color: #000;--mdc-slider-label-container-color: #000;--mdc-slider-label-label-text-color: #fff;--mdc-slider-with-overlap-handle-outline-color: #fff;--mdc-slider-with-tick-marks-disabled-container-color: #000}html{--mat-slider-ripple-color: #3f51b5;--mat-slider-hover-state-layer-color: rgba(63, 81, 181, .05);--mat-slider-focus-state-layer-color: rgba(63, 81, 181, .2);--mat-slider-value-indicator-opacity: .6}html .mat-accent{--mdc-slider-handle-color: #ff4081;--mdc-slider-focus-handle-color: #ff4081;--mdc-slider-hover-handle-color: #ff4081;--mdc-slider-active-track-color: #ff4081;--mdc-slider-inactive-track-color: #ff4081;--mdc-slider-with-tick-marks-inactive-container-color: #ff4081;--mdc-slider-with-tick-marks-active-container-color: white}html .mat-accent{--mat-slider-ripple-color: #ff4081;--mat-slider-hover-state-layer-color: rgba(255, 64, 129, .05);--mat-slider-focus-state-layer-color: rgba(255, 64, 129, .2)}html .mat-warn{--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: white}html .mat-warn{--mat-slider-ripple-color: #f44336;--mat-slider-hover-state-layer-color: rgba(244, 67, 54, .05);--mat-slider-focus-state-layer-color: rgba(244, 67, 54, .2)}html{--mdc-slider-label-label-text-font: Roboto, sans-serif;--mdc-slider-label-label-text-size: 14px;--mdc-slider-label-label-text-line-height: 22px;--mdc-slider-label-label-text-tracking: .0071428571em;--mdc-slider-label-label-text-weight: 500}html{--mat-menu-container-shape: 4px;--mat-menu-divider-bottom-spacing: 0;--mat-menu-divider-top-spacing: 0;--mat-menu-item-spacing: 16px;--mat-menu-item-icon-size: 24px;--mat-menu-item-leading-spacing: 16px;--mat-menu-item-trailing-spacing: 16px;--mat-menu-item-with-icon-leading-spacing: 16px;--mat-menu-item-with-icon-trailing-spacing: 16px;--mat-menu-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-menu-item-label-text-color: rgba(0, 0, 0, .87);--mat-menu-item-icon-color: rgba(0, 0, 0, .87);--mat-menu-item-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-item-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-container-color: white;--mat-menu-divider-color: rgba(0, 0, 0, .12)}html{--mat-menu-item-label-text-font: Roboto, sans-serif;--mat-menu-item-label-text-size: 16px;--mat-menu-item-label-text-tracking: .03125em;--mat-menu-item-label-text-line-height: 24px;--mat-menu-item-label-text-weight: 400}html{--mdc-list-list-item-container-shape: 0;--mdc-list-list-item-leading-avatar-shape: 50%;--mdc-list-list-item-container-color: transparent;--mdc-list-list-item-selected-container-color: transparent;--mdc-list-list-item-leading-avatar-color: transparent;--mdc-list-list-item-leading-icon-size: 24px;--mdc-list-list-item-leading-avatar-size: 40px;--mdc-list-list-item-trailing-icon-size: 24px;--mdc-list-list-item-disabled-state-layer-color: transparent;--mdc-list-list-item-disabled-state-layer-opacity: 0;--mdc-list-list-item-disabled-label-text-opacity: .38;--mdc-list-list-item-disabled-leading-icon-opacity: .38;--mdc-list-list-item-disabled-trailing-icon-opacity: .38}html{--mat-list-active-indicator-color: transparent;--mat-list-active-indicator-shape: 4px}html{--mdc-list-list-item-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-supporting-text-color: rgba(0, 0, 0, .54);--mdc-list-list-item-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-supporting-text-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-selected-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-disabled-label-text-color: black;--mdc-list-list-item-disabled-leading-icon-color: black;--mdc-list-list-item-disabled-trailing-icon-color: black;--mdc-list-list-item-hover-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-hover-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-focus-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-state-layer-color: black;--mdc-list-list-item-hover-state-layer-opacity: .04;--mdc-list-list-item-focus-state-layer-color: black;--mdc-list-list-item-focus-state-layer-opacity: .12}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5}.mat-accent .mdc-list-item__start,.mat-accent .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081}.mat-warn .mdc-list-item__start,.mat-warn .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.mat-mdc-list-option{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-accent{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__start,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__start{color:#3f51b5}.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}html{--mdc-list-list-item-one-line-container-height: 48px;--mdc-list-list-item-two-line-container-height: 64px;--mdc-list-list-item-three-line-container-height: 88px}html{--mat-list-list-item-leading-icon-start-space: 16px;--mat-list-list-item-leading-icon-end-space: 32px}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-state-layer-size: 40px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}html{--mdc-list-list-item-label-text-font: Roboto, sans-serif;--mdc-list-list-item-label-text-line-height: 24px;--mdc-list-list-item-label-text-size: 16px;--mdc-list-list-item-label-text-tracking: .03125em;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-supporting-text-line-height: 20px;--mdc-list-list-item-supporting-text-size: 14px;--mdc-list-list-item-supporting-text-tracking: .0178571429em;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-trailing-supporting-text-line-height: 20px;--mdc-list-list-item-trailing-supporting-text-size: 12px;--mdc-list-list-item-trailing-supporting-text-tracking: .0333333333em;--mdc-list-list-item-trailing-supporting-text-weight: 400}.mdc-list-group__subheader{font:400 16px/28px Roboto,sans-serif;letter-spacing:.009375em}html{--mat-paginator-container-text-color: rgba(0, 0, 0, .87);--mat-paginator-container-background-color: white;--mat-paginator-enabled-icon-color: rgba(0, 0, 0, .54);--mat-paginator-disabled-icon-color: rgba(0, 0, 0, .12)}html{--mat-paginator-container-size: 56px;--mat-paginator-form-field-container-height: 40px;--mat-paginator-form-field-container-vertical-padding: 8px;--mat-paginator-touch-target-display: block}html{--mat-paginator-container-text-font: Roboto, sans-serif;--mat-paginator-container-text-line-height: 20px;--mat-paginator-container-text-size: 12px;--mat-paginator-container-text-tracking: .0333333333em;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: 12px}html{--mdc-secondary-navigation-tab-container-height: 48px}html{--mdc-tab-indicator-active-indicator-height: 2px;--mdc-tab-indicator-active-indicator-shape: 0}html{--mat-tab-header-divider-color: transparent;--mat-tab-header-divider-height: 0}.mat-mdc-tab-group,.mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color: #3f51b5}.mat-mdc-tab-group,.mat-mdc-tab-nav-bar{--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: black;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #3f51b5;--mat-tab-header-active-ripple-color: #3f51b5;--mat-tab-header-inactive-ripple-color: #3f51b5;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #3f51b5;--mat-tab-header-active-hover-label-text-color: #3f51b5;--mat-tab-header-active-focus-indicator-color: #3f51b5;--mat-tab-header-active-hover-indicator-color: #3f51b5}.mat-mdc-tab-group.mat-accent,.mat-mdc-tab-nav-bar.mat-accent{--mdc-tab-indicator-active-indicator-color: #ff4081}.mat-mdc-tab-group.mat-accent,.mat-mdc-tab-nav-bar.mat-accent{--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: black;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #ff4081;--mat-tab-header-active-ripple-color: #ff4081;--mat-tab-header-inactive-ripple-color: #ff4081;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #ff4081;--mat-tab-header-active-hover-label-text-color: #ff4081;--mat-tab-header-active-focus-indicator-color: #ff4081;--mat-tab-header-active-hover-indicator-color: #ff4081}.mat-mdc-tab-group.mat-warn,.mat-mdc-tab-nav-bar.mat-warn{--mdc-tab-indicator-active-indicator-color: #f44336}.mat-mdc-tab-group.mat-warn,.mat-mdc-tab-nav-bar.mat-warn{--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: black;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.mat-mdc-tab-group.mat-background-primary,.mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-header-with-background-background-color: #3f51b5;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-accent,.mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-header-with-background-background-color: #ff4081;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-warn,.mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-header{--mdc-secondary-navigation-tab-container-height: 48px}.mat-mdc-tab-header{--mat-tab-header-label-text-font: Roboto, sans-serif;--mat-tab-header-label-text-size: 14px;--mat-tab-header-label-text-tracking: .0892857143em;--mat-tab-header-label-text-line-height: 36px;--mat-tab-header-label-text-weight: 500}html{--mdc-checkbox-disabled-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-state-layer-opacity: .16;--mdc-checkbox-selected-hover-state-layer-opacity: .04;--mdc-checkbox-selected-pressed-state-layer-opacity: .16;--mdc-checkbox-unselected-focus-state-layer-opacity: .16;--mdc-checkbox-unselected-hover-state-layer-opacity: .04;--mdc-checkbox-unselected-pressed-state-layer-opacity: .16}html{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}html{--mat-checkbox-disabled-label-color: rgba(0, 0, 0, .38);--mat-checkbox-label-text-color: rgba(0, 0, 0, .87)}.mat-mdc-checkbox.mat-primary{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}html{--mdc-checkbox-state-layer-size: 40px}html{--mat-checkbox-touch-target-display: block}html{--mat-checkbox-label-text-font: Roboto, sans-serif;--mat-checkbox-label-text-line-height: 20px;--mat-checkbox-label-text-size: 14px;--mat-checkbox-label-text-tracking: .0178571429em;--mat-checkbox-label-text-weight: 400}html{--mdc-text-button-container-shape: 4px;--mdc-text-button-keep-touch-target: false}html{--mdc-filled-button-container-shape: 4px;--mdc-filled-button-keep-touch-target: false}html{--mdc-protected-button-container-shape: 4px;--mdc-protected-button-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mdc-protected-button-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-protected-button-focus-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-hover-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-pressed-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mdc-outlined-button-keep-touch-target: false;--mdc-outlined-button-outline-width: 1px;--mdc-outlined-button-container-shape: 4px}html{--mat-text-button-horizontal-padding: 8px;--mat-text-button-with-icon-horizontal-padding: 8px;--mat-text-button-icon-spacing: 8px;--mat-text-button-icon-offset: 0}html{--mat-filled-button-horizontal-padding: 16px;--mat-filled-button-icon-spacing: 8px;--mat-filled-button-icon-offset: -4px}html{--mat-protected-button-horizontal-padding: 16px;--mat-protected-button-icon-spacing: 8px;--mat-protected-button-icon-offset: -4px}html{--mat-outlined-button-horizontal-padding: 15px;--mat-outlined-button-icon-spacing: 8px;--mat-outlined-button-icon-offset: -4px}html{--mdc-text-button-label-text-color: black;--mdc-text-button-disabled-label-text-color: rgba(0, 0, 0, .38)}html{--mat-text-button-state-layer-color: black;--mat-text-button-disabled-state-layer-color: black;--mat-text-button-ripple-color: rgba(0, 0, 0, .1);--mat-text-button-hover-state-layer-opacity: .04;--mat-text-button-focus-state-layer-opacity: .12;--mat-text-button-pressed-state-layer-opacity: .12}html{--mdc-filled-button-container-color: white;--mdc-filled-button-label-text-color: black;--mdc-filled-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color: rgba(0, 0, 0, .38)}html{--mat-filled-button-state-layer-color: black;--mat-filled-button-disabled-state-layer-color: black;--mat-filled-button-ripple-color: rgba(0, 0, 0, .1);--mat-filled-button-hover-state-layer-opacity: .04;--mat-filled-button-focus-state-layer-opacity: .12;--mat-filled-button-pressed-state-layer-opacity: .12}html{--mdc-protected-button-container-color: white;--mdc-protected-button-label-text-color: black;--mdc-protected-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-disabled-label-text-color: rgba(0, 0, 0, .38)}html{--mat-protected-button-state-layer-color: black;--mat-protected-button-disabled-state-layer-color: black;--mat-protected-button-ripple-color: rgba(0, 0, 0, .1);--mat-protected-button-hover-state-layer-opacity: .04;--mat-protected-button-focus-state-layer-opacity: .12;--mat-protected-button-pressed-state-layer-opacity: .12}html{--mdc-outlined-button-disabled-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-label-text-color: black;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}html{--mat-outlined-button-state-layer-color: black;--mat-outlined-button-disabled-state-layer-color: black;--mat-outlined-button-ripple-color: rgba(0, 0, 0, .1);--mat-outlined-button-hover-state-layer-opacity: .04;--mat-outlined-button-focus-state-layer-opacity: .12;--mat-outlined-button-pressed-state-layer-opacity: .12}.mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #3f51b5}.mat-mdc-button.mat-primary{--mat-text-button-state-layer-color: #3f51b5;--mat-text-button-ripple-color: rgba(63, 81, 181, .1)}.mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #ff4081}.mat-mdc-button.mat-accent{--mat-text-button-state-layer-color: #ff4081;--mat-text-button-ripple-color: rgba(255, 64, 129, .1)}.mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336}.mat-mdc-button.mat-warn{--mat-text-button-state-layer-color: #f44336;--mat-text-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #3f51b5;--mdc-filled-button-label-text-color: white}.mat-mdc-unelevated-button.mat-primary{--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #ff4081;--mdc-filled-button-label-text-color: white}.mat-mdc-unelevated-button.mat-accent{--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: white}.mat-mdc-unelevated-button.mat-warn{--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #3f51b5;--mdc-protected-button-label-text-color: white}.mat-mdc-raised-button.mat-primary{--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #ff4081;--mdc-protected-button-label-text-color: white}.mat-mdc-raised-button.mat-accent{--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: white}.mat-mdc-raised-button.mat-warn{--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #3f51b5;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-outlined-button.mat-primary{--mat-outlined-button-state-layer-color: #3f51b5;--mat-outlined-button-ripple-color: rgba(63, 81, 181, .1)}.mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #ff4081;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-outlined-button.mat-accent{--mat-outlined-button-state-layer-color: #ff4081;--mat-outlined-button-ripple-color: rgba(255, 64, 129, .1)}.mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-outlined-button.mat-warn{--mat-outlined-button-state-layer-color: #f44336;--mat-outlined-button-ripple-color: rgba(244, 67, 54, .1)}html{--mdc-text-button-container-height: 36px}html{--mdc-filled-button-container-height: 36px}html{--mdc-protected-button-container-height: 36px}html{--mdc-outlined-button-container-height: 36px}html{--mat-text-button-touch-target-display: block}html{--mat-filled-button-touch-target-display: block}html{--mat-protected-button-touch-target-display: block}html{--mat-outlined-button-touch-target-display: block}html{--mdc-text-button-label-text-font: Roboto, sans-serif;--mdc-text-button-label-text-size: 14px;--mdc-text-button-label-text-tracking: .0892857143em;--mdc-text-button-label-text-weight: 500;--mdc-text-button-label-text-transform: none}html{--mdc-filled-button-label-text-font: Roboto, sans-serif;--mdc-filled-button-label-text-size: 14px;--mdc-filled-button-label-text-tracking: .0892857143em;--mdc-filled-button-label-text-weight: 500;--mdc-filled-button-label-text-transform: none}html{--mdc-protected-button-label-text-font: Roboto, sans-serif;--mdc-protected-button-label-text-size: 14px;--mdc-protected-button-label-text-tracking: .0892857143em;--mdc-protected-button-label-text-weight: 500;--mdc-protected-button-label-text-transform: none}html{--mdc-outlined-button-label-text-font: Roboto, sans-serif;--mdc-outlined-button-label-text-size: 14px;--mdc-outlined-button-label-text-tracking: .0892857143em;--mdc-outlined-button-label-text-weight: 500;--mdc-outlined-button-label-text-transform: none}html{--mdc-icon-button-icon-size: 24px}html{--mdc-icon-button-icon-color: inherit;--mdc-icon-button-disabled-icon-color: rgba(0, 0, 0, .38)}html{--mat-icon-button-state-layer-color: black;--mat-icon-button-disabled-state-layer-color: black;--mat-icon-button-ripple-color: rgba(0, 0, 0, .1);--mat-icon-button-hover-state-layer-opacity: .04;--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-pressed-state-layer-opacity: .12}html .mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #3f51b5}html .mat-mdc-icon-button.mat-primary{--mat-icon-button-state-layer-color: #3f51b5;--mat-icon-button-ripple-color: rgba(63, 81, 181, .1)}html .mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #ff4081}html .mat-mdc-icon-button.mat-accent{--mat-icon-button-state-layer-color: #ff4081;--mat-icon-button-ripple-color: rgba(255, 64, 129, .1)}html .mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336}html .mat-mdc-icon-button.mat-warn{--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: rgba(244, 67, 54, .1)}html{--mat-icon-button-touch-target-display: block}.mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 48px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:12px}html{--mdc-fab-container-shape: 50%;--mdc-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}html{--mdc-fab-small-container-shape: 50%;--mdc-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}html{--mdc-extended-fab-container-height: 48px;--mdc-extended-fab-container-shape: 24px;--mdc-extended-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}html{--mdc-fab-container-color: white}html{--mat-fab-foreground-color: black;--mat-fab-state-layer-color: black;--mat-fab-disabled-state-layer-color: black;--mat-fab-ripple-color: rgba(0, 0, 0, .1);--mat-fab-hover-state-layer-opacity: .04;--mat-fab-focus-state-layer-opacity: .12;--mat-fab-pressed-state-layer-opacity: .12;--mat-fab-disabled-state-container-color: rgba(0, 0, 0, .12);--mat-fab-disabled-state-foreground-color: rgba(0, 0, 0, .38)}html{--mdc-fab-small-container-color: white}html{--mat-fab-small-foreground-color: black;--mat-fab-small-state-layer-color: black;--mat-fab-small-disabled-state-layer-color: black;--mat-fab-small-ripple-color: rgba(0, 0, 0, .1);--mat-fab-small-hover-state-layer-opacity: .04;--mat-fab-small-focus-state-layer-opacity: .12;--mat-fab-small-pressed-state-layer-opacity: .12;--mat-fab-small-disabled-state-container-color: rgba(0, 0, 0, .12);--mat-fab-small-disabled-state-foreground-color: rgba(0, 0, 0, .38)}html .mat-mdc-fab.mat-primary{--mdc-fab-container-color: #3f51b5}html .mat-mdc-fab.mat-primary{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-fab.mat-accent{--mdc-fab-container-color: #ff4081}html .mat-mdc-fab.mat-accent{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-fab.mat-warn{--mdc-fab-container-color: #f44336}html .mat-mdc-fab.mat-warn{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-mini-fab.mat-primary{--mdc-fab-small-container-color: #3f51b5}html .mat-mdc-mini-fab.mat-primary{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-mini-fab.mat-accent{--mdc-fab-small-container-color: #ff4081}html .mat-mdc-mini-fab.mat-accent{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-mini-fab.mat-warn{--mdc-fab-small-container-color: #f44336}html .mat-mdc-mini-fab.mat-warn{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}html{--mat-fab-touch-target-display: block}html{--mat-fab-small-touch-target-display: block}html{--mdc-extended-fab-label-text-font: Roboto, sans-serif;--mdc-extended-fab-label-text-size: 14px;--mdc-extended-fab-label-text-tracking: .0892857143em;--mdc-extended-fab-label-text-weight: 500}html{--mdc-snackbar-container-shape: 4px}html{--mdc-snackbar-container-color: #333333;--mdc-snackbar-supporting-text-color: rgba(255, 255, 255, .87)}html{--mat-snack-bar-button-color: #c5cae9}html{--mdc-snackbar-supporting-text-font: Roboto, sans-serif;--mdc-snackbar-supporting-text-line-height: 20px;--mdc-snackbar-supporting-text-size: 14px;--mdc-snackbar-supporting-text-weight: 400}html{--mat-table-row-item-outline-width: 1px}html{--mat-table-background-color: white;--mat-table-header-headline-color: rgba(0, 0, 0, .87);--mat-table-row-item-label-text-color: rgba(0, 0, 0, .87);--mat-table-row-item-outline-color: rgba(0, 0, 0, .12)}html{--mat-table-header-container-height: 56px;--mat-table-footer-container-height: 52px;--mat-table-row-item-container-height: 52px}html{--mat-table-header-headline-font: Roboto, sans-serif;--mat-table-header-headline-line-height: 22px;--mat-table-header-headline-size: 14px;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: .0071428571em;--mat-table-row-item-label-text-font: Roboto, sans-serif;--mat-table-row-item-label-text-line-height: 20px;--mat-table-row-item-label-text-size: 14px;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: .0178571429em;--mat-table-footer-supporting-text-font: Roboto, sans-serif;--mat-table-footer-supporting-text-line-height: 20px;--mat-table-footer-supporting-text-size: 14px;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: .0178571429em}html{--mdc-circular-progress-active-indicator-width: 4px;--mdc-circular-progress-size: 48px}html{--mdc-circular-progress-active-indicator-color: #3f51b5}html .mat-accent{--mdc-circular-progress-active-indicator-color: #ff4081}html .mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}html{--mat-badge-container-shape: 50%;--mat-badge-container-size: unset;--mat-badge-small-size-container-size: unset;--mat-badge-large-size-container-size: unset;--mat-badge-legacy-container-size: 22px;--mat-badge-legacy-small-size-container-size: 16px;--mat-badge-legacy-large-size-container-size: 28px;--mat-badge-container-offset: -11px 0;--mat-badge-small-size-container-offset: -8px 0;--mat-badge-large-size-container-offset: -14px 0;--mat-badge-container-overlap-offset: -11px;--mat-badge-small-size-container-overlap-offset: -8px;--mat-badge-large-size-container-overlap-offset: -14px;--mat-badge-container-padding: 0;--mat-badge-small-size-container-padding: 0;--mat-badge-large-size-container-padding: 0}html{--mat-badge-background-color: #3f51b5;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: #b9b9b9;--mat-badge-disabled-state-text-color: rgba(0, 0, 0, .38)}.mat-badge-accent{--mat-badge-background-color: #ff4081;--mat-badge-text-color: white}.mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}html{--mat-badge-text-font: Roboto, sans-serif;--mat-badge-line-height: 22px;--mat-badge-text-size: 12px;--mat-badge-text-weight: 600;--mat-badge-small-size-text-size: 9px;--mat-badge-small-size-line-height: 16px;--mat-badge-large-size-text-size: 24px;--mat-badge-large-size-line-height: 28px}html{--mat-bottom-sheet-container-shape: 4px}html{--mat-bottom-sheet-container-text-color: rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color: white}html{--mat-bottom-sheet-container-text-font: Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height: 20px;--mat-bottom-sheet-container-text-size: 14px;--mat-bottom-sheet-container-text-tracking: .0178571429em;--mat-bottom-sheet-container-text-weight: 400}html{--mat-legacy-button-toggle-height: 36px;--mat-legacy-button-toggle-shape: 2px;--mat-legacy-button-toggle-focus-state-layer-opacity: 1}html{--mat-standard-button-toggle-shape: 4px;--mat-standard-button-toggle-hover-state-layer-opacity: .04;--mat-standard-button-toggle-focus-state-layer-opacity: .12}html{--mat-legacy-button-toggle-text-color: rgba(0, 0, 0, .38);--mat-legacy-button-toggle-state-layer-color: rgba(0, 0, 0, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(0, 0, 0, .54);--mat-legacy-button-toggle-selected-state-background-color: #e0e0e0;--mat-legacy-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-legacy-button-toggle-disabled-state-background-color: #eeeeee;--mat-legacy-button-toggle-disabled-selected-state-background-color: #bdbdbd}html{--mat-standard-button-toggle-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-background-color: white;--mat-standard-button-toggle-state-layer-color: black;--mat-standard-button-toggle-selected-state-background-color: #e0e0e0;--mat-standard-button-toggle-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-standard-button-toggle-disabled-state-background-color: white;--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-divider-color: rgb(224.4, 224.4, 224.4)}html{--mat-standard-button-toggle-height: 48px}html{--mat-legacy-button-toggle-label-text-font: Roboto, sans-serif;--mat-legacy-button-toggle-label-text-line-height: 24px;--mat-legacy-button-toggle-label-text-size: 16px;--mat-legacy-button-toggle-label-text-tracking: .03125em;--mat-legacy-button-toggle-label-text-weight: 400}html{--mat-standard-button-toggle-label-text-font: Roboto, sans-serif;--mat-standard-button-toggle-label-text-line-height: 24px;--mat-standard-button-toggle-label-text-size: 16px;--mat-standard-button-toggle-label-text-tracking: .03125em;--mat-standard-button-toggle-label-text-weight: 400}html{--mat-datepicker-calendar-container-shape: 4px;--mat-datepicker-calendar-container-touch-shape: 4px;--mat-datepicker-calendar-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-container-touch-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}html{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #3f51b5;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(63, 81, 181, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-toggle-active-state-icon-color: #3f51b5;--mat-datepicker-calendar-date-in-range-state-background-color: rgba(63, 81, 181, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032);--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-text-color: black;--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(0, 0, 0, .18);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .24);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: rgba(0, 0, 0, .38);--mat-datepicker-range-input-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-accent{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #ff4081;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(255, 64, 129, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(255, 64, 129, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032)}.mat-datepicker-content.mat-warn{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032)}.mat-datepicker-toggle-active.mat-accent{--mat-datepicker-toggle-active-state-icon-color: #ff4081}.mat-datepicker-toggle-active.mat-warn{--mat-datepicker-toggle-active-state-icon-color: #f44336}.mat-calendar-controls{--mat-icon-button-touch-target-display: none}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}html{--mat-datepicker-calendar-text-font: Roboto, sans-serif;--mat-datepicker-calendar-text-size: 13px;--mat-datepicker-calendar-body-label-text-size: 14px;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: 14px;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: 11px;--mat-datepicker-calendar-header-text-weight: 400}html{--mat-divider-width: 1px}html{--mat-divider-color: rgba(0, 0, 0, .12)}html{--mat-expansion-container-shape: 4px;--mat-expansion-legacy-header-indicator-display: inline-block;--mat-expansion-header-indicator-display: none}html{--mat-expansion-container-background-color: white;--mat-expansion-container-text-color: rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color: rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-expansion-header-text-color: rgba(0, 0, 0, .87);--mat-expansion-header-description-color: rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color: rgba(0, 0, 0, .54)}html{--mat-expansion-header-collapsed-state-height: 48px;--mat-expansion-header-expanded-state-height: 64px}html{--mat-expansion-header-text-font: Roboto, sans-serif;--mat-expansion-header-text-size: 14px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Roboto, sans-serif;--mat-expansion-container-text-line-height: 20px;--mat-expansion-container-text-size: 14px;--mat-expansion-container-text-tracking: .0178571429em;--mat-expansion-container-text-weight: 400}html{--mat-grid-list-tile-header-primary-text-size: 14px;--mat-grid-list-tile-header-secondary-text-size: 12px;--mat-grid-list-tile-footer-primary-text-size: 14px;--mat-grid-list-tile-footer-secondary-text-size: 12px}html{--mat-icon-color: inherit}.mat-icon.mat-primary{--mat-icon-color: #3f51b5}.mat-icon.mat-accent{--mat-icon-color: #ff4081}.mat-icon.mat-warn{--mat-icon-color: #f44336}html{--mat-sidenav-container-shape: 0;--mat-sidenav-container-elevation-shadow: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-sidenav-container-width: auto}html{--mat-sidenav-container-divider-color: rgba(0, 0, 0, .12);--mat-sidenav-container-background-color: white;--mat-sidenav-container-text-color: rgba(0, 0, 0, .87);--mat-sidenav-content-background-color: #fafafa;--mat-sidenav-content-text-color: rgba(0, 0, 0, .87);--mat-sidenav-scrim-color: rgba(0, 0, 0, .6)}html{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #3f51b5;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #3f51b5;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #3f51b5;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: white;--mat-stepper-line-color: rgba(0, 0, 0, .12);--mat-stepper-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-optional-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-selected-state-label-text-color: rgba(0, 0, 0, .87);--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(0, 0, 0, .54);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}html .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #ff4081;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #ff4081;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #ff4081;--mat-stepper-header-edit-state-icon-foreground-color: white}html .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}html{--mat-stepper-header-height: 72px}html{--mat-stepper-container-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-size: 14px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-weight: 400}html{--mat-sort-arrow-color: rgb(117.3, 117.3, 117.3)}html{--mat-toolbar-container-background-color: whitesmoke;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #3f51b5;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #ff4081;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}html{--mat-toolbar-standard-height: 64px;--mat-toolbar-mobile-height: 56px}html{--mat-toolbar-title-text-font: Roboto, sans-serif;--mat-toolbar-title-text-line-height: 32px;--mat-toolbar-title-text-size: 20px;--mat-toolbar-title-text-tracking: .0125em;--mat-toolbar-title-text-weight: 500}html{--mat-tree-container-background-color: white;--mat-tree-node-text-color: rgba(0, 0, 0, .87)}html{--mat-tree-node-min-height: 48px}html{--mat-tree-node-text-font: Roboto, sans-serif;--mat-tree-node-text-size: 14px;--mat-tree-node-text-weight: 400}html{--mat-timepicker-container-shape: 4px;--mat-timepicker-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-timepicker-container-background-color: white}html,body{margin:0;font-family:Roboto,Helvetica,Arial,sans-serif;font-size:14px;height:100%}body{background-color:#eee}.app-loading .logo{width:113px;height:120px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAABhWlDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AYht+malUqCnYQcchQnexiRRxLFYtgobQVWnUwufRHaNKQpLg4Cq4FB38Wqw4uzro6uAqC4A+Is4OToouU+F1SaBHjHcc9vPe9L3ffAUKjwlSzKwaommWkE3Exl18RA6/owxDNHkQlZurJzEIWnuPrHj6+30V4lnfdn2NAKZgM8InEMaYbFvE68cympXPeJw6xsqQQnxNPGnRB4keuyy6/cS45LPDMkJFNzxGHiMVSB8sdzMqGSjxNHFZUjfKFnMsK5y3OaqXGWvfkLwwWtOUM12mNIYFFJJGCCBk1bKACCxHaNVJMpOk87uEfdfwpcsnk2gAjxzyqUCE5fvA/+N1bsxidcpOCcaD7xbY/xoHALtCs2/b3sW03TwD/M3Cltf3VBjD7SXq9rYWPgMFt4OK6rcl7wOUOMPKkS4bkSH5aQrEIvJ/RN+WB4Vugf9XtW+scpw9Alnq1dAMcHAITJcpe83h3b2ff/q1p9e8HsopywPmxfBcAAAGDUExURQAAABkMiRwRhiYRgR4WghwdhyUcgSohcycjeiMkhSkmdSopZy8sYBovjzEzVyUykTE3UyQ3kTM1dTM3ZDU9SDZBQCY/lS9DgD9GLT5DazxKMCNOpEFWG0BWLkVQZSVVoUFXKERYFkJYI0ZZEB1ZqztZQD5ZNUZZGD1ZOjxZRTJZbTtZUzVaXjxaS0dbGTdaZyZboSlapkVeFDBZoEldGyxdmDBdiy9cnCJgrDBekjRehjdeeylfpDNfgVFbXDxjdDllfEFkcUJnakdoYTlpkklqW1RtFzxrh01qVk9sT1VuQ1RuSVZvP1pxN2ByKl5zMGR0EmJ0JGN1HWZ2FUR4gmd3F2l5DWl5GWF9Gk18e259E01/eGJ+T2uBFnGGEWqIFmeFSFaIb1qMZ22KPnKOGXSRL3iTE2OUXnOXF3CaRGqbUHibMn2dEnujGn+mDXmqPISrFoGvGYGwNIazEIO2LIu5HJC8DIy/EJLFG5XHCJbIDZjKEZLMEZvMAJbQGZrTB53VAJ6wE90AAAABdFJOUwBA5thmAAALzklEQVR42tVb/VvbRhJ2gHD56EeSNtyFmGJjJyJAQMLYxjYuAQoJ3wad5JQUSBsfoRcgEOMg7erk/uk3uysZ21qBVoHcc/MreTyvZt6ZeWekRCJfYnXbts6ODg/3Xy8sjEeu2ywTmaZpGKaBLNvGZyeHu7uvwRbAxkdHpbjHJOkq/BKnJjGrTsyu1/+qGydHh/u7m+OjUpQZ+JKkUcm1UWITExMuqHCeqVuLPLKJiGFqlmWeney/Hid+2p+Xa42/CwXbQPSxsU3MsjAmCAgghI2T3YVx9uTxS60RESkwBtMyDAORWNsWpj6bDaNqZUFyfcNPJxLjrZbwhob9U8iJdCkGRHyDZ+TxzAyh6u4o8y4lIAyxWF9vq/2jty8WG4B/kgDzJml09AIIEHRkkkwjX/9WbTcRZY8eHYj1Pvzx3nff3G21R0MjI8PPnzzpGxgYcNjZlpG45Ov+gmd3ABwuRBmAaO+9u3du3brV3d3VbLd7UmmwXC6TyRfGhp89jUXbwkCKhRMEA0HosXmJIWNfipLfiD387u6tDmadzLq6Oju6vu3plycVaslkKpvLF4fGRp4PxoAqTTBGvRAwutw7YwAAkOK99/7W1dHlsZvf98utRoDIucLIc8hI/BwDyUNr+G18YegbAE62pShE/5sunnXfT8l8y2bTheHBAYLdRdBCBNO2A7gnAGqV0agE/js6vf4h/VN8/yQj2XSmMBxrikFTNRiWbZiBDOHD8ejAj92c8IN/2ce/i0LODAEEyZsFhJEZEIBdfZ3o/YEH4DL/DEN6bNCtinMEqI7NoAZ9eOHhHc7z3+yRAxhwpPhswM3DhAPAqFumAIL9Z3d4/lNTQRDIipwfdhG4TfHEQCgwAAvVPvzcfaPVfWfX/f5g/kkaMs/dITbKAFSOkUAIELY//tTeBL7tlwObIhefNADQWiztGwIAoB0bHx7d6GwjoIApypCTBKcUSzvHBhZD8PZBR3MMfBuQDwJIgouAAijv1SwkgMCyar/daUJw+/GULGaFWIIBoCxQVf3wTAgBqp++utXRVAGC/pO5wXgzgC11+8gQAQBK7fTn2y6C2/2iAVDSTimyXqRuaYQGIkQ0bOvwp65OtwTEAYz1NQGIaGVNrVSRUAws+8OjThqDm/fFAWQLg1LTUNTKZUJELFiM71gpdAdtgs2Wf5JonokkCdsHZ0IxAHn49sGNLwTgdgK1XFbV7UNBIlq15TugC64CQETb0tTSthgRoR2czHd3dHT39F8BABKD0o4gEbH94afujhAkbAYQZSMZAGglTbAjImx9eBSqDLPFRhW4skgjtVjeP0MiU8Goo3896rgZAsDQ03YAEVXXVLV88FmwHeB3P3T1iDeikVhzI3JCoGtQjEdnIiEgWXj34PvH4q046gEQIQBU0pPF2kG99vbvPaIAck/YhiCNNu8nmg5EhJ4sRETSkH7LK4KCIDcoxb0AyEwAHkApYDEa1N7n+hWxcfw0wQUA/YiWglgMMD79Pd0vFIFMXyLu4QDtBppGp4JYO0Do0++5ZAhFJHmOFTQEVJ4IFuOnNymBJGSH/ACoOnREVa0cm0I0gG3h469ZJTCE9MiAD4CISolYqlRNsVLAgCAwDxqqmHcvoghgKpwJDUaGIBswBEpx0AXAORWBOAEEuiARTfM/6OMbOVA/SCmFvvgFAMqEiCWQJ1gMgYU/vkknlSAAhgacRsi92IFCJKWwK7YukWqEWsgFYaIyFI/7cJBamXXESlUQgYnRpz9+CYAAADgZiPIPlowGIE8EkwAy8fTPN7lkcpLYlO+Qzo5cQAG6LJY0gqAsTERSDJ/+eHnek6a4MDLPLwEQITwEIuoHhjACZJ2dOr/iLwifMQATvgCqB1uqSkrhSEwns2Ko/9X0U8Th5GQLA+TCIAUgTfi8T0HYPtsrkzSUdk5M0RgYyLaM1h9M0WRMNgThWIwB4FchMshrglpFU8loFl0ZqdWR2f6rjBFTDMBwNO7n3zQg6+AfG8c7KkGg7X8WR4Btw/T+9rkkHna0QNTrHuE6PdrC6nkAyxJ0AyCiaDGahmVjbnIdAM8SvAhY2HC8U6lZd5IQiogm8kcwBYo0wZFjn2nqkVvNtdM/326qtB1snyDxLCDb9EEwKRcHE953irsH0HipH/qC7vT9P3Mvlzd12hErVSxORNxeCi4CJVuggrBtEGjblYOaZZFXRnX06f2vvyiPlRerJAKEiLUQpYB9YpBMj9GtqA0A8K28d1QzLHz68d+knSsAdXadhAA04kEIGsCj8BFk2IGqHcAWrOflveMatPKGsEnP0SSIXw7cnshHwORQ2yAgAGA33Xn7Mi03lgyluOgg2KlaYUrB5CKIUQDtg4CoEE3Vl/qbNE1KBhpQIqoVwXXJSQLmMTE6wRuFVIxq+lK2ecFIZmfXdEpEdU/scuDGgFcL8QmeGuICgD16fpMhEFepvlkgalzyaAFouhwAIB4WaRI0SkRxBBYnBPEJCUaxBwDZyjR9NZ9qVdaKQwNV3amGAACl0I4gLiXIxw1xrhDUV1+0bRdKdmadhUAVvKU2RFo7AraU8JWovj7dvt4o6bkN3emIZyE6IrKQEeSzBbYO6GuzacVzzlikLZnt7WYYIgYDQFioby5mPACU4pLeIGKIGNg4YAhIDrTVIufSML1OEajhBiO3FPwA6JvTCueq5vSjkrYfqhtYZpAsUPmhb86leVetRfpXtbQVbjAGowFphrq6yLm5AQ1WzmkQAkHdCJIEtaxDz1mf4ayXijKzxmig7oYR6hgHCwGpA22ee+hIz244NNgLo4+C5YBczHV9KS+neHcdRxuo5YMQtWibgXJACkHfmOOFQJHzS0wihhLqIHiDV+IK9+iopKZXHSLuVE1RbQD7phEwB9COp33OXbPuUKiID0YcsBK3gAWby5kk/8btqBNyuhClQcBWQC72mrYx63PbyS872mD7SDQJ0A0Dz0RdWynIvCQoIFJZEsgpVfSSaQYbCJSH6qs0lwWKPLvGSoHIZMFjrhEwBJSHHmF0rk5UPdQFCwAEKkSmjHRtOcMvhGRmmSEAGiB0HRGAXlBmQ9EnCUWHBuSFP74OALQSYCZN80NAVlbN3VUEkiAAgK4ouraYkX1oML/JJKLQrhK0DNlYJpWwMc9PQirpdAOiDUwU/DO44ACckbA249ORlYKzsmoCRzxsW8EBqOT3dX294EcDZ1dRtcAtGQUch40kUBosFZN+NNhwJvNhwMmMA24nLQg0bZH//kEBdaK6kzlYCIIJEk8MNl7lfPqRSwM92EsFC6OIIACHiLN+/WjaWVlhLl4eA1QX9e+uitr6bJb7JsxdWdXS7uXnI2QJNIG2JOir/BikUo1dZe+ySkB2GP+No806vx0ocmGFffJw2c4M+3ko/+cxKPi8eWHagCYBXVkH8Exmoo9ecN+MJx2JWLrwgwOELSMSGkCZjmZ95UWaw8SUuymUyv7SIHz8XRpQHvCZCC15lVWC77bmdywVbQc+/UBJv2IqWfdZ2r/w+VsQgEJSvC3ZPeXuVDlf4hnYRkbki61MVwVAkPdSMZVly5Kq73NK0bKNK/Dv9ERQiUtFTiXk3Y7sKUVof4YZuRJzsrC5OuMRacncovNex6MMLBEFclkWtmgM9PXZdiK42kTVto9bNDKyw7cf364M43k+3/qtTErOrDgq/aAJAHQfy4hcpWkMgba59KIVgZJd1j0zifyPDRSJXDECes3X1dW5FpWkyMuNdbVRiZZlRq7coCEwLm4sTjdBUORFXXNWNeeLD0j/NfhvTAbalIpARsVphksuAKZPofquOP0eKgITVucyWfL0QIHp1RYA5D0VilyXaU5P0rWNlbminFSSCqgSrQkANP/rc88gbLGC1DdX5menZ+aWmDxnHLCs60p/MxHYGYlWxNqG655VQd0yrci1m+YsLTog0PRzAHtnwU6BV1OQDhvPTS0f2ghHvpIBGdsglOgr/sjXMyjIFgzlneOv6Z5RQXWqkpbAQS3y1U0lZKCmbVUi/xtzLnZq5P/a/gvm8NIms2W1xQAAAABJRU5ErkJggg==)}i.material-icons{vertical-align:middle!important}i.spaced{margin-right:.5rem}.highlight{color:red}.mat-toolbar.mat-primary{background:#fafafa;color:#000}.mat-toolbar-row,.mat-toolbar-single-row{height:4rem!important}.mat-mdc-row{min-height:2.5rem}.mat-mdc-menu-panel.wide-menu{max-width:none;max-height:none}.mat-form-field-disabled{cursor:not-allowed}input:disabled{cursor:not-allowed}.toggle{display:flex;height:32px}.detail .mdc-tab-indicator--active{background-color:#ffffff1f}.card{background-color:#fafafa;border-color:#000;border-radius:6px;box-shadow:#00000024 0 1px 4px;box-sizing:border-box;color:#000;display:flex;flex-direction:column;margin:2rem 1rem 1rem}.card-header{background-image:linear-gradient(60deg,#4b5266,#465d9c);border-bottom-color:#fff;border-radius:3px;box-shadow:#00000024 0 4px 20px,#465d9c66 0 7px 10px -5px;box-sizing:border-box;color:#fff;font-size:1.2rem;font-weight:300;margin:-1rem 1rem 0rem;padding:15px}.card-header img{width:1.2rem;vertical-align:top;margin-top:2px;margin-right:8px;filter:brightness(0) invert(1)}.card-title>a{color:#000}.card-subtitle{font-size:.9rem;margin-left:1.4rem}.detail>.title{margin:1rem;padding:1rem;background-image:linear-gradient(60deg,#4b5266,#465d9c);border-bottom-color:#fff;border-radius:3px;box-shadow:#00000024 0 4px 20px,#465d9c66 0 7px 10px -5px;box-sizing:border-box;color:#fff;font-size:1.2rem;font-weight:300}.detail>.title img{width:2rem;vertical-align:top;margin-top:-4px;filter:brightness(0) invert(1)}.detail>.title a{color:#ff0}.detail>.title .card{margin-top:0}.mat-mdc-menu-content .mat-mdc-menu-item:hover{background-color:#d5d5d5!important}.mat-mdc-option{min-height:2.5rem!important}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:#d5d5d5}.mat-mdc-dialog-container{--mdc-dialog-supporting-text-font: $font-family;--mdc-dialog-subhead-font: $font-family;--mdc-dialog-title-font: $font-family;--mdc-dialog-button-font: $font-family;--mdc-dialog-supporting-text-size: 1rem;--mdc-dialog-subhead-size: 1.25rem;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-color: rgba(0, 0, 0, 1)}.mat-mdc-tab-labels{background-image:linear-gradient(60deg,#4b5266,#465d9c)}.mat-mdc-tab-labels .mdc-tab--active{background-color:#303030}.mat-mdc-raised-button.mat-primary:not([disabled]){background-image:linear-gradient(60deg,#4b5266,#465d9c);color:#fff}.mat-select-search-no-entries-found{display:none!important}.dark-theme{--mat-ripple-color: rgba(255, 255, 255, .1)}.dark-theme{--mat-option-selected-state-label-text-color: #3f51b5;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-option-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-option-selected-state-layer-color: rgba(255, 255, 255, .08)}.dark-theme .mat-accent{--mat-option-selected-state-label-text-color: #ff4081;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-option-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-option-selected-state-layer-color: rgba(255, 255, 255, .08)}.dark-theme .mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-option-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-option-selected-state-layer-color: rgba(255, 255, 255, .08)}.dark-theme{--mat-optgroup-label-text-color: white}.dark-theme{--mat-full-pseudo-checkbox-selected-icon-color: #ff4081;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868}.dark-theme{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #ff4081;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}.dark-theme .mat-primary{--mat-full-pseudo-checkbox-selected-icon-color: #3f51b5;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868}.dark-theme .mat-primary{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #3f51b5;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}.dark-theme .mat-accent{--mat-full-pseudo-checkbox-selected-icon-color: #ff4081;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868}.dark-theme .mat-accent{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #ff4081;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}.dark-theme .mat-warn{--mat-full-pseudo-checkbox-selected-icon-color: #f44336;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868}.dark-theme .mat-warn{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #f44336;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}.dark-theme{--mat-app-background-color: #303030;--mat-app-text-color: white;--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}.dark-theme{--mdc-elevated-card-container-shape: 4px}.dark-theme{--mdc-outlined-card-container-shape: 4px;--mdc-outlined-card-outline-width: 1px}.dark-theme{--mdc-elevated-card-container-color: #424242;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12)}.dark-theme{--mdc-outlined-card-container-color: #424242;--mdc-outlined-card-outline-color: rgba(255, 255, 255, .12);--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12)}.dark-theme{--mat-card-subtitle-text-color: rgba(255, 255, 255, .7)}.dark-theme{--mdc-linear-progress-active-indicator-height: 4px;--mdc-linear-progress-track-height: 4px;--mdc-linear-progress-track-shape: 0}.dark-theme .mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #3f51b5;--mdc-linear-progress-track-color: rgba(63, 81, 181, .25)}.dark-theme .mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #ff4081;--mdc-linear-progress-track-color: rgba(255, 64, 129, .25)}.dark-theme .mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}.dark-theme{--mdc-plain-tooltip-container-shape: 4px;--mdc-plain-tooltip-supporting-text-line-height: 16px}.dark-theme{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}.dark-theme{--mdc-filled-text-field-active-indicator-height: 1px;--mdc-filled-text-field-focus-active-indicator-height: 2px;--mdc-filled-text-field-container-shape: 4px}.dark-theme{--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-focus-outline-width: 2px;--mdc-outlined-text-field-container-shape: 4px}.dark-theme{--mdc-filled-text-field-caret-color: #3f51b5;--mdc-filled-text-field-focus-active-indicator-color: #3f51b5;--mdc-filled-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-filled-text-field-container-color: rgb(73.56, 73.56, 73.56);--mdc-filled-text-field-disabled-container-color: rgb(69.78, 69.78, 69.78);--mdc-filled-text-field-label-text-color: rgba(255, 255, 255, .6);--mdc-filled-text-field-hover-label-text-color: rgba(255, 255, 255, .6);--mdc-filled-text-field-disabled-label-text-color: rgba(255, 255, 255, .38);--mdc-filled-text-field-input-text-color: rgba(255, 255, 255, .87);--mdc-filled-text-field-disabled-input-text-color: rgba(255, 255, 255, .38);--mdc-filled-text-field-input-text-placeholder-color: rgba(255, 255, 255, .6);--mdc-filled-text-field-error-hover-label-text-color: #f44336;--mdc-filled-text-field-error-focus-label-text-color: #f44336;--mdc-filled-text-field-error-label-text-color: #f44336;--mdc-filled-text-field-error-caret-color: #f44336;--mdc-filled-text-field-active-indicator-color: rgba(255, 255, 255, .42);--mdc-filled-text-field-disabled-active-indicator-color: rgba(255, 255, 255, .06);--mdc-filled-text-field-hover-active-indicator-color: rgba(255, 255, 255, .87);--mdc-filled-text-field-error-active-indicator-color: #f44336;--mdc-filled-text-field-error-focus-active-indicator-color: #f44336;--mdc-filled-text-field-error-hover-active-indicator-color: #f44336}.dark-theme{--mdc-outlined-text-field-caret-color: #3f51b5;--mdc-outlined-text-field-focus-outline-color: #3f51b5;--mdc-outlined-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-outlined-text-field-label-text-color: rgba(255, 255, 255, .6);--mdc-outlined-text-field-hover-label-text-color: rgba(255, 255, 255, .6);--mdc-outlined-text-field-disabled-label-text-color: rgba(255, 255, 255, .38);--mdc-outlined-text-field-input-text-color: rgba(255, 255, 255, .87);--mdc-outlined-text-field-disabled-input-text-color: rgba(255, 255, 255, .38);--mdc-outlined-text-field-input-text-placeholder-color: rgba(255, 255, 255, .6);--mdc-outlined-text-field-error-caret-color: #f44336;--mdc-outlined-text-field-error-focus-label-text-color: #f44336;--mdc-outlined-text-field-error-label-text-color: #f44336;--mdc-outlined-text-field-error-hover-label-text-color: #f44336;--mdc-outlined-text-field-outline-color: rgba(255, 255, 255, .38);--mdc-outlined-text-field-disabled-outline-color: rgba(255, 255, 255, .06);--mdc-outlined-text-field-hover-outline-color: rgba(255, 255, 255, .87);--mdc-outlined-text-field-error-focus-outline-color: #f44336;--mdc-outlined-text-field-error-hover-outline-color: #f44336;--mdc-outlined-text-field-error-outline-color: #f44336}.dark-theme{--mat-form-field-focus-select-arrow-color: rgba(63, 81, 181, .87);--mat-form-field-disabled-input-text-placeholder-color: rgba(255, 255, 255, .38);--mat-form-field-state-layer-color: rgba(255, 255, 255, .87);--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: rgba(0, 0, 0, .87);--mat-form-field-select-disabled-option-text-color: rgba(0, 0, 0, .38);--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: rgba(255, 255, 255, .54);--mat-form-field-disabled-select-arrow-color: rgba(255, 255, 255, .38);--mat-form-field-hover-state-layer-opacity: .08;--mat-form-field-focus-state-layer-opacity: .24}.dark-theme .mat-mdc-form-field.mat-accent{--mdc-filled-text-field-caret-color: #ff4081;--mdc-filled-text-field-focus-active-indicator-color: #ff4081;--mdc-filled-text-field-focus-label-text-color: rgba(255, 64, 129, .87)}.dark-theme .mat-mdc-form-field.mat-accent{--mdc-outlined-text-field-caret-color: #ff4081;--mdc-outlined-text-field-focus-outline-color: #ff4081;--mdc-outlined-text-field-focus-label-text-color: rgba(255, 64, 129, .87)}.dark-theme .mat-mdc-form-field.mat-accent{--mat-form-field-focus-select-arrow-color: rgba(255, 64, 129, .87)}.dark-theme .mat-mdc-form-field.mat-warn{--mdc-filled-text-field-caret-color: #f44336;--mdc-filled-text-field-focus-active-indicator-color: #f44336;--mdc-filled-text-field-focus-label-text-color: rgba(244, 67, 54, .87)}.dark-theme .mat-mdc-form-field.mat-warn{--mdc-outlined-text-field-caret-color: #f44336;--mdc-outlined-text-field-focus-outline-color: #f44336;--mdc-outlined-text-field-focus-label-text-color: rgba(244, 67, 54, .87)}.dark-theme .mat-mdc-form-field.mat-warn{--mat-form-field-focus-select-arrow-color: rgba(244, 67, 54, .87)}.dark-theme{--mat-select-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}.dark-theme{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: rgba(255, 255, 255, .87);--mat-select-disabled-trigger-text-color: rgba(255, 255, 255, .38);--mat-select-placeholder-text-color: rgba(255, 255, 255, .6);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .54);--mat-select-disabled-arrow-color: rgba(255, 255, 255, .38);--mat-select-focused-arrow-color: rgba(63, 81, 181, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}.dark-theme .mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: rgba(255, 255, 255, .87);--mat-select-disabled-trigger-text-color: rgba(255, 255, 255, .38);--mat-select-placeholder-text-color: rgba(255, 255, 255, .6);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .54);--mat-select-disabled-arrow-color: rgba(255, 255, 255, .38);--mat-select-focused-arrow-color: rgba(255, 64, 129, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}.dark-theme .mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: rgba(255, 255, 255, .87);--mat-select-disabled-trigger-text-color: rgba(255, 255, 255, .38);--mat-select-placeholder-text-color: rgba(255, 255, 255, .6);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .54);--mat-select-disabled-arrow-color: rgba(255, 255, 255, .38);--mat-select-focused-arrow-color: rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}.dark-theme{--mat-autocomplete-container-shape: 4px;--mat-autocomplete-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}.dark-theme{--mat-autocomplete-background-color: #424242}.dark-theme{--mdc-dialog-container-shape: 4px}.dark-theme{--mat-dialog-container-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-dialog-container-max-width: 80vw;--mat-dialog-container-small-max-width: 80vw;--mat-dialog-container-min-width: 0;--mat-dialog-actions-alignment: start;--mat-dialog-actions-padding: 8px;--mat-dialog-content-padding: 20px 24px;--mat-dialog-with-actions-content-padding: 20px 24px;--mat-dialog-headline-padding: 0 24px 9px}.dark-theme{--mdc-dialog-container-color: #424242;--mdc-dialog-subhead-color: rgba(255, 255, 255, .87);--mdc-dialog-supporting-text-color: rgba(255, 255, 255, .6)}.dark-theme .mat-mdc-standard-chip{--mdc-chip-container-shape-radius: 16px;--mdc-chip-with-avatar-avatar-shape-radius: 14px;--mdc-chip-with-avatar-avatar-size: 28px;--mdc-chip-with-icon-icon-size: 18px;--mdc-chip-outline-width: 0;--mdc-chip-outline-color: transparent;--mdc-chip-disabled-outline-color: transparent;--mdc-chip-focus-outline-color: transparent;--mdc-chip-hover-state-layer-opacity: .04;--mdc-chip-with-avatar-disabled-avatar-opacity: 1;--mdc-chip-flat-selected-outline-width: 0;--mdc-chip-selected-hover-state-layer-opacity: .04;--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity: 1;--mdc-chip-with-icon-disabled-icon-opacity: 1}.dark-theme .mat-mdc-standard-chip{--mat-chip-disabled-container-opacity: .4;--mat-chip-trailing-action-opacity: .54;--mat-chip-trailing-action-focus-opacity: 1;--mat-chip-trailing-action-state-layer-color: transparent;--mat-chip-selected-trailing-action-state-layer-color: transparent;--mat-chip-trailing-action-hover-state-layer-opacity: 0;--mat-chip-trailing-action-focus-state-layer-opacity: 0}.dark-theme .mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color: #fafafa;--mdc-chip-elevated-container-color: rgb(88.68, 88.68, 88.68);--mdc-chip-elevated-selected-container-color: rgb(88.68, 88.68, 88.68);--mdc-chip-elevated-disabled-container-color: rgb(88.68, 88.68, 88.68);--mdc-chip-flat-disabled-selected-container-color: rgb(88.68, 88.68, 88.68);--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #fafafa;--mdc-chip-selected-label-text-color: #fafafa;--mdc-chip-with-icon-icon-color: #fafafa;--mdc-chip-with-icon-disabled-icon-color: #fafafa;--mdc-chip-with-icon-selected-icon-color: #fafafa;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #fafafa;--mdc-chip-with-trailing-icon-trailing-icon-color: #fafafa}.dark-theme .mat-mdc-standard-chip{--mat-chip-selected-disabled-trailing-icon-color: #fafafa;--mat-chip-selected-trailing-icon-color: #fafafa}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #3f51b5;--mdc-chip-elevated-selected-container-color: #3f51b5;--mdc-chip-elevated-disabled-container-color: #3f51b5;--mdc-chip-flat-disabled-selected-container-color: #3f51b5;--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #ff4081;--mdc-chip-elevated-selected-container-color: #ff4081;--mdc-chip-elevated-disabled-container-color: #ff4081;--mdc-chip-flat-disabled-selected-container-color: #ff4081;--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-selected-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-flat-disabled-selected-container-color: #f44336;--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.dark-theme{--mdc-switch-disabled-selected-icon-opacity: .38;--mdc-switch-disabled-track-opacity: .12;--mdc-switch-disabled-unselected-icon-opacity: .38;--mdc-switch-handle-height: 20px;--mdc-switch-handle-shape: 10px;--mdc-switch-handle-width: 20px;--mdc-switch-selected-icon-size: 18px;--mdc-switch-track-height: 14px;--mdc-switch-track-shape: 7px;--mdc-switch-track-width: 36px;--mdc-switch-unselected-icon-size: 18px;--mdc-switch-selected-focus-state-layer-opacity: .12;--mdc-switch-selected-hover-state-layer-opacity: .04;--mdc-switch-selected-pressed-state-layer-opacity: .1;--mdc-switch-unselected-focus-state-layer-opacity: .12;--mdc-switch-unselected-hover-state-layer-opacity: .04;--mdc-switch-unselected-pressed-state-layer-opacity: .1}.dark-theme .mat-mdc-slide-toggle{--mat-switch-disabled-selected-handle-opacity: .38;--mat-switch-disabled-unselected-handle-opacity: .38;--mat-switch-unselected-handle-size: 20px;--mat-switch-selected-handle-size: 20px;--mat-switch-pressed-handle-size: 20px;--mat-switch-with-icon-handle-size: 20px;--mat-switch-selected-handle-horizontal-margin: 0;--mat-switch-selected-with-icon-handle-horizontal-margin: 0;--mat-switch-selected-pressed-handle-horizontal-margin: 0;--mat-switch-unselected-handle-horizontal-margin: 0;--mat-switch-unselected-with-icon-handle-horizontal-margin: 0;--mat-switch-unselected-pressed-handle-horizontal-margin: 0;--mat-switch-visible-track-opacity: 1;--mat-switch-hidden-track-opacity: 1;--mat-switch-visible-track-transition: transform 75ms 0ms cubic-bezier(0, 0, .2, 1);--mat-switch-hidden-track-transition: transform 75ms 0ms cubic-bezier(.4, 0, .6, 1);--mat-switch-track-outline-width: 1px;--mat-switch-track-outline-color: transparent;--mat-switch-selected-track-outline-width: 1px;--mat-switch-selected-track-outline-color: transparent;--mat-switch-disabled-unselected-track-outline-width: 1px;--mat-switch-disabled-unselected-track-outline-color: transparent}.dark-theme{--mdc-switch-selected-focus-state-layer-color: #7986cb;--mdc-switch-selected-handle-color: #7986cb;--mdc-switch-selected-hover-state-layer-color: #7986cb;--mdc-switch-selected-pressed-state-layer-color: #7986cb;--mdc-switch-selected-focus-handle-color: #9fa8da;--mdc-switch-selected-hover-handle-color: #9fa8da;--mdc-switch-selected-pressed-handle-color: #9fa8da;--mdc-switch-selected-focus-track-color: #3949ab;--mdc-switch-selected-hover-track-color: #3949ab;--mdc-switch-selected-pressed-track-color: #3949ab;--mdc-switch-selected-track-color: #3949ab;--mdc-switch-disabled-selected-handle-color: #000;--mdc-switch-disabled-selected-icon-color: #212121;--mdc-switch-disabled-selected-track-color: #f5f5f5;--mdc-switch-disabled-unselected-handle-color: #000;--mdc-switch-disabled-unselected-icon-color: #212121;--mdc-switch-disabled-unselected-track-color: #f5f5f5;--mdc-switch-handle-surface-color: #fff;--mdc-switch-selected-icon-color: #212121;--mdc-switch-unselected-focus-handle-color: #fafafa;--mdc-switch-unselected-focus-state-layer-color: #f5f5f5;--mdc-switch-unselected-focus-track-color: #616161;--mdc-switch-unselected-handle-color: #9e9e9e;--mdc-switch-unselected-hover-handle-color: #fafafa;--mdc-switch-unselected-hover-state-layer-color: #f5f5f5;--mdc-switch-unselected-hover-track-color: #616161;--mdc-switch-unselected-icon-color: #212121;--mdc-switch-unselected-pressed-handle-color: #fafafa;--mdc-switch-unselected-pressed-state-layer-color: #f5f5f5;--mdc-switch-unselected-pressed-track-color: #616161;--mdc-switch-unselected-track-color: #616161;--mdc-switch-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12)}.dark-theme{--mdc-switch-disabled-label-text-color: rgba(255, 255, 255, .5)}.dark-theme .mat-mdc-slide-toggle{--mat-switch-label-text-color: white}.dark-theme .mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color: #f06292;--mdc-switch-selected-handle-color: #f06292;--mdc-switch-selected-hover-state-layer-color: #f06292;--mdc-switch-selected-pressed-state-layer-color: #f06292;--mdc-switch-selected-focus-handle-color: #f48fb1;--mdc-switch-selected-hover-handle-color: #f48fb1;--mdc-switch-selected-pressed-handle-color: #f48fb1;--mdc-switch-selected-focus-track-color: #d81b60;--mdc-switch-selected-hover-track-color: #d81b60;--mdc-switch-selected-pressed-track-color: #d81b60;--mdc-switch-selected-track-color: #d81b60}.dark-theme .mat-mdc-slide-toggle.mat-warn{--mdc-switch-selected-focus-state-layer-color: #e57373;--mdc-switch-selected-handle-color: #e57373;--mdc-switch-selected-hover-state-layer-color: #e57373;--mdc-switch-selected-pressed-state-layer-color: #e57373;--mdc-switch-selected-focus-handle-color: #ef9a9a;--mdc-switch-selected-hover-handle-color: #ef9a9a;--mdc-switch-selected-pressed-handle-color: #ef9a9a;--mdc-switch-selected-focus-track-color: #e53935;--mdc-switch-selected-hover-track-color: #e53935;--mdc-switch-selected-pressed-track-color: #e53935;--mdc-switch-selected-track-color: #e53935}.dark-theme{--mdc-radio-disabled-selected-icon-opacity: .38;--mdc-radio-disabled-unselected-icon-opacity: .38;--mdc-radio-state-layer-size: 40px}.dark-theme .mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5}.dark-theme .mat-mdc-radio-button.mat-primary{--mat-radio-ripple-color: white;--mat-radio-checked-ripple-color: #3f51b5;--mat-radio-disabled-label-color: rgba(255, 255, 255, .5);--mat-radio-label-text-color: white}.dark-theme .mat-mdc-radio-button.mat-accent{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081}.dark-theme .mat-mdc-radio-button.mat-accent{--mat-radio-ripple-color: white;--mat-radio-checked-ripple-color: #ff4081;--mat-radio-disabled-label-color: rgba(255, 255, 255, .5);--mat-radio-label-text-color: white}.dark-theme .mat-mdc-radio-button.mat-warn{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.dark-theme .mat-mdc-radio-button.mat-warn{--mat-radio-ripple-color: white;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(255, 255, 255, .5);--mat-radio-label-text-color: white}.dark-theme{--mdc-slider-active-track-height: 6px;--mdc-slider-active-track-shape: 9999px;--mdc-slider-handle-height: 20px;--mdc-slider-handle-shape: 50%;--mdc-slider-handle-width: 20px;--mdc-slider-inactive-track-height: 4px;--mdc-slider-inactive-track-shape: 9999px;--mdc-slider-with-overlap-handle-outline-width: 1px;--mdc-slider-with-tick-marks-active-container-opacity: .6;--mdc-slider-with-tick-marks-container-shape: 50%;--mdc-slider-with-tick-marks-container-size: 2px;--mdc-slider-with-tick-marks-inactive-container-opacity: .6;--mdc-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12)}.dark-theme{--mat-slider-value-indicator-width: auto;--mat-slider-value-indicator-height: 32px;--mat-slider-value-indicator-caret-display: block;--mat-slider-value-indicator-border-radius: 4px;--mat-slider-value-indicator-padding: 0 12px;--mat-slider-value-indicator-text-transform: none;--mat-slider-value-indicator-container-transform: translateX(-50%)}.dark-theme{--mdc-slider-handle-color: #3f51b5;--mdc-slider-focus-handle-color: #3f51b5;--mdc-slider-hover-handle-color: #3f51b5;--mdc-slider-active-track-color: #3f51b5;--mdc-slider-inactive-track-color: #3f51b5;--mdc-slider-with-tick-marks-inactive-container-color: #3f51b5;--mdc-slider-with-tick-marks-active-container-color: white;--mdc-slider-disabled-active-track-color: #fff;--mdc-slider-disabled-handle-color: #fff;--mdc-slider-disabled-inactive-track-color: #fff;--mdc-slider-label-container-color: #fff;--mdc-slider-label-label-text-color: #000;--mdc-slider-with-overlap-handle-outline-color: #fff;--mdc-slider-with-tick-marks-disabled-container-color: #fff}.dark-theme{--mat-slider-ripple-color: #3f51b5;--mat-slider-hover-state-layer-color: rgba(63, 81, 181, .05);--mat-slider-focus-state-layer-color: rgba(63, 81, 181, .2);--mat-slider-value-indicator-opacity: .9}.dark-theme .mat-accent{--mdc-slider-handle-color: #ff4081;--mdc-slider-focus-handle-color: #ff4081;--mdc-slider-hover-handle-color: #ff4081;--mdc-slider-active-track-color: #ff4081;--mdc-slider-inactive-track-color: #ff4081;--mdc-slider-with-tick-marks-inactive-container-color: #ff4081;--mdc-slider-with-tick-marks-active-container-color: white}.dark-theme .mat-accent{--mat-slider-ripple-color: #ff4081;--mat-slider-hover-state-layer-color: rgba(255, 64, 129, .05);--mat-slider-focus-state-layer-color: rgba(255, 64, 129, .2)}.dark-theme .mat-warn{--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: white}.dark-theme .mat-warn{--mat-slider-ripple-color: #f44336;--mat-slider-hover-state-layer-color: rgba(244, 67, 54, .05);--mat-slider-focus-state-layer-color: rgba(244, 67, 54, .2)}.dark-theme{--mat-menu-container-shape: 4px;--mat-menu-divider-bottom-spacing: 0;--mat-menu-divider-top-spacing: 0;--mat-menu-item-spacing: 16px;--mat-menu-item-icon-size: 24px;--mat-menu-item-leading-spacing: 16px;--mat-menu-item-trailing-spacing: 16px;--mat-menu-item-with-icon-leading-spacing: 16px;--mat-menu-item-with-icon-trailing-spacing: 16px;--mat-menu-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}.dark-theme{--mat-menu-item-label-text-color: white;--mat-menu-item-icon-color: white;--mat-menu-item-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-menu-item-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-menu-container-color: #424242;--mat-menu-divider-color: rgba(255, 255, 255, .12)}.dark-theme{--mdc-list-list-item-container-shape: 0;--mdc-list-list-item-leading-avatar-shape: 50%;--mdc-list-list-item-container-color: transparent;--mdc-list-list-item-selected-container-color: transparent;--mdc-list-list-item-leading-avatar-color: transparent;--mdc-list-list-item-leading-icon-size: 24px;--mdc-list-list-item-leading-avatar-size: 40px;--mdc-list-list-item-trailing-icon-size: 24px;--mdc-list-list-item-disabled-state-layer-color: transparent;--mdc-list-list-item-disabled-state-layer-opacity: 0;--mdc-list-list-item-disabled-label-text-opacity: .38;--mdc-list-list-item-disabled-leading-icon-opacity: .38;--mdc-list-list-item-disabled-trailing-icon-opacity: .38}.dark-theme{--mat-list-active-indicator-color: transparent;--mat-list-active-indicator-shape: 4px}.dark-theme{--mdc-list-list-item-label-text-color: white;--mdc-list-list-item-supporting-text-color: rgba(255, 255, 255, .7);--mdc-list-list-item-leading-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-trailing-supporting-text-color: rgba(255, 255, 255, .5);--mdc-list-list-item-trailing-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-selected-trailing-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-disabled-label-text-color: white;--mdc-list-list-item-disabled-leading-icon-color: white;--mdc-list-list-item-disabled-trailing-icon-color: white;--mdc-list-list-item-hover-label-text-color: white;--mdc-list-list-item-hover-leading-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-hover-trailing-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-focus-label-text-color: white;--mdc-list-list-item-hover-state-layer-color: white;--mdc-list-list-item-hover-state-layer-opacity: .08;--mdc-list-list-item-focus-state-layer-color: white;--mdc-list-list-item-focus-state-layer-opacity: .24}.dark-theme .mdc-list-item__start,.dark-theme .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5}.dark-theme .mat-accent .mdc-list-item__start,.dark-theme .mat-accent .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081}.dark-theme .mat-warn .mdc-list-item__start,.dark-theme .mat-warn .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.dark-theme .mat-mdc-list-option{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-option.mat-accent{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-option.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__start,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__start{color:#3f51b5}.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}.dark-theme{--mat-paginator-container-text-color: rgba(255, 255, 255, .87);--mat-paginator-container-background-color: #424242;--mat-paginator-enabled-icon-color: rgba(255, 255, 255, .54);--mat-paginator-disabled-icon-color: rgba(255, 255, 255, .12)}.dark-theme{--mdc-secondary-navigation-tab-container-height: 48px}.dark-theme{--mdc-tab-indicator-active-indicator-height: 2px;--mdc-tab-indicator-active-indicator-shape: 0}.dark-theme{--mat-tab-header-divider-color: transparent;--mat-tab-header-divider-height: 0}.dark-theme .mat-mdc-tab-group,.dark-theme .mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color: #3f51b5}.dark-theme .mat-mdc-tab-group,.dark-theme .mat-mdc-tab-nav-bar{--mat-tab-header-disabled-ripple-color: rgba(255, 255, 255, .5);--mat-tab-header-pagination-icon-color: white;--mat-tab-header-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-label-text-color: #3f51b5;--mat-tab-header-active-ripple-color: #3f51b5;--mat-tab-header-inactive-ripple-color: #3f51b5;--mat-tab-header-inactive-focus-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-focus-label-text-color: #3f51b5;--mat-tab-header-active-hover-label-text-color: #3f51b5;--mat-tab-header-active-focus-indicator-color: #3f51b5;--mat-tab-header-active-hover-indicator-color: #3f51b5}.dark-theme .mat-mdc-tab-group.mat-accent,.dark-theme .mat-mdc-tab-nav-bar.mat-accent{--mdc-tab-indicator-active-indicator-color: #ff4081}.dark-theme .mat-mdc-tab-group.mat-accent,.dark-theme .mat-mdc-tab-nav-bar.mat-accent{--mat-tab-header-disabled-ripple-color: rgba(255, 255, 255, .5);--mat-tab-header-pagination-icon-color: white;--mat-tab-header-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-label-text-color: #ff4081;--mat-tab-header-active-ripple-color: #ff4081;--mat-tab-header-inactive-ripple-color: #ff4081;--mat-tab-header-inactive-focus-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-focus-label-text-color: #ff4081;--mat-tab-header-active-hover-label-text-color: #ff4081;--mat-tab-header-active-focus-indicator-color: #ff4081;--mat-tab-header-active-hover-indicator-color: #ff4081}.dark-theme .mat-mdc-tab-group.mat-warn,.dark-theme .mat-mdc-tab-nav-bar.mat-warn{--mdc-tab-indicator-active-indicator-color: #f44336}.dark-theme .mat-mdc-tab-group.mat-warn,.dark-theme .mat-mdc-tab-nav-bar.mat-warn{--mat-tab-header-disabled-ripple-color: rgba(255, 255, 255, .5);--mat-tab-header-pagination-icon-color: white;--mat-tab-header-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.dark-theme .mat-mdc-tab-group.mat-background-primary,.dark-theme .mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-header-with-background-background-color: #3f51b5;--mat-tab-header-with-background-foreground-color: white}.dark-theme .mat-mdc-tab-group.mat-background-accent,.dark-theme .mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-header-with-background-background-color: #ff4081;--mat-tab-header-with-background-foreground-color: white}.dark-theme .mat-mdc-tab-group.mat-background-warn,.dark-theme .mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.dark-theme{--mdc-checkbox-disabled-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-state-layer-opacity: .16;--mdc-checkbox-selected-hover-state-layer-opacity: .04;--mdc-checkbox-selected-pressed-state-layer-opacity: .16;--mdc-checkbox-unselected-focus-state-layer-opacity: .16;--mdc-checkbox-unselected-hover-state-layer-opacity: .04;--mdc-checkbox-unselected-pressed-state-layer-opacity: .16}.dark-theme{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme{--mat-checkbox-disabled-label-color: rgba(255, 255, 255, .5);--mat-checkbox-label-text-color: white}.dark-theme .mat-mdc-checkbox.mat-primary{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-checkbox.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme{--mdc-text-button-container-shape: 4px;--mdc-text-button-keep-touch-target: false}.dark-theme{--mdc-filled-button-container-shape: 4px;--mdc-filled-button-keep-touch-target: false}.dark-theme{--mdc-protected-button-container-shape: 4px;--mdc-protected-button-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mdc-protected-button-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-protected-button-focus-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-hover-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-pressed-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}.dark-theme{--mdc-outlined-button-keep-touch-target: false;--mdc-outlined-button-outline-width: 1px;--mdc-outlined-button-container-shape: 4px}.dark-theme{--mat-text-button-horizontal-padding: 8px;--mat-text-button-with-icon-horizontal-padding: 8px;--mat-text-button-icon-spacing: 8px;--mat-text-button-icon-offset: 0}.dark-theme{--mat-filled-button-horizontal-padding: 16px;--mat-filled-button-icon-spacing: 8px;--mat-filled-button-icon-offset: -4px}.dark-theme{--mat-protected-button-horizontal-padding: 16px;--mat-protected-button-icon-spacing: 8px;--mat-protected-button-icon-offset: -4px}.dark-theme{--mat-outlined-button-horizontal-padding: 15px;--mat-outlined-button-icon-spacing: 8px;--mat-outlined-button-icon-offset: -4px}.dark-theme{--mdc-text-button-label-text-color: white;--mdc-text-button-disabled-label-text-color: rgba(255, 255, 255, .5)}.dark-theme{--mat-text-button-state-layer-color: white;--mat-text-button-disabled-state-layer-color: white;--mat-text-button-ripple-color: rgba(255, 255, 255, .1);--mat-text-button-hover-state-layer-opacity: .08;--mat-text-button-focus-state-layer-opacity: .24;--mat-text-button-pressed-state-layer-opacity: .24}.dark-theme{--mdc-filled-button-container-color: #424242;--mdc-filled-button-label-text-color: white;--mdc-filled-button-disabled-container-color: rgba(255, 255, 255, .12);--mdc-filled-button-disabled-label-text-color: rgba(255, 255, 255, .5)}.dark-theme{--mat-filled-button-state-layer-color: white;--mat-filled-button-disabled-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1);--mat-filled-button-hover-state-layer-opacity: .08;--mat-filled-button-focus-state-layer-opacity: .24;--mat-filled-button-pressed-state-layer-opacity: .24}.dark-theme{--mdc-protected-button-container-color: #424242;--mdc-protected-button-label-text-color: white;--mdc-protected-button-disabled-container-color: rgba(255, 255, 255, .12);--mdc-protected-button-disabled-label-text-color: rgba(255, 255, 255, .5)}.dark-theme{--mat-protected-button-state-layer-color: white;--mat-protected-button-disabled-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1);--mat-protected-button-hover-state-layer-opacity: .08;--mat-protected-button-focus-state-layer-opacity: .24;--mat-protected-button-pressed-state-layer-opacity: .24}.dark-theme{--mdc-outlined-button-disabled-outline-color: rgba(255, 255, 255, .12);--mdc-outlined-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mdc-outlined-button-label-text-color: white;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12)}.dark-theme{--mat-outlined-button-state-layer-color: white;--mat-outlined-button-disabled-state-layer-color: white;--mat-outlined-button-ripple-color: rgba(255, 255, 255, .1);--mat-outlined-button-hover-state-layer-opacity: .08;--mat-outlined-button-focus-state-layer-opacity: .24;--mat-outlined-button-pressed-state-layer-opacity: .24}.dark-theme .mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #3f51b5}.dark-theme .mat-mdc-button.mat-primary{--mat-text-button-state-layer-color: #3f51b5;--mat-text-button-ripple-color: rgba(63, 81, 181, .1)}.dark-theme .mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #ff4081}.dark-theme .mat-mdc-button.mat-accent{--mat-text-button-state-layer-color: #ff4081;--mat-text-button-ripple-color: rgba(255, 64, 129, .1)}.dark-theme .mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336}.dark-theme .mat-mdc-button.mat-warn{--mat-text-button-state-layer-color: #f44336;--mat-text-button-ripple-color: rgba(244, 67, 54, .1)}.dark-theme .mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #3f51b5;--mdc-filled-button-label-text-color: white}.dark-theme .mat-mdc-unelevated-button.mat-primary{--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #ff4081;--mdc-filled-button-label-text-color: white}.dark-theme .mat-mdc-unelevated-button.mat-accent{--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: white}.dark-theme .mat-mdc-unelevated-button.mat-warn{--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #3f51b5;--mdc-protected-button-label-text-color: white}.dark-theme .mat-mdc-raised-button.mat-primary{--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #ff4081;--mdc-protected-button-label-text-color: white}.dark-theme .mat-mdc-raised-button.mat-accent{--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: white}.dark-theme .mat-mdc-raised-button.mat-warn{--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #3f51b5;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12)}.dark-theme .mat-mdc-outlined-button.mat-primary{--mat-outlined-button-state-layer-color: #3f51b5;--mat-outlined-button-ripple-color: rgba(63, 81, 181, .1)}.dark-theme .mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #ff4081;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12)}.dark-theme .mat-mdc-outlined-button.mat-accent{--mat-outlined-button-state-layer-color: #ff4081;--mat-outlined-button-ripple-color: rgba(255, 64, 129, .1)}.dark-theme .mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12)}.dark-theme .mat-mdc-outlined-button.mat-warn{--mat-outlined-button-state-layer-color: #f44336;--mat-outlined-button-ripple-color: rgba(244, 67, 54, .1)}.dark-theme{--mdc-icon-button-icon-size: 24px}.dark-theme{--mdc-icon-button-icon-color: inherit;--mdc-icon-button-disabled-icon-color: rgba(255, 255, 255, .5)}.dark-theme{--mat-icon-button-state-layer-color: white;--mat-icon-button-disabled-state-layer-color: white;--mat-icon-button-ripple-color: rgba(255, 255, 255, .1);--mat-icon-button-hover-state-layer-opacity: .08;--mat-icon-button-focus-state-layer-opacity: .24;--mat-icon-button-pressed-state-layer-opacity: .24}.dark-theme .mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #3f51b5}.dark-theme .mat-mdc-icon-button.mat-primary{--mat-icon-button-state-layer-color: #3f51b5;--mat-icon-button-ripple-color: rgba(63, 81, 181, .1)}.dark-theme .mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #ff4081}.dark-theme .mat-mdc-icon-button.mat-accent{--mat-icon-button-state-layer-color: #ff4081;--mat-icon-button-ripple-color: rgba(255, 64, 129, .1)}.dark-theme .mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336}.dark-theme .mat-mdc-icon-button.mat-warn{--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: rgba(244, 67, 54, .1)}.dark-theme{--mdc-fab-container-shape: 50%;--mdc-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}.dark-theme{--mdc-fab-small-container-shape: 50%;--mdc-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}.dark-theme{--mdc-extended-fab-container-height: 48px;--mdc-extended-fab-container-shape: 24px;--mdc-extended-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}.dark-theme{--mdc-fab-container-color: #424242}.dark-theme{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-disabled-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1);--mat-fab-hover-state-layer-opacity: .08;--mat-fab-focus-state-layer-opacity: .24;--mat-fab-pressed-state-layer-opacity: .24;--mat-fab-disabled-state-container-color: rgba(255, 255, 255, .12);--mat-fab-disabled-state-foreground-color: rgba(255, 255, 255, .5)}.dark-theme{--mdc-fab-small-container-color: #424242}.dark-theme{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-disabled-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1);--mat-fab-small-hover-state-layer-opacity: .08;--mat-fab-small-focus-state-layer-opacity: .24;--mat-fab-small-pressed-state-layer-opacity: .24;--mat-fab-small-disabled-state-container-color: rgba(255, 255, 255, .12);--mat-fab-small-disabled-state-foreground-color: rgba(255, 255, 255, .5)}.dark-theme .mat-mdc-fab.mat-primary{--mdc-fab-container-color: #3f51b5}.dark-theme .mat-mdc-fab.mat-primary{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-fab.mat-accent{--mdc-fab-container-color: #ff4081}.dark-theme .mat-mdc-fab.mat-accent{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-fab.mat-warn{--mdc-fab-container-color: #f44336}.dark-theme .mat-mdc-fab.mat-warn{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-mini-fab.mat-primary{--mdc-fab-small-container-color: #3f51b5}.dark-theme .mat-mdc-mini-fab.mat-primary{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-mini-fab.mat-accent{--mdc-fab-small-container-color: #ff4081}.dark-theme .mat-mdc-mini-fab.mat-accent{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-mini-fab.mat-warn{--mdc-fab-small-container-color: #f44336}.dark-theme .mat-mdc-mini-fab.mat-warn{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}.dark-theme{--mdc-snackbar-container-shape: 4px}.dark-theme{--mdc-snackbar-container-color: rgb(217.2, 217.2, 217.2);--mdc-snackbar-supporting-text-color: rgba(66, 66, 66, .87)}.dark-theme{--mat-snack-bar-button-color: #3f51b5}.dark-theme{--mat-table-row-item-outline-width: 1px}.dark-theme{--mat-table-background-color: #424242;--mat-table-header-headline-color: white;--mat-table-row-item-label-text-color: white;--mat-table-row-item-outline-color: rgba(255, 255, 255, .12)}.dark-theme{--mdc-circular-progress-active-indicator-width: 4px;--mdc-circular-progress-size: 48px}.dark-theme{--mdc-circular-progress-active-indicator-color: #3f51b5}.dark-theme .mat-accent{--mdc-circular-progress-active-indicator-color: #ff4081}.dark-theme .mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}.dark-theme{--mat-badge-container-shape: 50%;--mat-badge-container-size: unset;--mat-badge-small-size-container-size: unset;--mat-badge-large-size-container-size: unset;--mat-badge-legacy-container-size: 22px;--mat-badge-legacy-small-size-container-size: 16px;--mat-badge-legacy-large-size-container-size: 28px;--mat-badge-container-offset: -11px 0;--mat-badge-small-size-container-offset: -8px 0;--mat-badge-large-size-container-offset: -14px 0;--mat-badge-container-overlap-offset: -11px;--mat-badge-small-size-container-overlap-offset: -8px;--mat-badge-large-size-container-overlap-offset: -14px;--mat-badge-container-padding: 0;--mat-badge-small-size-container-padding: 0;--mat-badge-large-size-container-padding: 0}.dark-theme{--mat-badge-background-color: #3f51b5;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: rgb(110.1, 110.1, 110.1);--mat-badge-disabled-state-text-color: rgba(255, 255, 255, .5)}.dark-theme .mat-badge-accent{--mat-badge-background-color: #ff4081;--mat-badge-text-color: white}.dark-theme .mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}.dark-theme{--mat-bottom-sheet-container-shape: 4px}.dark-theme{--mat-bottom-sheet-container-text-color: white;--mat-bottom-sheet-container-background-color: #424242}.dark-theme{--mat-legacy-button-toggle-height: 36px;--mat-legacy-button-toggle-shape: 2px;--mat-legacy-button-toggle-focus-state-layer-opacity: 1}.dark-theme{--mat-standard-button-toggle-shape: 4px;--mat-standard-button-toggle-hover-state-layer-opacity: .04;--mat-standard-button-toggle-focus-state-layer-opacity: .12}.dark-theme{--mat-legacy-button-toggle-text-color: rgba(255, 255, 255, .5);--mat-legacy-button-toggle-state-layer-color: rgba(255, 255, 255, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(255, 255, 255, .7);--mat-legacy-button-toggle-selected-state-background-color: #212121;--mat-legacy-button-toggle-disabled-state-text-color: rgba(255, 255, 255, .3);--mat-legacy-button-toggle-disabled-state-background-color: black;--mat-legacy-button-toggle-disabled-selected-state-background-color: #424242}.dark-theme{--mat-standard-button-toggle-text-color: white;--mat-standard-button-toggle-background-color: #424242;--mat-standard-button-toggle-state-layer-color: white;--mat-standard-button-toggle-selected-state-background-color: #212121;--mat-standard-button-toggle-selected-state-text-color: white;--mat-standard-button-toggle-disabled-state-text-color: rgba(255, 255, 255, .3);--mat-standard-button-toggle-disabled-state-background-color: #424242;--mat-standard-button-toggle-disabled-selected-state-text-color: white;--mat-standard-button-toggle-disabled-selected-state-background-color: #424242;--mat-standard-button-toggle-divider-color: rgb(88.68, 88.68, 88.68)}.dark-theme{--mat-datepicker-calendar-container-shape: 4px;--mat-datepicker-calendar-container-touch-shape: 4px;--mat-datepicker-calendar-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-container-touch-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}.dark-theme{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #3f51b5;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(63, 81, 181, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-toggle-active-state-icon-color: #3f51b5;--mat-datepicker-calendar-date-in-range-state-background-color: rgba(63, 81, 181, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032);--mat-datepicker-toggle-icon-color: white;--mat-datepicker-calendar-body-label-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-period-button-text-color: white;--mat-datepicker-calendar-period-button-icon-color: white;--mat-datepicker-calendar-navigation-button-icon-color: white;--mat-datepicker-calendar-header-divider-color: rgba(255, 255, 255, .12);--mat-datepicker-calendar-header-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-outline-color: rgba(255, 255, 255, .5);--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(255, 255, 255, .3);--mat-datepicker-calendar-date-text-color: white;--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(255, 255, 255, .5);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(255, 255, 255, .24);--mat-datepicker-range-input-separator-color: white;--mat-datepicker-range-input-disabled-state-separator-color: rgba(255, 255, 255, .5);--mat-datepicker-range-input-disabled-state-text-color: rgba(255, 255, 255, .5);--mat-datepicker-calendar-container-background-color: #424242;--mat-datepicker-calendar-container-text-color: white}.dark-theme .mat-datepicker-content.mat-accent{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #ff4081;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(255, 64, 129, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(255, 64, 129, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032)}.dark-theme .mat-datepicker-content.mat-warn{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032)}.dark-theme .mat-datepicker-toggle-active.mat-accent{--mat-datepicker-toggle-active-state-icon-color: #ff4081}.dark-theme .mat-datepicker-toggle-active.mat-warn{--mat-datepicker-toggle-active-state-icon-color: #f44336}.dark-theme{--mat-divider-width: 1px}.dark-theme{--mat-divider-color: rgba(255, 255, 255, .12)}.dark-theme{--mat-expansion-container-shape: 4px;--mat-expansion-legacy-header-indicator-display: inline-block;--mat-expansion-header-indicator-display: none}.dark-theme{--mat-expansion-container-background-color: #424242;--mat-expansion-container-text-color: white;--mat-expansion-actions-divider-color: rgba(255, 255, 255, .12);--mat-expansion-header-hover-state-layer-color: rgba(255, 255, 255, .04);--mat-expansion-header-focus-state-layer-color: rgba(255, 255, 255, .04);--mat-expansion-header-disabled-state-text-color: rgba(255, 255, 255, .3);--mat-expansion-header-text-color: white;--mat-expansion-header-description-color: rgba(255, 255, 255, .7);--mat-expansion-header-indicator-color: rgba(255, 255, 255, .7)}.dark-theme{--mat-icon-color: inherit}.dark-theme .mat-icon.mat-primary{--mat-icon-color: #3f51b5}.dark-theme .mat-icon.mat-accent{--mat-icon-color: #ff4081}.dark-theme .mat-icon.mat-warn{--mat-icon-color: #f44336}.dark-theme{--mat-sidenav-container-shape: 0;--mat-sidenav-container-elevation-shadow: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-sidenav-container-width: auto}.dark-theme{--mat-sidenav-container-divider-color: rgba(255, 255, 255, .12);--mat-sidenav-container-background-color: #424242;--mat-sidenav-container-text-color: white;--mat-sidenav-content-background-color: #303030;--mat-sidenav-content-text-color: white;--mat-sidenav-scrim-color: rgba(189, 189, 189, .6)}.dark-theme{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #3f51b5;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #3f51b5;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #3f51b5;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: #424242;--mat-stepper-line-color: rgba(255, 255, 255, .12);--mat-stepper-header-hover-state-layer-color: rgba(255, 255, 255, .04);--mat-stepper-header-focus-state-layer-color: rgba(255, 255, 255, .04);--mat-stepper-header-label-text-color: rgba(255, 255, 255, .7);--mat-stepper-header-optional-label-text-color: rgba(255, 255, 255, .7);--mat-stepper-header-selected-state-label-text-color: white;--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(255, 255, 255, .7);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}.dark-theme .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #ff4081;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #ff4081;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #ff4081;--mat-stepper-header-edit-state-icon-foreground-color: white}.dark-theme .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}.dark-theme{--mat-sort-arrow-color: rgb(198.3, 198.3, 198.3)}.dark-theme{--mat-toolbar-container-background-color: #212121;--mat-toolbar-container-text-color: white}.dark-theme .mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #3f51b5;--mat-toolbar-container-text-color: white}.dark-theme .mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #ff4081;--mat-toolbar-container-text-color: white}.dark-theme .mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}.dark-theme{--mat-tree-container-background-color: #424242;--mat-tree-node-text-color: white}.dark-theme{--mat-timepicker-container-shape: 4px;--mat-timepicker-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}.dark-theme{--mat-timepicker-container-background-color: #424242}.dark-theme html,.dark-theme body{background-color:#303030}.dark-theme .mat-toolbar.mat-primary{background:#303030;color:#fff}.dark-theme .card{background-color:#303030;border-color:#666;box-shadow:#ffffff24 0 1px 4px;color:#fff}.dark-theme .card-header{background-image:linear-gradient(60deg,#4b5266,#465d9c);border-bottom-color:#fff;box-shadow:#00000024 0 4px 20px,#465d9c66 0 7px 10px -5px;color:#fff}.dark-theme .card-title>a{color:#fff}.dark-theme .card-subtitle{font-size:.9rem;margin-left:1.4rem}.dark-theme .detail>.title{background-image:linear-gradient(60deg,#4766bc,#465d9c);border-bottom-color:#fff;box-shadow:#00000024 0 4px 20px,#465d9c66 0 7px 10px -5px;color:#fff}.dark-theme .detail>.title a{color:#ff0}.dark-theme .mat-mdc-menu-content .mat-mdc-menu-item:hover{background-color:#4f4f4f!important}.dark-theme .mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:#4f4f4f}.dark-theme .mat-primary .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:#fff}.dark-theme uds-sidebar .icon{filter:brightness(0) invert(1)} +.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:var(--mat-app-elevation-shadow-level-0, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow)}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:var(--mat-app-elevation-shadow-level-1, 0px 2px 1px -1px --mat-sys-shadow, 0px 1px 1px 0px --mat-sys-shadow, 0px 1px 3px 0px --mat-sys-shadow)}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:var(--mat-app-elevation-shadow-level-2, 0px 3px 1px -2px --mat-sys-shadow, 0px 2px 2px 0px --mat-sys-shadow, 0px 1px 5px 0px --mat-sys-shadow)}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:var(--mat-app-elevation-shadow-level-3, 0px 3px 3px -2px --mat-sys-shadow, 0px 3px 4px 0px --mat-sys-shadow, 0px 1px 8px 0px --mat-sys-shadow)}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:var(--mat-app-elevation-shadow-level-4, 0px 2px 4px -1px --mat-sys-shadow, 0px 4px 5px 0px --mat-sys-shadow, 0px 1px 10px 0px --mat-sys-shadow)}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:var(--mat-app-elevation-shadow-level-5, 0px 3px 5px -1px --mat-sys-shadow, 0px 5px 8px 0px --mat-sys-shadow, 0px 1px 14px 0px --mat-sys-shadow)}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:var(--mat-app-elevation-shadow-level-6, 0px 3px 5px -1px --mat-sys-shadow, 0px 6px 10px 0px --mat-sys-shadow, 0px 1px 18px 0px --mat-sys-shadow)}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:var(--mat-app-elevation-shadow-level-7, 0px 4px 5px -2px --mat-sys-shadow, 0px 7px 10px 1px --mat-sys-shadow, 0px 2px 16px 1px --mat-sys-shadow)}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:var(--mat-app-elevation-shadow-level-8, 0px 5px 5px -3px --mat-sys-shadow, 0px 8px 10px 1px --mat-sys-shadow, 0px 3px 14px 2px --mat-sys-shadow)}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:var(--mat-app-elevation-shadow-level-9, 0px 5px 6px -3px --mat-sys-shadow, 0px 9px 12px 1px --mat-sys-shadow, 0px 3px 16px 2px --mat-sys-shadow)}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:var(--mat-app-elevation-shadow-level-10, 0px 6px 6px -3px --mat-sys-shadow, 0px 10px 14px 1px --mat-sys-shadow, 0px 4px 18px 3px --mat-sys-shadow)}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:var(--mat-app-elevation-shadow-level-11, 0px 6px 7px -4px --mat-sys-shadow, 0px 11px 15px 1px --mat-sys-shadow, 0px 4px 20px 3px --mat-sys-shadow)}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:var(--mat-app-elevation-shadow-level-12, 0px 7px 8px -4px --mat-sys-shadow, 0px 12px 17px 2px --mat-sys-shadow, 0px 5px 22px 4px --mat-sys-shadow)}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:var(--mat-app-elevation-shadow-level-13, 0px 7px 8px -4px --mat-sys-shadow, 0px 13px 19px 2px --mat-sys-shadow, 0px 5px 24px 4px --mat-sys-shadow)}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:var(--mat-app-elevation-shadow-level-14, 0px 7px 9px -4px --mat-sys-shadow, 0px 14px 21px 2px --mat-sys-shadow, 0px 5px 26px 4px --mat-sys-shadow)}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:var(--mat-app-elevation-shadow-level-15, 0px 8px 9px -5px --mat-sys-shadow, 0px 15px 22px 2px --mat-sys-shadow, 0px 6px 28px 5px --mat-sys-shadow)}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:var(--mat-app-elevation-shadow-level-16, 0px 8px 10px -5px --mat-sys-shadow, 0px 16px 24px 2px --mat-sys-shadow, 0px 6px 30px 5px --mat-sys-shadow)}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:var(--mat-app-elevation-shadow-level-17, 0px 8px 11px -5px --mat-sys-shadow, 0px 17px 26px 2px --mat-sys-shadow, 0px 6px 32px 5px --mat-sys-shadow)}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:var(--mat-app-elevation-shadow-level-18, 0px 9px 11px -5px --mat-sys-shadow, 0px 18px 28px 2px --mat-sys-shadow, 0px 7px 34px 6px --mat-sys-shadow)}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:var(--mat-app-elevation-shadow-level-19, 0px 9px 12px -6px --mat-sys-shadow, 0px 19px 29px 2px --mat-sys-shadow, 0px 7px 36px 6px --mat-sys-shadow)}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:var(--mat-app-elevation-shadow-level-20, 0px 10px 13px -6px --mat-sys-shadow, 0px 20px 31px 3px --mat-sys-shadow, 0px 8px 38px 7px --mat-sys-shadow)}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:var(--mat-app-elevation-shadow-level-21, 0px 10px 13px -6px --mat-sys-shadow, 0px 21px 33px 3px --mat-sys-shadow, 0px 8px 40px 7px --mat-sys-shadow)}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:var(--mat-app-elevation-shadow-level-22, 0px 10px 14px -6px --mat-sys-shadow, 0px 22px 35px 3px --mat-sys-shadow, 0px 8px 42px 7px --mat-sys-shadow)}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:var(--mat-app-elevation-shadow-level-23, 0px 11px 14px -7px --mat-sys-shadow, 0px 23px 36px 3px --mat-sys-shadow, 0px 9px 44px 8px --mat-sys-shadow)}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:var(--mat-app-elevation-shadow-level-24, 0px 11px 15px -7px --mat-sys-shadow, 0px 24px 38px 3px --mat-sys-shadow, 0px 9px 46px 8px --mat-sys-shadow)}html{--mat-sys-on-surface: initial}.mat-app-background{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}html{--mat-app-background-color: #fafafa;--mat-app-text-color: rgba(0, 0, 0, .87);--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}html{--mat-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent)}html{--mat-option-selected-state-label-text-color: #3f51b5;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-option-focus-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-option-selected-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent)}.mat-accent{--mat-option-selected-state-label-text-color: #ff4081;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-option-focus-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-option-selected-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent)}.mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-option-focus-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-option-selected-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent)}html{--mat-optgroup-label-text-color: rgba(0, 0, 0, .87)}html{--mat-pseudo-checkbox-full-selected-icon-color: #ff4081;--mat-pseudo-checkbox-full-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(0, 0, 0, .54);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #ff4081;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent)}.mat-primary{--mat-pseudo-checkbox-full-selected-icon-color: #3f51b5;--mat-pseudo-checkbox-full-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(0, 0, 0, .54);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #3f51b5;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent)}.mat-accent{--mat-pseudo-checkbox-full-selected-icon-color: #ff4081;--mat-pseudo-checkbox-full-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(0, 0, 0, .54);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #ff4081;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent)}.mat-warn{--mat-pseudo-checkbox-full-selected-icon-color: #f44336;--mat-pseudo-checkbox-full-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(0, 0, 0, .54);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #f44336;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent)}html{--mat-option-label-text-font: Roboto, sans-serif;--mat-option-label-text-line-height: 24px;--mat-option-label-text-size: 16px;--mat-option-label-text-tracking: .03125em;--mat-option-label-text-weight: 400}html{--mat-optgroup-label-text-font: Roboto, sans-serif;--mat-optgroup-label-text-line-height: 24px;--mat-optgroup-label-text-size: 16px;--mat-optgroup-label-text-tracking: .03125em;--mat-optgroup-label-text-weight: 400}html{--mat-card-elevated-container-shape: 4px;--mat-card-outlined-container-shape: 4px;--mat-card-filled-container-shape: 4px;--mat-card-outlined-outline-width: 1px}html{--mat-card-elevated-container-color: white;--mat-card-elevated-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-card-outlined-container-color: white;--mat-card-outlined-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-outlined-outline-color: rgba(0, 0, 0, .12);--mat-card-subtitle-text-color: rgba(0, 0, 0, .54);--mat-card-filled-container-color: white;--mat-card-filled-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12)}html{--mat-card-title-text-font: Roboto, sans-serif;--mat-card-title-text-line-height: 32px;--mat-card-title-text-size: 20px;--mat-card-title-text-tracking: .0125em;--mat-card-title-text-weight: 500;--mat-card-subtitle-text-font: Roboto, sans-serif;--mat-card-subtitle-text-line-height: 22px;--mat-card-subtitle-text-size: 14px;--mat-card-subtitle-text-tracking: .0071428571em;--mat-card-subtitle-text-weight: 500}html{--mat-progress-bar-active-indicator-height: 4px;--mat-progress-bar-track-height: 4px;--mat-progress-bar-track-shape: 0}.mat-mdc-progress-bar{--mat-progress-bar-active-indicator-color: #3f51b5;--mat-progress-bar-track-color: rgba(63, 81, 181, .25)}.mat-mdc-progress-bar.mat-accent{--mat-progress-bar-active-indicator-color: #ff4081;--mat-progress-bar-track-color: rgba(255, 64, 129, .25)}.mat-mdc-progress-bar.mat-warn{--mat-progress-bar-active-indicator-color: #f44336;--mat-progress-bar-track-color: rgba(244, 67, 54, .25)}html{--mat-tooltip-container-shape: 4px;--mat-tooltip-supporting-text-line-height: 16px}html{--mat-tooltip-container-color: #424242;--mat-tooltip-supporting-text-color: white}html{--mat-tooltip-supporting-text-font: Roboto, sans-serif;--mat-tooltip-supporting-text-size: 12px;--mat-tooltip-supporting-text-weight: 400;--mat-tooltip-supporting-text-tracking: .0333333333em}html{--mat-form-field-filled-active-indicator-height: 1px;--mat-form-field-filled-focus-active-indicator-height: 2px;--mat-form-field-filled-container-shape: 4px;--mat-form-field-outlined-outline-width: 1px;--mat-form-field-outlined-focus-outline-width: 2px;--mat-form-field-outlined-container-shape: 4px}html{--mat-form-field-focus-select-arrow-color: color-mix(in srgb, #3f51b5 87%, transparent);--mat-form-field-filled-caret-color: #3f51b5;--mat-form-field-filled-focus-active-indicator-color: #3f51b5;--mat-form-field-filled-focus-label-text-color: color-mix(in srgb, #3f51b5 87%, transparent);--mat-form-field-outlined-caret-color: #3f51b5;--mat-form-field-outlined-focus-outline-color: #3f51b5;--mat-form-field-outlined-focus-label-text-color: color-mix(in srgb, #3f51b5 87%, transparent);--mat-form-field-disabled-input-text-placeholder-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-form-field-state-layer-color: rgba(0, 0, 0, .87);--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: inherit;--mat-form-field-select-disabled-option-text-color: GrayText;--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: rgba(0, 0, 0, .54);--mat-form-field-disabled-select-arrow-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-form-field-hover-state-layer-opacity: .04;--mat-form-field-focus-state-layer-opacity: .12;--mat-form-field-filled-container-color: #f6f6f6;--mat-form-field-filled-disabled-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-form-field-filled-label-text-color: rgba(0, 0, 0, .54);--mat-form-field-filled-hover-label-text-color: rgba(0, 0, 0, .54);--mat-form-field-filled-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-form-field-filled-input-text-color: rgba(0, 0, 0, .87);--mat-form-field-filled-disabled-input-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-form-field-filled-input-text-placeholder-color: rgba(0, 0, 0, .54);--mat-form-field-filled-error-hover-label-text-color: #f44336;--mat-form-field-filled-error-focus-label-text-color: #f44336;--mat-form-field-filled-error-label-text-color: #f44336;--mat-form-field-filled-error-caret-color: #f44336;--mat-form-field-filled-active-indicator-color: rgba(0, 0, 0, .54);--mat-form-field-filled-disabled-active-indicator-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-form-field-filled-hover-active-indicator-color: rgba(0, 0, 0, .87);--mat-form-field-filled-error-active-indicator-color: #f44336;--mat-form-field-filled-error-focus-active-indicator-color: #f44336;--mat-form-field-filled-error-hover-active-indicator-color: #f44336;--mat-form-field-outlined-label-text-color: rgba(0, 0, 0, .54);--mat-form-field-outlined-hover-label-text-color: rgba(0, 0, 0, .87);--mat-form-field-outlined-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-form-field-outlined-input-text-color: rgba(0, 0, 0, .87);--mat-form-field-outlined-disabled-input-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-form-field-outlined-input-text-placeholder-color: rgba(0, 0, 0, .54);--mat-form-field-outlined-error-caret-color: #f44336;--mat-form-field-outlined-error-focus-label-text-color: #f44336;--mat-form-field-outlined-error-label-text-color: #f44336;--mat-form-field-outlined-error-hover-label-text-color: #f44336;--mat-form-field-outlined-outline-color: rgba(0, 0, 0, .38);--mat-form-field-outlined-disabled-outline-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-form-field-outlined-hover-outline-color: rgba(0, 0, 0, .87);--mat-form-field-outlined-error-focus-outline-color: #f44336;--mat-form-field-outlined-error-hover-outline-color: #f44336;--mat-form-field-outlined-error-outline-color: #f44336}.mat-mdc-form-field.mat-accent{--mat-form-field-focus-select-arrow-color: color-mix(in srgb, #ff4081 87%, transparent);--mat-form-field-filled-caret-color: #ff4081;--mat-form-field-filled-focus-active-indicator-color: #ff4081;--mat-form-field-filled-focus-label-text-color: color-mix(in srgb, #ff4081 87%, transparent);--mat-form-field-outlined-caret-color: #ff4081;--mat-form-field-outlined-focus-outline-color: #ff4081;--mat-form-field-outlined-focus-label-text-color: color-mix(in srgb, #ff4081 87%, transparent)}.mat-mdc-form-field.mat-warn{--mat-form-field-focus-select-arrow-color: color-mix(in srgb, #f44336 87%, transparent);--mat-form-field-filled-caret-color: #f44336;--mat-form-field-filled-focus-active-indicator-color: #f44336;--mat-form-field-filled-focus-label-text-color: color-mix(in srgb, #f44336 87%, transparent);--mat-form-field-outlined-caret-color: #f44336;--mat-form-field-outlined-focus-outline-color: #f44336;--mat-form-field-outlined-focus-label-text-color: color-mix(in srgb, #f44336 87%, transparent)}html{--mat-form-field-container-height: 56px;--mat-form-field-filled-label-display: block;--mat-form-field-container-vertical-padding: 16px;--mat-form-field-filled-with-label-container-padding-top: 24px;--mat-form-field-filled-with-label-container-padding-bottom: 8px}html{--mat-form-field-container-text-font: Roboto, sans-serif;--mat-form-field-container-text-line-height: 24px;--mat-form-field-container-text-size: 16px;--mat-form-field-container-text-tracking: .03125em;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 16px;--mat-form-field-subscript-text-font: Roboto, sans-serif;--mat-form-field-subscript-text-line-height: 20px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: .0333333333em;--mat-form-field-subscript-text-weight: 400;--mat-form-field-filled-label-text-font: Roboto, sans-serif;--mat-form-field-filled-label-text-size: 16px;--mat-form-field-filled-label-text-tracking: .03125em;--mat-form-field-filled-label-text-weight: 400;--mat-form-field-outlined-label-text-font: Roboto, sans-serif;--mat-form-field-outlined-label-text-size: 16px;--mat-form-field-outlined-label-text-tracking: .03125em;--mat-form-field-outlined-label-text-weight: 400}html{--mat-select-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-select-placeholder-text-color: rgba(0, 0, 0, .54);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-select-focused-arrow-color: #3f51b5;--mat-select-invalid-arrow-color: #f44336}.mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-select-placeholder-text-color: rgba(0, 0, 0, .54);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-select-focused-arrow-color: #ff4081;--mat-select-invalid-arrow-color: #f44336}.mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-select-placeholder-text-color: rgba(0, 0, 0, .54);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-select-focused-arrow-color: #f44336;--mat-select-invalid-arrow-color: #f44336}html{--mat-select-arrow-transform: translateY(-8px)}html{--mat-select-trigger-text-font: Roboto, sans-serif;--mat-select-trigger-text-line-height: 24px;--mat-select-trigger-text-size: 16px;--mat-select-trigger-text-tracking: .03125em;--mat-select-trigger-text-weight: 400}html{--mat-autocomplete-container-shape: 4px;--mat-autocomplete-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-autocomplete-background-color: white}html{--mat-dialog-container-shape: 4px;--mat-dialog-container-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-dialog-container-max-width: 80vw;--mat-dialog-container-small-max-width: 80vw;--mat-dialog-container-min-width: 0;--mat-dialog-actions-alignment: start;--mat-dialog-actions-padding: 8px;--mat-dialog-content-padding: 20px 24px;--mat-dialog-with-actions-content-padding: 20px 24px;--mat-dialog-headline-padding: 0 24px 9px}html{--mat-dialog-container-color: white;--mat-dialog-subhead-color: rgba(0, 0, 0, .87);--mat-dialog-supporting-text-color: rgba(0, 0, 0, .54)}html{--mat-dialog-subhead-font: Roboto, sans-serif;--mat-dialog-subhead-line-height: 32px;--mat-dialog-subhead-size: 20px;--mat-dialog-subhead-weight: 500;--mat-dialog-subhead-tracking: .0125em;--mat-dialog-supporting-text-font: Roboto, sans-serif;--mat-dialog-supporting-text-line-height: 24px;--mat-dialog-supporting-text-size: 16px;--mat-dialog-supporting-text-weight: 400;--mat-dialog-supporting-text-tracking: .03125em}.mat-mdc-standard-chip{--mat-chip-container-shape-radius: 16px;--mat-chip-disabled-container-opacity: .4;--mat-chip-disabled-outline-color: transparent;--mat-chip-flat-selected-outline-width: 0;--mat-chip-focus-outline-color: transparent;--mat-chip-hover-state-layer-opacity: .04;--mat-chip-outline-color: transparent;--mat-chip-outline-width: 0;--mat-chip-selected-hover-state-layer-opacity: .04;--mat-chip-selected-trailing-action-state-layer-color: transparent;--mat-chip-trailing-action-focus-opacity: 1;--mat-chip-trailing-action-focus-state-layer-opacity: 0;--mat-chip-trailing-action-hover-state-layer-opacity: 0;--mat-chip-trailing-action-opacity: .54;--mat-chip-trailing-action-state-layer-color: transparent;--mat-chip-with-avatar-avatar-shape-radius: 14px;--mat-chip-with-avatar-avatar-size: 28px;--mat-chip-with-avatar-disabled-avatar-opacity: 1;--mat-chip-with-icon-disabled-icon-opacity: 1;--mat-chip-with-icon-icon-size: 18px;--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity: 1}.mat-mdc-standard-chip{--mat-chip-disabled-label-text-color: rgba(0, 0, 0, .87);--mat-chip-elevated-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-chip-elevated-disabled-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-chip-elevated-selected-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-chip-flat-disabled-selected-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-chip-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-label-text-color: rgba(0, 0, 0, .87);--mat-chip-selected-disabled-trailing-icon-color: rgba(0, 0, 0, .87);--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: rgba(0, 0, 0, .87);--mat-chip-selected-trailing-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-icon-disabled-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-icon-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-icon-selected-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-trailing-icon-disabled-trailing-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-trailing-icon-trailing-icon-color: rgba(0, 0, 0, .87)}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mat-chip-disabled-label-text-color: white;--mat-chip-elevated-container-color: #3f51b5;--mat-chip-elevated-disabled-container-color: #3f51b5;--mat-chip-elevated-selected-container-color: #3f51b5;--mat-chip-flat-disabled-selected-container-color: #3f51b5;--mat-chip-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-label-text-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: white;--mat-chip-selected-trailing-icon-color: white;--mat-chip-with-icon-disabled-icon-color: white;--mat-chip-with-icon-icon-color: white;--mat-chip-with-icon-selected-icon-color: white;--mat-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mat-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mat-chip-disabled-label-text-color: white;--mat-chip-elevated-container-color: #ff4081;--mat-chip-elevated-disabled-container-color: #ff4081;--mat-chip-elevated-selected-container-color: #ff4081;--mat-chip-flat-disabled-selected-container-color: #ff4081;--mat-chip-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-label-text-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: white;--mat-chip-selected-trailing-icon-color: white;--mat-chip-with-icon-disabled-icon-color: white;--mat-chip-with-icon-icon-color: white;--mat-chip-with-icon-selected-icon-color: white;--mat-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mat-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mat-chip-disabled-label-text-color: white;--mat-chip-elevated-container-color: #f44336;--mat-chip-elevated-disabled-container-color: #f44336;--mat-chip-elevated-selected-container-color: #f44336;--mat-chip-flat-disabled-selected-container-color: #f44336;--mat-chip-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-label-text-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: white;--mat-chip-selected-trailing-icon-color: white;--mat-chip-with-icon-disabled-icon-color: white;--mat-chip-with-icon-icon-color: white;--mat-chip-with-icon-selected-icon-color: white;--mat-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mat-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-chip.mat-mdc-standard-chip{--mat-chip-container-height: 32px}.mat-mdc-standard-chip{--mat-chip-label-text-font: Roboto, sans-serif;--mat-chip-label-text-line-height: 20px;--mat-chip-label-text-size: 14px;--mat-chip-label-text-tracking: .0178571429em;--mat-chip-label-text-weight: 400}html{--mat-slide-toggle-disabled-handle-opacity: .38;--mat-slide-toggle-disabled-selected-handle-opacity: .38;--mat-slide-toggle-disabled-selected-icon-opacity: .38;--mat-slide-toggle-disabled-track-opacity: .12;--mat-slide-toggle-disabled-unselected-handle-opacity: .38;--mat-slide-toggle-disabled-unselected-icon-opacity: .38;--mat-slide-toggle-disabled-unselected-track-outline-color: transparent;--mat-slide-toggle-disabled-unselected-track-outline-width: 1px;--mat-slide-toggle-handle-height: 20px;--mat-slide-toggle-handle-shape: 10px;--mat-slide-toggle-handle-width: 20px;--mat-slide-toggle-hidden-track-opacity: 1;--mat-slide-toggle-hidden-track-transition: transform 75ms 0ms cubic-bezier(.4, 0, .6, 1);--mat-slide-toggle-pressed-handle-size: 20px;--mat-slide-toggle-selected-focus-state-layer-opacity: .12;--mat-slide-toggle-selected-handle-horizontal-margin: 0;--mat-slide-toggle-selected-handle-size: 20px;--mat-slide-toggle-selected-hover-state-layer-opacity: .04;--mat-slide-toggle-selected-icon-size: 18px;--mat-slide-toggle-selected-pressed-handle-horizontal-margin: 0;--mat-slide-toggle-selected-pressed-state-layer-opacity: .12;--mat-slide-toggle-selected-track-outline-color: transparent;--mat-slide-toggle-selected-track-outline-width: 1px;--mat-slide-toggle-selected-with-icon-handle-horizontal-margin: 0;--mat-slide-toggle-track-height: 14px;--mat-slide-toggle-track-outline-color: transparent;--mat-slide-toggle-track-outline-width: 1px;--mat-slide-toggle-track-shape: 7px;--mat-slide-toggle-track-width: 36px;--mat-slide-toggle-unselected-focus-state-layer-opacity: .12;--mat-slide-toggle-unselected-handle-horizontal-margin: 0;--mat-slide-toggle-unselected-handle-size: 20px;--mat-slide-toggle-unselected-hover-state-layer-opacity: .12;--mat-slide-toggle-unselected-icon-size: 18px;--mat-slide-toggle-unselected-pressed-handle-horizontal-margin: 0;--mat-slide-toggle-unselected-pressed-state-layer-opacity: .1;--mat-slide-toggle-unselected-with-icon-handle-horizontal-margin: 0;--mat-slide-toggle-visible-track-opacity: 1;--mat-slide-toggle-visible-track-transition: transform 75ms 0ms cubic-bezier(0, 0, .2, 1);--mat-slide-toggle-with-icon-handle-size: 20px;--mat-slide-toggle-touch-target-size: 48px}html{--mat-slide-toggle-selected-icon-color: white;--mat-slide-toggle-disabled-selected-icon-color: white;--mat-slide-toggle-selected-focus-state-layer-color: #3f51b5;--mat-slide-toggle-selected-handle-color: #3f51b5;--mat-slide-toggle-selected-hover-state-layer-color: #3f51b5;--mat-slide-toggle-selected-pressed-state-layer-color: #3f51b5;--mat-slide-toggle-selected-focus-handle-color: #3f51b5;--mat-slide-toggle-selected-hover-handle-color: #3f51b5;--mat-slide-toggle-selected-pressed-handle-color: #3f51b5;--mat-slide-toggle-selected-focus-track-color: #7986cb;--mat-slide-toggle-selected-hover-track-color: #7986cb;--mat-slide-toggle-selected-pressed-track-color: #7986cb;--mat-slide-toggle-selected-track-color: #7986cb;--mat-slide-toggle-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-slide-toggle-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-slide-toggle-disabled-selected-handle-color: rgba(0, 0, 0, .87);--mat-slide-toggle-disabled-selected-track-color: rgba(0, 0, 0, .87);--mat-slide-toggle-disabled-unselected-handle-color: rgba(0, 0, 0, .87);--mat-slide-toggle-disabled-unselected-icon-color: #f6f6f6;--mat-slide-toggle-disabled-unselected-track-color: rgba(0, 0, 0, .87);--mat-slide-toggle-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-slide-toggle-handle-surface-color: white;--mat-slide-toggle-label-text-color: rgba(0, 0, 0, .87);--mat-slide-toggle-unselected-hover-handle-color: #424242;--mat-slide-toggle-unselected-focus-handle-color: #424242;--mat-slide-toggle-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-slide-toggle-unselected-focus-track-color: rgba(0, 0, 0, .12);--mat-slide-toggle-unselected-icon-color: #f6f6f6;--mat-slide-toggle-unselected-handle-color: rgba(0, 0, 0, .54);--mat-slide-toggle-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-slide-toggle-unselected-hover-track-color: rgba(0, 0, 0, .12);--mat-slide-toggle-unselected-pressed-handle-color: #424242;--mat-slide-toggle-unselected-pressed-track-color: rgba(0, 0, 0, .12);--mat-slide-toggle-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87);--mat-slide-toggle-unselected-track-color: rgba(0, 0, 0, .12)}.mat-mdc-slide-toggle.mat-accent{--mat-slide-toggle-selected-icon-color: white;--mat-slide-toggle-disabled-selected-icon-color: white;--mat-slide-toggle-selected-focus-state-layer-color: #ff4081;--mat-slide-toggle-selected-handle-color: #ff4081;--mat-slide-toggle-selected-hover-state-layer-color: #ff4081;--mat-slide-toggle-selected-pressed-state-layer-color: #ff4081;--mat-slide-toggle-selected-focus-handle-color: #ff4081;--mat-slide-toggle-selected-hover-handle-color: #ff4081;--mat-slide-toggle-selected-pressed-handle-color: #ff4081;--mat-slide-toggle-selected-focus-track-color: #f06292;--mat-slide-toggle-selected-hover-track-color: #f06292;--mat-slide-toggle-selected-pressed-track-color: #f06292;--mat-slide-toggle-selected-track-color: #f06292}.mat-mdc-slide-toggle.mat-warn{--mat-slide-toggle-selected-icon-color: white;--mat-slide-toggle-disabled-selected-icon-color: white;--mat-slide-toggle-selected-focus-state-layer-color: #f44336;--mat-slide-toggle-selected-handle-color: #f44336;--mat-slide-toggle-selected-hover-state-layer-color: #f44336;--mat-slide-toggle-selected-pressed-state-layer-color: #f44336;--mat-slide-toggle-selected-focus-handle-color: #f44336;--mat-slide-toggle-selected-hover-handle-color: #f44336;--mat-slide-toggle-selected-pressed-handle-color: #f44336;--mat-slide-toggle-selected-focus-track-color: #e57373;--mat-slide-toggle-selected-hover-track-color: #e57373;--mat-slide-toggle-selected-pressed-track-color: #e57373;--mat-slide-toggle-selected-track-color: #e57373}html{--mat-slide-toggle-state-layer-size: 40px;--mat-slide-toggle-touch-target-display: block}html,html .mat-mdc-slide-toggle{--mat-slide-toggle-label-text-font: Roboto, sans-serif;--mat-slide-toggle-label-text-line-height: 20px;--mat-slide-toggle-label-text-size: 14px;--mat-slide-toggle-label-text-tracking: .0178571429em;--mat-slide-toggle-label-text-weight: 400}html{--mat-radio-disabled-selected-icon-opacity: .38;--mat-radio-disabled-unselected-icon-opacity: .38;--mat-radio-state-layer-size: 40px;--mat-radio-touch-target-size: 48px}.mat-mdc-radio-button.mat-primary{--mat-radio-checked-ripple-color: #3f51b5;--mat-radio-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-radio-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-radio-disabled-unselected-icon-color: rgba(0, 0, 0, .87);--mat-radio-label-text-color: rgba(0, 0, 0, .87);--mat-radio-ripple-color: rgba(0, 0, 0, .87);--mat-radio-selected-focus-icon-color: #3f51b5;--mat-radio-selected-hover-icon-color: #3f51b5;--mat-radio-selected-icon-color: #3f51b5;--mat-radio-selected-pressed-icon-color: #3f51b5;--mat-radio-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mat-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .87)}.mat-mdc-radio-button.mat-accent{--mat-radio-checked-ripple-color: #ff4081;--mat-radio-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-radio-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-radio-disabled-unselected-icon-color: rgba(0, 0, 0, .87);--mat-radio-label-text-color: rgba(0, 0, 0, .87);--mat-radio-ripple-color: rgba(0, 0, 0, .87);--mat-radio-selected-focus-icon-color: #ff4081;--mat-radio-selected-hover-icon-color: #ff4081;--mat-radio-selected-icon-color: #ff4081;--mat-radio-selected-pressed-icon-color: #ff4081;--mat-radio-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mat-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .87)}.mat-mdc-radio-button.mat-warn{--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-radio-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-radio-disabled-unselected-icon-color: rgba(0, 0, 0, .87);--mat-radio-label-text-color: rgba(0, 0, 0, .87);--mat-radio-ripple-color: rgba(0, 0, 0, .87);--mat-radio-selected-focus-icon-color: #f44336;--mat-radio-selected-hover-icon-color: #f44336;--mat-radio-selected-icon-color: #f44336;--mat-radio-selected-pressed-icon-color: #f44336;--mat-radio-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mat-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .87)}html{--mat-radio-state-layer-size: 40px;--mat-radio-touch-target-display: block}html{--mat-radio-label-text-font: Roboto, sans-serif;--mat-radio-label-text-line-height: 20px;--mat-radio-label-text-size: 14px;--mat-radio-label-text-tracking: .0178571429em;--mat-radio-label-text-weight: 400}html{--mat-slider-active-track-height: 6px;--mat-slider-active-track-shape: 9999px;--mat-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-slider-handle-height: 20px;--mat-slider-handle-shape: 50%;--mat-slider-handle-width: 20px;--mat-slider-inactive-track-height: 4px;--mat-slider-inactive-track-shape: 9999px;--mat-slider-value-indicator-border-radius: 4px;--mat-slider-value-indicator-caret-display: block;--mat-slider-value-indicator-container-transform: translateX(-50%);--mat-slider-value-indicator-height: 32px;--mat-slider-value-indicator-padding: 0 12px;--mat-slider-value-indicator-text-transform: none;--mat-slider-value-indicator-width: auto;--mat-slider-with-overlap-handle-outline-width: 1px;--mat-slider-with-tick-marks-active-container-opacity: .6;--mat-slider-with-tick-marks-container-shape: 50%;--mat-slider-with-tick-marks-container-size: 2px;--mat-slider-with-tick-marks-inactive-container-opacity: .6;--mat-slider-value-indicator-transform-origin: bottom}html{--mat-slider-active-track-color: #3f51b5;--mat-slider-focus-handle-color: #3f51b5;--mat-slider-handle-color: #3f51b5;--mat-slider-hover-handle-color: #3f51b5;--mat-slider-focus-state-layer-color: color-mix(in srgb, #3f51b5 12%, transparent);--mat-slider-hover-state-layer-color: color-mix(in srgb, #3f51b5 4%, transparent);--mat-slider-inactive-track-color: #3f51b5;--mat-slider-ripple-color: #3f51b5;--mat-slider-with-tick-marks-active-container-color: white;--mat-slider-with-tick-marks-inactive-container-color: #3f51b5;--mat-slider-disabled-active-track-color: rgba(0, 0, 0, .87);--mat-slider-disabled-handle-color: rgba(0, 0, 0, .87);--mat-slider-disabled-inactive-track-color: rgba(0, 0, 0, .87);--mat-slider-label-container-color: #424242;--mat-slider-label-label-text-color: white;--mat-slider-value-indicator-opacity: 1;--mat-slider-with-overlap-handle-outline-color: rgba(0, 0, 0, .87);--mat-slider-with-tick-marks-disabled-container-color: rgba(0, 0, 0, .87)}.mat-accent{--mat-slider-active-track-color: #ff4081;--mat-slider-focus-handle-color: #ff4081;--mat-slider-handle-color: #ff4081;--mat-slider-hover-handle-color: #ff4081;--mat-slider-focus-state-layer-color: color-mix(in srgb, #ff4081 12%, transparent);--mat-slider-hover-state-layer-color: color-mix(in srgb, #ff4081 4%, transparent);--mat-slider-inactive-track-color: #ff4081;--mat-slider-ripple-color: #ff4081;--mat-slider-with-tick-marks-active-container-color: white;--mat-slider-with-tick-marks-inactive-container-color: #ff4081}.mat-warn{--mat-slider-active-track-color: #f44336;--mat-slider-focus-handle-color: #f44336;--mat-slider-handle-color: #f44336;--mat-slider-hover-handle-color: #f44336;--mat-slider-focus-state-layer-color: color-mix(in srgb, #f44336 12%, transparent);--mat-slider-hover-state-layer-color: color-mix(in srgb, #f44336 4%, transparent);--mat-slider-inactive-track-color: #f44336;--mat-slider-ripple-color: #f44336;--mat-slider-with-tick-marks-active-container-color: white;--mat-slider-with-tick-marks-inactive-container-color: #f44336}html{--mat-slider-label-label-text-font: Roboto, sans-serif;--mat-slider-label-label-text-size: 14px;--mat-slider-label-label-text-line-height: 22px;--mat-slider-label-label-text-tracking: .0071428571em;--mat-slider-label-label-text-weight: 500}html{--mat-menu-container-shape: 4px;--mat-menu-divider-bottom-spacing: 0;--mat-menu-divider-top-spacing: 0;--mat-menu-item-spacing: 16px;--mat-menu-item-icon-size: 24px;--mat-menu-item-leading-spacing: 16px;--mat-menu-item-trailing-spacing: 16px;--mat-menu-item-with-icon-leading-spacing: 16px;--mat-menu-item-with-icon-trailing-spacing: 16px;--mat-menu-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-menu-item-label-text-color: rgba(0, 0, 0, .87);--mat-menu-item-icon-color: rgba(0, 0, 0, .87);--mat-menu-item-hover-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-menu-item-focus-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-menu-container-color: white;--mat-menu-divider-color: rgba(0, 0, 0, .12)}html{--mat-menu-item-label-text-font: Roboto, sans-serif;--mat-menu-item-label-text-size: 16px;--mat-menu-item-label-text-tracking: .03125em;--mat-menu-item-label-text-line-height: 24px;--mat-menu-item-label-text-weight: 400}html{--mat-list-active-indicator-color: transparent;--mat-list-active-indicator-shape: 4px;--mat-list-list-item-container-shape: 0;--mat-list-list-item-leading-avatar-shape: 50%;--mat-list-list-item-container-color: transparent;--mat-list-list-item-selected-container-color: transparent;--mat-list-list-item-leading-avatar-color: transparent;--mat-list-list-item-leading-icon-size: 24px;--mat-list-list-item-leading-avatar-size: 40px;--mat-list-list-item-trailing-icon-size: 24px;--mat-list-list-item-disabled-state-layer-color: transparent;--mat-list-list-item-disabled-state-layer-opacity: 0;--mat-list-list-item-disabled-label-text-opacity: .38;--mat-list-list-item-disabled-leading-icon-opacity: .38;--mat-list-list-item-disabled-trailing-icon-opacity: .38}html{--mat-list-list-item-label-text-color: rgba(0, 0, 0, .87);--mat-list-list-item-supporting-text-color: rgba(0, 0, 0, .54);--mat-list-list-item-leading-icon-color: rgba(0, 0, 0, .54);--mat-list-list-item-trailing-supporting-text-color: rgba(0, 0, 0, .54);--mat-list-list-item-trailing-icon-color: rgba(0, 0, 0, .54);--mat-list-list-item-selected-trailing-icon-color: rgba(0, 0, 0, .54);--mat-list-list-item-disabled-label-text-color: rgba(0, 0, 0, .87);--mat-list-list-item-disabled-leading-icon-color: rgba(0, 0, 0, .87);--mat-list-list-item-disabled-trailing-icon-color: rgba(0, 0, 0, .87);--mat-list-list-item-hover-label-text-color: rgba(0, 0, 0, .87);--mat-list-list-item-hover-leading-icon-color: rgba(0, 0, 0, .54);--mat-list-list-item-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-list-list-item-hover-state-layer-opacity: .04;--mat-list-list-item-hover-trailing-icon-color: rgba(0, 0, 0, .54);--mat-list-list-item-focus-label-text-color: rgba(0, 0, 0, .87);--mat-list-list-item-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-list-list-item-focus-state-layer-opacity: .12}.mdc-list-item__start,.mdc-list-item__end{--mat-radio-checked-ripple-color: #3f51b5;--mat-radio-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-radio-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-radio-disabled-unselected-icon-color: rgba(0, 0, 0, .87);--mat-radio-label-text-color: rgba(0, 0, 0, .87);--mat-radio-ripple-color: rgba(0, 0, 0, .87);--mat-radio-selected-focus-icon-color: #3f51b5;--mat-radio-selected-hover-icon-color: #3f51b5;--mat-radio-selected-icon-color: #3f51b5;--mat-radio-selected-pressed-icon-color: #3f51b5;--mat-radio-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mat-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .87)}.mat-accent .mdc-list-item__start,.mat-accent .mdc-list-item__end{--mat-radio-checked-ripple-color: #ff4081;--mat-radio-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-radio-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-radio-disabled-unselected-icon-color: rgba(0, 0, 0, .87);--mat-radio-label-text-color: rgba(0, 0, 0, .87);--mat-radio-ripple-color: rgba(0, 0, 0, .87);--mat-radio-selected-focus-icon-color: #ff4081;--mat-radio-selected-hover-icon-color: #ff4081;--mat-radio-selected-icon-color: #ff4081;--mat-radio-selected-pressed-icon-color: #ff4081;--mat-radio-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mat-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .87)}.mat-warn .mdc-list-item__start,.mat-warn .mdc-list-item__end{--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-radio-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-radio-disabled-unselected-icon-color: rgba(0, 0, 0, .87);--mat-radio-label-text-color: rgba(0, 0, 0, .87);--mat-radio-ripple-color: rgba(0, 0, 0, .87);--mat-radio-selected-focus-icon-color: #f44336;--mat-radio-selected-hover-icon-color: #f44336;--mat-radio-selected-icon-color: #f44336;--mat-radio-selected-pressed-icon-color: #f44336;--mat-radio-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mat-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .87)}.mat-mdc-list-option{--mat-checkbox-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-label-text-color: rgba(0, 0, 0, .87);--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #3f51b5;--mat-checkbox-selected-hover-icon-color: #3f51b5;--mat-checkbox-selected-icon-color: #3f51b5;--mat-checkbox-selected-pressed-icon-color: #3f51b5;--mat-checkbox-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-checkbox-selected-focus-state-layer-color: #3f51b5;--mat-checkbox-selected-hover-state-layer-color: #3f51b5;--mat-checkbox-selected-pressed-state-layer-color: #3f51b5;--mat-checkbox-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-list-option.mat-accent{--mat-checkbox-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-label-text-color: rgba(0, 0, 0, .87);--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #ff4081;--mat-checkbox-selected-hover-icon-color: #ff4081;--mat-checkbox-selected-icon-color: #ff4081;--mat-checkbox-selected-pressed-icon-color: #ff4081;--mat-checkbox-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-checkbox-selected-focus-state-layer-color: #ff4081;--mat-checkbox-selected-hover-state-layer-color: #ff4081;--mat-checkbox-selected-pressed-state-layer-color: #ff4081;--mat-checkbox-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-list-option.mat-warn{--mat-checkbox-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-label-text-color: rgba(0, 0, 0, .87);--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #f44336;--mat-checkbox-selected-hover-icon-color: #f44336;--mat-checkbox-selected-icon-color: #f44336;--mat-checkbox-selected-pressed-icon-color: #f44336;--mat-checkbox-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-checkbox-selected-focus-state-layer-color: #f44336;--mat-checkbox-selected-hover-state-layer-color: #f44336;--mat-checkbox-selected-pressed-state-layer-color: #f44336;--mat-checkbox-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__start,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__start{color:#3f51b5}.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}html{--mat-list-list-item-leading-icon-start-space: 16px;--mat-list-list-item-leading-icon-end-space: 32px;--mat-list-list-item-one-line-container-height: 48px;--mat-list-list-item-two-line-container-height: 64px;--mat-list-list-item-three-line-container-height: 88px}.mdc-list-item__start,.mdc-list-item__end{--mat-radio-state-layer-size: 40px;--mat-radio-touch-target-display: block}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}html{--mat-list-list-item-label-text-font: Roboto, sans-serif;--mat-list-list-item-label-text-line-height: 24px;--mat-list-list-item-label-text-size: 16px;--mat-list-list-item-label-text-tracking: .03125em;--mat-list-list-item-label-text-weight: 400;--mat-list-list-item-supporting-text-font: Roboto, sans-serif;--mat-list-list-item-supporting-text-line-height: 20px;--mat-list-list-item-supporting-text-size: 14px;--mat-list-list-item-supporting-text-tracking: .0178571429em;--mat-list-list-item-supporting-text-weight: 400;--mat-list-list-item-trailing-supporting-text-font: Roboto, sans-serif;--mat-list-list-item-trailing-supporting-text-line-height: 20px;--mat-list-list-item-trailing-supporting-text-size: 12px;--mat-list-list-item-trailing-supporting-text-tracking: .0333333333em;--mat-list-list-item-trailing-supporting-text-weight: 400}.mdc-list-group__subheader{font:400 16px/28px Roboto,sans-serif;letter-spacing:.009375em}html{--mat-paginator-page-size-select-width: 84px;--mat-paginator-page-size-select-touch-target-height: 48px}html{--mat-paginator-container-text-color: rgba(0, 0, 0, .87);--mat-paginator-container-background-color: white;--mat-paginator-enabled-icon-color: rgba(0, 0, 0, .54);--mat-paginator-disabled-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent)}html{--mat-paginator-container-size: 56px;--mat-paginator-form-field-container-height: 40px;--mat-paginator-form-field-container-vertical-padding: 8px;--mat-paginator-touch-target-display: block}html{--mat-paginator-container-text-font: Roboto, sans-serif;--mat-paginator-container-text-line-height: 20px;--mat-paginator-container-text-size: 12px;--mat-paginator-container-text-tracking: .0333333333em;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: 12px}html{--mat-tab-container-height: 48px;--mat-tab-divider-color: transparent;--mat-tab-divider-height: 0;--mat-tab-active-indicator-height: 2px;--mat-tab-active-indicator-shape: 0}.mat-mdc-tab-group,.mat-mdc-tab-nav-bar{--mat-tab-disabled-ripple-color: rgba(0, 0, 0, .54);--mat-tab-pagination-icon-color: rgba(0, 0, 0, .87);--mat-tab-inactive-label-text-color: rgba(0, 0, 0, .54);--mat-tab-active-label-text-color: #3f51b5;--mat-tab-active-ripple-color: #3f51b5;--mat-tab-inactive-ripple-color: #3f51b5;--mat-tab-inactive-focus-label-text-color: rgba(0, 0, 0, .54);--mat-tab-inactive-hover-label-text-color: rgba(0, 0, 0, .54);--mat-tab-active-focus-label-text-color: #3f51b5;--mat-tab-active-hover-label-text-color: #3f51b5;--mat-tab-active-focus-indicator-color: #3f51b5;--mat-tab-active-hover-indicator-color: #3f51b5;--mat-tab-active-indicator-color: #3f51b5}.mat-mdc-tab-group.mat-accent,.mat-mdc-tab-nav-bar.mat-accent{--mat-tab-disabled-ripple-color: rgba(0, 0, 0, .54);--mat-tab-pagination-icon-color: rgba(0, 0, 0, .87);--mat-tab-inactive-label-text-color: rgba(0, 0, 0, .54);--mat-tab-active-label-text-color: #ff4081;--mat-tab-active-ripple-color: #ff4081;--mat-tab-inactive-ripple-color: #ff4081;--mat-tab-inactive-focus-label-text-color: rgba(0, 0, 0, .54);--mat-tab-inactive-hover-label-text-color: rgba(0, 0, 0, .54);--mat-tab-active-focus-label-text-color: #ff4081;--mat-tab-active-hover-label-text-color: #ff4081;--mat-tab-active-focus-indicator-color: #ff4081;--mat-tab-active-hover-indicator-color: #ff4081;--mat-tab-active-indicator-color: #ff4081}.mat-mdc-tab-group.mat-warn,.mat-mdc-tab-nav-bar.mat-warn{--mat-tab-disabled-ripple-color: rgba(0, 0, 0, .54);--mat-tab-pagination-icon-color: rgba(0, 0, 0, .87);--mat-tab-inactive-label-text-color: rgba(0, 0, 0, .54);--mat-tab-active-label-text-color: #f44336;--mat-tab-active-ripple-color: #f44336;--mat-tab-inactive-ripple-color: #f44336;--mat-tab-inactive-focus-label-text-color: rgba(0, 0, 0, .54);--mat-tab-inactive-hover-label-text-color: rgba(0, 0, 0, .54);--mat-tab-active-focus-label-text-color: #f44336;--mat-tab-active-hover-label-text-color: #f44336;--mat-tab-active-focus-indicator-color: #f44336;--mat-tab-active-hover-indicator-color: #f44336;--mat-tab-active-indicator-color: #f44336}.mat-mdc-tab-group.mat-background-primary,.mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-background-color: #3f51b5;--mat-tab-foreground-color: white}.mat-mdc-tab-group.mat-background-accent,.mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-background-color: #ff4081;--mat-tab-foreground-color: white}.mat-mdc-tab-group.mat-background-warn,.mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-background-color: #f44336;--mat-tab-foreground-color: white}.mat-mdc-tab-header{--mat-tab-container-height: 48px}.mat-mdc-tab-header{--mat-tab-label-text-font: Roboto, sans-serif;--mat-tab-label-text-size: 14px;--mat-tab-label-text-tracking: .0892857143em;--mat-tab-label-text-line-height: 36px;--mat-tab-label-text-weight: 500}html{--mat-checkbox-disabled-selected-checkmark-color: white;--mat-checkbox-selected-focus-state-layer-opacity: .12;--mat-checkbox-selected-hover-state-layer-opacity: .04;--mat-checkbox-selected-pressed-state-layer-opacity: .12;--mat-checkbox-unselected-focus-state-layer-opacity: .12;--mat-checkbox-unselected-hover-state-layer-opacity: .04;--mat-checkbox-unselected-pressed-state-layer-opacity: .12;--mat-checkbox-touch-target-size: 48px}html{--mat-checkbox-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-label-text-color: rgba(0, 0, 0, .87);--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #ff4081;--mat-checkbox-selected-hover-icon-color: #ff4081;--mat-checkbox-selected-icon-color: #ff4081;--mat-checkbox-selected-pressed-icon-color: #ff4081;--mat-checkbox-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-checkbox-selected-focus-state-layer-color: #ff4081;--mat-checkbox-selected-hover-state-layer-color: #ff4081;--mat-checkbox-selected-pressed-state-layer-color: #ff4081;--mat-checkbox-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-checkbox.mat-primary{--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #3f51b5;--mat-checkbox-selected-hover-icon-color: #3f51b5;--mat-checkbox-selected-icon-color: #3f51b5;--mat-checkbox-selected-pressed-icon-color: #3f51b5;--mat-checkbox-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-checkbox-selected-focus-state-layer-color: #3f51b5;--mat-checkbox-selected-hover-state-layer-color: #3f51b5;--mat-checkbox-selected-pressed-state-layer-color: #3f51b5;--mat-checkbox-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-checkbox.mat-warn{--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #f44336;--mat-checkbox-selected-hover-icon-color: #f44336;--mat-checkbox-selected-icon-color: #f44336;--mat-checkbox-selected-pressed-icon-color: #f44336;--mat-checkbox-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-checkbox-selected-focus-state-layer-color: #f44336;--mat-checkbox-selected-hover-state-layer-color: #f44336;--mat-checkbox-selected-pressed-state-layer-color: #f44336;--mat-checkbox-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87)}html{--mat-checkbox-touch-target-display: block;--mat-checkbox-state-layer-size: 40px}html{--mat-checkbox-label-text-font: Roboto, sans-serif;--mat-checkbox-label-text-line-height: 20px;--mat-checkbox-label-text-size: 14px;--mat-checkbox-label-text-tracking: .0178571429em;--mat-checkbox-label-text-weight: 400}html{--mat-button-filled-container-shape: 4px;--mat-button-filled-horizontal-padding: 16px;--mat-button-filled-icon-offset: -4px;--mat-button-filled-icon-spacing: 8px;--mat-button-filled-touch-target-size: 48px;--mat-button-outlined-container-shape: 4px;--mat-button-outlined-horizontal-padding: 15px;--mat-button-outlined-icon-offset: -4px;--mat-button-outlined-icon-spacing: 8px;--mat-button-outlined-keep-touch-target: false;--mat-button-outlined-outline-width: 1px;--mat-button-outlined-touch-target-size: 48px;--mat-button-protected-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-button-protected-container-shape: 4px;--mat-button-protected-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-button-protected-focus-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-button-protected-horizontal-padding: 16px;--mat-button-protected-hover-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-button-protected-icon-offset: -4px;--mat-button-protected-icon-spacing: 8px;--mat-button-protected-pressed-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-button-protected-touch-target-size: 48px;--mat-button-text-container-shape: 4px;--mat-button-text-horizontal-padding: 8px;--mat-button-text-icon-offset: 0;--mat-button-text-icon-spacing: 8px;--mat-button-text-with-icon-horizontal-padding: 8px;--mat-button-text-touch-target-size: 48px;--mat-button-tonal-container-shape: 4px;--mat-button-tonal-horizontal-padding: 16px;--mat-button-tonal-icon-offset: -4px;--mat-button-tonal-icon-spacing: 8px;--mat-button-tonal-touch-target-size: 48px}html{--mat-button-filled-container-color: white;--mat-button-filled-disabled-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-filled-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-filled-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-button-filled-focus-state-layer-opacity: .12;--mat-button-filled-hover-state-layer-opacity: .04;--mat-button-filled-label-text-color: rgba(0, 0, 0, .87);--mat-button-filled-pressed-state-layer-opacity: .12;--mat-button-filled-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-filled-state-layer-color: rgba(0, 0, 0, .87);--mat-button-outlined-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-outlined-disabled-outline-color: rgba(0, 0, 0, .12);--mat-button-outlined-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-button-outlined-focus-state-layer-opacity: .12;--mat-button-outlined-hover-state-layer-opacity: .04;--mat-button-outlined-label-text-color: rgba(0, 0, 0, .87);--mat-button-outlined-outline-color: rgba(0, 0, 0, .12);--mat-button-outlined-pressed-state-layer-opacity: .12;--mat-button-outlined-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-outlined-state-layer-color: rgba(0, 0, 0, .87);--mat-button-protected-container-color: white;--mat-button-protected-disabled-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-protected-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-protected-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-button-protected-focus-state-layer-opacity: .12;--mat-button-protected-hover-state-layer-opacity: .04;--mat-button-protected-label-text-color: rgba(0, 0, 0, .87);--mat-button-protected-pressed-state-layer-opacity: .12;--mat-button-protected-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-protected-state-layer-color: rgba(0, 0, 0, .87);--mat-button-text-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-text-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-button-text-focus-state-layer-opacity: .12;--mat-button-text-hover-state-layer-opacity: .04;--mat-button-text-label-text-color: rgba(0, 0, 0, .87);--mat-button-text-pressed-state-layer-opacity: .12;--mat-button-text-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-text-state-layer-color: rgba(0, 0, 0, .87);--mat-button-tonal-container-color: white;--mat-button-tonal-disabled-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-tonal-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-tonal-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-button-tonal-focus-state-layer-opacity: .12;--mat-button-tonal-hover-state-layer-opacity: .04;--mat-button-tonal-label-text-color: rgba(0, 0, 0, .87);--mat-button-tonal-pressed-state-layer-opacity: .12;--mat-button-tonal-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-tonal-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-button.mat-primary,.mat-mdc-unelevated-button.mat-primary,.mat-mdc-raised-button.mat-primary,.mat-mdc-outlined-button.mat-primary,.mat-tonal-button.mat-primary{--mat-button-filled-container-color: #3f51b5;--mat-button-filled-label-text-color: white;--mat-button-filled-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-state-layer-color: white;--mat-button-outlined-label-text-color: #3f51b5;--mat-button-outlined-outline-color: rgba(0, 0, 0, .12);--mat-button-outlined-ripple-color: color-mix(in srgb, #3f51b5 12%, transparent);--mat-button-outlined-state-layer-color: #3f51b5;--mat-button-protected-container-color: #3f51b5;--mat-button-protected-label-text-color: white;--mat-button-protected-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-state-layer-color: white;--mat-button-text-label-text-color: #3f51b5;--mat-button-text-ripple-color: color-mix(in srgb, #3f51b5 12%, transparent);--mat-button-text-state-layer-color: #3f51b5;--mat-button-tonal-container-color: #3f51b5;--mat-button-tonal-label-text-color: white;--mat-button-tonal-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-state-layer-color: white}.mat-mdc-button.mat-accent,.mat-mdc-unelevated-button.mat-accent,.mat-mdc-raised-button.mat-accent,.mat-mdc-outlined-button.mat-accent,.mat-tonal-button.mat-accent{--mat-button-filled-container-color: #ff4081;--mat-button-filled-label-text-color: white;--mat-button-filled-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-state-layer-color: white;--mat-button-outlined-label-text-color: #ff4081;--mat-button-outlined-outline-color: rgba(0, 0, 0, .12);--mat-button-outlined-ripple-color: color-mix(in srgb, #ff4081 12%, transparent);--mat-button-outlined-state-layer-color: #ff4081;--mat-button-protected-container-color: #ff4081;--mat-button-protected-label-text-color: white;--mat-button-protected-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-state-layer-color: white;--mat-button-text-label-text-color: #ff4081;--mat-button-text-ripple-color: color-mix(in srgb, #ff4081 12%, transparent);--mat-button-text-state-layer-color: #ff4081;--mat-button-tonal-container-color: #ff4081;--mat-button-tonal-label-text-color: white;--mat-button-tonal-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-state-layer-color: white}.mat-mdc-button.mat-warn,.mat-mdc-unelevated-button.mat-warn,.mat-mdc-raised-button.mat-warn,.mat-mdc-outlined-button.mat-warn,.mat-tonal-button.mat-warn{--mat-button-filled-container-color: #f44336;--mat-button-filled-label-text-color: white;--mat-button-filled-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-state-layer-color: white;--mat-button-outlined-label-text-color: #f44336;--mat-button-outlined-outline-color: rgba(0, 0, 0, .12);--mat-button-outlined-ripple-color: color-mix(in srgb, #f44336 12%, transparent);--mat-button-outlined-state-layer-color: #f44336;--mat-button-protected-container-color: #f44336;--mat-button-protected-label-text-color: white;--mat-button-protected-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-state-layer-color: white;--mat-button-text-label-text-color: #f44336;--mat-button-text-ripple-color: color-mix(in srgb, #f44336 12%, transparent);--mat-button-text-state-layer-color: #f44336;--mat-button-tonal-container-color: #f44336;--mat-button-tonal-label-text-color: white;--mat-button-tonal-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-state-layer-color: white}html{--mat-button-filled-container-height: 36px;--mat-button-filled-touch-target-display: block;--mat-button-outlined-container-height: 36px;--mat-button-outlined-touch-target-display: block;--mat-button-protected-container-height: 36px;--mat-button-protected-touch-target-display: block;--mat-button-text-container-height: 36px;--mat-button-text-touch-target-display: block;--mat-button-tonal-container-height: 36px;--mat-button-tonal-touch-target-display: block}html{--mat-button-filled-label-text-font: Roboto, sans-serif;--mat-button-filled-label-text-size: 14px;--mat-button-filled-label-text-tracking: .0892857143em;--mat-button-filled-label-text-transform: none;--mat-button-filled-label-text-weight: 500;--mat-button-outlined-label-text-font: Roboto, sans-serif;--mat-button-outlined-label-text-size: 14px;--mat-button-outlined-label-text-tracking: .0892857143em;--mat-button-outlined-label-text-transform: none;--mat-button-outlined-label-text-weight: 500;--mat-button-protected-label-text-font: Roboto, sans-serif;--mat-button-protected-label-text-size: 14px;--mat-button-protected-label-text-tracking: .0892857143em;--mat-button-protected-label-text-transform: none;--mat-button-protected-label-text-weight: 500;--mat-button-text-label-text-font: Roboto, sans-serif;--mat-button-text-label-text-size: 14px;--mat-button-text-label-text-tracking: .0892857143em;--mat-button-text-label-text-transform: none;--mat-button-text-label-text-weight: 500;--mat-button-tonal-label-text-font: Roboto, sans-serif;--mat-button-tonal-label-text-size: 14px;--mat-button-tonal-label-text-tracking: .0892857143em;--mat-button-tonal-label-text-transform: none;--mat-button-tonal-label-text-weight: 500}html{--mat-icon-button-icon-size: 24px;--mat-icon-button-container-shape: 50%;--mat-icon-button-touch-target-size: 48px}html{--mat-icon-button-disabled-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-icon-button-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-hover-state-layer-opacity: .04;--mat-icon-button-icon-color: inherit;--mat-icon-button-pressed-state-layer-opacity: .12;--mat-icon-button-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-icon-button-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-icon-button.mat-primary{--mat-icon-button-icon-color: #3f51b5;--mat-icon-button-state-layer-color: #3f51b5;--mat-icon-button-ripple-color: color-mix(in srgb, #3f51b5 12%, transparent)}.mat-mdc-icon-button.mat-accent{--mat-icon-button-icon-color: #ff4081;--mat-icon-button-state-layer-color: #ff4081;--mat-icon-button-ripple-color: color-mix(in srgb, #ff4081 12%, transparent)}.mat-mdc-icon-button.mat-warn{--mat-icon-button-icon-color: #f44336;--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: color-mix(in srgb, #f44336 12%, transparent)}html{--mat-icon-button-touch-target-display: block}.mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 48px;--mat-icon-button-state-layer-size: 48px;width:var(--mat-icon-button-state-layer-size);height:var(--mat-icon-button-state-layer-size);padding:12px}html{--mat-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-fab-container-shape: 50%;--mat-fab-touch-target-size: 48px;--mat-fab-extended-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-fab-extended-container-height: 48px;--mat-fab-extended-container-shape: 24px;--mat-fab-extended-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-extended-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-extended-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-fab-small-container-shape: 50%;--mat-fab-small-touch-target-size: 48px;--mat-fab-small-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-small-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}html{--mat-fab-container-color: white;--mat-fab-disabled-state-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-fab-disabled-state-foreground-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-fab-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-fab-focus-state-layer-opacity: .12;--mat-fab-foreground-color: rgba(0, 0, 0, .87);--mat-fab-hover-state-layer-opacity: .04;--mat-fab-pressed-state-layer-opacity: .12;--mat-fab-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-fab-small-container-color: white;--mat-fab-small-disabled-state-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-fab-small-disabled-state-foreground-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-fab-small-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-fab-small-focus-state-layer-opacity: .12;--mat-fab-small-foreground-color: rgba(0, 0, 0, .87);--mat-fab-small-hover-state-layer-opacity: .04;--mat-fab-small-pressed-state-layer-opacity: .12;--mat-fab-small-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-fab-small-state-layer-color: rgba(0, 0, 0, .87);--mat-fab-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-fab.mat-primary,.mat-mdc-mini-fab.mat-primary{--mat-fab-container-color: #3f51b5;--mat-fab-foreground-color: white;--mat-fab-ripple-color: color-mix(in srgb, #3f51b5 12%, transparent);--mat-fab-small-container-color: #3f51b5;--mat-fab-small-foreground-color: white;--mat-fab-small-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-state-layer-color: white;--mat-fab-state-layer-color: white}.mat-mdc-fab.mat-accent,.mat-mdc-mini-fab.mat-accent{--mat-fab-container-color: #ff4081;--mat-fab-foreground-color: white;--mat-fab-ripple-color: color-mix(in srgb, #ff4081 12%, transparent);--mat-fab-small-container-color: #ff4081;--mat-fab-small-foreground-color: white;--mat-fab-small-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-state-layer-color: white;--mat-fab-state-layer-color: white}.mat-mdc-fab.mat-warn,.mat-mdc-mini-fab.mat-warn{--mat-fab-container-color: #f44336;--mat-fab-foreground-color: white;--mat-fab-ripple-color: color-mix(in srgb, #f44336 12%, transparent);--mat-fab-small-container-color: #f44336;--mat-fab-small-foreground-color: white;--mat-fab-small-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-state-layer-color: white;--mat-fab-state-layer-color: white}html{--mat-fab-small-touch-target-display: block;--mat-fab-touch-target-display: block}html{--mat-fab-extended-label-text-font: Roboto, sans-serif;--mat-fab-extended-label-text-size: 14px;--mat-fab-extended-label-text-tracking: .0892857143em;--mat-fab-extended-label-text-weight: 500}html{--mat-snack-bar-container-shape: 4px}html{--mat-snack-bar-container-color: #424242;--mat-snack-bar-supporting-text-color: white;--mat-snack-bar-button-color: #7986cb}html{--mat-snack-bar-supporting-text-font: Roboto, sans-serif;--mat-snack-bar-supporting-text-line-height: 20px;--mat-snack-bar-supporting-text-size: 14px;--mat-snack-bar-supporting-text-weight: 400}html{--mat-table-row-item-outline-width: 1px}html{--mat-table-background-color: white;--mat-table-header-headline-color: rgba(0, 0, 0, .87);--mat-table-row-item-label-text-color: rgba(0, 0, 0, .87);--mat-table-row-item-outline-color: rgba(0, 0, 0, .12)}html{--mat-table-header-container-height: 56px;--mat-table-footer-container-height: 52px;--mat-table-row-item-container-height: 52px}html{--mat-table-header-headline-font: Roboto, sans-serif;--mat-table-header-headline-line-height: 22px;--mat-table-header-headline-size: 14px;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: .0071428571em;--mat-table-row-item-label-text-font: Roboto, sans-serif;--mat-table-row-item-label-text-line-height: 20px;--mat-table-row-item-label-text-size: 14px;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: .0178571429em;--mat-table-footer-supporting-text-font: Roboto, sans-serif;--mat-table-footer-supporting-text-line-height: 20px;--mat-table-footer-supporting-text-size: 14px;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: .0178571429em}html{--mat-progress-spinner-active-indicator-width: 4px;--mat-progress-spinner-size: 48px}html{--mat-progress-spinner-active-indicator-color: #3f51b5}.mat-accent{--mat-progress-spinner-active-indicator-color: #ff4081}.mat-warn{--mat-progress-spinner-active-indicator-color: #f44336}html{--mat-badge-container-shape: 50%;--mat-badge-container-size: unset;--mat-badge-small-size-container-size: unset;--mat-badge-large-size-container-size: unset;--mat-badge-legacy-container-size: 22px;--mat-badge-legacy-small-size-container-size: 16px;--mat-badge-legacy-large-size-container-size: 28px;--mat-badge-container-offset: -11px 0;--mat-badge-small-size-container-offset: -8px 0;--mat-badge-large-size-container-offset: -14px 0;--mat-badge-container-overlap-offset: -11px;--mat-badge-small-size-container-overlap-offset: -8px;--mat-badge-large-size-container-overlap-offset: -14px;--mat-badge-container-padding: 0;--mat-badge-small-size-container-padding: 0;--mat-badge-large-size-container-padding: 0}html{--mat-badge-background-color: #3f51b5;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-badge-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent)}.mat-badge-accent{--mat-badge-background-color: #ff4081;--mat-badge-text-color: white}.mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}html{--mat-badge-text-font: Roboto, sans-serif;--mat-badge-line-height: 22px;--mat-badge-text-size: 12px;--mat-badge-text-weight: 600;--mat-badge-small-size-text-size: 9px;--mat-badge-small-size-line-height: 16px;--mat-badge-large-size-text-size: 24px;--mat-badge-large-size-line-height: 28px}html{--mat-bottom-sheet-container-shape: 4px}html{--mat-bottom-sheet-container-text-color: rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color: white}html{--mat-bottom-sheet-container-text-font: Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height: 20px;--mat-bottom-sheet-container-text-size: 14px;--mat-bottom-sheet-container-text-tracking: .0178571429em;--mat-bottom-sheet-container-text-weight: 400}html{--mat-button-toggle-focus-state-layer-opacity: .12;--mat-button-toggle-hover-state-layer-opacity: .04;--mat-button-toggle-legacy-focus-state-layer-opacity: 1;--mat-button-toggle-legacy-height: 36px;--mat-button-toggle-legacy-shape: 2px;--mat-button-toggle-shape: 4px}html{--mat-button-toggle-background-color: white;--mat-button-toggle-disabled-selected-state-background-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-toggle-disabled-selected-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-toggle-disabled-state-background-color: white;--mat-button-toggle-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-toggle-divider-color: rgba(0, 0, 0, .12);--mat-button-toggle-legacy-disabled-selected-state-background-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-toggle-legacy-disabled-state-background-color: white;--mat-button-toggle-legacy-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-toggle-legacy-selected-state-background-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-toggle-legacy-selected-state-text-color: rgba(0, 0, 0, .87);--mat-button-toggle-legacy-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-toggle-legacy-text-color: rgba(0, 0, 0, .87);--mat-button-toggle-selected-state-background-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-toggle-selected-state-text-color: rgba(0, 0, 0, .87);--mat-button-toggle-state-layer-color: rgba(0, 0, 0, .87);--mat-button-toggle-text-color: rgba(0, 0, 0, .87)}html{--mat-button-toggle-height: 48px}html{--mat-button-toggle-label-text-font: Roboto, sans-serif;--mat-button-toggle-label-text-line-height: 24px;--mat-button-toggle-label-text-size: 16px;--mat-button-toggle-label-text-tracking: .03125em;--mat-button-toggle-label-text-weight: 400;--mat-button-toggle-legacy-label-text-font: Roboto, sans-serif;--mat-button-toggle-legacy-label-text-line-height: 24px;--mat-button-toggle-legacy-label-text-size: 16px;--mat-button-toggle-legacy-label-text-tracking: .03125em;--mat-button-toggle-legacy-label-text-weight: 400}html{--mat-datepicker-calendar-container-shape: 4px;--mat-datepicker-calendar-container-touch-shape: 4px;--mat-datepicker-calendar-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-container-touch-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}html{--mat-datepicker-calendar-date-in-range-state-background-color: color-mix(in srgb, #3f51b5 20%, transparent);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: color-mix(in srgb, #ff4081 20%, transparent);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032);--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #3f51b5;--mat-datepicker-calendar-date-selected-disabled-state-background-color: color-mix(in srgb, #3f51b5 38%, transparent);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: color-mix(in srgb, #3f51b5 12%, transparent);--mat-datepicker-calendar-date-hover-state-background-color: color-mix(in srgb, #3f51b5 4%, transparent);--mat-datepicker-toggle-active-state-icon-color: #3f51b5;--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-disabled-state-outline-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .54);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-range-input-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-accent,.mat-datepicker-toggle-active.mat-accent{--mat-datepicker-calendar-date-in-range-state-background-color: color-mix(in srgb, #ff4081 20%, transparent);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: color-mix(in srgb, #ff4081 20%, transparent);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032);--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #ff4081;--mat-datepicker-calendar-date-selected-disabled-state-background-color: color-mix(in srgb, #ff4081 38%, transparent);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: color-mix(in srgb, #ff4081 12%, transparent);--mat-datepicker-calendar-date-hover-state-background-color: color-mix(in srgb, #ff4081 4%, transparent);--mat-datepicker-toggle-active-state-icon-color: #ff4081;--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-disabled-state-outline-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .54);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-range-input-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-warn,.mat-datepicker-toggle-active.mat-warn{--mat-datepicker-calendar-date-in-range-state-background-color: color-mix(in srgb, #f44336 20%, transparent);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: color-mix(in srgb, #ff4081 20%, transparent);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032);--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: color-mix(in srgb, #f44336 38%, transparent);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: color-mix(in srgb, #f44336 12%, transparent);--mat-datepicker-calendar-date-hover-state-background-color: color-mix(in srgb, #f44336 4%, transparent);--mat-datepicker-toggle-active-state-icon-color: #f44336;--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-disabled-state-outline-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .54);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-range-input-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-calendar-controls{--mat-icon-button-touch-target-display: none}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 40px;--mat-icon-button-state-layer-size: 40px;width:var(--mat-icon-button-state-layer-size);height:var(--mat-icon-button-state-layer-size);padding:8px}html{--mat-datepicker-calendar-text-font: Roboto, sans-serif;--mat-datepicker-calendar-text-size: 13px;--mat-datepicker-calendar-body-label-text-size: 14px;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: 14px;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: 11px;--mat-datepicker-calendar-header-text-weight: 400}html{--mat-divider-width: 1px}html{--mat-divider-color: rgba(0, 0, 0, .12)}html{--mat-expansion-container-shape: 4px;--mat-expansion-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-expansion-legacy-header-indicator-display: inline-block;--mat-expansion-header-indicator-display: none}html{--mat-expansion-container-background-color: white;--mat-expansion-container-text-color: rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color: rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-expansion-header-focus-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-expansion-header-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-expansion-header-text-color: rgba(0, 0, 0, .87);--mat-expansion-header-description-color: rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color: rgba(0, 0, 0, .54)}html{--mat-expansion-header-collapsed-state-height: 48px;--mat-expansion-header-expanded-state-height: 64px}html{--mat-expansion-header-text-font: Roboto, sans-serif;--mat-expansion-header-text-size: 14px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Roboto, sans-serif;--mat-expansion-container-text-line-height: 20px;--mat-expansion-container-text-size: 14px;--mat-expansion-container-text-tracking: .0178571429em;--mat-expansion-container-text-weight: 400}html{--mat-grid-list-tile-header-primary-text-size: 14px;--mat-grid-list-tile-header-secondary-text-size: 12px;--mat-grid-list-tile-footer-primary-text-size: 14px;--mat-grid-list-tile-footer-secondary-text-size: 12px}html{--mat-icon-color: inherit}.mat-icon.mat-primary{--mat-icon-color: #3f51b5}.mat-icon.mat-accent{--mat-icon-color: #ff4081}.mat-icon.mat-warn{--mat-icon-color: #f44336}html{--mat-sidenav-container-shape: 0;--mat-sidenav-container-elevation-shadow: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-sidenav-container-width: auto}html{--mat-sidenav-container-divider-color: rgba(0, 0, 0, .12);--mat-sidenav-container-background-color: white;--mat-sidenav-container-text-color: rgba(0, 0, 0, .87);--mat-sidenav-content-background-color: #fafafa;--mat-sidenav-content-text-color: rgba(0, 0, 0, .87);--mat-sidenav-scrim-color: rgba(0, 0, 0, .6)}html{--mat-stepper-header-focus-state-layer-shape: 0;--mat-stepper-header-hover-state-layer-shape: 0}html{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #3f51b5;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #3f51b5;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #3f51b5;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: white;--mat-stepper-line-color: rgba(0, 0, 0, .12);--mat-stepper-header-hover-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-stepper-header-focus-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-stepper-header-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-optional-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-selected-state-label-text-color: rgba(0, 0, 0, .87);--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(0, 0, 0, .54);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}.mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #ff4081;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #ff4081;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #ff4081;--mat-stepper-header-edit-state-icon-foreground-color: white}.mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}html{--mat-stepper-header-height: 72px}html{--mat-stepper-container-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-size: 14px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-weight: 400}html{--mat-sort-arrow-color: rgba(0, 0, 0, .87)}html{--mat-toolbar-container-background-color: white;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #3f51b5;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #ff4081;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}html{--mat-toolbar-standard-height: 64px;--mat-toolbar-mobile-height: 56px}html{--mat-toolbar-title-text-font: Roboto, sans-serif;--mat-toolbar-title-text-line-height: 32px;--mat-toolbar-title-text-size: 20px;--mat-toolbar-title-text-tracking: .0125em;--mat-toolbar-title-text-weight: 500}html{--mat-tree-container-background-color: white;--mat-tree-node-text-color: rgba(0, 0, 0, .87)}html{--mat-tree-node-min-height: 48px}html{--mat-tree-node-text-font: Roboto, sans-serif;--mat-tree-node-text-size: 14px;--mat-tree-node-text-weight: 400}html{--mat-timepicker-container-shape: 4px;--mat-timepicker-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-timepicker-container-background-color: white}html,body{margin:0;font-family:Roboto,Helvetica,Arial,sans-serif;font-size:14px;height:100%}body{background-color:#eee}.app-loading .logo{width:113px;height:120px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAABhWlDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AYht+malUqCnYQcchQnexiRRxLFYtgobQVWnUwufRHaNKQpLg4Cq4FB38Wqw4uzro6uAqC4A+Is4OToouU+F1SaBHjHcc9vPe9L3ffAUKjwlSzKwaommWkE3Exl18RA6/owxDNHkQlZurJzEIWnuPrHj6+30V4lnfdn2NAKZgM8InEMaYbFvE68cympXPeJw6xsqQQnxNPGnRB4keuyy6/cS45LPDMkJFNzxGHiMVSB8sdzMqGSjxNHFZUjfKFnMsK5y3OaqXGWvfkLwwWtOUM12mNIYFFJJGCCBk1bKACCxHaNVJMpOk87uEfdfwpcsnk2gAjxzyqUCE5fvA/+N1bsxidcpOCcaD7xbY/xoHALtCs2/b3sW03TwD/M3Cltf3VBjD7SXq9rYWPgMFt4OK6rcl7wOUOMPKkS4bkSH5aQrEIvJ/RN+WB4Vugf9XtW+scpw9Alnq1dAMcHAITJcpe83h3b2ff/q1p9e8HsopywPmxfBcAAAGDUExURQAAABkMiRwRhiYRgR4WghwdhyUcgSohcycjeiMkhSkmdSopZy8sYBovjzEzVyUykTE3UyQ3kTM1dTM3ZDU9SDZBQCY/lS9DgD9GLT5DazxKMCNOpEFWG0BWLkVQZSVVoUFXKERYFkJYI0ZZEB1ZqztZQD5ZNUZZGD1ZOjxZRTJZbTtZUzVaXjxaS0dbGTdaZyZboSlapkVeFDBZoEldGyxdmDBdiy9cnCJgrDBekjRehjdeeylfpDNfgVFbXDxjdDllfEFkcUJnakdoYTlpkklqW1RtFzxrh01qVk9sT1VuQ1RuSVZvP1pxN2ByKl5zMGR0EmJ0JGN1HWZ2FUR4gmd3F2l5DWl5GWF9Gk18e259E01/eGJ+T2uBFnGGEWqIFmeFSFaIb1qMZ22KPnKOGXSRL3iTE2OUXnOXF3CaRGqbUHibMn2dEnujGn+mDXmqPISrFoGvGYGwNIazEIO2LIu5HJC8DIy/EJLFG5XHCJbIDZjKEZLMEZvMAJbQGZrTB53VAJ6wE90AAAABdFJOUwBA5thmAAALzklEQVR42tVb/VvbRhJ2gHD56EeSNtyFmGJjJyJAQMLYxjYuAQoJ3wad5JQUSBsfoRcgEOMg7erk/uk3uysZ21qBVoHcc/MreTyvZt6ZeWekRCJfYnXbts6ODg/3Xy8sjEeu2ywTmaZpGKaBLNvGZyeHu7uvwRbAxkdHpbjHJOkq/BKnJjGrTsyu1/+qGydHh/u7m+OjUpQZ+JKkUcm1UWITExMuqHCeqVuLPLKJiGFqlmWeney/Hid+2p+Xa42/CwXbQPSxsU3MsjAmCAgghI2T3YVx9uTxS60RESkwBtMyDAORWNsWpj6bDaNqZUFyfcNPJxLjrZbwhob9U8iJdCkGRHyDZ+TxzAyh6u4o8y4lIAyxWF9vq/2jty8WG4B/kgDzJml09AIIEHRkkkwjX/9WbTcRZY8eHYj1Pvzx3nff3G21R0MjI8PPnzzpGxgYcNjZlpG45Ov+gmd3ABwuRBmAaO+9u3du3brV3d3VbLd7UmmwXC6TyRfGhp89jUXbwkCKhRMEA0HosXmJIWNfipLfiD387u6tDmadzLq6Oju6vu3plycVaslkKpvLF4fGRp4PxoAqTTBGvRAwutw7YwAAkOK99/7W1dHlsZvf98utRoDIucLIc8hI/BwDyUNr+G18YegbAE62pShE/5sunnXfT8l8y2bTheHBAYLdRdBCBNO2A7gnAGqV0agE/js6vf4h/VN8/yQj2XSmMBxrikFTNRiWbZiBDOHD8ejAj92c8IN/2ce/i0LODAEEyZsFhJEZEIBdfZ3o/YEH4DL/DEN6bNCtinMEqI7NoAZ9eOHhHc7z3+yRAxhwpPhswM3DhAPAqFumAIL9Z3d4/lNTQRDIipwfdhG4TfHEQCgwAAvVPvzcfaPVfWfX/f5g/kkaMs/dITbKAFSOkUAIELY//tTeBL7tlwObIhefNADQWiztGwIAoB0bHx7d6GwjoIApypCTBKcUSzvHBhZD8PZBR3MMfBuQDwJIgouAAijv1SwkgMCyar/daUJw+/GULGaFWIIBoCxQVf3wTAgBqp++utXRVAGC/pO5wXgzgC11+8gQAQBK7fTn2y6C2/2iAVDSTimyXqRuaYQGIkQ0bOvwp65OtwTEAYz1NQGIaGVNrVSRUAws+8OjThqDm/fFAWQLg1LTUNTKZUJELFiM71gpdAdtgs2Wf5JonokkCdsHZ0IxAHn49sGNLwTgdgK1XFbV7UNBIlq15TugC64CQETb0tTSthgRoR2czHd3dHT39F8BABKD0o4gEbH94afujhAkbAYQZSMZAGglTbAjImx9eBSqDLPFRhW4skgjtVjeP0MiU8Goo3896rgZAsDQ03YAEVXXVLV88FmwHeB3P3T1iDeikVhzI3JCoGtQjEdnIiEgWXj34PvH4q046gEQIQBU0pPF2kG99vbvPaIAck/YhiCNNu8nmg5EhJ4sRETSkH7LK4KCIDcoxb0AyEwAHkApYDEa1N7n+hWxcfw0wQUA/YiWglgMMD79Pd0vFIFMXyLu4QDtBppGp4JYO0Do0++5ZAhFJHmOFTQEVJ4IFuOnNymBJGSH/ACoOnREVa0cm0I0gG3h469ZJTCE9MiAD4CISolYqlRNsVLAgCAwDxqqmHcvoghgKpwJDUaGIBswBEpx0AXAORWBOAEEuiARTfM/6OMbOVA/SCmFvvgFAMqEiCWQJ1gMgYU/vkknlSAAhgacRsi92IFCJKWwK7YukWqEWsgFYaIyFI/7cJBamXXESlUQgYnRpz9+CYAAADgZiPIPlowGIE8EkwAy8fTPN7lkcpLYlO+Qzo5cQAG6LJY0gqAsTERSDJ/+eHnek6a4MDLPLwEQITwEIuoHhjACZJ2dOr/iLwifMQATvgCqB1uqSkrhSEwns2Ko/9X0U8Th5GQLA+TCIAUgTfi8T0HYPtsrkzSUdk5M0RgYyLaM1h9M0WRMNgThWIwB4FchMshrglpFU8loFl0ZqdWR2f6rjBFTDMBwNO7n3zQg6+AfG8c7KkGg7X8WR4Btw/T+9rkkHna0QNTrHuE6PdrC6nkAyxJ0AyCiaDGahmVjbnIdAM8SvAhY2HC8U6lZd5IQiogm8kcwBYo0wZFjn2nqkVvNtdM/326qtB1snyDxLCDb9EEwKRcHE953irsH0HipH/qC7vT9P3Mvlzd12hErVSxORNxeCi4CJVuggrBtEGjblYOaZZFXRnX06f2vvyiPlRerJAKEiLUQpYB9YpBMj9GtqA0A8K28d1QzLHz68d+knSsAdXadhAA04kEIGsCj8BFk2IGqHcAWrOflveMatPKGsEnP0SSIXw7cnshHwORQ2yAgAGA33Xn7Mi03lgyluOgg2KlaYUrB5CKIUQDtg4CoEE3Vl/qbNE1KBhpQIqoVwXXJSQLmMTE6wRuFVIxq+lK2ecFIZmfXdEpEdU/scuDGgFcL8QmeGuICgD16fpMhEFepvlkgalzyaAFouhwAIB4WaRI0SkRxBBYnBPEJCUaxBwDZyjR9NZ9qVdaKQwNV3amGAACl0I4gLiXIxw1xrhDUV1+0bRdKdmadhUAVvKU2RFo7AraU8JWovj7dvt4o6bkN3emIZyE6IrKQEeSzBbYO6GuzacVzzlikLZnt7WYYIgYDQFioby5mPACU4pLeIGKIGNg4YAhIDrTVIufSML1OEajhBiO3FPwA6JvTCueq5vSjkrYfqhtYZpAsUPmhb86leVetRfpXtbQVbjAGowFphrq6yLm5AQ1WzmkQAkHdCJIEtaxDz1mf4ayXijKzxmig7oYR6hgHCwGpA22ee+hIz244NNgLo4+C5YBczHV9KS+neHcdRxuo5YMQtWibgXJACkHfmOOFQJHzS0wihhLqIHiDV+IK9+iopKZXHSLuVE1RbQD7phEwB9COp33OXbPuUKiID0YcsBK3gAWby5kk/8btqBNyuhClQcBWQC72mrYx63PbyS872mD7SDQJ0A0Dz0RdWynIvCQoIFJZEsgpVfSSaQYbCJSH6qs0lwWKPLvGSoHIZMFjrhEwBJSHHmF0rk5UPdQFCwAEKkSmjHRtOcMvhGRmmSEAGiB0HRGAXlBmQ9EnCUWHBuSFP74OALQSYCZN80NAVlbN3VUEkiAAgK4ouraYkX1oML/JJKLQrhK0DNlYJpWwMc9PQirpdAOiDUwU/DO44ACckbA249ORlYKzsmoCRzxsW8EBqOT3dX294EcDZ1dRtcAtGQUch40kUBosFZN+NNhwJvNhwMmMA24nLQg0bZH//kEBdaK6kzlYCIIJEk8MNl7lfPqRSwM92EsFC6OIIACHiLN+/WjaWVlhLl4eA1QX9e+uitr6bJb7JsxdWdXS7uXnI2QJNIG2JOir/BikUo1dZe+ySkB2GP+No806vx0ocmGFffJw2c4M+3ko/+cxKPi8eWHagCYBXVkH8Exmoo9ecN+MJx2JWLrwgwOELSMSGkCZjmZ95UWaw8SUuymUyv7SIHz8XRpQHvCZCC15lVWC77bmdywVbQc+/UBJv2IqWfdZ2r/w+VsQgEJSvC3ZPeXuVDlf4hnYRkbki61MVwVAkPdSMZVly5Kq73NK0bKNK/Dv9ERQiUtFTiXk3Y7sKUVof4YZuRJzsrC5OuMRacncovNex6MMLBEFclkWtmgM9PXZdiK42kTVto9bNDKyw7cf364M43k+3/qtTErOrDgq/aAJAHQfy4hcpWkMgba59KIVgZJd1j0zifyPDRSJXDECes3X1dW5FpWkyMuNdbVRiZZlRq7coCEwLm4sTjdBUORFXXNWNeeLD0j/NfhvTAbalIpARsVphksuAKZPofquOP0eKgITVucyWfL0QIHp1RYA5D0VilyXaU5P0rWNlbminFSSCqgSrQkANP/rc88gbLGC1DdX5menZ+aWmDxnHLCs60p/MxHYGYlWxNqG655VQd0yrci1m+YsLTog0PRzAHtnwU6BV1OQDhvPTS0f2ghHvpIBGdsglOgr/sjXMyjIFgzlneOv6Z5RQXWqkpbAQS3y1U0lZKCmbVUi/xtzLnZq5P/a/gvm8NIms2W1xQAAAABJRU5ErkJggg==)}i.material-icons{vertical-align:middle!important}i.spaced{margin-right:.5rem}.highlight{color:red}.mat-toolbar.mat-primary{background:#fafafa;color:#000}.mat-toolbar-row,.mat-toolbar-single-row{height:4rem!important}.mat-mdc-row{min-height:2.5rem}.mat-mdc-menu-panel.wide-menu{max-width:none;max-height:none}.mat-form-field-disabled{cursor:not-allowed}input:disabled{cursor:not-allowed}.toggle{display:flex;height:32px}.detail .mdc-tab-indicator--active{background-color:#ffffff1f}.card{background-color:#fafafa;border-color:#000;border-radius:6px;box-shadow:#00000024 0 1px 4px;box-sizing:border-box;color:#000;display:flex;flex-direction:column;margin:2rem 1rem 1rem}.card-header{background-image:linear-gradient(60deg,#4b5266,#465d9c);border-bottom-color:#fff;border-radius:3px;box-shadow:#00000024 0 4px 20px,#465d9c66 0 7px 10px -5px;box-sizing:border-box;color:#fff;font-size:1.2rem;font-weight:300;margin:-1rem 1rem 0rem;padding:15px}.card-header img{width:1.2rem;vertical-align:top;margin-top:2px;margin-right:8px;filter:brightness(0) invert(1)}.card-title>a{color:#000}.card-subtitle{font-size:.9rem;margin-left:1.4rem}.detail>.title{margin:1rem;padding:1rem;background-image:linear-gradient(60deg,#4b5266,#465d9c);border-bottom-color:#fff;border-radius:3px;box-shadow:#00000024 0 4px 20px,#465d9c66 0 7px 10px -5px;box-sizing:border-box;color:#fff;font-size:1.2rem;font-weight:300}.detail>.title img{width:2rem;vertical-align:top;margin-top:-4px;filter:brightness(0) invert(1)}.detail>.title a{color:#ff0}.detail>.title .card{margin-top:0}.mat-mdc-menu-content .mat-mdc-menu-item:hover{background-color:#d5d5d5!important}.mat-mdc-option{min-height:2.5rem!important}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:#d5d5d5}.mat-mdc-dialog-container{--mdc-dialog-supporting-text-font: $font-family;--mdc-dialog-subhead-font: $font-family;--mdc-dialog-title-font: $font-family;--mdc-dialog-button-font: $font-family;--mdc-dialog-supporting-text-size: 1rem;--mdc-dialog-subhead-size: 1.25rem;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-color: rgba(0, 0, 0, 1)}.mat-mdc-tab-labels{background-image:linear-gradient(60deg,#4b5266,#465d9c)}.mat-mdc-tab-labels .mdc-tab--active{background-color:#303030}.mat-mdc-raised-button.mat-primary:not([disabled]){background-image:linear-gradient(60deg,#4b5266,#465d9c);color:#fff}.mat-select-search-no-entries-found{display:none!important}.dark-theme{--mat-app-background-color: #303030;--mat-app-text-color: white;--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-option-selected-state-label-text-color: #3f51b5;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: color-mix(in srgb, white 4%, transparent);--mat-option-focus-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-option-selected-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-optgroup-label-text-color: white;--mat-pseudo-checkbox-full-selected-icon-color: #ff4081;--mat-pseudo-checkbox-full-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(255, 255, 255, .7);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #ff4081;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, white 38%, transparent);--mat-card-elevated-container-color: #424242;--mat-card-elevated-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-card-outlined-container-color: #424242;--mat-card-outlined-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-outlined-outline-color: rgba(255, 255, 255, .12);--mat-card-subtitle-text-color: rgba(255, 255, 255, .7);--mat-card-filled-container-color: #424242;--mat-card-filled-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-tooltip-container-color: white;--mat-tooltip-supporting-text-color: rgba(0, 0, 0, .87);--mat-form-field-focus-select-arrow-color: color-mix(in srgb, #3f51b5 87%, transparent);--mat-form-field-filled-caret-color: #3f51b5;--mat-form-field-filled-focus-active-indicator-color: #3f51b5;--mat-form-field-filled-focus-label-text-color: color-mix(in srgb, #3f51b5 87%, transparent);--mat-form-field-outlined-caret-color: #3f51b5;--mat-form-field-outlined-focus-outline-color: #3f51b5;--mat-form-field-outlined-focus-label-text-color: color-mix(in srgb, #3f51b5 87%, transparent);--mat-form-field-disabled-input-text-placeholder-color: color-mix(in srgb, white 38%, transparent);--mat-form-field-state-layer-color: white;--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: rgba(0, 0, 0, .87);--mat-form-field-select-disabled-option-text-color: rgba(0, 0, 0, .38);--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: rgba(255, 255, 255, .7);--mat-form-field-disabled-select-arrow-color: color-mix(in srgb, white 38%, transparent);--mat-form-field-hover-state-layer-opacity: .04;--mat-form-field-focus-state-layer-opacity: .12;--mat-form-field-filled-container-color: #4a4a4a;--mat-form-field-filled-disabled-container-color: color-mix(in srgb, white 4%, transparent);--mat-form-field-filled-label-text-color: rgba(255, 255, 255, .7);--mat-form-field-filled-hover-label-text-color: rgba(255, 255, 255, .7);--mat-form-field-filled-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-form-field-filled-input-text-color: white;--mat-form-field-filled-disabled-input-text-color: color-mix(in srgb, white 38%, transparent);--mat-form-field-filled-input-text-placeholder-color: rgba(255, 255, 255, .7);--mat-form-field-filled-error-hover-label-text-color: #f44336;--mat-form-field-filled-error-focus-label-text-color: #f44336;--mat-form-field-filled-error-label-text-color: #f44336;--mat-form-field-filled-error-caret-color: #f44336;--mat-form-field-filled-active-indicator-color: rgba(255, 255, 255, .7);--mat-form-field-filled-disabled-active-indicator-color: color-mix(in srgb, white 12%, transparent);--mat-form-field-filled-hover-active-indicator-color: white;--mat-form-field-filled-error-active-indicator-color: #f44336;--mat-form-field-filled-error-focus-active-indicator-color: #f44336;--mat-form-field-filled-error-hover-active-indicator-color: #f44336;--mat-form-field-outlined-label-text-color: rgba(255, 255, 255, .7);--mat-form-field-outlined-hover-label-text-color: white;--mat-form-field-outlined-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-form-field-outlined-input-text-color: white;--mat-form-field-outlined-disabled-input-text-color: color-mix(in srgb, white 38%, transparent);--mat-form-field-outlined-input-text-placeholder-color: rgba(255, 255, 255, .7);--mat-form-field-outlined-error-caret-color: #f44336;--mat-form-field-outlined-error-focus-label-text-color: #f44336;--mat-form-field-outlined-error-label-text-color: #f44336;--mat-form-field-outlined-error-hover-label-text-color: #f44336;--mat-form-field-outlined-outline-color: rgba(255, 255, 255, .38);--mat-form-field-outlined-disabled-outline-color: color-mix(in srgb, white 12%, transparent);--mat-form-field-outlined-hover-outline-color: white;--mat-form-field-outlined-error-focus-outline-color: #f44336;--mat-form-field-outlined-error-hover-outline-color: #f44336;--mat-form-field-outlined-error-outline-color: #f44336;--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: white;--mat-select-disabled-trigger-text-color: color-mix(in srgb, white 38%, transparent);--mat-select-placeholder-text-color: rgba(255, 255, 255, .7);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .7);--mat-select-disabled-arrow-color: color-mix(in srgb, white 38%, transparent);--mat-select-focused-arrow-color: #3f51b5;--mat-select-invalid-arrow-color: #f44336;--mat-autocomplete-background-color: #424242;--mat-dialog-container-color: #424242;--mat-dialog-subhead-color: white;--mat-dialog-supporting-text-color: rgba(255, 255, 255, .7);--mat-slide-toggle-selected-icon-color: white;--mat-slide-toggle-disabled-selected-icon-color: white;--mat-slide-toggle-selected-focus-state-layer-color: #3f51b5;--mat-slide-toggle-selected-handle-color: #3f51b5;--mat-slide-toggle-selected-hover-state-layer-color: #3f51b5;--mat-slide-toggle-selected-pressed-state-layer-color: #3f51b5;--mat-slide-toggle-selected-focus-handle-color: #3f51b5;--mat-slide-toggle-selected-hover-handle-color: #3f51b5;--mat-slide-toggle-selected-pressed-handle-color: #3f51b5;--mat-slide-toggle-selected-focus-track-color: #3949ab;--mat-slide-toggle-selected-hover-track-color: #3949ab;--mat-slide-toggle-selected-pressed-track-color: #3949ab;--mat-slide-toggle-selected-track-color: #3949ab;--mat-slide-toggle-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-slide-toggle-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-slide-toggle-disabled-selected-handle-color: white;--mat-slide-toggle-disabled-selected-track-color: white;--mat-slide-toggle-disabled-unselected-handle-color: white;--mat-slide-toggle-disabled-unselected-icon-color: #4a4a4a;--mat-slide-toggle-disabled-unselected-track-color: white;--mat-slide-toggle-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-slide-toggle-handle-surface-color: #424242;--mat-slide-toggle-label-text-color: white;--mat-slide-toggle-unselected-hover-handle-color: white;--mat-slide-toggle-unselected-focus-handle-color: white;--mat-slide-toggle-unselected-focus-state-layer-color: white;--mat-slide-toggle-unselected-focus-track-color: rgba(255, 255, 255, .12);--mat-slide-toggle-unselected-icon-color: #4a4a4a;--mat-slide-toggle-unselected-handle-color: rgba(255, 255, 255, .7);--mat-slide-toggle-unselected-hover-state-layer-color: white;--mat-slide-toggle-unselected-hover-track-color: rgba(255, 255, 255, .12);--mat-slide-toggle-unselected-pressed-handle-color: white;--mat-slide-toggle-unselected-pressed-track-color: rgba(255, 255, 255, .12);--mat-slide-toggle-unselected-pressed-state-layer-color: white;--mat-slide-toggle-unselected-track-color: rgba(255, 255, 255, .12);--mat-slider-active-track-color: #3f51b5;--mat-slider-focus-handle-color: #3f51b5;--mat-slider-handle-color: #3f51b5;--mat-slider-hover-handle-color: #3f51b5;--mat-slider-focus-state-layer-color: color-mix(in srgb, #3f51b5 12%, transparent);--mat-slider-hover-state-layer-color: color-mix(in srgb, #3f51b5 4%, transparent);--mat-slider-inactive-track-color: #3f51b5;--mat-slider-ripple-color: #3f51b5;--mat-slider-with-tick-marks-active-container-color: white;--mat-slider-with-tick-marks-inactive-container-color: #3f51b5;--mat-slider-disabled-active-track-color: white;--mat-slider-disabled-handle-color: white;--mat-slider-disabled-inactive-track-color: white;--mat-slider-label-container-color: white;--mat-slider-label-label-text-color: rgba(0, 0, 0, .87);--mat-slider-value-indicator-opacity: 1;--mat-slider-with-overlap-handle-outline-color: white;--mat-slider-with-tick-marks-disabled-container-color: white;--mat-menu-item-label-text-color: white;--mat-menu-item-icon-color: white;--mat-menu-item-hover-state-layer-color: color-mix(in srgb, white 4%, transparent);--mat-menu-item-focus-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-menu-container-color: #424242;--mat-menu-divider-color: rgba(255, 255, 255, .12);--mat-list-list-item-label-text-color: white;--mat-list-list-item-supporting-text-color: rgba(255, 255, 255, .7);--mat-list-list-item-leading-icon-color: rgba(255, 255, 255, .7);--mat-list-list-item-trailing-supporting-text-color: rgba(255, 255, 255, .7);--mat-list-list-item-trailing-icon-color: rgba(255, 255, 255, .7);--mat-list-list-item-selected-trailing-icon-color: rgba(255, 255, 255, .7);--mat-list-list-item-disabled-label-text-color: white;--mat-list-list-item-disabled-leading-icon-color: white;--mat-list-list-item-disabled-trailing-icon-color: white;--mat-list-list-item-hover-label-text-color: white;--mat-list-list-item-hover-leading-icon-color: rgba(255, 255, 255, .7);--mat-list-list-item-hover-state-layer-color: white;--mat-list-list-item-hover-state-layer-opacity: .04;--mat-list-list-item-hover-trailing-icon-color: rgba(255, 255, 255, .7);--mat-list-list-item-focus-label-text-color: white;--mat-list-list-item-focus-state-layer-color: white;--mat-list-list-item-focus-state-layer-opacity: .12;--mat-paginator-container-text-color: white;--mat-paginator-container-background-color: #424242;--mat-paginator-enabled-icon-color: rgba(255, 255, 255, .7);--mat-paginator-disabled-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-label-text-color: white;--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #ff4081;--mat-checkbox-selected-hover-icon-color: #ff4081;--mat-checkbox-selected-icon-color: #ff4081;--mat-checkbox-selected-pressed-icon-color: #ff4081;--mat-checkbox-unselected-focus-icon-color: white;--mat-checkbox-unselected-hover-icon-color: white;--mat-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-checkbox-selected-focus-state-layer-color: #ff4081;--mat-checkbox-selected-hover-state-layer-color: #ff4081;--mat-checkbox-selected-pressed-state-layer-color: #ff4081;--mat-checkbox-unselected-focus-state-layer-color: white;--mat-checkbox-unselected-hover-state-layer-color: white;--mat-checkbox-unselected-pressed-state-layer-color: white;--mat-button-filled-container-color: #424242;--mat-button-filled-disabled-container-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-filled-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-button-filled-focus-state-layer-opacity: .12;--mat-button-filled-hover-state-layer-opacity: .04;--mat-button-filled-label-text-color: white;--mat-button-filled-pressed-state-layer-opacity: .12;--mat-button-filled-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-state-layer-color: white;--mat-button-outlined-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-outlined-disabled-outline-color: rgba(255, 255, 255, .12);--mat-button-outlined-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-button-outlined-focus-state-layer-opacity: .12;--mat-button-outlined-hover-state-layer-opacity: .04;--mat-button-outlined-label-text-color: white;--mat-button-outlined-outline-color: rgba(255, 255, 255, .12);--mat-button-outlined-pressed-state-layer-opacity: .12;--mat-button-outlined-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-outlined-state-layer-color: white;--mat-button-protected-container-color: #424242;--mat-button-protected-disabled-container-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-protected-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-button-protected-focus-state-layer-opacity: .12;--mat-button-protected-hover-state-layer-opacity: .04;--mat-button-protected-label-text-color: white;--mat-button-protected-pressed-state-layer-opacity: .12;--mat-button-protected-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-state-layer-color: white;--mat-button-text-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-text-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-button-text-focus-state-layer-opacity: .12;--mat-button-text-hover-state-layer-opacity: .04;--mat-button-text-label-text-color: white;--mat-button-text-pressed-state-layer-opacity: .12;--mat-button-text-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-text-state-layer-color: white;--mat-button-tonal-container-color: #424242;--mat-button-tonal-disabled-container-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-tonal-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-button-tonal-focus-state-layer-opacity: .12;--mat-button-tonal-hover-state-layer-opacity: .04;--mat-button-tonal-label-text-color: white;--mat-button-tonal-pressed-state-layer-opacity: .12;--mat-button-tonal-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-state-layer-color: white;--mat-icon-button-disabled-icon-color: color-mix(in srgb, white 38%, transparent);--mat-icon-button-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-hover-state-layer-opacity: .04;--mat-icon-button-icon-color: inherit;--mat-icon-button-pressed-state-layer-opacity: .12;--mat-icon-button-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-icon-button-state-layer-color: white;--mat-fab-container-color: #424242;--mat-fab-disabled-state-container-color: color-mix(in srgb, white 12%, transparent);--mat-fab-disabled-state-foreground-color: color-mix(in srgb, white 38%, transparent);--mat-fab-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-fab-focus-state-layer-opacity: .12;--mat-fab-foreground-color: white;--mat-fab-hover-state-layer-opacity: .04;--mat-fab-pressed-state-layer-opacity: .12;--mat-fab-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-container-color: #424242;--mat-fab-small-disabled-state-container-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-disabled-state-foreground-color: color-mix(in srgb, white 38%, transparent);--mat-fab-small-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-fab-small-focus-state-layer-opacity: .12;--mat-fab-small-foreground-color: white;--mat-fab-small-hover-state-layer-opacity: .04;--mat-fab-small-pressed-state-layer-opacity: .12;--mat-fab-small-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-state-layer-color: white;--mat-fab-state-layer-color: white;--mat-snack-bar-container-color: white;--mat-snack-bar-supporting-text-color: rgba(0, 0, 0, .87);--mat-snack-bar-button-color: #3949ab;--mat-table-background-color: #424242;--mat-table-header-headline-color: white;--mat-table-row-item-label-text-color: white;--mat-table-row-item-outline-color: rgba(255, 255, 255, .12);--mat-progress-spinner-active-indicator-color: #3f51b5;--mat-badge-background-color: #3f51b5;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: color-mix(in srgb, white 12%, transparent);--mat-badge-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-bottom-sheet-container-text-color: white;--mat-bottom-sheet-container-background-color: #424242;--mat-button-toggle-background-color: #424242;--mat-button-toggle-disabled-selected-state-background-color: color-mix(in srgb, white 12%, transparent);--mat-button-toggle-disabled-selected-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-toggle-disabled-state-background-color: #424242;--mat-button-toggle-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-toggle-divider-color: rgba(255, 255, 255, .12);--mat-button-toggle-legacy-disabled-selected-state-background-color: color-mix(in srgb, white 12%, transparent);--mat-button-toggle-legacy-disabled-state-background-color: #424242;--mat-button-toggle-legacy-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-toggle-legacy-selected-state-background-color: color-mix(in srgb, white 12%, transparent);--mat-button-toggle-legacy-selected-state-text-color: white;--mat-button-toggle-legacy-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-button-toggle-legacy-text-color: white;--mat-button-toggle-selected-state-background-color: color-mix(in srgb, white 12%, transparent);--mat-button-toggle-selected-state-text-color: white;--mat-button-toggle-state-layer-color: white;--mat-button-toggle-text-color: white;--mat-datepicker-calendar-date-in-range-state-background-color: color-mix(in srgb, #3f51b5 20%, transparent);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: color-mix(in srgb, #ff4081 20%, transparent);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032);--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #3f51b5;--mat-datepicker-calendar-date-selected-disabled-state-background-color: color-mix(in srgb, #3f51b5 38%, transparent);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: color-mix(in srgb, #3f51b5 12%, transparent);--mat-datepicker-calendar-date-hover-state-background-color: color-mix(in srgb, #3f51b5 4%, transparent);--mat-datepicker-toggle-active-state-icon-color: #3f51b5;--mat-datepicker-toggle-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-body-label-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-period-button-text-color: white;--mat-datepicker-calendar-period-button-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-navigation-button-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-header-divider-color: rgba(255, 255, 255, .12);--mat-datepicker-calendar-header-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-outline-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-disabled-state-outline-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-date-text-color: white;--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(255, 255, 255, .7);--mat-datepicker-range-input-separator-color: white;--mat-datepicker-range-input-disabled-state-separator-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-range-input-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-container-background-color: #424242;--mat-datepicker-calendar-container-text-color: white;--mat-divider-color: rgba(255, 255, 255, .12);--mat-expansion-container-background-color: #424242;--mat-expansion-container-text-color: white;--mat-expansion-actions-divider-color: rgba(255, 255, 255, .12);--mat-expansion-header-hover-state-layer-color: color-mix(in srgb, white 4%, transparent);--mat-expansion-header-focus-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-expansion-header-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-expansion-header-text-color: white;--mat-expansion-header-description-color: rgba(255, 255, 255, .7);--mat-expansion-header-indicator-color: rgba(255, 255, 255, .7);--mat-icon-color: inherit;--mat-sidenav-container-divider-color: rgba(255, 255, 255, .12);--mat-sidenav-container-background-color: #424242;--mat-sidenav-container-text-color: white;--mat-sidenav-content-background-color: #303030;--mat-sidenav-content-text-color: white;--mat-sidenav-scrim-color: rgba(255, 255, 255, .6);--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #3f51b5;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #3f51b5;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #3f51b5;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: #424242;--mat-stepper-line-color: rgba(255, 255, 255, .12);--mat-stepper-header-hover-state-layer-color: color-mix(in srgb, white 4%, transparent);--mat-stepper-header-focus-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-stepper-header-label-text-color: rgba(255, 255, 255, .7);--mat-stepper-header-optional-label-text-color: rgba(255, 255, 255, .7);--mat-stepper-header-selected-state-label-text-color: white;--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(255, 255, 255, .7);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent;--mat-sort-arrow-color: white;--mat-toolbar-container-background-color: #424242;--mat-toolbar-container-text-color: white;--mat-tree-container-background-color: #424242;--mat-tree-node-text-color: white;--mat-timepicker-container-background-color: #424242}.dark-theme .mat-accent{--mat-option-selected-state-label-text-color: #ff4081;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: color-mix(in srgb, white 4%, transparent);--mat-option-focus-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-option-selected-state-layer-color: color-mix(in srgb, white 12%, transparent)}.dark-theme .mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: color-mix(in srgb, white 4%, transparent);--mat-option-focus-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-option-selected-state-layer-color: color-mix(in srgb, white 12%, transparent)}.dark-theme .mat-primary{--mat-pseudo-checkbox-full-selected-icon-color: #3f51b5;--mat-pseudo-checkbox-full-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(255, 255, 255, .7);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #3f51b5;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, white 38%, transparent)}.dark-theme .mat-accent{--mat-pseudo-checkbox-full-selected-icon-color: #ff4081;--mat-pseudo-checkbox-full-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(255, 255, 255, .7);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #ff4081;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, white 38%, transparent)}.dark-theme .mat-warn{--mat-pseudo-checkbox-full-selected-icon-color: #f44336;--mat-pseudo-checkbox-full-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(255, 255, 255, .7);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #f44336;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, white 38%, transparent)}.dark-theme .mat-mdc-progress-bar{--mat-progress-bar-active-indicator-color: #3f51b5;--mat-progress-bar-track-color: rgba(63, 81, 181, .25)}.dark-theme .mat-mdc-progress-bar.mat-accent{--mat-progress-bar-active-indicator-color: #ff4081;--mat-progress-bar-track-color: rgba(255, 64, 129, .25)}.dark-theme .mat-mdc-progress-bar.mat-warn{--mat-progress-bar-active-indicator-color: #f44336;--mat-progress-bar-track-color: rgba(244, 67, 54, .25)}.dark-theme .mat-mdc-form-field.mat-accent{--mat-form-field-focus-select-arrow-color: color-mix(in srgb, #ff4081 87%, transparent);--mat-form-field-filled-caret-color: #ff4081;--mat-form-field-filled-focus-active-indicator-color: #ff4081;--mat-form-field-filled-focus-label-text-color: color-mix(in srgb, #ff4081 87%, transparent);--mat-form-field-outlined-caret-color: #ff4081;--mat-form-field-outlined-focus-outline-color: #ff4081;--mat-form-field-outlined-focus-label-text-color: color-mix(in srgb, #ff4081 87%, transparent)}.dark-theme .mat-mdc-form-field.mat-warn{--mat-form-field-focus-select-arrow-color: color-mix(in srgb, #f44336 87%, transparent);--mat-form-field-filled-caret-color: #f44336;--mat-form-field-filled-focus-active-indicator-color: #f44336;--mat-form-field-filled-focus-label-text-color: color-mix(in srgb, #f44336 87%, transparent);--mat-form-field-outlined-caret-color: #f44336;--mat-form-field-outlined-focus-outline-color: #f44336;--mat-form-field-outlined-focus-label-text-color: color-mix(in srgb, #f44336 87%, transparent)}.dark-theme .mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: white;--mat-select-disabled-trigger-text-color: color-mix(in srgb, white 38%, transparent);--mat-select-placeholder-text-color: rgba(255, 255, 255, .7);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .7);--mat-select-disabled-arrow-color: color-mix(in srgb, white 38%, transparent);--mat-select-focused-arrow-color: #ff4081;--mat-select-invalid-arrow-color: #f44336}.dark-theme .mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: white;--mat-select-disabled-trigger-text-color: color-mix(in srgb, white 38%, transparent);--mat-select-placeholder-text-color: rgba(255, 255, 255, .7);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .7);--mat-select-disabled-arrow-color: color-mix(in srgb, white 38%, transparent);--mat-select-focused-arrow-color: #f44336;--mat-select-invalid-arrow-color: #f44336}.dark-theme .mat-mdc-standard-chip{--mat-chip-disabled-label-text-color: white;--mat-chip-elevated-container-color: color-mix(in srgb, white 12%, transparent);--mat-chip-elevated-disabled-container-color: color-mix(in srgb, white 12%, transparent);--mat-chip-elevated-selected-container-color: color-mix(in srgb, white 12%, transparent);--mat-chip-flat-disabled-selected-container-color: color-mix(in srgb, white 12%, transparent);--mat-chip-focus-state-layer-color: white;--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: white;--mat-chip-label-text-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: white;--mat-chip-selected-trailing-icon-color: white;--mat-chip-with-icon-disabled-icon-color: white;--mat-chip-with-icon-icon-color: white;--mat-chip-with-icon-selected-icon-color: white;--mat-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mat-chip-with-trailing-icon-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mat-chip-disabled-label-text-color: white;--mat-chip-elevated-container-color: #3f51b5;--mat-chip-elevated-disabled-container-color: #3f51b5;--mat-chip-elevated-selected-container-color: #3f51b5;--mat-chip-flat-disabled-selected-container-color: #3f51b5;--mat-chip-focus-state-layer-color: white;--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: white;--mat-chip-label-text-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: white;--mat-chip-selected-trailing-icon-color: white;--mat-chip-with-icon-disabled-icon-color: white;--mat-chip-with-icon-icon-color: white;--mat-chip-with-icon-selected-icon-color: white;--mat-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mat-chip-with-trailing-icon-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mat-chip-disabled-label-text-color: white;--mat-chip-elevated-container-color: #ff4081;--mat-chip-elevated-disabled-container-color: #ff4081;--mat-chip-elevated-selected-container-color: #ff4081;--mat-chip-flat-disabled-selected-container-color: #ff4081;--mat-chip-focus-state-layer-color: white;--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: white;--mat-chip-label-text-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: white;--mat-chip-selected-trailing-icon-color: white;--mat-chip-with-icon-disabled-icon-color: white;--mat-chip-with-icon-icon-color: white;--mat-chip-with-icon-selected-icon-color: white;--mat-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mat-chip-with-trailing-icon-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mat-chip-disabled-label-text-color: white;--mat-chip-elevated-container-color: #f44336;--mat-chip-elevated-disabled-container-color: #f44336;--mat-chip-elevated-selected-container-color: #f44336;--mat-chip-flat-disabled-selected-container-color: #f44336;--mat-chip-focus-state-layer-color: white;--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: white;--mat-chip-label-text-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: white;--mat-chip-selected-trailing-icon-color: white;--mat-chip-with-icon-disabled-icon-color: white;--mat-chip-with-icon-icon-color: white;--mat-chip-with-icon-selected-icon-color: white;--mat-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mat-chip-with-trailing-icon-trailing-icon-color: white}.dark-theme .mat-mdc-slide-toggle.mat-accent{--mat-slide-toggle-selected-icon-color: white;--mat-slide-toggle-disabled-selected-icon-color: white;--mat-slide-toggle-selected-focus-state-layer-color: #ff4081;--mat-slide-toggle-selected-handle-color: #ff4081;--mat-slide-toggle-selected-hover-state-layer-color: #ff4081;--mat-slide-toggle-selected-pressed-state-layer-color: #ff4081;--mat-slide-toggle-selected-focus-handle-color: #ff4081;--mat-slide-toggle-selected-hover-handle-color: #ff4081;--mat-slide-toggle-selected-pressed-handle-color: #ff4081;--mat-slide-toggle-selected-focus-track-color: #d81b60;--mat-slide-toggle-selected-hover-track-color: #d81b60;--mat-slide-toggle-selected-pressed-track-color: #d81b60;--mat-slide-toggle-selected-track-color: #d81b60}.dark-theme .mat-mdc-slide-toggle.mat-warn{--mat-slide-toggle-selected-icon-color: white;--mat-slide-toggle-disabled-selected-icon-color: white;--mat-slide-toggle-selected-focus-state-layer-color: #f44336;--mat-slide-toggle-selected-handle-color: #f44336;--mat-slide-toggle-selected-hover-state-layer-color: #f44336;--mat-slide-toggle-selected-pressed-state-layer-color: #f44336;--mat-slide-toggle-selected-focus-handle-color: #f44336;--mat-slide-toggle-selected-hover-handle-color: #f44336;--mat-slide-toggle-selected-pressed-handle-color: #f44336;--mat-slide-toggle-selected-focus-track-color: #e53935;--mat-slide-toggle-selected-hover-track-color: #e53935;--mat-slide-toggle-selected-pressed-track-color: #e53935;--mat-slide-toggle-selected-track-color: #e53935}.dark-theme .mat-mdc-radio-button.mat-primary{--mat-radio-checked-ripple-color: #3f51b5;--mat-radio-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-radio-disabled-selected-icon-color: white;--mat-radio-disabled-unselected-icon-color: white;--mat-radio-label-text-color: white;--mat-radio-ripple-color: white;--mat-radio-selected-focus-icon-color: #3f51b5;--mat-radio-selected-hover-icon-color: #3f51b5;--mat-radio-selected-icon-color: #3f51b5;--mat-radio-selected-pressed-icon-color: #3f51b5;--mat-radio-unselected-focus-icon-color: white;--mat-radio-unselected-hover-icon-color: white;--mat-radio-unselected-icon-color: rgba(255, 255, 255, .7);--mat-radio-unselected-pressed-icon-color: white}.dark-theme .mat-mdc-radio-button.mat-accent{--mat-radio-checked-ripple-color: #ff4081;--mat-radio-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-radio-disabled-selected-icon-color: white;--mat-radio-disabled-unselected-icon-color: white;--mat-radio-label-text-color: white;--mat-radio-ripple-color: white;--mat-radio-selected-focus-icon-color: #ff4081;--mat-radio-selected-hover-icon-color: #ff4081;--mat-radio-selected-icon-color: #ff4081;--mat-radio-selected-pressed-icon-color: #ff4081;--mat-radio-unselected-focus-icon-color: white;--mat-radio-unselected-hover-icon-color: white;--mat-radio-unselected-icon-color: rgba(255, 255, 255, .7);--mat-radio-unselected-pressed-icon-color: white}.dark-theme .mat-mdc-radio-button.mat-warn{--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-radio-disabled-selected-icon-color: white;--mat-radio-disabled-unselected-icon-color: white;--mat-radio-label-text-color: white;--mat-radio-ripple-color: white;--mat-radio-selected-focus-icon-color: #f44336;--mat-radio-selected-hover-icon-color: #f44336;--mat-radio-selected-icon-color: #f44336;--mat-radio-selected-pressed-icon-color: #f44336;--mat-radio-unselected-focus-icon-color: white;--mat-radio-unselected-hover-icon-color: white;--mat-radio-unselected-icon-color: rgba(255, 255, 255, .7);--mat-radio-unselected-pressed-icon-color: white}.dark-theme .mat-accent{--mat-slider-active-track-color: #ff4081;--mat-slider-focus-handle-color: #ff4081;--mat-slider-handle-color: #ff4081;--mat-slider-hover-handle-color: #ff4081;--mat-slider-focus-state-layer-color: color-mix(in srgb, #ff4081 12%, transparent);--mat-slider-hover-state-layer-color: color-mix(in srgb, #ff4081 4%, transparent);--mat-slider-inactive-track-color: #ff4081;--mat-slider-ripple-color: #ff4081;--mat-slider-with-tick-marks-active-container-color: white;--mat-slider-with-tick-marks-inactive-container-color: #ff4081}.dark-theme .mat-warn{--mat-slider-active-track-color: #f44336;--mat-slider-focus-handle-color: #f44336;--mat-slider-handle-color: #f44336;--mat-slider-hover-handle-color: #f44336;--mat-slider-focus-state-layer-color: color-mix(in srgb, #f44336 12%, transparent);--mat-slider-hover-state-layer-color: color-mix(in srgb, #f44336 4%, transparent);--mat-slider-inactive-track-color: #f44336;--mat-slider-ripple-color: #f44336;--mat-slider-with-tick-marks-active-container-color: white;--mat-slider-with-tick-marks-inactive-container-color: #f44336}.dark-theme .mdc-list-item__start,.dark-theme .mdc-list-item__end{--mat-radio-checked-ripple-color: #3f51b5;--mat-radio-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-radio-disabled-selected-icon-color: white;--mat-radio-disabled-unselected-icon-color: white;--mat-radio-label-text-color: white;--mat-radio-ripple-color: white;--mat-radio-selected-focus-icon-color: #3f51b5;--mat-radio-selected-hover-icon-color: #3f51b5;--mat-radio-selected-icon-color: #3f51b5;--mat-radio-selected-pressed-icon-color: #3f51b5;--mat-radio-unselected-focus-icon-color: white;--mat-radio-unselected-hover-icon-color: white;--mat-radio-unselected-icon-color: rgba(255, 255, 255, .7);--mat-radio-unselected-pressed-icon-color: white}.dark-theme .mat-accent .mdc-list-item__start,.dark-theme .mat-accent .mdc-list-item__end{--mat-radio-checked-ripple-color: #ff4081;--mat-radio-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-radio-disabled-selected-icon-color: white;--mat-radio-disabled-unselected-icon-color: white;--mat-radio-label-text-color: white;--mat-radio-ripple-color: white;--mat-radio-selected-focus-icon-color: #ff4081;--mat-radio-selected-hover-icon-color: #ff4081;--mat-radio-selected-icon-color: #ff4081;--mat-radio-selected-pressed-icon-color: #ff4081;--mat-radio-unselected-focus-icon-color: white;--mat-radio-unselected-hover-icon-color: white;--mat-radio-unselected-icon-color: rgba(255, 255, 255, .7);--mat-radio-unselected-pressed-icon-color: white}.dark-theme .mat-warn .mdc-list-item__start,.dark-theme .mat-warn .mdc-list-item__end{--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-radio-disabled-selected-icon-color: white;--mat-radio-disabled-unselected-icon-color: white;--mat-radio-label-text-color: white;--mat-radio-ripple-color: white;--mat-radio-selected-focus-icon-color: #f44336;--mat-radio-selected-hover-icon-color: #f44336;--mat-radio-selected-icon-color: #f44336;--mat-radio-selected-pressed-icon-color: #f44336;--mat-radio-unselected-focus-icon-color: white;--mat-radio-unselected-hover-icon-color: white;--mat-radio-unselected-icon-color: rgba(255, 255, 255, .7);--mat-radio-unselected-pressed-icon-color: white}.dark-theme .mat-mdc-list-option{--mat-checkbox-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-label-text-color: white;--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #3f51b5;--mat-checkbox-selected-hover-icon-color: #3f51b5;--mat-checkbox-selected-icon-color: #3f51b5;--mat-checkbox-selected-pressed-icon-color: #3f51b5;--mat-checkbox-unselected-focus-icon-color: white;--mat-checkbox-unselected-hover-icon-color: white;--mat-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-checkbox-selected-focus-state-layer-color: #3f51b5;--mat-checkbox-selected-hover-state-layer-color: #3f51b5;--mat-checkbox-selected-pressed-state-layer-color: #3f51b5;--mat-checkbox-unselected-focus-state-layer-color: white;--mat-checkbox-unselected-hover-state-layer-color: white;--mat-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-option.mat-accent{--mat-checkbox-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-label-text-color: white;--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #ff4081;--mat-checkbox-selected-hover-icon-color: #ff4081;--mat-checkbox-selected-icon-color: #ff4081;--mat-checkbox-selected-pressed-icon-color: #ff4081;--mat-checkbox-unselected-focus-icon-color: white;--mat-checkbox-unselected-hover-icon-color: white;--mat-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-checkbox-selected-focus-state-layer-color: #ff4081;--mat-checkbox-selected-hover-state-layer-color: #ff4081;--mat-checkbox-selected-pressed-state-layer-color: #ff4081;--mat-checkbox-unselected-focus-state-layer-color: white;--mat-checkbox-unselected-hover-state-layer-color: white;--mat-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-option.mat-warn{--mat-checkbox-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-label-text-color: white;--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #f44336;--mat-checkbox-selected-hover-icon-color: #f44336;--mat-checkbox-selected-icon-color: #f44336;--mat-checkbox-selected-pressed-icon-color: #f44336;--mat-checkbox-unselected-focus-icon-color: white;--mat-checkbox-unselected-hover-icon-color: white;--mat-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-checkbox-selected-focus-state-layer-color: #f44336;--mat-checkbox-selected-hover-state-layer-color: #f44336;--mat-checkbox-selected-pressed-state-layer-color: #f44336;--mat-checkbox-unselected-focus-state-layer-color: white;--mat-checkbox-unselected-hover-state-layer-color: white;--mat-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__start,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__start{color:#3f51b5}.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}.dark-theme .mat-mdc-tab-group,.dark-theme .mat-mdc-tab-nav-bar{--mat-tab-disabled-ripple-color: rgba(255, 255, 255, .7);--mat-tab-pagination-icon-color: white;--mat-tab-inactive-label-text-color: rgba(255, 255, 255, .7);--mat-tab-active-label-text-color: #3f51b5;--mat-tab-active-ripple-color: #3f51b5;--mat-tab-inactive-ripple-color: #3f51b5;--mat-tab-inactive-focus-label-text-color: rgba(255, 255, 255, .7);--mat-tab-inactive-hover-label-text-color: rgba(255, 255, 255, .7);--mat-tab-active-focus-label-text-color: #3f51b5;--mat-tab-active-hover-label-text-color: #3f51b5;--mat-tab-active-focus-indicator-color: #3f51b5;--mat-tab-active-hover-indicator-color: #3f51b5;--mat-tab-active-indicator-color: #3f51b5}.dark-theme .mat-mdc-tab-group.mat-accent,.dark-theme .mat-mdc-tab-nav-bar.mat-accent{--mat-tab-disabled-ripple-color: rgba(255, 255, 255, .7);--mat-tab-pagination-icon-color: white;--mat-tab-inactive-label-text-color: rgba(255, 255, 255, .7);--mat-tab-active-label-text-color: #ff4081;--mat-tab-active-ripple-color: #ff4081;--mat-tab-inactive-ripple-color: #ff4081;--mat-tab-inactive-focus-label-text-color: rgba(255, 255, 255, .7);--mat-tab-inactive-hover-label-text-color: rgba(255, 255, 255, .7);--mat-tab-active-focus-label-text-color: #ff4081;--mat-tab-active-hover-label-text-color: #ff4081;--mat-tab-active-focus-indicator-color: #ff4081;--mat-tab-active-hover-indicator-color: #ff4081;--mat-tab-active-indicator-color: #ff4081}.dark-theme .mat-mdc-tab-group.mat-warn,.dark-theme .mat-mdc-tab-nav-bar.mat-warn{--mat-tab-disabled-ripple-color: rgba(255, 255, 255, .7);--mat-tab-pagination-icon-color: white;--mat-tab-inactive-label-text-color: rgba(255, 255, 255, .7);--mat-tab-active-label-text-color: #f44336;--mat-tab-active-ripple-color: #f44336;--mat-tab-inactive-ripple-color: #f44336;--mat-tab-inactive-focus-label-text-color: rgba(255, 255, 255, .7);--mat-tab-inactive-hover-label-text-color: rgba(255, 255, 255, .7);--mat-tab-active-focus-label-text-color: #f44336;--mat-tab-active-hover-label-text-color: #f44336;--mat-tab-active-focus-indicator-color: #f44336;--mat-tab-active-hover-indicator-color: #f44336;--mat-tab-active-indicator-color: #f44336}.dark-theme .mat-mdc-tab-group.mat-background-primary,.dark-theme .mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-background-color: #3f51b5;--mat-tab-foreground-color: white}.dark-theme .mat-mdc-tab-group.mat-background-accent,.dark-theme .mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-background-color: #ff4081;--mat-tab-foreground-color: white}.dark-theme .mat-mdc-tab-group.mat-background-warn,.dark-theme .mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-background-color: #f44336;--mat-tab-foreground-color: white}.dark-theme .mat-mdc-checkbox.mat-primary{--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #3f51b5;--mat-checkbox-selected-hover-icon-color: #3f51b5;--mat-checkbox-selected-icon-color: #3f51b5;--mat-checkbox-selected-pressed-icon-color: #3f51b5;--mat-checkbox-unselected-focus-icon-color: white;--mat-checkbox-unselected-hover-icon-color: white;--mat-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-checkbox-selected-focus-state-layer-color: #3f51b5;--mat-checkbox-selected-hover-state-layer-color: #3f51b5;--mat-checkbox-selected-pressed-state-layer-color: #3f51b5;--mat-checkbox-unselected-focus-state-layer-color: white;--mat-checkbox-unselected-hover-state-layer-color: white;--mat-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-checkbox.mat-warn{--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #f44336;--mat-checkbox-selected-hover-icon-color: #f44336;--mat-checkbox-selected-icon-color: #f44336;--mat-checkbox-selected-pressed-icon-color: #f44336;--mat-checkbox-unselected-focus-icon-color: white;--mat-checkbox-unselected-hover-icon-color: white;--mat-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-checkbox-selected-focus-state-layer-color: #f44336;--mat-checkbox-selected-hover-state-layer-color: #f44336;--mat-checkbox-selected-pressed-state-layer-color: #f44336;--mat-checkbox-unselected-focus-state-layer-color: white;--mat-checkbox-unselected-hover-state-layer-color: white;--mat-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-button.mat-primary,.dark-theme .mat-mdc-unelevated-button.mat-primary,.dark-theme .mat-mdc-raised-button.mat-primary,.dark-theme .mat-mdc-outlined-button.mat-primary,.dark-theme .mat-tonal-button.mat-primary{--mat-button-filled-container-color: #3f51b5;--mat-button-filled-label-text-color: white;--mat-button-filled-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-state-layer-color: white;--mat-button-outlined-label-text-color: #3f51b5;--mat-button-outlined-outline-color: rgba(255, 255, 255, .12);--mat-button-outlined-ripple-color: color-mix(in srgb, #3f51b5 12%, transparent);--mat-button-outlined-state-layer-color: #3f51b5;--mat-button-protected-container-color: #3f51b5;--mat-button-protected-label-text-color: white;--mat-button-protected-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-state-layer-color: white;--mat-button-text-label-text-color: #3f51b5;--mat-button-text-ripple-color: color-mix(in srgb, #3f51b5 12%, transparent);--mat-button-text-state-layer-color: #3f51b5;--mat-button-tonal-container-color: #3f51b5;--mat-button-tonal-label-text-color: white;--mat-button-tonal-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-state-layer-color: white}.dark-theme .mat-mdc-button.mat-accent,.dark-theme .mat-mdc-unelevated-button.mat-accent,.dark-theme .mat-mdc-raised-button.mat-accent,.dark-theme .mat-mdc-outlined-button.mat-accent,.dark-theme .mat-tonal-button.mat-accent{--mat-button-filled-container-color: #ff4081;--mat-button-filled-label-text-color: white;--mat-button-filled-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-state-layer-color: white;--mat-button-outlined-label-text-color: #ff4081;--mat-button-outlined-outline-color: rgba(255, 255, 255, .12);--mat-button-outlined-ripple-color: color-mix(in srgb, #ff4081 12%, transparent);--mat-button-outlined-state-layer-color: #ff4081;--mat-button-protected-container-color: #ff4081;--mat-button-protected-label-text-color: white;--mat-button-protected-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-state-layer-color: white;--mat-button-text-label-text-color: #ff4081;--mat-button-text-ripple-color: color-mix(in srgb, #ff4081 12%, transparent);--mat-button-text-state-layer-color: #ff4081;--mat-button-tonal-container-color: #ff4081;--mat-button-tonal-label-text-color: white;--mat-button-tonal-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-state-layer-color: white}.dark-theme .mat-mdc-button.mat-warn,.dark-theme .mat-mdc-unelevated-button.mat-warn,.dark-theme .mat-mdc-raised-button.mat-warn,.dark-theme .mat-mdc-outlined-button.mat-warn,.dark-theme .mat-tonal-button.mat-warn{--mat-button-filled-container-color: #f44336;--mat-button-filled-label-text-color: white;--mat-button-filled-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-state-layer-color: white;--mat-button-outlined-label-text-color: #f44336;--mat-button-outlined-outline-color: rgba(255, 255, 255, .12);--mat-button-outlined-ripple-color: color-mix(in srgb, #f44336 12%, transparent);--mat-button-outlined-state-layer-color: #f44336;--mat-button-protected-container-color: #f44336;--mat-button-protected-label-text-color: white;--mat-button-protected-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-state-layer-color: white;--mat-button-text-label-text-color: #f44336;--mat-button-text-ripple-color: color-mix(in srgb, #f44336 12%, transparent);--mat-button-text-state-layer-color: #f44336;--mat-button-tonal-container-color: #f44336;--mat-button-tonal-label-text-color: white;--mat-button-tonal-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-state-layer-color: white}.dark-theme .mat-mdc-icon-button.mat-primary{--mat-icon-button-icon-color: #3f51b5;--mat-icon-button-state-layer-color: #3f51b5;--mat-icon-button-ripple-color: color-mix(in srgb, #3f51b5 12%, transparent)}.dark-theme .mat-mdc-icon-button.mat-accent{--mat-icon-button-icon-color: #ff4081;--mat-icon-button-state-layer-color: #ff4081;--mat-icon-button-ripple-color: color-mix(in srgb, #ff4081 12%, transparent)}.dark-theme .mat-mdc-icon-button.mat-warn{--mat-icon-button-icon-color: #f44336;--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: color-mix(in srgb, #f44336 12%, transparent)}.dark-theme .mat-mdc-fab.mat-primary,.dark-theme .mat-mdc-mini-fab.mat-primary{--mat-fab-container-color: #3f51b5;--mat-fab-foreground-color: white;--mat-fab-ripple-color: color-mix(in srgb, #3f51b5 12%, transparent);--mat-fab-small-container-color: #3f51b5;--mat-fab-small-foreground-color: white;--mat-fab-small-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-state-layer-color: white;--mat-fab-state-layer-color: white}.dark-theme .mat-mdc-fab.mat-accent,.dark-theme .mat-mdc-mini-fab.mat-accent{--mat-fab-container-color: #ff4081;--mat-fab-foreground-color: white;--mat-fab-ripple-color: color-mix(in srgb, #ff4081 12%, transparent);--mat-fab-small-container-color: #ff4081;--mat-fab-small-foreground-color: white;--mat-fab-small-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-state-layer-color: white;--mat-fab-state-layer-color: white}.dark-theme .mat-mdc-fab.mat-warn,.dark-theme .mat-mdc-mini-fab.mat-warn{--mat-fab-container-color: #f44336;--mat-fab-foreground-color: white;--mat-fab-ripple-color: color-mix(in srgb, #f44336 12%, transparent);--mat-fab-small-container-color: #f44336;--mat-fab-small-foreground-color: white;--mat-fab-small-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-state-layer-color: white;--mat-fab-state-layer-color: white}.dark-theme .mat-accent{--mat-progress-spinner-active-indicator-color: #ff4081}.dark-theme .mat-warn{--mat-progress-spinner-active-indicator-color: #f44336}.dark-theme .mat-badge-accent{--mat-badge-background-color: #ff4081;--mat-badge-text-color: white}.dark-theme .mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}.dark-theme .mat-datepicker-content.mat-accent,.dark-theme .mat-datepicker-toggle-active.mat-accent{--mat-datepicker-calendar-date-in-range-state-background-color: color-mix(in srgb, #ff4081 20%, transparent);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: color-mix(in srgb, #ff4081 20%, transparent);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032);--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #ff4081;--mat-datepicker-calendar-date-selected-disabled-state-background-color: color-mix(in srgb, #ff4081 38%, transparent);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: color-mix(in srgb, #ff4081 12%, transparent);--mat-datepicker-calendar-date-hover-state-background-color: color-mix(in srgb, #ff4081 4%, transparent);--mat-datepicker-toggle-active-state-icon-color: #ff4081;--mat-datepicker-toggle-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-body-label-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-period-button-text-color: white;--mat-datepicker-calendar-period-button-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-navigation-button-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-header-divider-color: rgba(255, 255, 255, .12);--mat-datepicker-calendar-header-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-outline-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-disabled-state-outline-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-date-text-color: white;--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(255, 255, 255, .7);--mat-datepicker-range-input-separator-color: white;--mat-datepicker-range-input-disabled-state-separator-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-range-input-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-container-background-color: #424242;--mat-datepicker-calendar-container-text-color: white}.dark-theme .mat-datepicker-content.mat-warn,.dark-theme .mat-datepicker-toggle-active.mat-warn{--mat-datepicker-calendar-date-in-range-state-background-color: color-mix(in srgb, #f44336 20%, transparent);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: color-mix(in srgb, #ff4081 20%, transparent);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032);--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: color-mix(in srgb, #f44336 38%, transparent);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: color-mix(in srgb, #f44336 12%, transparent);--mat-datepicker-calendar-date-hover-state-background-color: color-mix(in srgb, #f44336 4%, transparent);--mat-datepicker-toggle-active-state-icon-color: #f44336;--mat-datepicker-toggle-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-body-label-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-period-button-text-color: white;--mat-datepicker-calendar-period-button-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-navigation-button-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-header-divider-color: rgba(255, 255, 255, .12);--mat-datepicker-calendar-header-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-outline-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-disabled-state-outline-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-date-text-color: white;--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(255, 255, 255, .7);--mat-datepicker-range-input-separator-color: white;--mat-datepicker-range-input-disabled-state-separator-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-range-input-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-container-background-color: #424242;--mat-datepicker-calendar-container-text-color: white}.dark-theme .mat-icon.mat-primary{--mat-icon-color: #3f51b5}.dark-theme .mat-icon.mat-accent{--mat-icon-color: #ff4081}.dark-theme .mat-icon.mat-warn{--mat-icon-color: #f44336}.dark-theme .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #ff4081;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #ff4081;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #ff4081;--mat-stepper-header-edit-state-icon-foreground-color: white}.dark-theme .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}.dark-theme .mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #3f51b5;--mat-toolbar-container-text-color: white}.dark-theme .mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #ff4081;--mat-toolbar-container-text-color: white}.dark-theme .mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}.dark-theme html,.dark-theme body{background-color:#303030}.dark-theme .mat-toolbar.mat-primary{background:#303030;color:#fff}.dark-theme .card{background-color:#303030;border-color:#666;box-shadow:#ffffff24 0 1px 4px;color:#fff}.dark-theme .card-header{background-image:linear-gradient(60deg,#4b5266,#465d9c);border-bottom-color:#fff;box-shadow:#00000024 0 4px 20px,#465d9c66 0 7px 10px -5px;color:#fff}.dark-theme .card-title>a{color:#fff}.dark-theme .card-subtitle{font-size:.9rem;margin-left:1.4rem}.dark-theme .detail>.title{background-image:linear-gradient(60deg,#4766bc,#465d9c);border-bottom-color:#fff;box-shadow:#00000024 0 4px 20px,#465d9c66 0 7px 10px -5px;color:#fff}.dark-theme .detail>.title a{color:#ff0}.dark-theme .mat-mdc-menu-content .mat-mdc-menu-item:hover{background-color:#4f4f4f!important}.dark-theme .mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:#4f4f4f}.dark-theme .mat-primary .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:#fff}.dark-theme uds-sidebar .icon{filter:brightness(0) invert(1)} diff --git a/server/src/uds/static/modern/main.js b/server/src/uds/static/modern/main.js index b6599e742..c38f4e6ff 100644 --- a/server/src/uds/static/modern/main.js +++ b/server/src/uds/static/modern/main.js @@ -1,11 +1,27 @@ -var nM=Object.defineProperty,iM=Object.defineProperties;var rM=Object.getOwnPropertyDescriptors;var xl=Object.getOwnPropertySymbols;var gy=Object.prototype.hasOwnProperty,vy=Object.prototype.propertyIsEnumerable;var py=(t,n,e)=>n in t?nM(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,w=(t,n)=>{for(var e in n||={})gy.call(n,e)&&py(t,e,n[e]);if(xl)for(var e of xl(n))vy.call(n,e)&&py(t,e,n[e]);return t},ne=(t,n)=>iM(t,rM(n));var Nf=(t,n)=>{var e={};for(var i in t)gy.call(t,i)&&n.indexOf(i)<0&&(e[i]=t[i]);if(t!=null&&xl)for(var i of xl(t))n.indexOf(i)<0&&vy.call(t,i)&&(e[i]=t[i]);return e};var Se=(t,n,e)=>new Promise((i,r)=>{var o=l=>{try{a(e.next(l))}catch(c){r(c)}},s=l=>{try{a(e.throw(l))}catch(c){r(c)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(o,s);a((e=e.apply(t,n)).next())});function jf(t,n){return Object.is(t,n)}var dt=null,Os=!1,Bf=1,Dt=Symbol("SIGNAL");function we(t){let n=dt;return dt=t,n}function yy(){return dt}function oM(){return Os}var Sr={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Dl(t){if(Os)throw new Error("");if(dt===null)return;dt.consumerOnSignalRead(t);let n=dt.nextProducerIndex++;if(Il(dt),nt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Ps(t){Il(t);for(let n=0;n0}function Il(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Cy(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Dy(t){return t.producerNode!==void 0}function Uf(t){let n=Object.create(aM);n.computation=t;let e=()=>{if(zf(n),Dl(n),n.value===Cl)throw n.error;return n.value};return e[Dt]=n,e}var Pf=Symbol("UNSET"),Ff=Symbol("COMPUTING"),Cl=Symbol("ERRORED"),aM=ne(w({},Sr),{value:Pf,dirty:!0,error:null,equal:jf,producerMustRecompute(t){return t.value===Pf||t.value===Ff},producerRecomputeValue(t){if(t.value===Ff)throw new Error("Detected cycle in computations.");let n=t.value;t.value=Ff;let e=vo(t),i;try{i=t.computation()}catch(r){i=Cl,t.error=r}finally{Ns(t,e)}if(n!==Pf&&n!==Cl&&i!==Cl&&t.equal(n,i)){t.value=n;return}t.value=i,t.version++}});function lM(){throw new Error}var Ey=lM;function Iy(){Ey()}function My(t){Ey=t}var cM=null;function Sy(t){let n=Object.create(Hf);n.value=t;let e=()=>(Dl(n),n.value);return e[Dt]=n,e}function Ml(t,n){by()||Iy(),t.equal(t.value,n)||(t.value=n,dM(t))}function Ty(t,n){by()||Iy(),Ml(t,n(t.value))}var Hf=ne(w({},Sr),{equal:jf,value:void 0});function dM(t){t.version++,sM(),_y(t),cM?.()}function Ay(t,n,e){let i=Object.create(uM);e&&(i.consumerAllowSignalWrites=!0),i.fn=t,i.schedule=n;let r=l=>{i.cleanupFn=l};function o(l){return l.fn===null&&l.schedule===null}function s(l){o(l)||(yo(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=Vf)}let a=()=>{if(i.fn===null)return;if(oM())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(i.dirty=!1,i.hasRun&&!Ps(i))return;i.hasRun=!0;let l=vo(i);try{i.cleanupFn(),i.cleanupFn=Vf,i.fn(r)}finally{Ns(i,l)}};return i.ref={notify:()=>wy(i),run:a,cleanup:()=>i.cleanupFn(),destroy:()=>s(i),[Dt]:i},i.ref}var Vf=()=>{},uM=ne(w({},Sr),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:Vf});function Q(t){return typeof t=="function"}function Ui(t){let e=t(i=>{Error.call(i),i.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Sl=Ui(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription: +var oA=Object.defineProperty,sA=Object.defineProperties;var aA=Object.getOwnPropertyDescriptors;var Kc=Object.getOwnPropertySymbols;var Kb=Object.prototype.hasOwnProperty,Qb=Object.prototype.propertyIsEnumerable;var Yb=(t,n,e)=>n in t?oA(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,b=(t,n)=>{for(var e in n||={})Kb.call(n,e)&&Yb(t,e,n[e]);if(Kc)for(var e of Kc(n))Qb.call(n,e)&&Yb(t,e,n[e]);return t},Z=(t,n)=>sA(t,aA(n));var wp=(t,n)=>{var e={};for(var i in t)Kb.call(t,i)&&n.indexOf(i)<0&&(e[i]=t[i]);if(t!=null&&Kc)for(var i of Kc(t))n.indexOf(i)<0&&Qb.call(t,i)&&(e[i]=t[i]);return e};var Se=(t,n,e)=>new Promise((i,r)=>{var o=l=>{try{a(e.next(l))}catch(c){r(c)}},s=l=>{try{a(e.throw(l))}catch(c){r(c)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(o,s);a((e=e.apply(t,n)).next())});var Ep;function Qc(){return Ep}function hi(t){let n=Ep;return Ep=t,n}var Zb=Symbol("NotFound");function is(t){return t===Zb||t?.name==="\u0275NotFound"}var Nt=null,Zc=!1,xp=1,lA=null,mt=Symbol("SIGNAL");function ce(t){let n=Nt;return Nt=t,n}function td(){return Nt}var io={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function ro(t){if(Zc)throw new Error("");if(Nt===null)return;Nt.consumerOnSignalRead(t);let n=Nt.producersTail;if(n!==void 0&&n.producer===t)return;let e,i=Nt.recomputing;if(i&&(e=n!==void 0?n.nextProducer:Nt.producers,e!==void 0&&e.producer===t)){Nt.producersTail=e,e.lastReadVersion=t.version;return}let r=t.consumersTail;if(r!==void 0&&r.consumer===Nt&&(!i||dA(r,Nt)))return;let o=rs(Nt),s={producer:t,consumer:Nt,nextProducer:e,prevConsumer:r,lastReadVersion:t.version,nextConsumer:void 0};Nt.producersTail=s,n!==void 0?n.nextProducer=s:Nt.producers=s,o&&t0(t,s)}function Xb(){xp++}function nd(t){if(!(rs(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===xp)){if(!t.producerMustRecompute(t)&&!so(t)){ed(t);return}t.producerRecomputeValue(t),ed(t)}}function Dp(t){if(t.consumers===void 0)return;let n=Zc;Zc=!0;try{for(let e=t.consumers;e!==void 0;e=e.nextConsumer){let i=e.consumer;i.dirty||cA(i)}}finally{Zc=n}}function Sp(){return Nt?.consumerAllowSignalWrites!==!1}function cA(t){t.dirty=!0,Dp(t),t.consumerMarkedDirty?.(t)}function ed(t){t.dirty=!1,t.lastCleanEpoch=xp}function sr(t){return t&&Jb(t),ce(t)}function Jb(t){t.producersTail=void 0,t.recomputing=!0}function oo(t,n){ce(n),t&&e0(t)}function e0(t){t.recomputing=!1;let n=t.producersTail,e=n!==void 0?n.nextProducer:t.producers;if(e!==void 0){if(rs(t))do e=Ip(e);while(e!==void 0);n!==void 0?n.nextProducer=void 0:t.producers=void 0}}function so(t){for(let n=t.producers;n!==void 0;n=n.nextProducer){let e=n.producer,i=n.lastReadVersion;if(i!==e.version||(nd(e),i!==e.version))return!0}return!1}function ar(t){if(rs(t)){let n=t.producers;for(;n!==void 0;)n=Ip(n)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function t0(t,n){let e=t.consumersTail,i=rs(t);if(e!==void 0?(n.nextConsumer=e.nextConsumer,e.nextConsumer=n):(n.nextConsumer=void 0,t.consumers=n),n.prevConsumer=e,t.consumersTail=n,!i)for(let r=t.producers;r!==void 0;r=r.nextProducer)t0(r.producer,r)}function Ip(t){let n=t.producer,e=t.nextProducer,i=t.nextConsumer,r=t.prevConsumer;if(t.nextConsumer=void 0,t.prevConsumer=void 0,i!==void 0?i.prevConsumer=r:n.consumersTail=r,r!==void 0)r.nextConsumer=i;else if(n.consumers=i,!rs(n)){let o=n.producers;for(;o!==void 0;)o=Ip(o)}return e}function rs(t){return t.consumerIsAlwaysLive||t.consumers!==void 0}function id(t){lA?.(t)}function dA(t,n){let e=n.producersTail;if(e!==void 0){let i=n.producers;do{if(i===t)return!0;if(i===e)break;i=i.nextProducer}while(i!==void 0)}return!1}function rd(t,n){return Object.is(t,n)}function Fa(t,n){let e=Object.create(uA);e.computation=t,n!==void 0&&(e.equal=n);let i=()=>{if(nd(e),ro(e),e.value===Pa)throw e.error;return e.value};return i[mt]=e,id(e),i}var Xc=Symbol("UNSET"),Jc=Symbol("COMPUTING"),Pa=Symbol("ERRORED"),uA=Z(b({},io),{value:Xc,dirty:!0,error:null,equal:rd,kind:"computed",producerMustRecompute(t){return t.value===Xc||t.value===Jc},producerRecomputeValue(t){if(t.value===Jc)throw new Error("");let n=t.value;t.value=Jc;let e=sr(t),i,r=!1;try{i=t.computation(),ce(null),r=n!==Xc&&n!==Pa&&i!==Pa&&t.equal(n,i)}catch(o){i=Pa,t.error=o}finally{oo(t,e)}if(r){t.value=n;return}t.value=i,t.version++}});function fA(){throw new Error}var n0=fA;function i0(t){n0(t)}function Mp(t){n0=t}var hA=null;function Tp(t,n){let e=Object.create(La);e.value=t,n!==void 0&&(e.equal=n);let i=()=>r0(e);return i[mt]=e,id(e),[i,s=>os(e,s),s=>Ap(e,s)]}function r0(t){return ro(t),t.value}function os(t,n){Sp()||i0(t),t.equal(t.value,n)||(t.value=n,pA(t))}function Ap(t,n){Sp()||i0(t),os(t,n(t.value))}var La=Z(b({},io),{equal:rd,value:void 0,kind:"signal"});function pA(t){t.version++,Xb(),Dp(t),hA?.(t)}function Y(t){return typeof t=="function"}function lr(t){let e=t(i=>{Error.call(i),i.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var od=lr(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription: ${e.map((i,r)=>`${r+1}) ${i.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=e});function Tr(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var me=class t{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let o of e)o.remove(this);else e.remove(this);let{initialTeardown:i}=this;if(Q(i))try{i()}catch(o){n=o instanceof Sl?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{ky(o)}catch(s){n=n??[],s instanceof Sl?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Sl(n)}}add(n){var e;if(n&&n!==this)if(this.closed)ky(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&Tr(e,n)}remove(n){let{_finalizers:e}=this;e&&Tr(e,n),n instanceof t&&n._removeParent(this)}};me.EMPTY=(()=>{let t=new me;return t.closed=!0,t})();var $f=me.EMPTY;function Tl(t){return t instanceof me||t&&"closed"in t&&Q(t.remove)&&Q(t.add)&&Q(t.unsubscribe)}function ky(t){Q(t)?t():t.unsubscribe()}var _n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var _o={setTimeout(t,n,...e){let{delegate:i}=_o;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=_o;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Al(t){_o.setTimeout(()=>{let{onUnhandledError:n}=_n;if(n)n(t);else throw t})}function Ar(){}var Oy=Gf("C",void 0,void 0);function Ry(t){return Gf("E",void 0,t)}function Ny(t){return Gf("N",t,void 0)}function Gf(t,n,e){return{kind:t,value:n,error:e}}var kr=null;function bo(t){if(_n.useDeprecatedSynchronousErrorHandling){let n=!kr;if(n&&(kr={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:i}=kr;if(kr=null,e)throw i}}else t()}function Py(t){_n.useDeprecatedSynchronousErrorHandling&&kr&&(kr.errorThrown=!0,kr.error=t)}var Or=class extends me{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Tl(n)&&n.add(this)):this.destination=mM}static create(n,e,i){return new bn(n,e,i)}next(n){this.isStopped?qf(Ny(n),this):this._next(n)}error(n){this.isStopped?qf(Ry(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?qf(Oy,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},fM=Function.prototype.bind;function Wf(t,n){return fM.call(t,n)}var Yf=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){kl(i)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){kl(i)}else kl(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){kl(e)}}},bn=class extends Or{constructor(n,e,i){super();let r;if(Q(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&_n.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Wf(n.next,o),error:n.error&&Wf(n.error,o),complete:n.complete&&Wf(n.complete,o)}):r=n}this.destination=new Yf(r)}};function kl(t){_n.useDeprecatedSynchronousErrorHandling?Py(t):Al(t)}function hM(t){throw t}function qf(t,n){let{onStoppedNotification:e}=_n;e&&_o.setTimeout(()=>e(t,n))}var mM={closed:!0,next:Ar,error:hM,complete:Ar};var wo=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Rt(t){return t}function Qf(...t){return Zf(t)}function Zf(t){return t.length===0?Rt:t.length===1?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}var le=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,r){let o=gM(e)?e:new bn(e,i,r);return bo(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return i=Fy(i),new i((r,o)=>{let s=new bn({next:a=>{try{e(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(e){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(e)}[wo](){return this}pipe(...e){return Zf(e)(this)}toPromise(e){return e=Fy(e),new e((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return t.create=n=>new t(n),t})();function Fy(t){var n;return(n=t??_n.Promise)!==null&&n!==void 0?n:Promise}function pM(t){return t&&Q(t.next)&&Q(t.error)&&Q(t.complete)}function gM(t){return t&&t instanceof Or||pM(t)&&Tl(t)}function Kf(t){return Q(t?.lift)}function J(t){return n=>{if(Kf(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Z(t,n,e,i,r){return new Xf(t,n,e,i,r)}var Xf=class extends Or{constructor(n,e,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function xo(){return J((t,n)=>{let e=null;t._refCount++;let i=Z(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let r=t._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}var Rr=class extends le{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Kf(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new me;let e=this.getSubject();n.add(this.source.subscribe(Z(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=me.EMPTY)}return n}refCount(){return xo()(this)}};var Ly=Ui(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var M=(()=>{class t extends le{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let i=new Ol(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new Ly}next(e){bo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(e)}})}error(e){bo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){bo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:i,isStopped:r,observers:o}=this;return i||r?$f:(this.currentObservers=null,o.push(e),new me(()=>{this.currentObservers=null,Tr(o,e)}))}_checkFinalizedStatuses(e){let{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){let e=new le;return e.source=this,e}}return t.create=(n,e)=>new Ol(n,e),t})(),Ol=class extends M{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.next)===null||i===void 0||i.call(e,n)}error(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.error)===null||i===void 0||i.call(e,n)}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n)}_subscribe(n){var e,i;return(i=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&i!==void 0?i:$f}};var ut=class extends M{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){let{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}};var Fs={now(){return(Fs.delegate||Date).now()},delegate:void 0};var Rl=class extends M{constructor(n=1/0,e=1/0,i=Fs){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){let{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;e||(i.push(n),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;sVy(n)&&t()),n},clearImmediate(t){Vy(t)}};var{setImmediate:yM,clearImmediate:_M}=jy,Vs={setImmediate(...t){let{delegate:n}=Vs;return(n?.setImmediate||yM)(...t)},clearImmediate(t){let{delegate:n}=Vs;return(n?.clearImmediate||_M)(t)},delegate:void 0};var Pl=class extends Co{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return i!==null&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=Vs.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,i=0){var r;if(i!=null?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);let{actions:o}=n;e!=null&&((r=o[o.length-1])===null||r===void 0?void 0:r.id)!==e&&(Vs.clearImmediate(e),n._scheduled===e&&(n._scheduled=void 0))}};var Do=class t{constructor(n,e=t.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}};Do.now=Fs.now;var Eo=class extends Do{constructor(n,e=Do.now){super(n,e),this.actions=[],this._active=!1}flush(n){let{actions:e}=this;if(this._active){e.push(n);return}let i;this._active=!0;do if(i=n.execute(n.state,n.delay))break;while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}};var Fl=class extends Eo{flush(n){this._active=!0;let e=this._scheduled;this._scheduled=void 0;let{actions:i}=this,r;n=n||i.shift();do if(r=n.execute(n.state,n.delay))break;while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw r}}};var js=new Fl(Pl);var wn=new Eo(Co),By=wn;var ft=new le(t=>t.complete());function Ll(t){return t&&Q(t.schedule)}function th(t){return t[t.length-1]}function Vl(t){return Q(th(t))?t.pop():void 0}function Vn(t){return Ll(th(t))?t.pop():void 0}function zy(t,n){return typeof th(t)=="number"?t.pop():n}function Hy(t,n,e,i){function r(o){return o instanceof e?o:new e(function(s){s(o)})}return new(e||(e=Promise))(function(o,s){function a(d){try{c(i.next(d))}catch(f){s(f)}}function l(d){try{c(i.throw(d))}catch(f){s(f)}}function c(d){d.done?o(d.value):r(d.value).then(a,l)}c((i=i.apply(t,n||[])).next())})}function Uy(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Nr(t){return this instanceof Nr?(this.v=t,this):new Nr(t)}function $y(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e.apply(t,n||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),r[Symbol.asyncIterator]=function(){return this},r;function s(m){return function(v){return Promise.resolve(v).then(m,f)}}function a(m,v){i[m]&&(r[m]=function(y){return new Promise(function(I,N){o.push([m,y,I,N])>1||l(m,y)})},v&&(r[m]=v(r[m])))}function l(m,v){try{c(i[m](v))}catch(y){g(o[0][3],y)}}function c(m){m.value instanceof Nr?Promise.resolve(m.value.v).then(d,f):g(o[0][2],m)}function d(m){l("next",m)}function f(m){l("throw",m)}function g(m,v){m(v),o.shift(),o.length&&l(o[0][0],o[0][1])}}function Gy(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof Uy=="function"?Uy(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=t[o]&&function(s){return new Promise(function(a,l){s=t[o](s),r(a,l,s.done,s.value)})}}function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}}var Io=t=>t&&typeof t.length=="number"&&typeof t!="function";function jl(t){return Q(t?.then)}function Bl(t){return Q(t[wo])}function zl(t){return Symbol.asyncIterator&&Q(t?.[Symbol.asyncIterator])}function Ul(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function bM(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Hl=bM();function $l(t){return Q(t?.[Hl])}function Gl(t){return $y(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:i,done:r}=yield Nr(e.read());if(r)return yield Nr(void 0);yield yield Nr(i)}}finally{e.releaseLock()}})}function Wl(t){return Q(t?.getReader)}function Ee(t){if(t instanceof le)return t;if(t!=null){if(Bl(t))return wM(t);if(Io(t))return xM(t);if(jl(t))return CM(t);if(zl(t))return Wy(t);if($l(t))return DM(t);if(Wl(t))return EM(t)}throw Ul(t)}function wM(t){return new le(n=>{let e=t[wo]();if(Q(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function xM(t){return new le(n=>{for(let e=0;e{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,Al)})}function DM(t){return new le(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function Wy(t){return new le(n=>{IM(t,n).catch(e=>n.error(e))})}function EM(t){return Wy(Gl(t))}function IM(t,n){var e,i,r,o;return Hy(this,void 0,void 0,function*(){try{for(e=Gy(t);i=yield e.next(),!i.done;){let s=i.value;if(n.next(s),n.closed)return}}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}n.complete()})}function Et(t,n,e,i=0,r=!1){let o=n.schedule(function(){e(),r?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(o),!r)return o}function ql(t,n=0){return J((e,i)=>{e.subscribe(Z(i,r=>Et(i,t,()=>i.next(r),n),()=>Et(i,t,()=>i.complete(),n),r=>Et(i,t,()=>i.error(r),n)))})}function Yl(t,n=0){return J((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function qy(t,n){return Ee(t).pipe(Yl(n),ql(n))}function Yy(t,n){return Ee(t).pipe(Yl(n),ql(n))}function Qy(t,n){return new le(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}function Zy(t,n){return new le(e=>{let i;return Et(e,n,()=>{i=t[Hl](),Et(e,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){e.error(s);return}o?e.complete():e.next(r)},0,!0)}),()=>Q(i?.return)&&i.return()})}function Ql(t,n){if(!t)throw new Error("Iterable cannot be null");return new le(e=>{Et(e,n,()=>{let i=t[Symbol.asyncIterator]();Et(e,n,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function Ky(t,n){return Ql(Gl(t),n)}function Xy(t,n){if(t!=null){if(Bl(t))return qy(t,n);if(Io(t))return Qy(t,n);if(jl(t))return Yy(t,n);if(zl(t))return Ql(t,n);if($l(t))return Zy(t,n);if(Wl(t))return Ky(t,n)}throw Ul(t)}function Fe(t,n){return n?Xy(t,n):Ee(t)}function z(...t){let n=Vn(t);return Fe(t,n)}function Mo(t,n){let e=Q(t)?t:()=>t,i=r=>r.error(e());return new le(n?r=>n.schedule(i,0,r):i)}function So(t){return!!t&&(t instanceof le||Q(t.lift)&&Q(t.subscribe))}var xn=Ui(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function Zl(t,n){let e=typeof n=="object";return new Promise((i,r)=>{let o=new bn({next:s=>{i(s),o.unsubscribe()},error:r,complete:()=>{e?i(n.defaultValue):r(new xn)}});t.subscribe(o)})}function Kl(t){return t instanceof Date&&!isNaN(t)}var MM=Ui(t=>function(e=null){t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=e});function nh(t,n){let{first:e,each:i,with:r=SM,scheduler:o=n??wn,meta:s=null}=Kl(t)?{first:t}:typeof t=="number"?{each:t}:t;if(e==null&&i==null)throw new TypeError("No timeout provided.");return J((a,l)=>{let c,d,f=null,g=0,m=v=>{d=Et(l,o,()=>{try{c.unsubscribe(),Ee(r({meta:s,lastValue:f,seen:g})).subscribe(l)}catch(y){l.error(y)}},v)};c=a.subscribe(Z(l,v=>{d?.unsubscribe(),g++,l.next(f=v),i>0&&m(i)},void 0,void 0,()=>{d?.closed||d?.unsubscribe(),f=null})),!g&&m(e!=null?typeof e=="number"?e:+e-o.now():i)})}function SM(t){throw new MM(t)}function q(t,n){return J((e,i)=>{let r=0;e.subscribe(Z(i,o=>{i.next(t.call(n,o,r++))}))})}var{isArray:TM}=Array;function AM(t,n){return TM(n)?t(...n):t(n)}function To(t){return q(n=>AM(t,n))}var{isArray:kM}=Array,{getPrototypeOf:OM,prototype:RM,keys:NM}=Object;function Xl(t){if(t.length===1){let n=t[0];if(kM(n))return{args:n,keys:null};if(PM(n)){let e=NM(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}function PM(t){return t&&typeof t=="object"&&OM(t)===RM}function Jl(t,n){return t.reduce((e,i,r)=>(e[i]=n[r],e),{})}function Pr(...t){let n=Vn(t),e=Vl(t),{args:i,keys:r}=Xl(t);if(i.length===0)return Fe([],n);let o=new le(FM(i,n,r?s=>Jl(r,s):Rt));return e?o.pipe(To(e)):o}function FM(t,n,e=Rt){return i=>{Jy(n,()=>{let{length:r}=t,o=new Array(r),s=r,a=r;for(let l=0;l{let c=Fe(t[l],n),d=!1;c.subscribe(Z(i,f=>{o[l]=f,d||(d=!0,a--),a||i.next(e(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}function Jy(t,n,e){t?Et(e,t,n):n()}function e_(t,n,e,i,r,o,s,a){let l=[],c=0,d=0,f=!1,g=()=>{f&&!l.length&&!c&&n.complete()},m=y=>c{o&&n.next(y),c++;let I=!1;Ee(e(y,d++)).subscribe(Z(n,N=>{r?.(N),o?m(N):n.next(N)},()=>{I=!0},void 0,()=>{if(I)try{for(c--;l.length&&cv(N)):v(N)}g()}catch(N){n.error(N)}}))};return t.subscribe(Z(n,m,()=>{f=!0,g()})),()=>{a?.()}}function Ge(t,n,e=1/0){return Q(n)?Ge((i,r)=>q((o,s)=>n(i,o,r,s))(Ee(t(i,r))),e):(typeof n=="number"&&(e=n),J((i,r)=>e_(i,r,t,e)))}function Hi(t=1/0){return Ge(Rt,t)}function t_(){return Hi(1)}function jn(...t){return t_()(Fe(t,Vn(t)))}function Bn(t){return new le(n=>{Ee(t()).subscribe(n)})}function ih(...t){let n=Vl(t),{args:e,keys:i}=Xl(t),r=new le(o=>{let{length:s}=e;if(!s){o.complete();return}let a=new Array(s),l=s,c=s;for(let d=0;d{f||(f=!0,c--),a[d]=g},()=>l--,void 0,()=>{(!l||!f)&&(c||o.next(i?Jl(i,a):a),o.complete())}))}});return n?r.pipe(To(n)):r}var LM=["addListener","removeListener"],VM=["addEventListener","removeEventListener"],jM=["on","off"];function fi(t,n,e,i){if(Q(e)&&(i=e,e=void 0),i)return fi(t,n,e).pipe(To(i));let[r,o]=UM(t)?VM.map(s=>a=>t[s](n,a,e)):BM(t)?LM.map(n_(t,n)):zM(t)?jM.map(n_(t,n)):[];if(!r&&Io(t))return Ge(s=>fi(s,n,e))(Ee(t));if(!r)throw new TypeError("Invalid event target");return new le(s=>{let a=(...l)=>s.next(1o(a)})}function n_(t,n){return e=>i=>t[e](n,i)}function BM(t){return Q(t.addListener)&&Q(t.removeListener)}function zM(t){return Q(t.on)&&Q(t.off)}function UM(t){return Q(t.addEventListener)&&Q(t.removeEventListener)}function Ao(t=0,n,e=By){let i=-1;return n!=null&&(Ll(n)?e=n:i=n),new le(r=>{let o=Kl(t)?+t-e.now():t;o<0&&(o=0);let s=0;return e.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function rh(t=0,n=wn){return t<0&&(t=0),Ao(t,t,n)}function bt(...t){let n=Vn(t),e=zy(t,1/0),i=t;return i.length?i.length===1?Ee(i[0]):Hi(e)(Fe(i,n)):ft}function ie(t,n){return J((e,i)=>{let r=0;e.subscribe(Z(i,o=>t.call(n,o,r++)&&i.next(o)))})}function i_(t){return J((n,e)=>{let i=!1,r=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;let c=r;r=null,e.next(c)}s&&e.complete()},l=()=>{o=null,s&&e.complete()};n.subscribe(Z(e,c=>{i=!0,r=c,o||Ee(t(c)).subscribe(o=Z(e,a,l))},()=>{s=!0,(!i||!o||o.closed)&&e.complete()}))})}function ec(t,n=wn){return i_(()=>Ao(t,n))}function $i(t){return J((n,e)=>{let i=null,r=!1,o;i=n.subscribe(Z(e,void 0,void 0,s=>{o=Ee(t(s,$i(t)(n))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}function r_(t,n,e,i,r){return(o,s)=>{let a=e,l=n,c=0;o.subscribe(Z(s,d=>{let f=c++;l=a?t(l,d,f):(a=!0,d),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}function hi(t,n){return Q(n)?Ge(t,n,1):Ge(t,1)}function Fr(t,n=wn){return J((e,i)=>{let r=null,o=null,s=null,a=()=>{if(r){r.unsubscribe(),r=null;let c=o;o=null,i.next(c)}};function l(){let c=s+t,d=n.now();if(d{o=c,s=n.now(),r||(r=n.schedule(l,t),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}function Gi(t){return J((n,e)=>{let i=!1;n.subscribe(Z(e,r=>{i=!0,e.next(r)},()=>{i||e.next(t),e.complete()}))})}function je(t){return t<=0?()=>ft:J((n,e)=>{let i=0;n.subscribe(Z(e,r=>{++i<=t&&(e.next(r),t<=i&&e.complete())}))})}function o_(){return J((t,n)=>{t.subscribe(Z(n,Ar))})}function Bs(t){return q(()=>t)}function oh(t,n){return n?e=>jn(n.pipe(je(1),o_()),e.pipe(oh(t))):Ge((e,i)=>Ee(t(e,i)).pipe(je(1),Bs(e)))}function tc(t,n=wn){let e=Ao(t,n);return oh(()=>e)}function Wi(t,n=Rt){return t=t??HM,J((e,i)=>{let r,o=!0;e.subscribe(Z(i,s=>{let a=n(s);(o||!t(r,a))&&(o=!1,r=a,i.next(s))}))})}function HM(t,n){return t===n}function nc(t=$M){return J((n,e)=>{let i=!1;n.subscribe(Z(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(t())))})}function $M(){return new xn}function qi(t){return J((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function zn(t,n){let e=arguments.length>=2;return i=>i.pipe(t?ie((r,o)=>t(r,o,i)):Rt,je(1),e?Gi(n):nc(()=>new xn))}function ko(t){return t<=0?()=>ft:J((n,e)=>{let i=[];n.subscribe(Z(e,r=>{i.push(r),t{for(let r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}function sh(t,n){let e=arguments.length>=2;return i=>i.pipe(t?ie((r,o)=>t(r,o,i)):Rt,ko(1),e?Gi(n):nc(()=>new xn))}function ic(){return J((t,n)=>{let e,i=!1;t.subscribe(Z(n,r=>{let o=e;e=r,i&&n.next([o,r]),i=!0}))})}function ah(t,n){return J(r_(t,n,arguments.length>=2,!0))}function s_(t={}){let{connector:n=()=>new M,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return o=>{let s,a,l,c=0,d=!1,f=!1,g=()=>{a?.unsubscribe(),a=void 0},m=()=>{g(),s=l=void 0,d=f=!1},v=()=>{let y=s;m(),y?.unsubscribe()};return J((y,I)=>{c++,!f&&!d&&g();let N=l=l??n();I.add(()=>{c--,c===0&&!f&&!d&&(a=lh(v,r))}),N.subscribe(I),!s&&c>0&&(s=new bn({next:ee=>N.next(ee),error:ee=>{f=!0,g(),a=lh(m,e,ee),N.error(ee)},complete:()=>{d=!0,g(),a=lh(m,i),N.complete()}}),Ee(y).subscribe(s))})(o)}}function lh(t,n,...e){if(n===!0){t();return}if(n===!1)return;let i=new bn({next:()=>{i.unsubscribe(),t()}});return Ee(n(...e)).subscribe(i)}function rc(t,n,e){let i,r=!1;return t&&typeof t=="object"?{bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:e}=t:i=t??1/0,s_({connector:()=>new Rl(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function zs(t){return ie((n,e)=>t<=e)}function Ke(...t){let n=Vn(t);return J((e,i)=>{(n?jn(t,e,n):jn(t,e)).subscribe(i)})}function tt(t,n){return J((e,i)=>{let r=null,o=0,s=!1,a=()=>s&&!r&&i.complete();e.subscribe(Z(i,l=>{r?.unsubscribe();let c=0,d=o++;Ee(t(l,d)).subscribe(r=Z(i,f=>i.next(n?n(l,f,d,c++):f),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function xe(t){return J((n,e)=>{Ee(t).subscribe(Z(e,()=>e.complete(),Ar)),!e.closed&&n.subscribe(e)})}function ch(t,n=!1){return J((e,i)=>{let r=0;e.subscribe(Z(i,o=>{let s=t(o,r++);(s||n)&&i.next(o),!s&&i.complete()}))})}function Xe(t,n,e){let i=Q(t)||n||e?{next:t,error:n,complete:e}:t;return i?J((r,o)=>{var s;(s=i.subscribe)===null||s===void 0||s.call(i);let a=!0;r.subscribe(Z(o,l=>{var c;(c=i.next)===null||c===void 0||c.call(i,l),o.next(l)},()=>{var l;a=!1,(l=i.complete)===null||l===void 0||l.call(i),o.complete()},l=>{var c;a=!1,(c=i.error)===null||c===void 0||c.call(i,l),o.error(l)},()=>{var l,c;a&&((l=i.unsubscribe)===null||l===void 0||l.call(i)),(c=i.finalize)===null||c===void 0||c.call(i)}))}):Rt}var K_="https://g.co/ng/security#xss",E=class extends Error{code;constructor(n,e){super(Kc(n,e)),this.code=n}};function Kc(t,n){return`${`NG0${Math.abs(t)}`}${n?": "+n:""}`}var X_=Symbol("InputSignalNode#UNSET"),GM=ne(w({},Hf),{transformFn:void 0,applyValueToInputSignal(t,n){Ml(t,n)}});function J_(t,n){let e=Object.create(GM);e.value=t,e.transformFn=n?.transform;function i(){if(Dl(e),e.value===X_)throw new E(-950,!1);return e.value}return i[Dt]=e,i}function ea(t){return{toString:t}.toString()}var oc="__parameters__";function WM(t){return function(...e){if(t){let i=t(...e);for(let r in i)this[r]=i[r]}}}function eb(t,n,e){return ea(()=>{let i=WM(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;let s=new r(...o);return a.annotation=s,a;function a(l,c,d){let f=l.hasOwnProperty(oc)?l[oc]:Object.defineProperty(l,oc,{value:[]})[oc];for(;f.length<=d;)f.push(null);return(f[d]=f[d]||[]).push(s),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}var Yt=globalThis;function Le(t){for(let n in t)if(t[n]===Le)return n;throw Error("Could not find renamed property on target object.")}function qM(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function Pt(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Pt).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let n=t.toString();if(n==null)return""+n;let e=n.indexOf(` -`);return e===-1?n:n.substring(0,e)}function wh(t,n){return t==null||t===""?n===null?"":n:n==null||n===""?t:t+" "+n}var YM=Le({__forward_ref__:Le});function Qn(t){return t.__forward_ref__=Qn,t.toString=function(){return Pt(this())},t}function wt(t){return tb(t)?t():t}function tb(t){return typeof t=="function"&&t.hasOwnProperty(YM)&&t.__forward_ref__===Qn}function C(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function L(t){return{providers:t.providers||[],imports:t.imports||[]}}function Xc(t){return a_(t,ib)||a_(t,rb)}function nb(t){return Xc(t)!==null}function a_(t,n){return t.hasOwnProperty(n)?t[n]:null}function QM(t){let n=t&&(t[ib]||t[rb]);return n||null}function l_(t){return t&&(t.hasOwnProperty(c_)||t.hasOwnProperty(ZM))?t[c_]:null}var ib=Le({\u0275prov:Le}),c_=Le({\u0275inj:Le}),rb=Le({ngInjectableDef:Le}),ZM=Le({ngInjectorDef:Le}),x=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,e){this._desc=n,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=C({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function ob(t){return t&&!!t.\u0275providers}var KM=Le({\u0275cmp:Le}),XM=Le({\u0275dir:Le}),JM=Le({\u0275pipe:Le}),eS=Le({\u0275mod:Le}),_c=Le({\u0275fac:Le}),$s=Le({__NG_ELEMENT_ID__:Le}),d_=Le({__NG_ENV_ID__:Le});function $n(t){return typeof t=="string"?t:t==null?"":String(t)}function tS(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():$n(t)}function nS(t,n){let e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new E(-200,t)}function Cm(t,n){throw new E(-201,!1)}var ve=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(ve||{}),xh;function sb(){return xh}function Vt(t){let n=xh;return xh=t,n}function ab(t,n,e){let i=Xc(t);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(e&ve.Optional)return null;if(n!==void 0)return n;Cm(t,"Injector")}var iS={},Ws=iS,Ch="__NG_DI_FLAG__",bc="ngTempTokenPath",rS="ngTokenPath",oS=/\n/gm,sS="\u0275",u_="__source",Fo;function aS(){return Fo}function Yi(t){let n=Fo;return Fo=t,n}function lS(t,n=ve.Default){if(Fo===void 0)throw new E(-203,!1);return Fo===null?ab(t,void 0,n):Fo.get(t,n&ve.Optional?null:void 0,n)}function k(t,n=ve.Default){return(sb()||lS)(wt(t),n)}function u(t,n=ve.Default){return k(t,Jc(n))}function Jc(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Dh(t){let n=[];for(let e=0;e ");else if(typeof n=="object"){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):Pt(a)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${t.replace(oS,` - `)}`}var ta=lb(eb("Optional"),8);var Dm=lb(eb("SkipSelf"),4);function Vr(t,n){let e=t.hasOwnProperty(_c);return e?t[_c]:null}function fS(t,n,e){if(t.length!==n.length)return!1;for(let i=0;iArray.isArray(e)?Em(e,n):n(e))}function cb(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function wc(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function mS(t,n){let e=[];for(let i=0;in;){let o=r-2;t[r]=t[o],r--}t[n]=e,t[n+1]=i}}function ed(t,n,e){let i=na(t,n);return i>=0?t[i|1]=e:(i=~i,pS(t,i,n,e)),i}function dh(t,n){let e=na(t,n);if(e>=0)return t[e|1]}function na(t,n){return gS(t,n,1)}function gS(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){let o=i+(r-i>>1),s=t[o<n?r=o:i=o+1}return~(r<{e.push(s)};return Em(n,s=>{let a=s;Eh(a,o,[],i)&&(r||=[],r.push(a))}),r!==void 0&&gb(r,o),e}function gb(t,n){for(let e=0;e{n(o,i)})}}function Eh(t,n,e,i){if(t=wt(t),!t)return!1;let r=null,o=l_(t),s=!o&&pi(t);if(!o&&!s){let l=t.ngModule;if(o=l_(l),o)r=l;else return!1}else{if(s&&!s.standalone)return!1;r=t}let a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)Eh(c,n,e,i)}}else if(o){if(o.imports!=null&&!a){i.add(r);let c;try{Em(o.imports,d=>{Eh(d,n,e,i)&&(c||=[],c.push(d))})}finally{}c!==void 0&&gb(c,n)}if(!a){let c=Vr(r)||(()=>new r);n({provide:r,useFactory:c,deps:Nt},r),n({provide:ub,useValue:r,multi:!0},r),n({provide:Vo,useValue:()=>k(r),multi:!0},r)}let l=o.providers;if(l!=null&&!a){let c=t;Mm(l,d=>{n(d,c)})}}else return!1;return r!==t&&t.providers!==void 0}function Mm(t,n){for(let e of t)ob(e)&&(e=e.\u0275providers),Array.isArray(e)?Mm(e,n):n(e)}var yS=Le({provide:String,useValue:Le});function vb(t){return t!==null&&typeof t=="object"&&yS in t}function _S(t){return!!(t&&t.useExisting)}function bS(t){return!!(t&&t.useFactory)}function jo(t){return typeof t=="function"}function wS(t){return!!t.useClass}var nd=new x(""),hc={},xS={},uh;function id(){return uh===void 0&&(uh=new xc),uh}var ht=class{},qs=class extends ht{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,Mh(n,s=>this.processProvider(s)),this.records.set(db,Oo(void 0,this)),r.has("environment")&&this.records.set(ht,Oo(void 0,this));let o=this.records.get(nd);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(ub,Nt,ve.Self))}destroy(){Us(this),this._destroyed=!0;let n=we(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),we(n)}}onDestroy(n){return Us(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Us(this);let e=Yi(this),i=Vt(void 0),r;try{return n()}finally{Yi(e),Vt(i)}}get(n,e=Ws,i=ve.Default){if(Us(this),n.hasOwnProperty(d_))return n[d_](this);i=Jc(i);let r,o=Yi(this),s=Vt(void 0);try{if(!(i&ve.SkipSelf)){let l=this.records.get(n);if(l===void 0){let c=MS(n)&&Xc(n);c&&this.injectableDefInScope(c)?l=Oo(Ih(n),hc):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l)}let a=i&ve.Self?id():this.parent;return e=i&ve.Optional&&e===Ws?null:e,a.get(n,e)}catch(a){if(a.name==="NullInjectorError"){if((a[bc]=a[bc]||[]).unshift(Pt(n)),o)throw a;return dS(a,n,"R3InjectorError",this.source)}else throw a}finally{Vt(s),Yi(o)}}resolveInjectorInitializers(){let n=we(null),e=Yi(this),i=Vt(void 0),r;try{let o=this.get(Vo,Nt,ve.Self);for(let s of o)s()}finally{Yi(e),Vt(i),we(n)}}toString(){let n=[],e=this.records;for(let i of e.keys())n.push(Pt(i));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=wt(n);let e=jo(n)?n:wt(n&&n.provide),i=DS(n);if(!jo(n)&&n.multi===!0){let r=this.records.get(e);r||(r=Oo(void 0,hc,!0),r.factory=()=>Dh(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e){let i=we(null);try{return e.value===hc&&(e.value=xS,e.value=e.factory()),typeof e.value=="object"&&e.value&&IS(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{we(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=wt(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};function Ih(t){let n=Xc(t),e=n!==null?n.factory:Vr(t);if(e!==null)return e;if(t instanceof x)throw new E(204,!1);if(t instanceof Function)return CS(t);throw new E(204,!1)}function CS(t){if(t.length>0)throw new E(204,!1);let e=QM(t);return e!==null?()=>e.factory(t):()=>new t}function DS(t){if(vb(t))return Oo(void 0,t.useValue);{let n=yb(t);return Oo(n,hc)}}function yb(t,n,e){let i;if(jo(t)){let r=wt(t);return Vr(r)||Ih(r)}else if(vb(t))i=()=>wt(t.useValue);else if(bS(t))i=()=>t.useFactory(...Dh(t.deps||[]));else if(_S(t))i=()=>k(wt(t.useExisting));else{let r=wt(t&&(t.useClass||t.provide));if(ES(t))i=()=>new r(...Dh(t.deps));else return Vr(r)||Ih(r)}return i}function Us(t){if(t.destroyed)throw new E(205,!1)}function Oo(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function ES(t){return!!t.deps}function IS(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function MS(t){return typeof t=="function"||typeof t=="object"&&t instanceof x}function Mh(t,n){for(let e of t)Array.isArray(e)?Mh(e,n):e&&ob(e)?Mh(e.\u0275providers,n):n(e)}function Bt(t,n){t instanceof qs&&Us(t);let e,i=Yi(t),r=Vt(void 0);try{return n()}finally{Yi(i),Vt(r)}}function _b(){return sb()!==void 0||aS()!=null}function rd(t){if(!_b())throw new E(-203,!1)}function SS(t){let n=Yt.ng;if(n&&n.\u0275compilerFacade)return n.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function TS(t){return typeof t=="function"}var wi=0,fe=1,K=2,It=3,En=4,zt=5,Ys=6,Cc=7,rn=8,Bo=9,gi=10,We=11,Qs=12,f_=13,Go=14,on=15,jr=16,Ro=17,vi=18,od=19,bb=20,Qi=21,mc=22,Br=23,qt=24,Mt=25,wb=1;var zr=7,Dc=8,zo=9,jt=10,Ec=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Ec||{});function Zi(t){return Array.isArray(t)&&typeof t[wb]=="object"}function xi(t){return Array.isArray(t)&&t[wb]===!0}function Sm(t){return(t.flags&4)!==0}function sd(t){return t.componentOffset>-1}function ad(t){return(t.flags&1)===1}function Ki(t){return!!t.template}function Sh(t){return(t[K]&512)!==0}var Th=class{previousValue;currentValue;firstChange;constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};function xb(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}var qe=(()=>{let t=()=>Cb;return t.ngInherit=!0,t})();function Cb(t){return t.type.prototype.ngOnChanges&&(t.setInput=kS),AS}function AS(){let t=Eb(this),n=t?.current;if(n){let e=t.previous;if(e===mi)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function kS(t,n,e,i,r){let o=this.declaredInputs[i],s=Eb(t)||OS(t,{previous:mi,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new Th(c&&c.currentValue,e,l===mi),xb(t,n,r,e)}var Db="__ngSimpleChanges__";function Eb(t){return t[Db]||null}function OS(t,n){return t[Db]=n}var h_=null;var Un=function(t,n,e){h_?.(t,n,e)},Ib="svg",RS="math";function Gn(t){for(;Array.isArray(t);)t=t[wi];return t}function Mb(t,n){return Gn(n[t])}function an(t,n){return Gn(n[t.index])}function Tm(t,n){return t.data[n]}function Sb(t,n){return t[n]}function tr(t,n){let e=n[t];return Zi(e)?e:e[wi]}function NS(t){return(t[K]&4)===4}function Am(t){return(t[K]&128)===128}function PS(t){return xi(t[It])}function Uo(t,n){return n==null?null:t[n]}function Tb(t){t[Ro]=0}function km(t){t[K]&1024||(t[K]|=1024,Am(t)&&ia(t))}function FS(t,n){for(;t>0;)n=n[Go],t--;return n}function ld(t){return!!(t[K]&9216||t[qt]?.dirty)}function Ah(t){t[gi].changeDetectionScheduler?.notify(9),t[K]&64&&(t[K]|=1024),ld(t)&&ia(t)}function ia(t){t[gi].changeDetectionScheduler?.notify(0);let n=Ur(t);for(;n!==null&&!(n[K]&8192||(n[K]|=8192,!Am(n)));)n=Ur(n)}function Ab(t,n){if((t[K]&256)===256)throw new E(911,!1);t[Qi]===null&&(t[Qi]=[]),t[Qi].push(n)}function LS(t,n){if(t[Qi]===null)return;let e=t[Qi].indexOf(n);e!==-1&&t[Qi].splice(e,1)}function Ur(t){let n=t[It];return xi(n)?n[It]:n}var pe={lFrame:jb(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var kh=!1;function VS(){return pe.lFrame.elementDepthCount}function jS(){pe.lFrame.elementDepthCount++}function BS(){pe.lFrame.elementDepthCount--}function kb(){return pe.bindingsEnabled}function Ob(){return pe.skipHydrationRootTNode!==null}function zS(t){return pe.skipHydrationRootTNode===t}function US(){pe.skipHydrationRootTNode=null}function de(){return pe.lFrame.lView}function Qe(){return pe.lFrame.tView}function re(t){return pe.lFrame.contextLView=t,t[rn]}function oe(t){return pe.lFrame.contextLView=null,t}function yt(){let t=Rb();for(;t!==null&&t.type===64;)t=t.parent;return t}function Rb(){return pe.lFrame.currentTNode}function HS(){let t=pe.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function Zr(t,n){let e=pe.lFrame;e.currentTNode=t,e.isParent=n}function Om(){return pe.lFrame.isParent}function Rm(){pe.lFrame.isParent=!1}function $S(){return pe.lFrame.contextLView}function Nb(){return kh}function Ic(t){let n=kh;return kh=t,n}function Pb(){let t=pe.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function Fb(){return pe.lFrame.bindingIndex}function GS(t){return pe.lFrame.bindingIndex=t}function Wo(){return pe.lFrame.bindingIndex++}function cd(t){let n=pe.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function WS(){return pe.lFrame.inI18n}function qS(t,n){let e=pe.lFrame;e.bindingIndex=e.bindingRootIndex=t,Oh(n)}function YS(){return pe.lFrame.currentDirectiveIndex}function Oh(t){pe.lFrame.currentDirectiveIndex=t}function QS(t){let n=pe.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function Nm(){return pe.lFrame.currentQueryIndex}function dd(t){pe.lFrame.currentQueryIndex=t}function ZS(t){let n=t[fe];return n.type===2?n.declTNode:n.type===1?t[zt]:null}function Lb(t,n,e){if(e&ve.SkipSelf){let r=n,o=t;for(;r=r.parent,r===null&&!(e&ve.Host);)if(r=ZS(o),r===null||(o=o[Go],r.type&10))break;if(r===null)return!1;n=r,t=o}let i=pe.lFrame=Vb();return i.currentTNode=n,i.lView=t,!0}function Pm(t){let n=Vb(),e=t[fe];pe.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function Vb(){let t=pe.lFrame,n=t===null?null:t.child;return n===null?jb(t):n}function jb(t){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=n),n}function Bb(){let t=pe.lFrame;return pe.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var zb=Bb;function Fm(){let t=Bb();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function KS(t){return(pe.lFrame.contextLView=FS(t,pe.lFrame.contextLView))[rn]}function Ci(){return pe.lFrame.selectedIndex}function Hr(t){pe.lFrame.selectedIndex=t}function ra(){let t=pe.lFrame;return Tm(t.tView,t.selectedIndex)}function Zn(){pe.lFrame.currentNamespace=Ib}function ud(){XS()}function XS(){pe.lFrame.currentNamespace=null}function JS(){return pe.lFrame.currentNamespace}var Ub=!0;function fd(){return Ub}function hd(t){Ub=t}function eT(t,n,e){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){let s=Cb(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}r&&(e.preOrderHooks??=[]).push(0-t,r),o&&((e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o))}function md(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e=i)break}else n[l]<0&&(t[Ro]+=65536),(a>14>16&&(t[K]&3)===n&&(t[K]+=16384,m_(a,o)):m_(a,o)}var Lo=-1,$r=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,e,i){this.factory=n,this.canSeeViewProviders=e,this.injectImpl=i}};function nT(t){return t instanceof $r}function iT(t){return(t.flags&8)!==0}function rT(t){return(t.flags&16)!==0}function Rh(t,n,e){let i=0;for(;in){s=o-1;break}}}for(;o>16}function Sc(t,n){let e=sT(t),i=n;for(;e>0;)i=i[Go],e--;return i}var Ph=!0;function Tc(t){let n=Ph;return Ph=t,n}var aT=256,Wb=aT-1,qb=5,lT=0,Hn={};function cT(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty($s)&&(i=e[$s]),i==null&&(i=e[$s]=lT++);let r=i&Wb,o=1<>qb)]|=o}function Ac(t,n){let e=Yb(t,n);if(e!==-1)return e;let i=n[fe];i.firstCreatePass&&(t.injectorIndex=n.length,mh(i.data,t),mh(n,null),mh(i.blueprint,null));let r=Lm(t,n),o=t.injectorIndex;if(Gb(r)){let s=Mc(r),a=Sc(r,n),l=a[fe].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function mh(t,n){t.push(0,0,0,0,0,0,0,0,n)}function Yb(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function Lm(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;r!==null;){if(i=Jb(r),i===null)return Lo;if(e++,r=r[Go],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return Lo}function Fh(t,n,e){cT(t,n,e)}function dT(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let i=e.length,r=0;for(;r>20,f=i?a:a+d,g=r?a+d:c;for(let m=f;m=l&&v.type===e)return m}if(r){let m=s[l];if(m&&Ki(m)&&m.type===e)return l}return null}function Gr(t,n,e,i){let r=t[e],o=n.data;if(nT(r)){let s=r;s.resolving&&nS(tS(o[e]));let a=Tc(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?Vt(s.injectImpl):null,d=Lb(t,i,ve.Default);try{r=t[e]=s.factory(void 0,o,t,i),n.firstCreatePass&&e>=i.directiveStart&&eT(e,o[e],n)}finally{c!==null&&Vt(c),Tc(a),s.resolving=!1,zb()}}return r}function fT(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty($s)?t[$s]:void 0;return typeof n=="number"?n>=0?n&Wb:hT:n}function g_(t,n,e){let i=1<>qb)]&i)}function v_(t,n){return!(t&ve.Self)&&!(t&ve.Host&&n)}var Lr=class{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return Kb(this._tNode,this._lView,n,Jc(i),e)}};function hT(){return new Lr(yt(),de())}function ot(t){return ea(()=>{let n=t.prototype.constructor,e=n[_c]||Lh(n),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){let o=r[_c]||Lh(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Lh(t){return tb(t)?()=>{let n=Lh(wt(t));return n&&n()}:Vr(t)}function mT(t,n,e,i,r){let o=t,s=n;for(;o!==null&&s!==null&&s[K]&2048&&!(s[K]&512);){let a=Xb(o,s,e,i|ve.Self,Hn);if(a!==Hn)return a;let l=o.parent;if(!l){let c=s[bb];if(c){let d=c.get(e,Hn,i);if(d!==Hn)return d}l=Jb(s),s=s[Go]}o=l}return r}function Jb(t){let n=t[fe],e=n.type;return e===2?n.declTNode:e===1?t[zt]:null}function pd(t){return dT(yt(),t)}function y_(t,n=null,e=null,i){let r=e0(t,n,e,i);return r.resolveInjectorInitializers(),r}function e0(t,n=null,e=null,i,r=new Set){let o=[e||Nt,vS(t)];return i=i||(typeof t=="object"?void 0:Pt(t)),new qs(o,n||id(),i||null,r)}var ye=class t{static THROW_IF_NOT_FOUND=Ws;static NULL=new xc;static create(n,e){if(Array.isArray(n))return y_({name:""},e,n,"");{let i=n.name??"";return y_({name:i},n.parent,n.providers,i)}}static \u0275prov=C({token:t,providedIn:"any",factory:()=>k(db)});static __NG_ELEMENT_ID__=-1};var yi=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>pd(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},pT=new x("");pT.__NG_ELEMENT_ID__=t=>{let n=yt();if(n===null)throw new E(204,!1);if(n.type&2)return n.value;if(t&ve.Optional)return null;throw new E(204,!1)};var t0=!1,oa=(()=>{class t{static __NG_ELEMENT_ID__=gT;static __NG_ENV_ID__=e=>e}return t})(),kc=class extends oa{_lView;constructor(n){super(),this._lView=n}onDestroy(n){return Ab(this._lView,n),()=>LS(this._lView,n)}};function gT(){return new kc(de())}var Wr=class{},Vm=new x("",{providedIn:"root",factory:()=>!1});var n0=new x(""),i0=new x(""),Kn=(()=>{class t{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new ut(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=C({token:t,providedIn:"root",factory:()=>new t})}return t})();var Vh=class extends M{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,_b()&&(this.destroyRef=u(oa,{optional:!0})??void 0,this.pendingTasks=u(Kn,{optional:!0})??void 0)}emit(n){let e=we(null);try{super.next(n)}finally{we(e)}}subscribe(n,e,i){let r=n,o=e||(()=>null),s=i;if(n&&typeof n=="object"){let l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:r,error:o,complete:s});return n instanceof me&&n.add(a),a}wrapInTimeout(n){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{n(e),i!==void 0&&this.pendingTasks?.remove(i)})}}},H=Vh;function Ks(...t){}function r0(t){let n,e;function i(){t=Ks;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function __(t){return queueMicrotask(()=>t()),()=>{t=Ks}}var jm="isAngularZone",Oc=jm+"_ID",vT=0,O=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new H(!1);onMicrotaskEmpty=new H(!1);onStable=new H(!1);onError=new H(!1);constructor(n){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=t0}=n;if(typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&i,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=o,bT(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(jm)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new E(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,r){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,yT,Ks,Ks);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}},yT={};function Bm(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function _T(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){r0(()=>{t.callbackScheduled=!1,jh(t),t.isCheckStableRunning=!0,Bm(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),jh(t)}function bT(t){let n=()=>{_T(t)},e=vT++;t._inner=t._inner.fork({name:"angular",properties:{[jm]:!0,[Oc]:e,[Oc+e]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(wT(l))return i.invokeTask(o,s,a,l);try{return b_(t),i.invokeTask(o,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),w_(t)}},onInvoke:(i,r,o,s,a,l,c)=>{try{return b_(t),i.invoke(o,s,a,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!xT(l)&&n(),w_(t)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,jh(t),Bm(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,r,o,s)=>(i.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function jh(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function b_(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function w_(t){t._nesting--,Bm(t)}var Rc=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new H;onMicrotaskEmpty=new H;onStable=new H;onError=new H;run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,r){return n.apply(e,i)}};function wT(t){return o0(t,"__ignore_ng_zone__")}function xT(t){return o0(t,"__scheduler_tick__")}function o0(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}function CT(t="zone.js",n){return t==="noop"?new Rc:t==="zone.js"?new O(n):t}var Wn=class{_console=console;handleError(n){this._console.error("ERROR",n)}},DT=new x("",{providedIn:"root",factory:()=>{let t=u(O),n=u(Wn);return e=>t.runOutsideAngular(()=>n.handleError(e))}});function x_(t,n){return J_(t,n)}function ET(t){return J_(X_,t)}var s0=(x_.required=ET,x_);function IT(){return qo(yt(),de())}function qo(t,n){return new U(an(t,n))}var U=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=IT}return t})();function a0(t){return t instanceof U?t.nativeElement:t}function MT(){return this._results[Symbol.iterator]()}var qn=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new M}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;let i=hS(n);(this._changesDetected=!fS(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=MT};function l0(t){return(t.flags&128)===128}var c0=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(c0||{}),d0=new Map,ST=0;function TT(){return ST++}function AT(t){d0.set(t[od],t)}function Bh(t){d0.delete(t[od])}var C_="__ngContext__";function Xi(t,n){Zi(n)?(t[C_]=n[od],AT(n)):t[C_]=n}function u0(t){return h0(t[Qs])}function f0(t){return h0(t[En])}function h0(t){for(;t!==null&&!xi(t);)t=t[En];return t}var zh;function m0(t){zh=t}function p0(){if(zh!==void 0)return zh;if(typeof document<"u")return document;throw new E(210,!1)}var Yo=new x("",{providedIn:"root",factory:()=>kT}),kT="ng",zm=new x(""),Mn=new x("",{providedIn:"platform",factory:()=>"unknown"});var Je=new x(""),sa=new x("",{providedIn:"root",factory:()=>p0().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var OT="h",RT="b";var g0=!1,NT=new x("",{providedIn:"root",factory:()=>g0});var D_=new Set;function Sn(t){D_.has(t)||(D_.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var No=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(No||{}),v0=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=C({token:t,providedIn:"root",factory:()=>new t})}return t})(),PT=[No.EarlyRead,No.Write,No.MixedReadWrite,No.Read],FT=(()=>{class t{ngZone=u(O);scheduler=u(Wr);errorHandler=u(Wn,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;execute(){this.executing=!0;for(let e of PT)for(let i of this.sequences)if(!(i.erroredOrDestroyed||!i.hooks[e]))try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>i.hooks[e](i.pipelinedValue))}catch(r){i.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(let e of this.sequences)e.afterRun(),e.once&&(this.sequences.delete(e),e.destroy());for(let e of this.deferredRegistrations)this.sequences.add(e);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(e){this.executing?this.deferredRegistrations.add(e):(this.sequences.add(e),this.scheduler.notify(7))}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}static \u0275prov=C({token:t,providedIn:"root",factory:()=>new t})}return t})(),Uh=class{impl;hooks;once;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,e,i,r){this.impl=n,this.hooks=e,this.once=i,this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function aa(t,n){!n?.injector&&rd(aa);let e=n?.injector??u(ye);return Sn("NgAfterRender"),y0(t,e,n,!1)}function Ut(t,n){!n?.injector&&rd(Ut);let e=n?.injector??u(ye);return Sn("NgAfterNextRender"),y0(t,e,n,!0)}function LT(t,n){if(t instanceof Function){let e=[void 0,void 0,void 0,void 0];return e[n]=t,e}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function y0(t,n,e,i){let r=n.get(v0);r.impl??=n.get(FT);let o=e?.phase??No.MixedReadWrite,s=e?.manualCleanup!==!0?n.get(oa):null,a=new Uh(r.impl,LT(t,o),i,s);return r.impl.register(a),a}var VT=()=>null;function Um(t,n,e=!1){return VT(t,n,e)}var Yn=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Yn||{}),sc;function jT(){if(sc===void 0&&(sc=null,Yt.trustedTypes))try{sc=Yt.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return sc}function gd(t){return jT()?.createHTML(t)||t}var ac;function _0(){if(ac===void 0&&(ac=null,Yt.trustedTypes))try{ac=Yt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return ac}function E_(t){return _0()?.createHTML(t)||t}function I_(t){return _0()?.createScriptURL(t)||t}var _i=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${K_})`}},Hh=class extends _i{getTypeName(){return"HTML"}},$h=class extends _i{getTypeName(){return"Style"}},Gh=class extends _i{getTypeName(){return"Script"}},Wh=class extends _i{getTypeName(){return"URL"}},qh=class extends _i{getTypeName(){return"ResourceURL"}};function ln(t){return t instanceof _i?t.changingThisBreaksApplicationSecurity:t}function Di(t,n){let e=BT(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${K_})`)}return e===n}function BT(t){return t instanceof _i&&t.getTypeName()||null}function b0(t){return new Hh(t)}function w0(t){return new $h(t)}function x0(t){return new Gh(t)}function C0(t){return new Wh(t)}function D0(t){return new qh(t)}function zT(t){let n=new Qh(t);return UT()?new Yh(n):n}var Yh=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{let e=new window.DOMParser().parseFromString(gd(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},Qh=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=gd(n),e}};function UT(){try{return!!new window.DOMParser().parseFromString(gd(""),"text/html")}catch{return!1}}var HT=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function vd(t){return t=String(t),t.match(HT)?t:"unsafe:"+t}function Ei(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function la(...t){let n={};for(let e of t)for(let i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}var E0=Ei("area,br,col,hr,img,wbr"),I0=Ei("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),M0=Ei("rp,rt"),$T=la(M0,I0),GT=la(I0,Ei("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),WT=la(M0,Ei("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),M_=la(E0,GT,WT,$T),S0=Ei("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),qT=Ei("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),YT=Ei("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),QT=la(S0,qT,YT),ZT=Ei("script,style,template"),Zh=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let e=n.firstChild,i=!0,r=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild){r.push(e),e=JT(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=XT(e);if(o){e=o;break}e=r.pop()}}return this.buf.join("")}startElement(n){let e=S_(n).toLowerCase();if(!M_.hasOwnProperty(e))return this.sanitizedSomething=!0,!ZT.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=n.attributes;for(let r=0;r"),!0}endElement(n){let e=S_(n).toLowerCase();M_.hasOwnProperty(e)&&!E0.hasOwnProperty(e)&&(this.buf.push(""))}chars(n){this.buf.push(T_(n))}};function KT(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function XT(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw T0(n);return n}function JT(t){let n=t.firstChild;if(n&&KT(t,n))throw T0(n);return n}function S_(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function T0(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var eA=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,tA=/([^\#-~ |!])/g;function T_(t){return t.replace(/&/g,"&").replace(eA,function(n){let e=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace(tA,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}var lc;function Hm(t,n){let e=null;try{lc=lc||zT(t);let i=n?String(n):"";e=lc.getInertBodyElement(i);let r=5,o=i;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=lc.getInertBodyElement(i)}while(i!==o);let a=new Zh().sanitizeChildren(A_(e)||e);return gd(a)}finally{if(e){let i=A_(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function A_(t){return"content"in t&&nA(t)?t.content:null}function nA(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Tn=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Tn||{});function Xn(t){let n=$m();return n?E_(n.sanitize(Tn.HTML,t)||""):Di(t,"HTML")?E_(ln(t)):Hm(p0(),$n(t))}function mt(t){let n=$m();return n?n.sanitize(Tn.URL,t)||"":Di(t,"URL")?ln(t):vd($n(t))}function iA(t){let n=$m();if(n)return I_(n.sanitize(Tn.RESOURCE_URL,t)||"");if(Di(t,"ResourceURL"))return I_(ln(t));throw new E(904,!1)}function rA(t,n){return n==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||n==="href"&&(t==="base"||t==="link")?iA:mt}function A0(t,n,e){return rA(n,e)(t)}function $m(){let t=de();return t&&t[gi].sanitizer}var oA=/^>|^->||--!>|)/g,aA="\u200B$1\u200B";function lA(t){return t.replace(oA,n=>n.replace(sA,aA))}function k0(t){return t.ownerDocument}function O0(t){return t instanceof Function?t():t}var Ji=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(Ji||{}),bi=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(bi||{}),cA;function Gm(t,n){return cA(t,n)}function Po(t,n,e,i,r){if(i!=null){let o,s=!1;xi(i)?o=i:Zi(i)&&(s=!0,i=i[wi]);let a=Gn(i);t===0&&e!==null?r==null?L0(n,e,a):Pc(n,e,a,r||null,!0):t===1&&e!==null?Pc(n,e,a,r||null,!0):t===2?CA(n,a,s):t===3&&n.destroyNode(a),o!=null&&EA(n,t,o,e,r)}}function dA(t,n){return t.createText(n)}function uA(t,n,e){t.setValue(n,e)}function fA(t,n){return t.createComment(lA(n))}function R0(t,n,e){return t.createElement(n,e)}function hA(t,n){N0(t,n),n[wi]=null,n[zt]=null}function mA(t,n,e,i,r,o){i[wi]=r,i[zt]=n,_d(t,i,e,1,r,o)}function N0(t,n){n[gi].changeDetectionScheduler?.notify(10),_d(t,n,n[We],2,null,null)}function pA(t){let n=t[Qs];if(!n)return ph(t[fe],t);for(;n;){let e=null;if(Zi(n))e=n[Qs];else{let i=n[jt];i&&(e=i)}if(!e){for(;n&&!n[En]&&n!==t;)Zi(n)&&ph(n[fe],n),n=n[It];n===null&&(n=t),Zi(n)&&ph(n[fe],n),e=n&&n[En]}n=e}}function gA(t,n,e,i){let r=jt+i,o=e.length;i>0&&(e[r-1][En]=n),i0&&(t[e-1][En]=i[En]);let o=wc(t,jt+n);hA(i[fe],i);let s=o[vi];s!==null&&s.detachView(o[fe]),i[It]=null,i[En]=null,i[K]&=-129}return i}function qm(t,n){if(!(n[K]&256)){let e=n[We];e.destroyNode&&_d(t,n,e,3,null,null),pA(n)}}function ph(t,n){if(n[K]&256)return;let e=we(null);try{n[K]&=-129,n[K]|=256,n[qt]&&yo(n[qt]),yA(t,n),vA(t,n),n[fe].type===1&&n[We].destroy();let i=n[jr];if(i!==null&&xi(n[It])){i!==n[It]&&Wm(i,n);let r=n[vi];r!==null&&r.detachView(t)}Bh(n)}finally{we(e)}}function vA(t,n){let e=t.cleanup,i=n[Cc];if(e!==null)for(let s=0;s=0?i[a]():i[-a].unsubscribe(),s+=2}else{let a=i[e[s+1]];e[s].call(a)}i!==null&&(n[Cc]=null);let r=n[Qi];if(r!==null){n[Qi]=null;for(let s=0;s-1){let{encapsulation:o}=t.data[i.directiveStart+r];if(o===Yn.None||o===Yn.Emulated)return null}return an(i,e)}}function Pc(t,n,e,i,r){t.insertBefore(n,e,i,r)}function L0(t,n,e){t.appendChild(n,e)}function k_(t,n,e,i,r){i!==null?Pc(t,n,e,i,r):L0(t,n,e)}function V0(t,n){return t.parentNode(n)}function bA(t,n){return t.nextSibling(n)}function j0(t,n,e){return xA(t,n,e)}function wA(t,n,e){return t.type&40?an(t,e):null}var xA=wA,O_;function yd(t,n,e,i){let r=F0(t,i,n),o=n[We],s=i.parent||n[zt],a=j0(s,i,n);if(r!=null)if(Array.isArray(e))for(let l=0;l-1){let o;for(;++ro?f="":f=r[d+1].toLowerCase(),i&2&&c!==f){if(Cn(i))return!1;s=!0}}}}return Cn(i)||s}function Cn(t){return(t&1)===0}function OA(t,n,e,i){if(n===null)return-1;let r=0;if(i||!e){let o=!1;for(;r-1)for(e++;e0?'="'+a+'"':"")+"]"}else i&8?r+="."+s:i&4&&(r+=" "+s);else r!==""&&!Cn(s)&&(n+=R_(o,r),r=""),i=s,o=o||!Cn(i);e++}return r!==""&&(n+=R_(o,r)),n}function VA(t){return t.map(LA).join(",")}function jA(t){let n=[],e=[],i=1,r=2;for(;iMt&&W0(t,n,Mt,!1),Un(s?2:0,r),e(i,r)}finally{Hr(o),Un(s?3:1,r)}}function Zm(t,n,e){if(Sm(n)){let i=we(null);try{let r=n.directiveStart,o=n.directiveEnd;for(let s=r;snull;function WA(t,n,e,i){let r=iw(n);r.push(e),t.firstCreatePass&&rw(t).push(i,r.length-1)}function qA(t,n,e,i,r,o){let s=n?n.injectorIndex:-1,a=0;return Ob()&&(a|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function N_(t,n,e,i,r){for(let o in n){if(!n.hasOwnProperty(o))continue;let s=n[o];if(s===void 0)continue;i??={};let a,l=Ji.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(r!==null){if(!r.hasOwnProperty(o))continue;c=r[o]}t===0?P_(i,e,c,a,l):P_(i,e,c,a)}return i}function P_(t,n,e,i,r){let o;t.hasOwnProperty(e)?(o=t[e]).push(n,i):o=t[e]=[n,i],r!==void 0&&o.push(r)}function YA(t,n,e){let i=n.directiveStart,r=n.directiveEnd,o=t.data,s=n.attrs,a=[],l=null,c=null;for(let d=i;d0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function JA(t,n,e,i){let r=e.directiveStart,o=e.directiveEnd;sd(e)&&sk(n,e,t.data[r+e.componentOffset]),t.firstCreatePass||Ac(e,n),Xi(i,n);let s=e.initialInputs;for(let a=r;a{ia(t.lView)},consumerOnSignalRead(){this.lView[qt]=this}});function wk(t){let n=t[qt]??Object.create(xk);return n.lView=t,n}var xk=ne(w({},Sr),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let n=Ur(t.lView);for(;n&&!aw(n[fe]);)n=Ur(n);n&&km(n)},consumerOnSignalRead(){this.lView[qt]=this}});function aw(t){return t.type!==2}function lw(t){if(t[Br]===null)return;let n=!0;for(;n;){let e=!1;for(let i of t[Br])i.dirty&&(e=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));n=e&&!!(t[K]&8192)}}var Ck=100;function cw(t,n=!0,e=0){let r=t[gi].rendererFactory,o=!1;o||r.begin?.();try{Dk(t,e)}catch(s){throw n&&ow(t,s),s}finally{o||r.end?.()}}function Dk(t,n){let e=Nb();try{Ic(!0),em(t,n);let i=0;for(;ld(t);){if(i===Ck)throw new E(103,!1);i++,em(t,1)}}finally{Ic(e)}}function Ek(t,n,e,i){let r=n[K];if((r&256)===256)return;let o=!1,s=!1;Pm(n);let a=!0,l=null,c=null;o||(aw(t)?(c=vk(n),l=vo(c)):yy()===null?(a=!1,c=wk(n),l=vo(c)):n[qt]&&(yo(n[qt]),n[qt]=null));try{Tb(n),GS(t.bindingStartIndex),e!==null&&Z0(t,n,e,2,i);let d=(r&3)===3;if(!o)if(d){let m=t.preOrderCheckHooks;m!==null&&pc(n,m,null)}else{let m=t.preOrderHooks;m!==null&&gc(n,m,0,null),fh(n,0)}if(s||Ik(n),lw(n),dw(n,0),t.contentQueries!==null&&nw(t,n),!o)if(d){let m=t.contentCheckHooks;m!==null&&pc(n,m)}else{let m=t.contentHooks;m!==null&&gc(n,m,1),fh(n,1)}BA(t,n);let f=t.components;f!==null&&fw(n,f,0);let g=t.viewQuery;if(g!==null&&Jh(2,g,i),!o)if(d){let m=t.viewCheckHooks;m!==null&&pc(n,m)}else{let m=t.viewHooks;m!==null&&gc(n,m,2),fh(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[mc]){for(let m of n[mc])m();n[mc]=null}o||(n[K]&=-73)}catch(d){throw o||ia(n),d}finally{c!==null&&(Ns(c,l),a&&_k(c)),Fm()}}function dw(t,n){for(let e=u0(t);e!==null;e=f0(e))for(let i=jt;i-1&&(Nc(n,i),wc(e,i))}this._attachedToViewContainer=!1}qm(this._lView[fe],this._lView)}onDestroy(n){Ab(this._lView,n)}markForCheck(){sp(this._cdRefInjectingView||this._lView,4)}markForRefresh(){km(this._cdRefInjectingView||this._lView)}detach(){this._lView[K]&=-129}reattach(){Ah(this._lView),this._lView[K]|=128}detectChanges(){this._lView[K]|=1024,cw(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Sh(this._lView),e=this._lView[jr];e!==null&&!n&&Wm(e,this._lView),N0(this._lView[fe],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=n;let e=Sh(this._lView),i=this._lView[jr];i!==null&&!e&&P0(i,this._lView),Ah(this._lView)}},xt=(()=>{class t{static __NG_ELEMENT_ID__=Ak}return t})(),Sk=xt,Tk=class extends Sk{_declarationLView;_declarationTContainer;elementRef;constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,e){return this.createEmbeddedViewImpl(n,e)}createEmbeddedViewImpl(n,e,i){let r=rp(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:e,dehydratedView:i});return new qr(r)}};function Ak(){return Cd(yt(),de())}function Cd(t,n){return t.type&4?new Tk(n,t,qo(t,n)):null}var tm=class{resolveComponentFactory(n){throw Error(`No component factory found for ${Pt(n)}.`)}},Ho=class{static NULL=new tm},In=class{},Xs=class{},nm=class{},Vc=class{},er=class{},nr=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>kk()}return t})();function kk(){let t=de(),n=yt(),e=tr(n.index,t);return(Zi(e)?e:t)[We]}var Ok=(()=>{class t{static \u0275prov=C({token:t,providedIn:"root",factory:()=>null})}return t})();function jc(t,n,e){let i=e?t.styles:null,r=e?t.classes:null,o=0;if(n!==null)for(let s=0;s0&&U0(t,e,o.join(" "))}}function jk(t,n,e){let i=t.projection=[];for(let r=0;re()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},Uc=class extends Xs{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new zc(this.moduleType,n,[])}};function zk(t,n,e){return new zc(t,n,e,!1)}var rm=class extends In{injector;componentFactoryResolver=new Bc(this);instance=null;constructor(n){super();let e=new qs([...n.providers,{provide:In,useValue:this},{provide:Ho,useValue:this.componentFactoryResolver}],n.parent||id(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function Dd(t,n,e=null){return new rm({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}var Uk=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=pb(!1,e.type),r=i.length>0?Dd([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=C({token:t,providedIn:"environment",factory:()=>new t(k(ht))})}return t})();function A(t){return ea(()=>{let n=hw(t),e=ne(w({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===c0.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?r=>r.get(Uk).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Yn.Emulated,styles:t.styles||Nt,_:null,schemas:t.schemas||null,tView:null,id:""});n.standalone&&Sn("NgStandalone"),mw(e);let i=t.dependencies;return e.directiveDefs=V_(i,!1),e.pipeDefs=V_(i,!0),e.id=Gk(e),e})}function Hk(t){return pi(t)||Im(t)}function $k(t){return t!==null}function V(t){return ea(()=>({type:t.type,bootstrap:t.bootstrap||Nt,declarations:t.declarations||Nt,imports:t.imports||Nt,exports:t.exports||Nt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function L_(t,n){if(t==null)return mi;let e={};for(let i in t)if(t.hasOwnProperty(i)){let r=t[i],o,s,a=Ji.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(e[o]=a!==Ji.None?[i,a]:i,n[o]=s):e[o]=i}return e}function P(t){return ea(()=>{let n=hw(t);return mw(n),n})}function ap(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function hw(t){let n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:t.inputs||mi,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Nt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:L_(t.inputs,n),outputs:L_(t.outputs),debugInfo:null}}function mw(t){t.features?.forEach(n=>n(t))}function V_(t,n){if(!t)return null;let e=n?hb:Hk;return()=>(typeof t=="function"?t():t).map(i=>e(i)).filter($k)}function Gk(t){let n=0,e=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let r of e)n=Math.imul(31,n)+r.charCodeAt(0)<<0;return n+=2147483648,"c"+n}var Ed=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function ir(t){return typeof t=="function"&&t[Dt]!==void 0}var lp=new x(""),ca=new x(""),Id=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(e,i,r){this._ngZone=e,this.registry=i,cp||(Wk(r),r.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{O.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(e)?(clearTimeout(i.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),e()},i)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:r})}whenStable(e,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,r),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,r){return[]}static \u0275fac=function(i){return new(i||t)(k(O),k(Md),k(ca))};static \u0275prov=C({token:t,factory:t.\u0275fac})}return t})(),Md=(()=>{class t{_applications=new Map;registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return cp?.findTestabilityInTree(this,e,i)??null}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function Wk(t){cp=t}var cp;function Kr(t){return!!t&&typeof t.then=="function"}function pw(t){return!!t&&typeof t.subscribe=="function"}var Sd=new x("");var gw=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i});appInits=u(Sd,{optional:!0})??[];injector=u(ye);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let o=Bt(this.injector,r);if(Kr(o))e.push(o);else if(pw(o)){let s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});e.push(s)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),e.length===0&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),vw=(()=>{class t{static \u0275prov=C({token:t,providedIn:"root",factory:()=>new Hc})}return t})(),Hc=class{queuedEffectCount=0;queues=new Map;schedule(n){this.enqueue(n)}enqueue(n){let e=n.zone;this.queues.has(e)||this.queues.set(e,new Set);let i=this.queues.get(e);i.has(n)||(this.queuedEffectCount++,i.add(n))}flush(){for(;this.queuedEffectCount>0;)for(let[n,e]of this.queues)n===null?this.flushQueue(e):n.run(()=>this.flushQueue(e))}flushQueue(n){for(let e of n)n.delete(e),this.queuedEffectCount--,e.run()}},Td=new x("");function qk(){My(()=>{throw new E(600,!1)})}function Yk(t){return t.isBoundToModule}var Qk=10;function Zk(t,n,e){try{let i=e();return Kr(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}function yw(t,n){return Array.isArray(n)?n.reduce(yw,t):w(w({},t),n)}var Ht=(()=>{class t{_bootstrapListeners=[];_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=u(DT);afterRenderManager=u(v0);zonelessEnabled=u(Vm);rootEffectScheduler=u(vw);dirtyFlags=0;deferredDirtyFlags=0;externalTestViews=new Set;afterTick=new M;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=u(Kn).hasPendingTasks.pipe(q(e=>!e));whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{e.unsubscribe()})}_injector=u(ht);get injector(){return this._injector}bootstrap(e,i){let r=e instanceof Vc;if(!this._injector.get(gw).done){let g=!r&&mb(e),m=!1;throw new E(405,m)}let s;r?s=e:s=this._injector.get(Ho).resolveComponentFactory(e),this.componentTypes.push(s.componentType);let a=Yk(s)?void 0:this._injector.get(In),l=i||s.selector,c=s.create(ye.NULL,[],l,a),d=c.location.nativeElement,f=c.injector.get(lp,null);return f?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),yc(this.components,c),f?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new E(101,!1);let e=we(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,we(e),this.afterTick.next()}}synchronize(){let e=null;this._injector.destroyed||(e=this._injector.get(er,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;this.dirtyFlags!==0&&i++ld(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){let i=e;yc(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);let i=this._injector.get(Td,[]);[...this._bootstrapListeners,...i].forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>yc(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new E(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function yc(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function Kk(t,n,e,i){if(!e&&!ld(t))return;cw(t,n,e&&!i?0:1)}var pG=new RegExp(`^(\\d+)*(${RT}|${OT})*(.*)`);var Xk=()=>null;function $c(t,n){return Xk(t,n)}var st=(()=>{class t{static __NG_ELEMENT_ID__=Jk}return t})();function Jk(){let t=yt();return bw(t,de())}var eO=st,_w=class extends eO{_lContainer;_hostTNode;_hostLView;constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return qo(this._hostTNode,this._hostLView)}get injector(){return new Lr(this._hostTNode,this._hostLView)}get parentInjector(){let n=Lm(this._hostTNode,this._hostLView);if(Gb(n)){let e=Sc(n,this._hostLView),i=Mc(n),r=e[fe].data[i+8];return new Lr(r,e)}else return new Lr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=j_(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-jt}createEmbeddedView(n,e,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let s=$c(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},o,s);return this.insertImpl(a,r,Fc(this._hostTNode,s)),a}createComponent(n,e,i,r,o){let s=n&&!TS(n),a;if(s)a=e;else{let v=e||{};a=v.index,i=v.injector,r=v.projectableNodes,o=v.environmentInjector||v.ngModuleRef}let l=s?n:new Yr(pi(n)),c=i||this.parentInjector;if(!o&&l.ngModule==null){let y=(s?c:this.parentInjector).get(ht,null);y&&(o=y)}let d=pi(l.componentType??{}),f=$c(this._lContainer,d?.id??null),g=f?.firstChild??null,m=l.create(c,r,g,o);return this.insertImpl(m.hostView,a,Fc(this._hostTNode,f)),m}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let r=n._lView;if(PS(r)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let l=r[It],c=new _w(l,l[zt],l[It]);c.detach(c.indexOf(n))}}let o=this._adjustIndex(e),s=this._lContainer;return op(s,r,o,i),n.attachToViewContainerRef(),cb(gh(s),o,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=j_(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=Nc(this._lContainer,e);i&&(wc(gh(this._lContainer),e),qm(i[fe],i))}detach(n){let e=this._adjustIndex(n,-1),i=Nc(this._lContainer,e);return i&&wc(gh(this._lContainer),e)!=null?new qr(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function j_(t){return t[Dc]}function gh(t){return t[Dc]||(t[Dc]=[])}function bw(t,n){let e,i=n[t.index];return xi(i)?e=i:(e=tw(i,n,null,t),n[t.index]=e,xd(n,e)),nO(e,n,t,i),new _w(e,t,n)}function tO(t,n){let e=t[We],i=e.createComment(""),r=an(n,t),o=V0(e,r);return Pc(e,o,i,bA(e,r),!1),i}var nO=oO,iO=()=>!1;function rO(t,n,e){return iO(t,n,e)}function oO(t,n,e,i){if(t[zr])return;let r;e.type&8?r=Gn(i):r=tO(n,e),t[zr]=r}var om=class t{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},sm=class t{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let i=n.contentQueries!==null?n.contentQueries[0]:e.length,r=[];for(let o=0;o0)i.push(s[a/2]);else{let c=o[a+1],d=n[-l];for(let f=jt;fn.trim())}function Dw(t,n,e){t.queries===null&&(t.queries=new am),t.queries.track(new lm(n,e))}function fO(t,n){let e=t.contentQueries||(t.contentQueries=[]),i=e.length?e[e.length-1]:-1;n!==i&&e.push(t.queries.length-1,n)}function up(t,n){return t.queries.getByIndex(n)}function Ew(t,n){let e=t[fe],i=up(e,n);return i.crossesNgTemplate?cm(e,t,n,[]):ww(e,t,i,n)}function Ii(t,n){Sn("NgSignals");let e=Sy(t),i=e[Dt];return n?.equal&&(i.equal=n.equal),e.set=r=>Ml(i,r),e.update=r=>Ty(i,r),e.asReadonly=hO.bind(e),e}function hO(){let t=this[Dt];if(t.readonlyFn===void 0){let n=()=>this();n[Dt]=t,t.readonlyFn=n}return t.readonlyFn}function Iw(t){return ir(t)&&typeof t.set=="function"}function Mw(t,n,e){let i,r=Uf(()=>{i._dirtyCounter();let o=vO(i,t);if(n&&o===void 0)throw new E(-951,!1);return o});return i=r[Dt],i._dirtyCounter=Ii(0),i._flatValue=void 0,r}function mO(t){return Mw(!0,!1,t)}function pO(t){return Mw(!0,!0,t)}function gO(t,n){let e=t[Dt];e._lView=de(),e._queryIndex=n,e._queryList=dp(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(i=>i+1))}function vO(t,n){let e=t._lView,i=t._queryIndex;if(e===void 0||i===void 0||e[K]&4)return n?void 0:Nt;let r=dp(e,i),o=Ew(e,i);return r.reset(o,a0),n?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue}function B_(t,n){return mO(n)}function yO(t,n){return pO(n)}var Sw=(B_.required=yO,B_);function _O(t){let n=[],e=new Map;function i(r){let o=e.get(r);if(!o){let s=t(r);e.set(r,o=s.then(CO))}return o}return Wc.forEach((r,o)=>{let s=[];r.templateUrl&&s.push(i(r.templateUrl).then(c=>{r.template=c}));let a=typeof r.styles=="string"?[r.styles]:r.styles||[];if(r.styles=a,r.styleUrl&&r.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(r.styleUrls?.length){let c=r.styles.length,d=r.styleUrls;r.styleUrls.forEach((f,g)=>{a.push(""),s.push(i(f).then(m=>{a[c+g]=m,d.splice(d.indexOf(f),1),d.length==0&&(r.styleUrls=void 0)}))})}else r.styleUrl&&s.push(i(r.styleUrl).then(c=>{a.push(c),r.styleUrl=void 0}));let l=Promise.all(s).then(()=>DO(o));n.push(l)}),wO(),Promise.all(n).then(()=>{})}var Wc=new Map,bO=new Set;function wO(){let t=Wc;return Wc=new Map,t}function xO(){return Wc.size===0}function CO(t){return typeof t=="string"?t:t.text()}function DO(t){bO.delete(t)}function EO(t){return Object.getPrototypeOf(t.prototype).constructor}function Ve(t){let n=EO(t.type),e=!0,i=[t];for(;n;){let r;if(Ki(t))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new E(903,!1);r=n.\u0275dir}if(r){if(e){i.push(r);let s=t;s.inputs=cc(t.inputs),s.inputTransforms=cc(t.inputTransforms),s.declaredInputs=cc(t.declaredInputs),s.outputs=cc(t.outputs);let a=r.hostBindings;a&&AO(t,a);let l=r.viewQuery,c=r.contentQueries;if(l&&SO(t,l),c&&TO(t,c),IO(t,r),qM(t.outputs,r.outputs),Ki(r)&&r.data.animation){let d=t.data;d.animation=(d.animation||[]).concat(r.data.animation)}}let o=r.features;if(o)for(let s=0;s=0;i--){let r=t[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Zs(r.hostAttrs,e=Zs(e,r.hostAttrs))}}function cc(t){return t===mi?{}:t===Nt?[]:t}function SO(t,n){let e=t.viewQuery;e?t.viewQuery=(i,r)=>{n(i,r),e(i,r)}:t.viewQuery=n}function TO(t,n){let e=t.contentQueries;e?t.contentQueries=(i,r,o)=>{n(i,r,o),e(i,r,o)}:t.contentQueries=n}function AO(t,n){let e=t.hostBindings;e?t.hostBindings=(i,r)=>{n(i,r),e(i,r)}:t.hostBindings=n}function Tw(t){let n=e=>{let i=Array.isArray(t);e.hostDirectives===null?(e.findHostDirectiveDefs=Aw,e.hostDirectives=i?t.map(dm):[t]):i?e.hostDirectives.unshift(...t.map(dm)):e.hostDirectives.unshift(t)};return n.ngInherit=!0,n}function Aw(t,n,e){if(t.hostDirectives!==null)for(let i of t.hostDirectives)if(typeof i=="function"){let r=i();for(let o of r)z_(dm(o),n,e)}else z_(i,n,e)}function z_(t,n,e){let i=Im(t.directive);kO(i.declaredInputs,t.inputs),Aw(i,n,e),e.set(i,t),n.push(i)}function dm(t){return typeof t=="function"?{directive:wt(t),inputs:mi,outputs:mi}:{directive:wt(t.directive),inputs:U_(t.inputs),outputs:U_(t.outputs)}}function U_(t){if(t===void 0||t.length===0)return mi;let n={};for(let e=0;e>17&32767}function BO(t){return(t&2)==2}function zO(t,n){return t&131071|n<<17}function um(t){return t|2}function $o(t){return(t&131068)>>2}function vh(t,n){return t&-131069|n<<2}function UO(t){return(t&1)===1}function fm(t){return t|1}function HO(t,n,e,i,r,o){let s=o?n.classBindings:n.styleBindings,a=Qr(s),l=$o(s);t[i]=e;let c=!1,d;if(Array.isArray(e)){let f=e;d=f[1],(d===null||na(f,d)>0)&&(c=!0)}else d=e;if(r)if(l!==0){let g=Qr(t[a+1]);t[i+1]=dc(g,a),g!==0&&(t[g+1]=vh(t[g+1],i)),t[a+1]=zO(t[a+1],i)}else t[i+1]=dc(a,0),a!==0&&(t[a+1]=vh(t[a+1],i)),a=i;else t[i+1]=dc(l,0),a===0?a=i:t[l+1]=vh(t[l+1],i),l=i;c&&(t[i+1]=um(t[i+1])),H_(t,d,i,!0),H_(t,d,i,!1),$O(n,d,t,i,o),s=dc(a,l),o?n.classBindings=s:n.styleBindings=s}function $O(t,n,e,i,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof n=="string"&&na(o,n)>=0&&(e[i+1]=fm(e[i+1]))}function H_(t,n,e,i){let r=t[e+1],o=n===null,s=i?Qr(r):$o(r),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],c=t[s+1];GO(l,n)&&(a=!0,t[s+1]=i?fm(c):um(c)),s=i?Qr(c):$o(c)}a&&(t[e+1]=i?um(r):fm(r))}function GO(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?na(t,n)>=0:!1}var Dn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function WO(t){return t.substring(Dn.key,Dn.keyEnd)}function qO(t){return YO(t),Fw(t,Lw(t,0,Dn.textEnd))}function Fw(t,n){let e=Dn.textEnd;return e===n?-1:(n=Dn.keyEnd=QO(t,Dn.key=n,e),Lw(t,n,e))}function YO(t){Dn.key=0,Dn.keyEnd=0,Dn.value=0,Dn.valueEnd=0,Dn.textEnd=t.length}function Lw(t,n,e){for(;n32;)n++;return n}function D(t,n,e){let i=de(),r=Wo();if(sn(i,r,n)){let o=Qe(),s=ra();wd(o,s,i,t,n,i[We],e,!1)}return D}function hm(t,n,e,i,r){let o=n.inputs,s=r?"class":"style";tp(t,e,o[s],s,i)}function da(t,n,e){return jw(t,n,e,!1),da}function ce(t,n){return jw(t,n,null,!0),ce}function $t(t){Bw(tR,Vw,t,!0)}function Vw(t,n){for(let e=qO(n);e>=0;e=Fw(n,e))ed(t,WO(n),!0)}function jw(t,n,e,i){let r=de(),o=Qe(),s=cd(2);if(o.firstUpdatePass&&Uw(o,t,s,i),n!==Ft&&sn(r,s,n)){let a=o.data[Ci()];Hw(o,a,r,r[We],t,r[s+1]=iR(n,e),i,s)}}function Bw(t,n,e,i){let r=Qe(),o=cd(2);r.firstUpdatePass&&Uw(r,null,o,i);let s=de();if(e!==Ft&&sn(s,o,e)){let a=r.data[Ci()];if($w(a,i)&&!zw(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(e=wh(l,e||"")),hm(r,a,s,e,i)}else nR(r,a,s,s[We],s[o+1],s[o+1]=eR(t,n,e),i,o)}}function zw(t,n){return n>=t.expandoStartIndex}function Uw(t,n,e,i){let r=t.data;if(r[e+1]===null){let o=r[Ci()],s=zw(t,e);$w(o,i)&&n===null&&!s&&(n=!1),n=ZO(r,o,n,i),HO(r,o,n,e,s,i)}}function ZO(t,n,e,i){let r=QS(t),o=i?n.residualClasses:n.residualStyles;if(r===null)(i?n.classBindings:n.styleBindings)===0&&(e=yh(null,t,n,e,i),e=Js(e,n.attrs,i),o=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==r)if(e=yh(r,t,n,e,i),o===null){let l=KO(t,n,i);l!==void 0&&Array.isArray(l)&&(l=yh(null,t,n,l[1],i),l=Js(l,n.attrs,i),XO(t,n,i,l))}else o=JO(t,n,i)}return o!==void 0&&(i?n.residualClasses=o:n.residualStyles=o),e}function KO(t,n,e){let i=e?n.classBindings:n.styleBindings;if($o(i)!==0)return t[Qr(i)]}function XO(t,n,e,i){let r=e?n.classBindings:n.styleBindings;t[Qr(r)]=i}function JO(t,n,e){let i,r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0;){let l=t[r],c=Array.isArray(l),d=c?l[1]:l,f=d===null,g=e[r+1];g===Ft&&(g=f?Nt:void 0);let m=f?dh(g,i):d===i?g:void 0;if(c&&!qc(m)&&(m=dh(l,i)),qc(m)&&(a=m,s))return a;let v=t[r+1];r=s?Qr(v):$o(v)}if(n!==null){let l=o?n.residualClasses:n.residualStyles;l!=null&&(a=dh(l,i))}return a}function qc(t){return t!==void 0}function iR(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=Pt(ln(t)))),t}function $w(t,n){return(t.flags&(n?8:16))!==0}function Gw(t,n,e){let i=de(),r=fp(i,t,n,e);Bw(ed,Vw,r,!0)}function He(t,n){Sn("NgControlFlow");let e=de(),i=Wo(),r=e[i]!==Ft?e[i]:-1,o=r!==-1?G_(e,Mt+r):void 0,s=0;if(sn(e,i,t)){let a=we(null);try{if(o!==void 0&&pk(o,s),t!==-1){let l=Mt+t,c=G_(e,l),d=rR(e[fe],l),f=$c(c,d.tView.ssrId),g=rp(e,d,n,{dehydratedView:f});op(c,g,s,Fc(d,f))}}finally{we(a)}}else if(o!==void 0){let a=mk(o,s);a!==void 0&&(a[rn]=n)}}function G_(t,n){return t[n]}function rR(t,n){return Tm(t,n)}function oR(t,n,e,i,r,o){let s=n.consts,a=Uo(s,r),l=Qo(n,t,2,i,a);return ep(n,e,l,Uo(s,o)),l.attrs!==null&&jc(l,l.attrs,!1),l.mergedAttrs!==null&&jc(l,l.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,l),l}function h(t,n,e,i){let r=de(),o=Qe(),s=Mt+t,a=r[We],l=o.firstCreatePass?oR(s,o,r,n,e,i):o.data[s],c=sR(o,r,l,a,n,t);r[s]=c;let d=ad(l);return Zr(l,!0),H0(a,c,l),!NO(l)&&fd()&&yd(o,r,c,l),VS()===0&&Xi(c,r),jS(),d&&(Km(o,r,l),Zm(o,l,r)),i!==null&&Xm(r,l),h}function p(){let t=yt();Om()?Rm():(t=t.parent,Zr(t,!1));let n=t;zS(n)&&US(),BS();let e=Qe();return e.firstCreatePass&&(md(e,t),Sm(t)&&e.queries.elementEnd(t)),n.classesWithoutHost!=null&&iT(n)&&hm(e,n,de(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&rT(n)&&hm(e,n,de(),n.stylesWithoutHost,!1),p}function T(t,n,e,i){return h(t,n,e,i),p(),T}var sR=(t,n,e,i,r,o)=>(hd(!0),R0(i,r,JS()));function aR(t,n,e,i,r){let o=n.consts,s=Uo(o,i),a=Qo(n,t,8,"ng-container",s);s!==null&&jc(a,s,!0);let l=Uo(o,r);return ep(n,e,a,l),n.queries!==null&&n.queries.elementStart(n,a),a}function hp(t,n,e){let i=de(),r=Qe(),o=t+Mt,s=r.firstCreatePass?aR(o,r,i,n,e):r.data[o];Zr(s,!0);let a=lR(r,i,s,t);return i[o]=a,fd()&&yd(r,i,a,s),Xi(a,i),ad(s)&&(Km(r,i,s),Zm(r,s,i)),e!=null&&Xm(i,s),hp}function mp(){let t=yt(),n=Qe();return Om()?Rm():(t=t.parent,Zr(t,!1)),n.firstCreatePass&&(md(n,t),Sm(t)&&n.queries.elementEnd(t)),mp}var lR=(t,n,e,i)=>(hd(!0),fA(n[We],""));function Ce(){return de()}function cn(t,n,e){let i=de(),r=Wo();if(sn(i,r,n)){let o=Qe(),s=ra();wd(o,s,i,t,n,i[We],e,!0)}return cn}var Yc="en-US";var cR=Yc;function dR(t){typeof t=="string"&&(cR=t.toLowerCase().replace(/_/g,"-"))}var uR=(t,n,e)=>{};function B(t,n,e,i){let r=de(),o=Qe(),s=yt();return Ww(o,r,r[We],s,t,n,i),B}function fR(t,n,e,i){let r=t.cleanup;if(r!=null)for(let o=0;ol?a[l]:null}typeof s=="string"&&(o+=2)}return null}function Ww(t,n,e,i,r,o,s){let a=ad(i),c=t.firstCreatePass&&rw(t),d=n[rn],f=iw(n),g=!0;if(i.type&3||s){let y=an(i,n),I=s?s(y):y,N=f.length,ee=s?be=>s(Gn(be[i.index])):i.index,Y=null;if(!s&&a&&(Y=fR(t,n,r,i.index)),Y!==null){let be=Y.__ngLastListenerFn__||Y;be.__ngNextListenerFn__=o,Y.__ngLastListenerFn__=o,g=!1}else{o=q_(i,n,d,o),uR(y,r,o);let be=e.listen(I,r,o);f.push(o,be),c&&c.push(r,ee,N,N+1)}}else o=q_(i,n,d,o);let m=i.outputs,v;if(g&&m!==null&&(v=m[r])){let y=v.length;if(y)for(let I=0;I-1?tr(t.index,n):n;sp(s,5);let a=W_(n,e,i,o),l=r.__ngNextListenerFn__;for(;l;)a=W_(n,e,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function R(t=1){return KS(t)}function hR(t,n){let e=null,i=RA(t);for(let r=0;r=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}function St(t){let n=$S();return Sb(n,Mt+t)}function b(t,n=""){let e=de(),i=Qe(),r=t+Mt,o=i.firstCreatePass?Qo(i,r,1,n,null):i.data[r],s=gR(i,e,o,n,t);e[r]=s,fd()&&yd(i,e,s,o),Zr(o,!1)}var gR=(t,n,e,i,r)=>(hd(!0),dA(n[We],i));function lt(t){return Ie("",t,""),lt}function Ie(t,n,e){let i=de(),r=fp(i,t,n,e);return r!==Ft&&np(i,Ci(),r),Ie}function pp(t,n,e,i,r){let o=de(),s=VO(o,t,n,e,i,r);return s!==Ft&&np(o,Ci(),s),pp}function gp(t,n,e,i,r,o,s){let a=de(),l=jO(a,t,n,e,i,r,o,s);return l!==Ft&&np(a,Ci(),l),gp}function ua(t,n,e){Iw(n)&&(n=n());let i=de(),r=Wo();if(sn(i,r,n)){let o=Qe(),s=ra();wd(o,s,i,t,n,i[We],e,!1)}return ua}function Ad(t,n){let e=Iw(t);return e&&t.set(n),e}function fa(t,n){let e=de(),i=Qe(),r=yt();return Ww(i,e,e[We],r,t,n),fa}function vR(t,n,e){let i=Qe();if(i.firstCreatePass){let r=Ki(t);mm(e,i.data,i.blueprint,r,!0),mm(n,i.data,i.blueprint,r,!1)}}function mm(t,n,e,i,r){if(t=wt(t),Array.isArray(t))for(let o=0;o>20;if(jo(t)||!t.multi){let m=new $r(c,r,S),v=bh(l,n,r?d:d+g,f);v===-1?(Fh(Ac(a,s),o,l),_h(o,t,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(m),s.push(m)):(e[v]=m,s[v]=m)}else{let m=bh(l,n,d+g,f),v=bh(l,n,d,d+g),y=m>=0&&e[m],I=v>=0&&e[v];if(r&&!I||!r&&!y){Fh(Ac(a,s),o,l);let N=bR(r?_R:yR,e.length,r,i,c);!r&&I&&(e[v].providerFactory=N),_h(o,t,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(N),s.push(N)}else{let N=Zw(e[r?v:m],c,!r&&i);_h(o,t,m>-1?m:v,N)}!r&&i&&I&&e[v].componentProviders++}}}function _h(t,n,e,i){let r=jo(n),o=wS(n);if(r||o){let l=(o?wt(n.useClass):n).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&n.multi){let d=c.indexOf(e);d===-1?c.push(e,[i,l]):c[d+1].push(i,l)}else c.push(e,l)}}}function Zw(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function bh(t,n,e,i){for(let r=e;r{e.providersResolver=(i,r)=>vR(i,r?r(t):t,n)}}function vp(t,n,e,i,r,o){return xR(de(),Pb(),t,n,e,i,r,o)}function Kw(t,n){let e=t[n];return e===Ft?void 0:e}function wR(t,n,e,i,r,o){let s=n+e;return sn(t,s,r)?Ow(t,s+1,o?i.call(o,r):i(r)):Kw(t,s+1)}function xR(t,n,e,i,r,o,s,a){let l=n+e;return Nw(t,l,r,o,s)?Ow(t,l+3,a?i.call(a,r,o,s):i(r,o,s)):Kw(t,l+3)}function Jn(t,n){let e=Qe(),i,r=t+Mt;e.firstCreatePass?(i=CR(n,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks??=[]).push(r,i.onDestroy)):i=e.data[r];let o=i.factory||(i.factory=Vr(i.type,!0)),s,a=Vt(S);try{let l=Tc(!1),c=o();return Tc(l),pR(e,de(),r,c),c}finally{Vt(a)}}function CR(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function ei(t,n,e){let i=t+Mt,r=de(),o=Sb(r,i);return DR(r,i)?wR(r,Pb(),n,o.transform,e,o):o.transform(e)}function DR(t,n){return t[fe].data[n].pure}function Xw(t,n){return Cd(t,n)}var uc=null;function ER(t){uc!==null&&(t.defaultEncapsulation!==uc.defaultEncapsulation||t.preserveWhitespaces!==uc.preserveWhitespaces)||(uc=t)}var gm=class{ngModuleFactory;componentFactories;constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}},kd=(()=>{class t{compileModuleSync(e){return new Uc(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let i=this.compileModuleSync(e),r=fb(e),o=O0(r.declarations).reduce((s,a)=>{let l=pi(a);return l&&s.push(new Yr(l)),s},[]);return new gm(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),IR=new x("");function MR(t,n,e){let i=new Uc(e);return Promise.resolve(i)}function Y_(t){for(let n=t.length-1;n>=0;n--)if(t[n]!==void 0)return t[n]}var SR=(()=>{class t{zone=u(O);changeDetectionScheduler=u(Wr);applicationRef=u(Ht);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function TR({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:e}){return t??=()=>new O(ne(w({},Jw()),{scheduleInRootZone:e})),[{provide:O,useFactory:t},{provide:Vo,multi:!0,useFactory:()=>{let i=u(SR,{optional:!0});return()=>i.initialize()}},{provide:Vo,multi:!0,useFactory:()=>{let i=u(AR);return()=>{i.initialize()}}},n===!0?{provide:n0,useValue:!0}:[],{provide:i0,useValue:e??t0}]}function Jw(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var AR=(()=>{class t{subscription=new me;initialized=!1;zone=u(O);pendingTasks=u(Kn);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{O.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{O.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var kR=(()=>{class t{appRef=u(Ht);taskService=u(Kn);ngZone=u(O);zonelessEnabled=u(Vm);disableScheduling=u(n0,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new me;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Oc):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(u(i0,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Rc||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;let i=!1;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,i=!0;break}case 13:{this.appRef.dirtyFlags|=16,i=!0;break}case 14:{this.appRef.dirtyFlags|=2,i=!0;break}case 12:{i=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick(i))return;let r=this.useMicrotaskScheduler?__:r0;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(e){return!(this.disableScheduling&&!e||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Oc+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(e),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,__(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function OR(){return typeof $localize<"u"&&$localize.locale||Yc}var Od=new x("",{providedIn:"root",factory:()=>u(Od,ve.Optional|ve.SkipSelf)||OR()});var Qc=new x("");function fc(t){return!t.moduleRef}function RR(t){let n=fc(t)?t.r3Injector:t.moduleRef.injector,e=n.get(O);return e.run(()=>{fc(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(Wn,null),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:o=>{i.handleError(o)}})}),fc(t)){let o=()=>n.destroy(),s=t.platformInjector.get(Qc);s.add(o),n.onDestroy(()=>{r.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(Qc);s.add(o),t.moduleRef.onDestroy(()=>{yc(t.allPlatformModules,t.moduleRef),r.unsubscribe(),s.delete(o)})}return Zk(i,e,()=>{let o=n.get(gw);return o.runInitializers(),o.donePromise.then(()=>{let s=n.get(Od,Yc);if(dR(s||Yc),fc(t)){let a=n.get(Ht);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return NR(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function NR(t,n){let e=t.injector.get(Ht);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>e.bootstrap(i));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new E(-403,!1);n.push(t)}var ex=(()=>{class t{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(e){this._injector=e}bootstrapModuleFactory(e,i){let r=i?.scheduleInRootZone,o=()=>CT(i?.ngZone,ne(w({},Jw({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing})),{scheduleInRootZone:r})),s=i?.ignoreChangesOutsideZone,a=[TR({ngZoneFactory:o,ignoreChangesOutsideZone:s}),{provide:Wr,useExisting:kR}],l=zk(e.moduleType,this.injector,a);return RR({moduleRef:l,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,i=[]){let r=yw({},i);return MR(this.injector,r,e).then(o=>this.bootstrapModuleFactory(o,r))}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new E(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());let e=this._injector.get(Qc,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(i){return new(i||t)(k(ye))};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),Gs=null,tx=new x("");function PR(t){if(Gs&&!Gs.get(tx,!1))throw new E(400,!1);qk(),Gs=t;let n=t.get(ex);return VR(t),n}function yp(t,n,e=[]){let i=`Platform: ${n}`,r=new x(i);return(o=[])=>{let s=nx();if(!s||s.injector.get(tx,!1)){let a=[...e,...o,{provide:r,useValue:!0}];t?t(a):PR(FR(a,i))}return LR(r)}}function FR(t=[],n){return ye.create({name:n,providers:[{provide:nd,useValue:"platform"},{provide:Qc,useValue:new Set([()=>Gs=null])},...t]})}function LR(t){let n=nx();if(!n)throw new E(401,!1);return n}function nx(){return Gs?.get(ex)??null}function VR(t){let n=t.get(zm,null);Bt(t,()=>{n?.forEach(e=>e())})}var Pe=(()=>{class t{static __NG_ELEMENT_ID__=jR}return t})();function jR(t){return BR(yt(),de(),(t&16)===16)}function BR(t,n,e){if(sd(t)&&!e){let i=tr(t.index,n);return new qr(i,i)}else if(t.type&175){let i=n[on];return new qr(i,n)}return null}var vm=class{constructor(){}supports(n){return kw(n)}create(n){return new ym(n)}},zR=(t,n)=>n,ym=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||zR}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){let s=!i||e&&e.currentIndex{s=this._trackByFn(r,a),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,a,s,r),i=!0):(i&&(e=this._verifyReinsertion(e,a,s,r)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,r){let o;return n===null?o=this._itTail:(o=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,r)):(n=this._linkedRecords===null?null:this._linkedRecords.get(i,r),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,r)):n=this._addAfter(new _m(e,i),o,r)),n}_verifyReinsertion(n,e,i,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return o!==null?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let r=n._prevRemoved,o=n._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){let r=e===null?this._itHead:e._next;return n._next=r,n._prev=e,r===null?this._itTail=n:r._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new Zc),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,i=n._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Zc),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},_m=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,e){this.item=n,this.trackById=e}},bm=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){let e=n._prevDup,i=n._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null}},Zc=class{map=new Map;put(n){let e=n.trackById,i=this.map.get(e);i||(i=new bm,this.map.set(e,i)),i.add(n)}get(n,e){let i=n,r=this.map.get(i);return r?r.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Q_(t,n,e){let i=t.previousIndex;if(i===null)return i;let r=0;return e&&i{class t{factories;static \u0275prov=C({token:t,providedIn:"root",factory:Z_});constructor(e){this.factories=e}static create(e,i){if(i!=null){let r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||Z_()),deps:[[t,new Dm,new ta]]}}find(e){let i=this.factories.find(r=>r.supports(e));if(i!=null)return i;throw new E(901,!1)}}return t})();var ix=yp(null,"core",[]),rx=(()=>{class t{constructor(e){}static \u0275fac=function(i){return new(i||t)(k(Ht))};static \u0275mod=V({type:t});static \u0275inj=L({})}return t})();function W(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function ti(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}function Mi(t,n){Sn("NgSignals");let e=Uf(t);return n?.equal&&(e[Dt].equal=n.equal),e}function dn(t){let n=we(null);try{return t()}finally{we(n)}}var ox=(()=>{class t{view;node;constructor(e,i){this.view=e,this.node=i}static __NG_ELEMENT_ID__=UR}return t})();function UR(){return new ox(de(),yt())}var HR=!1,$R=(()=>{class t extends Hc{pendingTasks=u(Kn);taskId=null;schedule(e){super.schedule(e),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=C({token:t,providedIn:"root",factory:()=>new t})}return t})(),wm=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(n,e,i,r,o,s){this.scheduler=n,this.effectFn=e,this.zone=i,this.injector=o,this.watcher=Ay(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}runEffect(n){try{this.effectFn(n)}catch(e){this.injector.get(Wn,null,{optional:!0})?.handleError(e)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function GR(){}function WR(t,n){Sn("NgSignals"),!n?.injector&&rd(GR);let e=n?.injector??u(ye),i=n?.manualCleanup!==!0?e.get(oa):null,r=new wm(e.get($R),t,typeof Zone>"u"?null:Zone.current,i,e,n?.allowSignalWrites??!1),o=e.get(Pe,null,{optional:!0});return!o||!(o._lView[K]&8)?r.watcher.notify():(o._lView[mc]??=[]).push(r.watcher.notify),r}var qR=HR;var xm=class{[Dt];constructor(n){this[Dt]=n}destroy(){this[Dt].destroy()}};function ha(t,n){if(qR)return WR(t,n);Sn("NgSignals"),!n?.injector&&rd(ha);let e=n?.injector??u(ye),i=n?.manualCleanup!==!0?e.get(oa):null,r,o=e.get(ox,null,{optional:!0}),s=e.get(Wr);return o!==null&&!n?.forceRoot?(r=ZR(o.view,s,t),i instanceof kc&&i._lView===o.view&&(i=null)):r=KR(t,e.get(vw),s),r.injector=e,i!==null&&(r.onDestroyFn=i.onDestroy(()=>r.destroy())),new xm(r)}var sx=ne(w({},Sr),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:Ks,run(){if(this.dirty=!1,this.hasRun&&!Ps(this))return;this.hasRun=!0;let t=i=>(this.cleanupFns??=[]).push(i),n=vo(this),e=Ic(!1);try{this.maybeCleanup(),this.fn(t)}finally{Ic(e),Ns(this,n)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),YR=ne(w({},sx),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){yo(this),this.onDestroyFn(),this.maybeCleanup()}}),QR=ne(w({},sx),{consumerMarkedDirty(){this.view[K]|=8192,ia(this.view),this.notifier.notify(14)},destroy(){yo(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Br]?.delete(this)}});function ZR(t,n,e){let i=Object.create(QR);return i.view=t,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=n,i.fn=e,t[Br]??=new Set,t[Br].add(i),i.consumerMarkedDirty(i),i}function KR(t,n,e){let i=Object.create(YR);return i.fn=t,i.scheduler=n,i.notifier=e,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.schedule(i),i.notifier.notify(13),i}function Nd(t,n){let e=pi(t),i=n.elementInjector||id();return new Yr(e).create(i,n.projectableNodes,n.hostElement,n.environmentInjector)}function ax(t){let n=pi(t);if(!n)return null;let e=new Yr(n);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var hx=null;function ni(){return hx}function mx(t){hx??=t}var Pd=class{};var X=new x(""),Dp=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:()=>u(JR),providedIn:"platform"})}return t})(),px=new x(""),JR=(()=>{class t extends Dp{_location;_history;_doc=u(X);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ni().getBaseHref(this._doc)}onPopState(e){let i=ni().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){let i=ni().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,r){this._history.pushState(e,i,r)}replaceState(e,i,r){this._history.replaceState(e,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function Ep(t,n){if(t.length==0)return n;if(n.length==0)return t;let e=0;return t.endsWith("/")&&e++,n.startsWith("/")&&e++,e==2?t+n.substring(1):e==1?t+n:t+"/"+n}function lx(t){let n=t.match(/#|\?|$/),e=n&&n.index||t.length,i=e-(t[e-1]==="/"?1:0);return t.slice(0,i)+t.slice(e)}function Si(t){return t&&t[0]!=="?"?"?"+t:t}var Ti=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:()=>u(Ip),providedIn:"root"})}return t})(),gx=new x(""),Ip=(()=>{class t extends Ti{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??u(X).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Ep(this._baseHref,e)}path(e=!1){let i=this._platformLocation.pathname+Si(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+Si(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+Si(o));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||t)(k(Dp),k(gx,8))};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),vx=(()=>{class t extends Ti{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(e){let i=Ep(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+Si(o));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+Si(o));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||t)(k(Dp),k(gx,8))};static \u0275prov=C({token:t,factory:t.\u0275fac})}return t})(),rr=(()=>{class t{_subject=new M;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let i=this._locationStrategy.getBaseHref();this._basePath=n1(lx(cx(i))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Si(i))}normalize(e){return t.stripTrailingSlash(t1(this._basePath,cx(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Si(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Si(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i??void 0,complete:r??void 0})}static normalizeQueryParams=Si;static joinWithSlash=Ep;static stripTrailingSlash=lx;static \u0275fac=function(i){return new(i||t)(k(Ti))};static \u0275prov=C({token:t,factory:()=>e1(),providedIn:"root"})}return t})();function e1(){return new rr(k(Ti))}function t1(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function cx(t){return t.replace(/\/index.html$/,"")}function n1(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}function Ld(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[r,o]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}var _p=/\s+/,dx=[],Xo=(()=>{class t{_ngEl;_renderer;initialClasses=dx;rawClass;stateMap=new Map;constructor(e,i){this._ngEl=e,this._renderer=i}set klass(e){this.initialClasses=e!=null?e.trim().split(_p):dx}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(_p):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){let r=this.stateMap.get(e);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(_p).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||t)(S(U),S(nr))};static \u0275dir=P({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var bp=class{$implicit;ngForOf;index;count;constructor(n,e,i,r){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Tt=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;if(!this._differ&&e)if(0)try{}catch{}else this._differ=this._differs.find(e).create(this.ngForTrackBy)}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let i=this._viewContainer;e.forEachOperation((r,o,s)=>{if(r.previousIndex==null)i.createEmbeddedView(this._template,new bp(r.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)i.remove(o===null?void 0:o);else if(o!==null){let a=i.get(o);i.move(a,s),ux(a,r)}});for(let r=0,o=i.length;r{let o=i.get(r.currentIndex);ux(o,r)})}static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||t)(S(st),S(xt),S(Rd))};static \u0275dir=P({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function ux(t,n){t.context.$implicit=n.item}var At=(()=>{class t{_viewContainer;_context=new wp;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,i){this._viewContainer=e,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){fx("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){fx("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||t)(S(st),S(xt))};static \u0275dir=P({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),wp=class{$implicit=null;ngIf=null};function fx(t,n){if(!!!(!n||n.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Pt(n)}'.`)}var yx=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(e,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||t)(S(st))};static \u0275dir=P({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[qe]})}return t})();var _x=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({})}return t})(),Mp="browser",i1="server";function Sp(t){return t===Mp}function Vd(t){return t===i1}var bx=(()=>{class t{static \u0275prov=C({token:t,providedIn:"root",factory:()=>Sp(u(Mn))?new xp(u(X),window):new Cp})}return t})(),xp=class{document;window;offset=()=>[0,0];constructor(n,e){this.document=n,this.window=e}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){let e=r1(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){let e=n.getBoundingClientRect(),i=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}};function r1(t,n){let e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;for(;r;){let o=r.shadowRoot;if(o){let s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}r=i.nextNode()}}return null}var Cp=class{setOffset(n){}getScrollPosition(){return[0,0]}scrollToPosition(n){}scrollToAnchor(n){}setHistoryScrollRestoration(n){}},Ko=class{};var pa=class{},Bd=class{},Ai=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(` -`).forEach(e=>{let i=e.indexOf(":");if(i>0){let r=e.slice(0,i),o=e.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,i)=>{this.addHeaderEntry(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(n.name,e);let r=(n.op==="a"?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":let o=n.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(n,e){let i=n.toLowerCase();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(e):this.headers.set(i,[e])}setHeaderEntries(n,e){let i=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var Ap=class{encodeKey(n){return wx(n)}encodeValue(n){return wx(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function o1(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[s,a]=o==-1?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}var s1=/%(\d[a-f0-9])/gi,a1={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function wx(t){return encodeURIComponent(t).replace(s1,(n,e)=>a1[e]??n)}function jd(t){return`${t}`}var sr=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Ap,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=o1(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let i=n.fromObject[e],r=Array.isArray(i)?i.map(jd):[jd(i)];this.map.set(e,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(i=>{let r=n[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(jd(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let i=this.map.get(n.param)||[],r=i.indexOf(jd(n.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var kp=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function l1(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function xx(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Cx(t){return typeof Blob<"u"&&t instanceof Blob}function Dx(t){return typeof FormData<"u"&&t instanceof FormData}function c1(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var ma=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(n,e,i,r){this.url=e,this.method=n.toUpperCase();let o;if(l1(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Ai,this.context??=new kp,!this.params)this.params=new sr,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),l=a===-1?"?":ag.set(m,n.setHeaders[m]),c)),n.setParams&&(d=Object.keys(n.setParams).reduce((g,m)=>g.set(m,n.setParams[m]),d)),new t(e,i,s,{params:d,headers:c,context:f,reportProgress:l,responseType:r,withCredentials:a,transferCache:o})}},ar=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(ar||{}),ga=class{headers;status;statusText;url;ok;type;constructor(n,e=200,i="OK"){this.headers=n.headers||new Ai,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},zd=class t extends ga{constructor(n={}){super(n)}type=ar.ResponseHeader;clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},va=class t extends ga{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=ar.Response;clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},or=class extends ga{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},Tx=200,d1=204;function Tp(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Np=(()=>{class t{handler;constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof ma)o=e;else{let l;r.headers instanceof Ai?l=r.headers:l=new Ai(r.headers);let c;r.params&&(r.params instanceof sr?c=r.params:c=new sr({fromObject:r.params})),o=new ma(e,i,r.body!==void 0?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}let s=z(o).pipe(hi(l=>this.handler.handle(l)));if(e instanceof ma||r.observe==="events")return s;let a=s.pipe(ie(l=>l instanceof va));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(q(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(q(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(q(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return a.pipe(q(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new sr().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,Tp(r,i))}post(e,i,r={}){return this.request("POST",e,Tp(r,i))}put(e,i,r={}){return this.request("PUT",e,Tp(r,i))}static \u0275fac=function(i){return new(i||t)(k(pa))};static \u0275prov=C({token:t,factory:t.\u0275fac})}return t})(),u1=/^\)\]\}',?\n/,f1="X-Request-URL";function Ex(t){if(t.url)return t.url;let n=f1.toLocaleLowerCase();return t.headers.get(n)}var h1=(()=>{class t{fetchImpl=u(Op,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=u(O);handle(e){return new le(i=>{let r=new AbortController;return this.doRequest(e,r.signal,i).then(Rp,o=>i.error(new or({error:o}))),()=>r.abort()})}doRequest(e,i,r){return Se(this,null,function*(){let o=this.createRequestInit(e),s;try{let m=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,w({signal:i},o)));m1(m),r.next({type:ar.Sent}),s=yield m}catch(m){r.error(new or({error:m,status:m.status??0,statusText:m.statusText,url:e.urlWithParams,headers:m.headers}));return}let a=new Ai(s.headers),l=s.statusText,c=Ex(s)??e.urlWithParams,d=s.status,f=null;if(e.reportProgress&&r.next(new zd({headers:a,status:d,statusText:l,url:c})),s.body){let m=s.headers.get("content-length"),v=[],y=s.body.getReader(),I=0,N,ee,Y=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Se(this,null,function*(){for(;;){let{done:et,value:ke}=yield y.read();if(et)break;if(v.push(ke),I+=ke.length,e.reportProgress){ee=e.responseType==="text"?(ee??"")+(N??=new TextDecoder).decode(ke,{stream:!0}):void 0;let Ue=()=>r.next({type:ar.DownloadProgress,total:m?+m:void 0,loaded:I,partialText:ee});Y?Y.run(Ue):Ue()}}}));let be=this.concatChunks(v,I);try{let et=s.headers.get("Content-Type")??"";f=this.parseBody(e,be,et)}catch(et){r.error(new or({error:et,headers:new Ai(s.headers),status:s.status,statusText:s.statusText,url:Ex(s)??e.urlWithParams}));return}}d===0&&(d=f?Tx:0),d>=200&&d<300?(r.next(new va({body:f,headers:a,status:d,statusText:l,url:c})),r.complete()):r.error(new or({error:f,headers:a,status:d,statusText:l,url:c}))})}parseBody(e,i,r){switch(e.responseType){case"json":let o=new TextDecoder().decode(i).replace(u1,"");return o===""?null:JSON.parse(o);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:r});case"arraybuffer":return i.buffer}}createRequestInit(e){let i={},r=e.withCredentials?"include":void 0;if(e.headers.forEach((o,s)=>i[o]=s.join(",")),e.headers.has("Accept")||(i.Accept="application/json, text/plain, */*"),!e.headers.has("Content-Type")){let o=e.detectContentTypeHeader();o!==null&&(i["Content-Type"]=o)}return{body:e.serializeBody(),method:e.method,headers:i,credentials:r}}concatChunks(e,i){let r=new Uint8Array(i),o=0;for(let s of e)r.set(s,o),o+=s.length;return r}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac})}return t})(),Op=class{};function Rp(){}function m1(t){t.then(Rp,Rp)}function Ax(t,n){return n(t)}function p1(t,n){return(e,i)=>n.intercept(e,{handle:r=>t(r,i)})}function g1(t,n,e){return(i,r)=>Bt(e,()=>n(i,o=>t(o,r)))}var v1=new x(""),Pp=new x(""),y1=new x(""),kx=new x("",{providedIn:"root",factory:()=>!0});function _1(){let t=null;return(n,e)=>{t===null&&(t=(u(v1,{optional:!0})??[]).reduceRight(p1,Ax));let i=u(Kn);if(u(kx)){let o=i.add();return t(n,e).pipe(qi(()=>i.remove(o)))}else return t(n,e)}}var Ix=(()=>{class t extends pa{backend;injector;chain=null;pendingTasks=u(Kn);contributeToStability=u(kx);constructor(e,i){super(),this.backend=e,this.injector=i}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Pp),...this.injector.get(y1,[])]));this.chain=i.reduceRight((r,o)=>g1(r,o,this.injector),Ax)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(qi(()=>this.pendingTasks.remove(i)))}else return this.chain(e,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||t)(k(Bd),k(ht))};static \u0275prov=C({token:t,factory:t.\u0275fac})}return t})();var b1=/^\)\]\}',?\n/;function w1(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var Mx=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new E(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?Fe(i.\u0275loadImpl()):z(null)).pipe(tt(()=>new le(o=>{let s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((y,I)=>s.setRequestHeader(y,I.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let y=e.detectContentTypeHeader();y!==null&&s.setRequestHeader("Content-Type",y)}if(e.responseType){let y=e.responseType.toLowerCase();s.responseType=y!=="json"?y:"text"}let a=e.serializeBody(),l=null,c=()=>{if(l!==null)return l;let y=s.statusText||"OK",I=new Ai(s.getAllResponseHeaders()),N=w1(s)||e.url;return l=new zd({headers:I,status:s.status,statusText:y,url:N}),l},d=()=>{let{headers:y,status:I,statusText:N,url:ee}=c(),Y=null;I!==d1&&(Y=typeof s.response>"u"?s.responseText:s.response),I===0&&(I=Y?Tx:0);let be=I>=200&&I<300;if(e.responseType==="json"&&typeof Y=="string"){let et=Y;Y=Y.replace(b1,"");try{Y=Y!==""?JSON.parse(Y):null}catch(ke){Y=et,be&&(be=!1,Y={error:ke,text:Y})}}be?(o.next(new va({body:Y,headers:y,status:I,statusText:N,url:ee||void 0})),o.complete()):o.error(new or({error:Y,headers:y,status:I,statusText:N,url:ee||void 0}))},f=y=>{let{url:I}=c(),N=new or({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:I||void 0});o.error(N)},g=!1,m=y=>{g||(o.next(c()),g=!0);let I={type:ar.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(I.total=y.total),e.responseType==="text"&&s.responseText&&(I.partialText=s.responseText),o.next(I)},v=y=>{let I={type:ar.UploadProgress,loaded:y.loaded};y.lengthComputable&&(I.total=y.total),o.next(I)};return s.addEventListener("load",d),s.addEventListener("error",f),s.addEventListener("timeout",f),s.addEventListener("abort",f),e.reportProgress&&(s.addEventListener("progress",m),a!==null&&s.upload&&s.upload.addEventListener("progress",v)),s.send(a),o.next({type:ar.Sent}),()=>{s.removeEventListener("error",f),s.removeEventListener("abort",f),s.removeEventListener("load",d),s.removeEventListener("timeout",f),e.reportProgress&&(s.removeEventListener("progress",m),a!==null&&s.upload&&s.upload.removeEventListener("progress",v)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(i){return new(i||t)(k(Ko))};static \u0275prov=C({token:t,factory:t.\u0275fac})}return t})(),Ox=new x(""),x1="XSRF-TOKEN",C1=new x("",{providedIn:"root",factory:()=>x1}),D1="X-XSRF-TOKEN",E1=new x("",{providedIn:"root",factory:()=>D1}),Ud=class{},I1=(()=>{class t{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,i,r){this.doc=e,this.platform=i,this.cookieName=r}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ld(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(i){return new(i||t)(k(X),k(Mn),k(C1))};static \u0275prov=C({token:t,factory:t.\u0275fac})}return t})();function M1(t,n){let e=t.url.toLowerCase();if(!u(Ox)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return n(t);let i=u(Ud).getToken(),r=u(E1);return i!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,i)})),n(t)}var Rx=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(Rx||{});function S1(t,n){return{\u0275kind:t,\u0275providers:n}}function Nx(...t){let n=[Np,Mx,Ix,{provide:pa,useExisting:Ix},{provide:Bd,useFactory:()=>u(h1,{optional:!0})??u(Mx)},{provide:Pp,useValue:M1,multi:!0},{provide:Ox,useValue:!0},{provide:Ud,useClass:I1}];for(let e of t)n.push(...e.\u0275providers);return td(n)}var Sx=new x("");function Px(){return S1(Rx.LegacyInterceptors,[{provide:Sx,useFactory:_1},{provide:Pp,useExisting:Sx,multi:!0}])}var Lp=class extends Pd{supportsDOMEvents=!0},Vp=class t extends Lp{static makeCurrent(){mx(new t)}onAndCancel(n,e,i){return n.addEventListener(e,i),()=>{n.removeEventListener(e,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=A1();return e==null?null:k1(e)}resetBaseElement(){ya=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Ld(document.cookie,n)}},ya=null;function A1(){return ya=ya||document.querySelector("base"),ya?ya.getAttribute("href"):null}function k1(t){return new URL(t,document.baseURI).pathname}var jp=class{addToWindow(n){Yt.getAngularTestability=(i,r=!0)=>{let o=n.findTestabilityInTree(i,r);if(o==null)throw new E(5103,!1);return o},Yt.getAllAngularTestabilities=()=>n.getAllTestabilities(),Yt.getAllAngularRootElements=()=>n.getAllRootElements();let e=i=>{let r=Yt.getAllAngularTestabilities(),o=r.length,s=function(){o--,o==0&&i()};r.forEach(a=>{a.whenStable(s)})};Yt.frameworkStabilizers||(Yt.frameworkStabilizers=[]),Yt.frameworkStabilizers.push(e)}findTestabilityInTree(n,e,i){if(e==null)return null;let r=n.getTestability(e);return r??(i?ni().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},O1=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac})}return t})(),Bp=new x(""),Bx=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,i){this._zone=i,e.forEach(r=>{r.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(o=>o.supports(e)),!i)throw new E(5101,!1);return this._eventNameToPlugin.set(e,i),i}static \u0275fac=function(i){return new(i||t)(k(Bp),k(O))};static \u0275prov=C({token:t,factory:t.\u0275fac})}return t})(),Hd=class{_doc;constructor(n){this._doc=n}manager},zp="ng-app-id";function Fx(t){for(let n of t)n.remove()}function Lx(t,n){let e=n.createElement("style");return e.textContent=t,e}function R1(t,n,e){let i=t.head?.querySelectorAll(`style[${zp}="${n}"]`);if(i)for(let r of i)r.textContent&&(r.removeAttribute(zp),e.set(r.textContent,{usage:0,elements:[r]}))}function Up(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var zx=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,i,r,o={}){this.doc=e,this.appId=i,this.nonce=r,this.isServer=Vd(o),R1(e,i,this.inline),this.hosts.add(e.head)}addStyles(e,i){for(let r of e)this.addUsage(r,this.inline,Lx);i?.forEach(r=>this.addUsage(r,this.external,Up))}removeStyles(e,i){for(let r of e)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,i,r){let o=i.get(e);o?o.usage++:i.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,r(e,this.doc)))})}removeUsage(e,i){let r=i.get(e);r&&(r.usage--,r.usage<=0&&(Fx(r.elements),i.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])Fx(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(e,Lx(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(e,Up(i,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,i){return this.nonce&&i.setAttribute("nonce",this.nonce),this.isServer&&i.setAttribute(zp,this.appId),e.appendChild(i)}static \u0275fac=function(i){return new(i||t)(k(X),k(Yo),k(sa,8),k(Mn))};static \u0275prov=C({token:t,factory:t.\u0275fac})}return t})(),Fp={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},$p=/%COMP%/g,Ux="%COMP%",N1=`_nghost-${Ux}`,P1=`_ngcontent-${Ux}`,F1=!0,L1=new x("",{providedIn:"root",factory:()=>F1});function V1(t){return P1.replace($p,t)}function j1(t){return N1.replace($p,t)}function Hx(t,n){return n.map(e=>e.replace($p,t))}var $d=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,i,r,o,s,a,l,c=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.platformIsServer=Vd(a),this.defaultRenderer=new _a(e,s,l,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Yn.ShadowDom&&(i=ne(w({},i),{encapsulation:Yn.Emulated}));let r=this.getOrCreateRenderer(e,i);return r instanceof Gd?r.applyToHost(e):r instanceof ba&&r.applyStyles(),r}getOrCreateRenderer(e,i){let r=this.rendererByCompId,o=r.get(i.id);if(!o){let s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(i.encapsulation){case Yn.Emulated:o=new Gd(l,c,i,this.appId,d,s,a,f);break;case Yn.ShadowDom:return new Hp(l,c,e,i,s,a,this.nonce,f);default:o=new ba(l,c,i,d,s,a,f);break}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(i){return new(i||t)(k(Bx),k(zx),k(Yo),k(L1),k(X),k(Mn),k(O),k(sa))};static \u0275prov=C({token:t,factory:t.\u0275fac})}return t})(),_a=class{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,i,r){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=r}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(Fp[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(Vx(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(Vx(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){e.remove()}selectRootElement(n,e){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new E(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,r){if(r){e=r+":"+e;let o=Fp[r];o?n.setAttributeNS(o,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let r=Fp[i];r?n.removeAttributeNS(r,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,r){r&(bi.DashCase|bi.Important)?n.style.setProperty(e,i,r&bi.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&bi.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n!=null&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i){if(typeof n=="string"&&(n=ni().getGlobalEventTarget(this.doc,n),!n))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(i))}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};function Vx(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Hp=class extends _a{sharedStylesHost;hostEl;shadowRoot;constructor(n,e,i,r,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=Hx(r.id,r.styles);for(let f of c){let g=document.createElement("style");a&&g.setAttribute("nonce",a),g.textContent=f,this.shadowRoot.appendChild(g)}let d=r.getExternalStyles?.();if(d)for(let f of d){let g=Up(f,o);a&&g.setAttribute("nonce",a),this.shadowRoot.appendChild(g)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},ba=class extends _a{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r,this.styles=l?Hx(l,i.styles):i.styles,this.styleUrls=i.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Gd=class extends ba{contentAttr;hostAttr;constructor(n,e,i,r,o,s,a,l){let c=r+"-"+i.id;super(n,e,i,o,s,a,l,c),this.contentAttr=V1(c),this.hostAttr=j1(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}},B1=(()=>{class t extends Hd{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}static \u0275fac=function(i){return new(i||t)(k(X))};static \u0275prov=C({token:t,factory:t.\u0275fac})}return t})(),jx=["alt","control","meta","shift"],z1={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},U1={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},H1=(()=>{class t extends Hd{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,r){let o=t.parseEventName(i),s=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ni().onAndCancel(e,o.domEventName,s))}static parseEventName(e){let i=e.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=t._normalizeKey(i.pop()),s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),jx.forEach(c=>{let d=i.indexOf(c);d>-1&&(i.splice(d,1),s+=c+".")}),s+=o,i.length!=0||o.length===0)return null;let l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let r=z1[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),jx.forEach(s=>{if(s!==r){let a=U1[s];a(e)&&(o+=s+".")}}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{t.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(i){return new(i||t)(k(X))};static \u0275prov=C({token:t,factory:t.\u0275fac})}return t})();function $1(){Vp.makeCurrent()}function G1(){return new Wn}function W1(){return m0(document),document}var q1=[{provide:Mn,useValue:Mp},{provide:zm,useValue:$1,multi:!0},{provide:X,useFactory:W1,deps:[]}],$x=yp(ix,"browser",q1),Y1=new x(""),Q1=[{provide:ca,useClass:jp,deps:[]},{provide:lp,useClass:Id,deps:[O,Md,ca]},{provide:Id,useClass:Id,deps:[O,Md,ca]}],Z1=[{provide:nd,useValue:"root"},{provide:Wn,useFactory:G1,deps:[]},{provide:Bp,useClass:B1,multi:!0,deps:[X,O,Mn]},{provide:Bp,useClass:H1,multi:!0,deps:[X]},$d,zx,Bx,{provide:er,useExisting:$d},{provide:Ko,useClass:O1,deps:[]},[]],Wd=(()=>{class t{constructor(e){}static \u0275fac=function(i){return new(i||t)(k(Y1,12))};static \u0275mod=V({type:t});static \u0275inj=L({providers:[...Z1,...Q1],imports:[_x,rx]})}return t})();var Gx=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(i){return new(i||t)(k(X))};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Gp=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=k(K1),r},providedIn:"root"})}return t})(),K1=(()=>{class t extends Gp{_doc;constructor(e){super(),this._doc=e}sanitize(e,i){if(i==null)return null;switch(e){case Tn.NONE:return i;case Tn.HTML:return Di(i,"HTML")?ln(i):Hm(this._doc,String(i)).toString();case Tn.STYLE:return Di(i,"Style")?ln(i):i;case Tn.SCRIPT:if(Di(i,"Script"))return ln(i);throw new E(5200,!1);case Tn.URL:return Di(i,"URL")?ln(i):vd(String(i));case Tn.RESOURCE_URL:if(Di(i,"ResourceURL"))return ln(i);throw new E(5201,!1);default:throw new E(5202,!1)}}bypassSecurityTrustHtml(e){return b0(e)}bypassSecurityTrustStyle(e){return w0(e)}bypassSecurityTrustScript(e){return x0(e)}bypassSecurityTrustUrl(e){return C0(e)}bypassSecurityTrustResourceUrl(e){return D0(e)}static \u0275fac=function(i){return new(i||t)(k(X))};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ki(t){return t!=null&&`${t}`!="false"}function lr(t,n=0){return X1(t)?Number(t):arguments.length===2?n:0}function X1(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Jo(t){return Array.isArray(t)?t:[t]}function nt(t){return t==null?"":typeof t=="string"?t:`${t}px`}function fn(t){return t instanceof U?t.nativeElement:t}var Yp;try{Yp=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Yp=!1}var Te=(()=>{class t{_platformId=u(Mn);isBrowser=this._platformId?Sp(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||Yp)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var es,Wx=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Qp(){if(es)return es;if(typeof document!="object"||!document)return es=new Set(Wx),es;let t=document.createElement("input");return es=new Set(Wx.filter(n=>(t.setAttribute("type",n),t.type===n))),es}var wa;function J1(){if(wa==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>wa=!0}))}finally{wa=wa||!1}return wa}function hn(t){return J1()?t:!!t.capture}var An=function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t}(An||{}),qd,Xr;function Yd(){if(Xr==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Xr=!1,Xr;if("scrollBehavior"in document.documentElement.style)Xr=!0;else{let t=Element.prototype.scrollTo;t?Xr=!/\{\s*\[native code\]\s*\}/.test(t.toString()):Xr=!1}}return Xr}function ts(){if(typeof document!="object"||!document)return An.NORMAL;if(qd==null){let t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",t.appendChild(e),document.body.appendChild(t),qd=An.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,qd=t.scrollLeft===0?An.NEGATED:An.INVERTED),t.remove()}return qd}var qp;function eN(){if(qp==null){let t=typeof document<"u"?document.head:null;qp=!!(t&&(t.createShadowRoot||t.attachShadow))}return qp}function qx(t){if(eN()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function xa(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function Qt(t){return t.composedPath?t.composedPath()[0]:t.target}function Zp(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Zx=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({})}return t})(),Yx=new Set,Jr,tN=(()=>{class t{_platform=u(Te);_nonce=u(sa,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):iN}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&nN(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function nN(t,n){if(!Yx.has(t))try{Jr||(Jr=document.createElement("style"),n&&Jr.setAttribute("nonce",n),Jr.setAttribute("type","text/css"),document.head.appendChild(Jr)),Jr.sheet&&(Jr.sheet.insertRule(`@media ${t} {body{ }}`,0),Yx.add(t))}catch(e){console.error(e)}}function iN(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Kx=(()=>{class t{_mediaMatcher=u(tN);_zone=u(O);_queries=new Map;_destroySubject=new M;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Qx(Jo(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=Qx(Jo(e)).map(s=>this._registerQuery(s).observable),o=Pr(r);return o=jn(o.pipe(je(1)),o.pipe(zs(1),Fr(0))),o.pipe(q(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),o={observable:new le(s=>{let a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(Ke(i),q(({matches:s})=>({query:e,matches:s})),xe(this._destroySubject)),mql:i};return this._queries.set(e,o),o}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Qx(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}var ge="primary",Fa=Symbol("RouteTitle"),tg=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function as(t){return new tg(t)}function rN(t,n,e){let i=e.path.split("/");if(i.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||i.lengthi[o]===r)}else return t===n}function cC(t){return t.length>0?t[t.length-1]:null}function dr(t){return So(t)?t:Kr(t)?Fe(Promise.resolve(t)):z(t)}var sN={exact:uC,subset:fC},dC={exact:aN,subset:lN,ignored:()=>!0};function Xx(t,n,e){return sN[e.paths](t.root,n.root,e.matrixParams)&&dC[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function aN(t,n){return ii(t,n)}function uC(t,n,e){if(!to(t.segments,n.segments)||!Kd(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let i in n.children)if(!t.children[i]||!uC(t.children[i],n.children[i],e))return!1;return!0}function lN(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>lC(t[e],n[e]))}function fC(t,n,e){return hC(t,n,n.segments,e)}function hC(t,n,e,i){if(t.segments.length>e.length){let r=t.segments.slice(0,e.length);return!(!to(r,e)||n.hasChildren()||!Kd(r,e,i))}else if(t.segments.length===e.length){if(!to(t.segments,e)||!Kd(t.segments,e,i))return!1;for(let r in n.children)if(!t.children[r]||!fC(t.children[r],n.children[r],i))return!1;return!0}else{let r=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!to(t.segments,r)||!Kd(t.segments,r,i)||!t.children[ge]?!1:hC(t.children[ge],n,o,i)}}function Kd(t,n,e){return n.every((i,r)=>dC[e](t[r].parameters,i.parameters))}var Ri=class{root;queryParams;fragment;_queryParamMap;constructor(n=new Ne([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap??=as(this.queryParams),this._queryParamMap}toString(){return uN.serialize(this)}},Ne=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Xd(this)}},eo=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=as(this.parameters),this._parameterMap}toString(){return pC(this)}};function cN(t,n){return to(t,n)&&t.every((e,i)=>ii(e.parameters,n[i].parameters))}function to(t,n){return t.length!==n.length?!1:t.every((e,i)=>e.path===n[i].path)}function dN(t,n){let e=[];return Object.entries(t.children).forEach(([i,r])=>{i===ge&&(e=e.concat(n(r,i)))}),Object.entries(t.children).forEach(([i,r])=>{i!==ge&&(e=e.concat(n(r,i)))}),e}var La=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:()=>new ls,providedIn:"root"})}return t})(),ls=class{parse(n){let e=new rg(n);return new Ri(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${Ca(n.root,!0)}`,i=mN(n.queryParams),r=typeof n.fragment=="string"?`#${fN(n.fragment)}`:"";return`${e}${i}${r}`}},uN=new ls;function Xd(t){return t.segments.map(n=>pC(n)).join("/")}function Ca(t,n){if(!t.hasChildren())return Xd(t);if(n){let e=t.children[ge]?Ca(t.children[ge],!1):"",i=[];return Object.entries(t.children).forEach(([r,o])=>{r!==ge&&i.push(`${r}:${Ca(o,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}else{let e=dN(t,(i,r)=>r===ge?[Ca(t.children[ge],!1)]:[`${r}:${Ca(i,!1)}`]);return Object.keys(t.children).length===1&&t.children[ge]!=null?`${Xd(t)}/${e[0]}`:`${Xd(t)}/(${e.join("//")})`}}function mC(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Qd(t){return mC(t).replace(/%3B/gi,";")}function fN(t){return encodeURI(t)}function ig(t){return mC(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Jd(t){return decodeURIComponent(t)}function Jx(t){return Jd(t.replace(/\+/g,"%20"))}function pC(t){return`${ig(t.path)}${hN(t.parameters)}`}function hN(t){return Object.entries(t).map(([n,e])=>`;${ig(n)}=${ig(e)}`).join("")}function mN(t){let n=Object.entries(t).map(([e,i])=>Array.isArray(i)?i.map(r=>`${Qd(e)}=${Qd(r)}`).join("&"):`${Qd(e)}=${Qd(i)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var pN=/^[^\/()?;#]+/;function Kp(t){let n=t.match(pN);return n?n[0]:""}var gN=/^[^\/()?;=#]+/;function vN(t){let n=t.match(gN);return n?n[0]:""}var yN=/^[^=?&#]+/;function _N(t){let n=t.match(yN);return n?n[0]:""}var bN=/^[^&#]+/;function wN(t){let n=t.match(bN);return n?n[0]:""}var rg=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ne([],{}):new Ne([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[ge]=new Ne(n,e)),i}parseSegment(){let n=Kp(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new E(4009,!1);return this.capture(n),new eo(Jd(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=vN(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let r=Kp(this.remaining);r&&(i=r,this.capture(i))}n[Jd(e)]=Jd(i)}parseQueryParam(n){let e=_N(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let s=wN(this.remaining);s&&(i=s,this.capture(i))}let r=Jx(e),o=Jx(i);if(n.hasOwnProperty(r)){let s=n[r];Array.isArray(s)||(s=[s],n[r]=s),s.push(o)}else n[r]=o}parseParens(n){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=Kp(this.remaining),r=this.remaining[i.length];if(r!=="/"&&r!==")"&&r!==";")throw new E(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=ge);let s=this.parseChildren();e[o]=Object.keys(s).length===1?s[ge]:new Ne([],s),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new E(4011,!1)}};function gC(t){return t.segments.length>0?new Ne([],{[ge]:t}):t}function vC(t){let n={};for(let[i,r]of Object.entries(t.children)){let o=vC(r);if(i===ge&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[i]=o)}let e=new Ne(t.segments,n);return xN(e)}function xN(t){if(t.numberOfChildren===1&&t.children[ge]){let n=t.children[ge];return new Ne(t.segments.concat(n.segments),n.children)}return t}function no(t){return t instanceof Ri}function CN(t,n,e=null,i=null){let r=yC(t);return _C(r,n,e,i)}function yC(t){let n;function e(o){let s={};for(let l of o.children){let c=e(l);s[l.outlet]=c}let a=new Ne(o.url,s);return o===t&&(n=a),a}let i=e(t.root),r=gC(i);return n??r}function _C(t,n,e,i){let r=t;for(;r.parent;)r=r.parent;if(n.length===0)return Xp(r,r,r,e,i);let o=DN(n);if(o.toRoot())return Xp(r,r,new Ne([],{}),e,i);let s=EN(o,r,t),a=s.processChildren?Ia(s.segmentGroup,s.index,o.commands):wC(s.segmentGroup,s.index,o.commands);return Xp(r,s.segmentGroup,a,e,i)}function eu(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Ta(t){return typeof t=="object"&&t!=null&&t.outlets}function Xp(t,n,e,i,r){let o={};i&&Object.entries(i).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`});let s;t===n?s=e:s=bC(t,n,e);let a=gC(vC(s));return new Ri(a,o,r)}function bC(t,n,e){let i={};return Object.entries(t.children).forEach(([r,o])=>{o===n?i[r]=e:i[r]=bC(o,n,e)}),new Ne(t.segments,i)}var tu=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&eu(i[0]))throw new E(4003,!1);let r=i.find(Ta);if(r&&r!==cC(i))throw new E(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function DN(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new tu(!0,0,t);let n=0,e=!1,i=t.reduce((r,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return typeof o!="string"?[...r,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?e=!0:a===".."?n++:a!=""&&r.push(a))}),r):[...r,o]},[]);return new tu(e,n,i)}var rs=class{segmentGroup;processChildren;index;constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}};function EN(t,n,e){if(t.isAbsolute)return new rs(n,!0,0);if(!e)return new rs(n,!1,NaN);if(e.parent===null)return new rs(e,!0,0);let i=eu(t.commands[0])?0:1,r=e.segments.length-1+i;return IN(e,r,t.numberOfDoubleDots)}function IN(t,n,e){let i=t,r=n,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new E(4005,!1);r=i.segments.length}return new rs(i,!1,r-o)}function MN(t){return Ta(t[0])?t[0].outlets:{[ge]:t}}function wC(t,n,e){if(t??=new Ne([],{}),t.segments.length===0&&t.hasChildren())return Ia(t,n,e);let i=SN(t,n,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndexo!==ge)&&t.children[ge]&&t.numberOfChildren===1&&t.children[ge].segments.length===0){let o=Ia(t.children[ge],n,e);return new Ne(t.segments,o.children)}return Object.entries(i).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(r[o]=wC(t.children[o],n,s))}),Object.entries(t.children).forEach(([o,s])=>{i[o]===void 0&&(r[o]=s)}),new Ne(t.segments,r)}}function SN(t,n,e){let i=0,r=n,o={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return o;let s=t.segments[r],a=e[i];if(Ta(a))break;let l=`${a}`,c=i0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!tC(l,c,s))return o;i+=2}else{if(!tC(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}function og(t,n,e){let i=t.segments.slice(0,n),r=0;for(;r{typeof i=="string"&&(i=[i]),i!==null&&(n[e]=og(new Ne([],{}),0,i))}),n}function eC(t){let n={};return Object.entries(t).forEach(([e,i])=>n[e]=`${i}`),n}function tC(t,n,e){return t==e.path&&ii(n,e.parameters)}var Ma="imperative",_t=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(_t||{}),mn=class{id;url;constructor(n,e){this.id=n,this.url=e}},cs=class extends mn{type=_t.NavigationStart;navigationTrigger;restoredState;constructor(n,e,i="imperative",r=null){super(n,e),this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},ri=class extends mn{urlAfterRedirects;type=_t.NavigationEnd;constructor(n,e,i){super(n,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Kt=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(Kt||{}),nu=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(nu||{}),Oi=class extends mn{reason;code;type=_t.NavigationCancel;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},cr=class extends mn{reason;code;type=_t.NavigationSkipped;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r}},Aa=class extends mn{error;target;type=_t.NavigationError;constructor(n,e,i,r){super(n,e),this.error=i,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},iu=class extends mn{urlAfterRedirects;state;type=_t.RoutesRecognized;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},sg=class extends mn{urlAfterRedirects;state;type=_t.GuardsCheckStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ag=class extends mn{urlAfterRedirects;state;shouldActivate;type=_t.GuardsCheckEnd;constructor(n,e,i,r,o){super(n,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},lg=class extends mn{urlAfterRedirects;state;type=_t.ResolveStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},cg=class extends mn{urlAfterRedirects;state;type=_t.ResolveEnd;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},dg=class{route;type=_t.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},ug=class{route;type=_t.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},fg=class{snapshot;type=_t.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},hg=class{snapshot;type=_t.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},mg=class{snapshot;type=_t.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},pg=class{snapshot;type=_t.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ru=class{routerEvent;position;anchor;type=_t.Scroll;constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},ka=class{},ds=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function AN(t,n){return t.providers&&!t._injector&&(t._injector=Dd(t.providers,n,`Route: ${t.path}`)),t._injector??n}function kn(t){return t.outlet||ge}function kN(t,n){let e=t.filter(i=>kn(i)===n);return e.push(...t.filter(i=>kn(i)!==n)),e}function Va(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){let e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var gg=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Va(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new ja(this.rootInjector)}},ja=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,i){let r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new gg(this.rootInjector),this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(i){return new(i||t)(k(ht))};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ou=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=vg(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){let e=vg(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=yg(n,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return yg(n,this._root).map(e=>e.value)}};function vg(t,n){if(t===n.value)return n;for(let e of n.children){let i=vg(t,e);if(i)return i}return null}function yg(t,n){if(t===n.value)return[n];for(let e of n.children){let i=yg(t,e);if(i.length)return i.unshift(n),i}return[]}var Zt=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function is(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var su=class extends ou{snapshot;constructor(n,e){super(n),this.snapshot=e,Mg(this,n)}toString(){return this.snapshot.toString()}};function xC(t){let n=ON(t),e=new ut([new eo("",{})]),i=new ut({}),r=new ut({}),o=new ut({}),s=new ut(""),a=new Ni(e,i,o,s,r,ge,t,n.root);return a.snapshot=n.root,new su(new Zt(a,[]),n)}function ON(t){let n={},e={},i={},r="",o=new os([],n,i,r,e,ge,t,null,{});return new lu("",new Zt(o,[]))}var Ni=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,i,r,o,s,a,l){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(q(c=>c[Fa]))??z(void 0),this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(q(n=>as(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(q(n=>as(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function au(t,n,e="emptyOnly"){let i,{routeConfig:r}=t;return n!==null&&(e==="always"||r?.path===""||!n.component&&!n.routeConfig?.loadComponent)?i={params:w(w({},n.params),t.params),data:w(w({},n.data),t.data),resolve:w(w(w(w({},t.data),n.data),r?.data),t._resolvedData)}:i={params:w({},t.params),data:w({},t.data),resolve:w(w({},t.data),t._resolvedData??{})},r&&DC(r)&&(i.resolve[Fa]=r.title),i}var os=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Fa]}constructor(n,e,i,r,o,s,a,l,c){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=as(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=as(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(i=>i.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},lu=class extends ou{url;constructor(n,e){super(e),this.url=n,Mg(this,e)}toString(){return CC(this._root)}};function Mg(t,n){n.value._routerState=t,n.children.forEach(e=>Mg(t,e))}function CC(t){let n=t.children.length>0?` { ${t.children.map(CC).join(", ")} } `:"";return`${t.value}${n}`}function Jp(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,ii(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),ii(n.params,e.params)||t.paramsSubject.next(e.params),oN(n.url,e.url)||t.urlSubject.next(e.url),ii(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function _g(t,n){let e=ii(t.params,n.params)&&cN(t.url,n.url),i=!t.parent!=!n.parent;return e&&!i&&(!t.parent||_g(t.parent,n.parent))}function DC(t){return typeof t.title=="string"||t.title===null}var RN=new x(""),Sg=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=ge;activateEvents=new H;deactivateEvents=new H;attachEvents=new H;detachEvents=new H;routerOutletData=s0(void 0);parentContexts=u(ja);location=u(st);changeDetector=u(Pe);inputBinder=u(hu,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new E(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new E(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new E(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new E(4013,!1);this._activatedRoute=e;let r=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new bg(e,a,r.injector,this.routerOutletData);this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[qe]})}return t})(),bg=class t{route;childContexts;parent;outletData;__ngOutletInjector(n){return new t(this.route,this.childContexts,n,this.outletData)}constructor(n,e,i,r){this.route=n,this.childContexts=e,this.parent=i,this.outletData=r}get(n,e){return n===Ni?this.route:n===ja?this.childContexts:n===RN?this.outletData:this.parent.get(n,e)}},hu=new x(""),nC=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:i}=e,r=Pr([i.queryParams,i.params,i.data]).pipe(tt(([o,s,a],l)=>(a=w(w(w({},o),s),a),l===0?z(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(e);return}let s=ax(i.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(e,r)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac})}return t})();function NN(t,n,e){let i=Oa(t,n._root,e?e._root:void 0);return new su(i,n)}function Oa(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=n.value;let r=PN(t,n,e);return new Zt(i,r)}else{if(t.shouldAttach(n.value)){let o=t.retrieve(n.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Oa(t,a)),s}}let i=FN(n.value),r=n.children.map(o=>Oa(t,o));return new Zt(i,r)}}function PN(t,n,e){return n.children.map(i=>{for(let r of e.children)if(t.shouldReuseRoute(i.value,r.value.snapshot))return Oa(t,i,r);return Oa(t,i)})}function FN(t){return new Ni(new ut(t.url),new ut(t.params),new ut(t.queryParams),new ut(t.fragment),new ut(t.data),t.outlet,t.component,t)}var Ra=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},EC="ngNavigationCancelingError";function cu(t,n){let{redirectTo:e,navigationBehaviorOptions:i}=no(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=IC(!1,Kt.Redirect);return r.url=e,r.navigationBehaviorOptions=i,r}function IC(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[EC]=!0,e.cancellationCode=n,e}function LN(t){return MC(t)&&no(t.url)}function MC(t){return!!t&&t[EC]}var VN=(t,n,e,i)=>q(r=>(new wg(n,r.targetRouterState,r.currentRouterState,e,i).activate(t),r)),wg=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,i,r,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(n){let e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),Jp(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){let r=is(e);n.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(n,e,i){let r=n.value,o=e?e.value:null;if(r===o)if(r.component){let s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=is(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);if(i&&i.outlet){let s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=is(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,e,i){let r=is(e);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new pg(o.value.snapshot))}),n.children.length&&this.forwardEvent(new hg(n.value.snapshot))}activateRoutes(n,e,i){let r=n.value,o=e?e.value:null;if(Jp(r),r===o)if(r.component){let s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,i);else if(r.component){let s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Jp(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=r,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,i)}},du=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},ss=class{component;route;constructor(n,e){this.component=n,this.route=e}};function jN(t,n,e){let i=t._root,r=n?n._root:null;return Da(i,r,e,[i.value])}function BN(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function fs(t,n){let e=Symbol(),i=n.get(t,e);return i===e?typeof t=="function"&&!nb(t)?t:n.get(t):i}function Da(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=is(n);return t.children.forEach(s=>{zN(s,o[s.value.outlet],e,i.concat([s.value]),r),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Sa(a,e.getContext(s),r)),r}function zN(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=UN(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new du(i)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Da(t,n,a?a.children:null,i,r):Da(t,n,e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new ss(a.outlet.component,s))}else s&&Sa(n,a,r),r.canActivateChecks.push(new du(i)),o.component?Da(t,null,a?a.children:null,i,r):Da(t,null,e,i,r);return r}function UN(t,n,e){if(typeof e=="function")return e(t,n);switch(e){case"pathParamsChange":return!to(t.url,n.url);case"pathParamsOrQueryParamsChange":return!to(t.url,n.url)||!ii(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!_g(t,n)||!ii(t.queryParams,n.queryParams);case"paramsChange":default:return!_g(t,n)}}function Sa(t,n,e){let i=is(t),r=t.value;Object.entries(i).forEach(([o,s])=>{r.component?n?Sa(s,n.children.getContext(o),e):Sa(s,null,e):Sa(s,n,e)}),r.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new ss(n.outlet.component,r)):e.canDeactivateChecks.push(new ss(null,r)):e.canDeactivateChecks.push(new ss(null,r))}function Ba(t){return typeof t=="function"}function HN(t){return typeof t=="boolean"}function $N(t){return t&&Ba(t.canLoad)}function GN(t){return t&&Ba(t.canActivate)}function WN(t){return t&&Ba(t.canActivateChild)}function qN(t){return t&&Ba(t.canDeactivate)}function YN(t){return t&&Ba(t.canMatch)}function SC(t){return t instanceof xn||t?.name==="EmptyError"}var Zd=Symbol("INITIAL_VALUE");function us(){return tt(t=>Pr(t.map(n=>n.pipe(je(1),Ke(Zd)))).pipe(q(n=>{for(let e of n)if(e!==!0){if(e===Zd)return Zd;if(e===!1||QN(e))return e}return!0}),ie(n=>n!==Zd),je(1)))}function QN(t){return no(t)||t instanceof Ra}function ZN(t,n){return Ge(e=>{let{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?z(ne(w({},e),{guardsResult:!0})):KN(s,i,r,t).pipe(Ge(a=>a&&HN(a)?XN(i,o,t,n):z(a)),q(a=>ne(w({},e),{guardsResult:a})))})}function KN(t,n,e,i){return Fe(t).pipe(Ge(r=>iP(r.component,r.route,e,n,i)),zn(r=>r!==!0,!0))}function XN(t,n,e,i){return Fe(n).pipe(hi(r=>jn(eP(r.route.parent,i),JN(r.route,i),nP(t,r.path,e),tP(t,r.route,e))),zn(r=>r!==!0,!0))}function JN(t,n){return t!==null&&n&&n(new mg(t)),z(!0)}function eP(t,n){return t!==null&&n&&n(new fg(t)),z(!0)}function tP(t,n,e){let i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||i.length===0)return z(!0);let r=i.map(o=>Bn(()=>{let s=Va(n)??e,a=fs(o,s),l=GN(a)?a.canActivate(n,t):Bt(s,()=>a(n,t));return dr(l).pipe(zn())}));return z(r).pipe(us())}function nP(t,n,e){let i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>BN(s)).filter(s=>s!==null).map(s=>Bn(()=>{let a=s.guards.map(l=>{let c=Va(s.node)??e,d=fs(l,c),f=WN(d)?d.canActivateChild(i,t):Bt(c,()=>d(i,t));return dr(f).pipe(zn())});return z(a).pipe(us())}));return z(o).pipe(us())}function iP(t,n,e,i,r){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return z(!0);let s=o.map(a=>{let l=Va(n)??r,c=fs(a,l),d=qN(c)?c.canDeactivate(t,n,e,i):Bt(l,()=>c(t,n,e,i));return dr(d).pipe(zn())});return z(s).pipe(us())}function rP(t,n,e,i){let r=n.canLoad;if(r===void 0||r.length===0)return z(!0);let o=r.map(s=>{let a=fs(s,t),l=$N(a)?a.canLoad(n,e):Bt(t,()=>a(n,e));return dr(l)});return z(o).pipe(us(),TC(i))}function TC(t){return Qf(Xe(n=>{if(typeof n!="boolean")throw cu(t,n)}),q(n=>n===!0))}function oP(t,n,e,i){let r=n.canMatch;if(!r||r.length===0)return z(!0);let o=r.map(s=>{let a=fs(s,t),l=YN(a)?a.canMatch(n,e):Bt(t,()=>a(n,e));return dr(l)});return z(o).pipe(us(),TC(i))}var Na=class{segmentGroup;constructor(n){this.segmentGroup=n||null}},Pa=class extends Error{urlTree;constructor(n){super(),this.urlTree=n}};function ns(t){return Mo(new Na(t))}function sP(t){return Mo(new E(4e3,!1))}function aP(t){return Mo(IC(!1,Kt.GuardRejected))}var xg=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),r.numberOfChildren===0)return z(i);if(r.numberOfChildren>1||!r.children[ge])return sP(`${n.redirectTo}`);r=r.children[ge]}}applyRedirectCommands(n,e,i,r,o){if(typeof e!="string"){let a=e,{queryParams:l,fragment:c,routeConfig:d,url:f,outlet:g,params:m,data:v,title:y}=r,I=Bt(o,()=>a({params:m,data:v,queryParams:l,fragment:c,routeConfig:d,url:f,outlet:g,title:y}));if(I instanceof Ri)throw new Pa(I);e=I}let s=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i);if(e[0]==="/")throw new Pa(s);return s}applyRedirectCreateUrlTree(n,e,i,r){let o=this.createSegmentGroup(n,e.root,i,r);return new Ri(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let i={};return Object.entries(n).forEach(([r,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);i[r]=e[a]}else i[r]=o}),i}createSegmentGroup(n,e,i,r){let o=this.createSegments(n,e.segments,i,r),s={};return Object.entries(e.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,i,r)}),new Ne(o,s)}createSegments(n,e,i,r){return e.map(o=>o.path[0]===":"?this.findPosParam(n,o,r):this.findOrReturn(o,i))}findPosParam(n,e,i){let r=i[e.path.substring(1)];if(!r)throw new E(4001,!1);return r}findOrReturn(n,e){let i=0;for(let r of e){if(r.path===n.path)return e.splice(i),r;i++}return n}},Cg={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function lP(t,n,e,i,r){let o=AC(t,n,e);return o.matched?(i=AN(n,i),oP(i,n,e,r).pipe(q(s=>s===!0?o:w({},Cg)))):z(o)}function AC(t,n,e){if(n.path==="**")return cP(e);if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?w({},Cg):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let r=(n.matcher||rN)(e,t,n);if(!r)return w({},Cg);let o={};Object.entries(r.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=r.consumed.length>0?w(w({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function cP(t){return{matched:!0,parameters:t.length>0?cC(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function iC(t,n,e,i){return e.length>0&&fP(t,e,i)?{segmentGroup:new Ne(n,uP(i,new Ne(e,t.children))),slicedSegments:[]}:e.length===0&&hP(t,e,i)?{segmentGroup:new Ne(t.segments,dP(t,e,i,t.children)),slicedSegments:e}:{segmentGroup:new Ne(t.segments,t.children),slicedSegments:e}}function dP(t,n,e,i){let r={};for(let o of e)if(mu(t,n,o)&&!i[kn(o)]){let s=new Ne([],{});r[kn(o)]=s}return w(w({},i),r)}function uP(t,n){let e={};e[ge]=n;for(let i of t)if(i.path===""&&kn(i)!==ge){let r=new Ne([],{});e[kn(i)]=r}return e}function fP(t,n,e){return e.some(i=>mu(t,n,i)&&kn(i)!==ge)}function hP(t,n,e){return e.some(i=>mu(t,n,i))}function mu(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function mP(t,n,e){return n.length===0&&!t.children[e]}var Dg=class{};function pP(t,n,e,i,r,o,s="emptyOnly"){return new Eg(t,n,e,i,r,s,o).recognize()}var gP=31,Eg=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,i,r,o,s,a){this.injector=n,this.configLoader=e,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new xg(this.urlSerializer,this.urlTree)}noMatchError(n){return new E(4002,`'${n.segmentGroup}'`)}recognize(){let n=iC(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(q(({children:e,rootSnapshot:i})=>{let r=new Zt(i,e),o=new lu("",r),s=CN(i,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(n){let e=new os([],Object.freeze({}),Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),ge,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,ge,e).pipe(q(i=>({children:i,rootSnapshot:e})),$i(i=>{if(i instanceof Pa)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof Na?this.noMatchError(i):i}))}processSegmentGroup(n,e,i,r,o){return i.segments.length===0&&i.hasChildren()?this.processChildren(n,e,i,o):this.processSegment(n,e,i,i.segments,r,!0,o).pipe(q(s=>s instanceof Zt?[s]:[]))}processChildren(n,e,i,r){let o=[];for(let s of Object.keys(i.children))s==="primary"?o.unshift(s):o.push(s);return Fe(o).pipe(hi(s=>{let a=i.children[s],l=kN(e,s);return this.processSegmentGroup(n,l,a,s,r)}),ah((s,a)=>(s.push(...a),s)),Gi(null),sh(),Ge(s=>{if(s===null)return ns(i);let a=kC(s);return vP(a),z(a)}))}processSegment(n,e,i,r,o,s,a){return Fe(e).pipe(hi(l=>this.processSegmentAgainstRoute(l._injector??n,e,l,i,r,o,s,a).pipe($i(c=>{if(c instanceof Na)return z(null);throw c}))),zn(l=>!!l),$i(l=>{if(SC(l))return mP(i,r,o)?z(new Dg):ns(i);throw l}))}processSegmentAgainstRoute(n,e,i,r,o,s,a,l){return kn(i)!==s&&(s===ge||!mu(r,o,i))?ns(r):i.redirectTo===void 0?this.matchSegmentAgainstRoute(n,r,i,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,r,e,i,o,s,l):ns(r)}expandSegmentAgainstRouteUsingRedirect(n,e,i,r,o,s,a){let{matched:l,parameters:c,consumedSegments:d,positionalParamSegments:f,remainingSegments:g}=AC(e,r,o);if(!l)return ns(e);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>gP&&(this.allowRedirects=!1));let m=new os(o,c,Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,rC(r),kn(r),r.component??r._loadedComponent??null,r,oC(r)),v=au(m,a,this.paramsInheritanceStrategy);m.params=Object.freeze(v.params),m.data=Object.freeze(v.data);let y=this.applyRedirects.applyRedirectCommands(d,r.redirectTo,f,m,n);return this.applyRedirects.lineralizeSegments(r,y).pipe(Ge(I=>this.processSegment(n,i,e,I.concat(g),s,!1,a)))}matchSegmentAgainstRoute(n,e,i,r,o,s){let a=lP(e,i,r,n,this.urlSerializer);return i.path==="**"&&(e.children={}),a.pipe(tt(l=>l.matched?(n=i._injector??n,this.getChildConfig(n,i,r).pipe(tt(({routes:c})=>{let d=i._loadedInjector??n,{parameters:f,consumedSegments:g,remainingSegments:m}=l,v=new os(g,f,Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,rC(i),kn(i),i.component??i._loadedComponent??null,i,oC(i)),y=au(v,s,this.paramsInheritanceStrategy);v.params=Object.freeze(y.params),v.data=Object.freeze(y.data);let{segmentGroup:I,slicedSegments:N}=iC(e,g,m,c);if(N.length===0&&I.hasChildren())return this.processChildren(d,c,I,v).pipe(q(Y=>new Zt(v,Y)));if(c.length===0&&N.length===0)return z(new Zt(v,[]));let ee=kn(i)===o;return this.processSegment(d,c,I,N,ee?ge:o,!0,v).pipe(q(Y=>new Zt(v,Y instanceof Zt?[Y]:[])))}))):ns(e)))}getChildConfig(n,e,i){return e.children?z({routes:e.children,injector:n}):e.loadChildren?e._loadedRoutes!==void 0?z({routes:e._loadedRoutes,injector:e._loadedInjector}):rP(n,e,i,this.urlSerializer).pipe(Ge(r=>r?this.configLoader.loadChildren(n,e).pipe(Xe(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):aP(e))):z({routes:[],injector:n})}};function vP(t){t.sort((n,e)=>n.value.outlet===ge?-1:e.value.outlet===ge?1:n.value.outlet.localeCompare(e.value.outlet))}function yP(t){let n=t.value.routeConfig;return n&&n.path===""}function kC(t){let n=[],e=new Set;for(let i of t){if(!yP(i)){n.push(i);continue}let r=n.find(o=>i.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...i.children),e.add(r)):n.push(i)}for(let i of e){let r=kC(i.children);n.push(new Zt(i.value,r))}return n.filter(i=>!e.has(i))}function rC(t){return t.data||{}}function oC(t){return t.resolve||{}}function _P(t,n,e,i,r,o){return Ge(s=>pP(t,n,e,i,s.extractedUrl,r,o).pipe(q(({state:a,tree:l})=>ne(w({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function bP(t,n){return Ge(e=>{let{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return z(e);let o=new Set(r.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let c of OC(l))s.add(c);let a=0;return Fe(s).pipe(hi(l=>o.has(l)?wP(l,i,t,n):(l.data=au(l,l.parent,t).resolve,z(void 0))),Xe(()=>a++),ko(1),Ge(l=>a===s.size?z(e):ft))})}function OC(t){let n=t.children.map(e=>OC(e)).flat();return[t,...n]}function wP(t,n,e,i){let r=t.routeConfig,o=t._resolve;return r?.title!==void 0&&!DC(r)&&(o[Fa]=r.title),xP(o,t,n,i).pipe(q(s=>(t._resolvedData=s,t.data=au(t,t.parent,e).resolve,null)))}function xP(t,n,e,i){let r=ng(t);if(r.length===0)return z({});let o={};return Fe(r).pipe(Ge(s=>CP(t[s],n,e,i).pipe(zn(),Xe(a=>{if(a instanceof Ra)throw cu(new ls,a);o[s]=a}))),ko(1),Bs(o),$i(s=>SC(s)?ft:Mo(s)))}function CP(t,n,e,i){let r=Va(n)??i,o=fs(t,r),s=o.resolve?o.resolve(n,e):Bt(r,()=>o(n,e));return dr(s)}function eg(t){return tt(n=>{let e=t(n);return e?Fe(e).pipe(q(()=>n)):z(n)})}var RC=(()=>{class t{buildTitle(e){let i,r=e.root;for(;r!==void 0;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===ge);return i}getResolvedTitleForRoute(e){return e.data[Fa]}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:()=>u(DP),providedIn:"root"})}return t})(),DP=(()=>{class t extends RC{title;constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}static \u0275fac=function(i){return new(i||t)(k(Gx))};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),za=new x("",{providedIn:"root",factory:()=>({})}),EP=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(i,r){i&1&&T(0,"router-outlet")},dependencies:[Sg],encapsulation:2})}return t})();function Tg(t){let n=t.children&&t.children.map(Tg),e=n?ne(w({},t),{children:n}):w({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==ge&&(e.component=EP),e}var uu=new x(""),Ag=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=u(kd);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return z(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let i=dr(e.loadComponent()).pipe(q(NC),Xe(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),qi(()=>{this.componentLoaders.delete(e)})),r=new Rr(i,()=>new M).pipe(xo());return this.componentLoaders.set(e,r),r}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return z({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let o=IP(i,this.compiler,e,this.onLoadEndListener).pipe(qi(()=>{this.childrenLoaders.delete(i)})),s=new Rr(o,()=>new M).pipe(xo());return this.childrenLoaders.set(i,s),s}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function IP(t,n,e,i){return dr(t.loadChildren()).pipe(q(NC),Ge(r=>r instanceof Xs||Array.isArray(r)?z(r):Fe(n.compileModuleAsync(r))),q(r=>{i&&i(t);let o,s,a=!1;return Array.isArray(r)?(s=r,a=!0):(o=r.create(e).injector,s=o.get(uu,[],{optional:!0,self:!0}).flat()),{routes:s.map(Tg),injector:o}}))}function MP(t){return t&&typeof t=="object"&&"default"in t}function NC(t){return MP(t)?t.default:t}var kg=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:()=>u(SP),providedIn:"root"})}return t})(),SP=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),PC=new x(""),FC=new x("");function TP(t,n,e){let i=t.get(FC),r=t.get(X);return t.get(O).runOutsideAngular(()=>{if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=r.startViewTransition(()=>(o(),AP(t))),{onViewTransitionCreated:l}=i;return l&&Bt(t,()=>l({transition:a,from:n,to:e})),s})}function AP(t){return new Promise(n=>{Ut({read:()=>setTimeout(n)},{injector:t})})}var LC=new x(""),Og=(()=>{class t{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new M;transitionAbortSubject=new M;configLoader=u(Ag);environmentInjector=u(ht);urlSerializer=u(La);rootContexts=u(ja);location=u(rr);inputBindingEnabled=u(hu,{optional:!0})!==null;titleStrategy=u(RC);options=u(za,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=u(kg);createViewTransition=u(PC,{optional:!0});navigationErrorHandler=u(LC,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>z(void 0);rootComponentType=null;constructor(){let e=r=>this.events.next(new dg(r)),i=r=>this.events.next(new ug(r));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;this.transitions?.next(ne(w(w({},this.transitions.value),e),{id:i}))}setupNavigations(e,i,r){return this.transitions=new ut({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Ma,restoredState:null,currentSnapshot:r.snapshot,targetSnapshot:null,currentRouterState:r,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ie(o=>o.id!==0),q(o=>ne(w({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),tt(o=>{let s=!1,a=!1;return z(o).pipe(tt(l=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",Kt.SupersededByNewNavigation),ft;this.currentTransition=o,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:typeof l.extras.browserUrl=="string"?this.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?ne(w({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let c=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=l.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!c&&d!=="reload"){let f="";return this.events.next(new cr(l.id,this.urlSerializer.serialize(l.rawUrl),f,nu.IgnoredSameUrlNavigation)),l.resolve(!1),ft}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return z(l).pipe(tt(f=>{let g=this.transitions?.getValue();return this.events.next(new cs(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),g!==this.transitions?.getValue()?ft:Promise.resolve(f)}),_P(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),Xe(f=>{o.targetSnapshot=f.targetSnapshot,o.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=ne(w({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let g=new iu(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(g)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:f,extractedUrl:g,source:m,restoredState:v,extras:y}=l,I=new cs(f,this.urlSerializer.serialize(g),m,v);this.events.next(I);let N=xC(this.rootComponentType).snapshot;return this.currentTransition=o=ne(w({},l),{targetSnapshot:N,urlAfterRedirects:g,extras:ne(w({},y),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=g,z(o)}else{let f="";return this.events.next(new cr(l.id,this.urlSerializer.serialize(l.extractedUrl),f,nu.IgnoredByUrlHandlingStrategy)),l.resolve(!1),ft}}),Xe(l=>{let c=new sg(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),q(l=>(this.currentTransition=o=ne(w({},l),{guards:jN(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),o)),ZN(this.environmentInjector,l=>this.events.next(l)),Xe(l=>{if(o.guardsResult=l.guardsResult,l.guardsResult&&typeof l.guardsResult!="boolean")throw cu(this.urlSerializer,l.guardsResult);let c=new ag(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),ie(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",Kt.GuardRejected),!1)),eg(l=>{if(l.guards.canActivateChecks.length)return z(l).pipe(Xe(c=>{let d=new lg(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}),tt(c=>{let d=!1;return z(c).pipe(bP(this.paramsInheritanceStrategy,this.environmentInjector),Xe({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(c,"",Kt.NoDataFromResolver)}}))}),Xe(c=>{let d=new cg(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}))}),eg(l=>{let c=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(Xe(g=>{d.component=g}),q(()=>{})));for(let g of d.children)f.push(...c(g));return f};return Pr(c(l.targetSnapshot.root)).pipe(Gi(null),je(1))}),eg(()=>this.afterPreactivation()),tt(()=>{let{currentSnapshot:l,targetSnapshot:c}=o,d=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return d?Fe(d).pipe(q(()=>o)):z(o)}),q(l=>{let c=NN(e.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=o=ne(w({},l),{targetRouterState:c}),this.currentNavigation.targetRouterState=c,o}),Xe(()=>{this.events.next(new ka)}),VN(this.rootContexts,e.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),je(1),Xe({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ri(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),xe(this.transitionAbortSubject.pipe(Xe(l=>{throw l}))),qi(()=>{!s&&!a&&this.cancelNavigationTransition(o,"",Kt.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),$i(l=>{if(a=!0,MC(l))this.events.next(new Oi(o.id,this.urlSerializer.serialize(o.extractedUrl),l.message,l.cancellationCode)),LN(l)?this.events.next(new ds(l.url,l.navigationBehaviorOptions)):o.resolve(!1);else{let c=new Aa(o.id,this.urlSerializer.serialize(o.extractedUrl),l,o.targetSnapshot??void 0);try{let d=Bt(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(d instanceof Ra){let{message:f,cancellationCode:g}=cu(this.urlSerializer,d);this.events.next(new Oi(o.id,this.urlSerializer.serialize(o.extractedUrl),f,g)),this.events.next(new ds(d.redirectTo,d.navigationBehaviorOptions))}else throw this.events.next(c),l}catch(d){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(d)}}return ft}))}))}cancelNavigationTransition(e,i,r){let o=new Oi(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function kP(t){return t!==Ma}var OP=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:()=>u(RP),providedIn:"root"})}return t})(),Ig=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}},RP=(()=>{class t extends Ig{static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),VC=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:()=>u(NP),providedIn:"root"})}return t})(),NP=(()=>{class t extends VC{location=u(rr);urlSerializer=u(La);options=u(za,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=u(kg);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Ri;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=xC(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&e(i.url,i.state)})}handleRouterEvent(e,i){if(e instanceof cs)this.stateMemento=this.createStateMemento();else if(e instanceof cr)this.rawUrlTree=i.initialUrl;else if(e instanceof iu){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let r=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(i.targetBrowserUrl??r,i)}}else e instanceof ka?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(i.targetBrowserUrl??this.rawUrlTree,i)):e instanceof Oi&&(e.code===Kt.GuardRejected||e.code===Kt.NoDataFromResolver)?this.restoreHistory(i):e instanceof Aa?this.restoreHistory(i,!0):e instanceof ri&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,i){let r=e instanceof Ri?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl){let o=this.browserPageId,s=w(w({},i.extras.state),this.generateNgRouterState(i.id,o));this.location.replaceState(r,"",s)}else{let o=w(w({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(r,"",o)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,o=this.currentPageId-r;o!==0?this.location.historyGo(o):this.currentUrlTree===e.finalUrl&&o===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ea=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Ea||{});function jC(t,n){t.events.pipe(ie(e=>e instanceof ri||e instanceof Oi||e instanceof Aa||e instanceof cr),q(e=>e instanceof ri||e instanceof cr?Ea.COMPLETE:(e instanceof Oi?e.code===Kt.Redirect||e.code===Kt.SupersededByNewNavigation:!1)?Ea.REDIRECTING:Ea.FAILED),ie(e=>e!==Ea.REDIRECTING),je(1)).subscribe(()=>{n()})}var PP={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},FP={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},oi=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=u(Ed);stateManager=u(VC);options=u(za,{optional:!0})||{};pendingTasks=u(Kn);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=u(Og);urlSerializer=u(La);location=u(rr);urlHandlingStrategy=u(kg);_events=new M;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=u(OP);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=u(uu,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!u(hu,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new me;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let r=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(r!==null&&o!==null){if(this.stateManager.handleRouterEvent(i,o),i instanceof Oi&&i.code!==Kt.Redirect&&i.code!==Kt.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof ri)this.navigated=!0;else if(i instanceof ds){let s=i.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),l=w({browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||kP(r.source)},s);this.scheduleNavigation(a,Ma,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}VP(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortSubject.next(r)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ma,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",i)},0)})}navigateToSyncWithBrowser(e,i,r){let o={replaceUrl:!0},s=r?.navigationId?r:null;if(r){let l=w({},r);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(o.state=l)}let a=this.parseUrl(e);this.scheduleNavigation(a,i,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Tg),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){let{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:s,d=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":d=w(w({},this.currentUrlTree.queryParams),o);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let g=r?r.snapshot:this.routerState.snapshot.root;f=yC(g)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),f=this.currentUrlTree.root}return _C(f,e,d,c??null)}navigateByUrl(e,i={skipLocationChange:!1}){let r=no(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,Ma,null,i)}navigate(e,i={skipLocationChange:!1}){return LP(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,i){let r;if(i===!0?r=w({},PP):i===!1?r=w({},FP):r=i,no(e))return Xx(this.currentUrlTree,e,r);let o=this.parseUrl(e);return Xx(this.currentUrlTree,o,r)}removeEmptyProps(e){return Object.entries(e).reduce((i,[r,o])=>(o!=null&&(i[r]=o),i),{})}scheduleNavigation(e,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((f,g)=>{a=f,l=g});let d=this.pendingTasks.add();return jC(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(f=>Promise.reject(f))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function LP(t){for(let n=0;n{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new M;constructor(e,i,r,o,s,a){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=s,this.locationStrategy=a;let l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=e.events.subscribe(c=>{c instanceof ri&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(no(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,i,r,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||i||r||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,l),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let i=this.href===null?null:A0(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(e,i){let r=this.renderer,o=this.el.nativeElement;i!==null?r.setAttribute(o,e,i):r.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:no(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(i){return new(i||t)(S(oi),S(Ni),pd("tabindex"),S(nr),S(U),S(Ti))};static \u0275dir=P({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,r){i&1&&B("click",function(s){return r.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),i&2&&_e("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",W],skipLocationChange:[2,"skipLocationChange","skipLocationChange",W],replaceUrl:[2,"replaceUrl","replaceUrl",W],routerLink:"routerLink"},features:[Oe,qe]})}return t})();var fu=class{};var jP=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,i,r,o,s){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(ie(e=>e instanceof ri),hi(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){let r=[];for(let o of i){o.providers&&!o._injector&&(o._injector=Dd(o.providers,e,`Route: ${o.path}`));let s=o._injector??e,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&r.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&r.push(this.processRoutes(a,o.children??o._loadedRoutes))}return Fe(r).pipe(Hi())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;i.loadChildren&&i.canLoad===void 0?r=this.loader.loadChildren(e,i):r=z(null);let o=r.pipe(Ge(s=>s===null?z(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));if(i.loadComponent&&!i._loadedComponent){let s=this.loader.loadComponent(i);return Fe([o,s]).pipe(Hi())}else return o})}static \u0275fac=function(i){return new(i||t)(k(oi),k(kd),k(ht),k(fu),k(Ag))};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),BC=new x(""),BP=(()=>{class t{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(e,i,r,o,s={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=r,this.zone=o,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof cs?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ri?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof cr&&e.code===nu.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof ru&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ru(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(i){q0()};static \u0275prov=C({token:t,factory:t.\u0275fac})}return t})();function zP(t){return t.routerState.root}function Ua(t,n){return{\u0275kind:t,\u0275providers:n}}function UP(){let t=u(ye);return n=>{let e=t.get(Ht);if(n!==e.components[0])return;let i=t.get(oi),r=t.get(zC);t.get(Rg)===1&&i.initialNavigation(),t.get(UC,null,ve.Optional)?.setUpPreloading(),t.get(BC,null,ve.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var zC=new x("",{factory:()=>new M}),Rg=new x("",{providedIn:"root",factory:()=>1});function HP(){return Ua(2,[{provide:Rg,useValue:0},{provide:Sd,multi:!0,deps:[ye],useFactory:n=>{let e=n.get(px,Promise.resolve());return()=>e.then(()=>new Promise(i=>{let r=n.get(oi),o=n.get(zC);jC(r,()=>{i(!0)}),n.get(Og).afterPreactivation=()=>(i(!0),o.closed?z(void 0):o),r.initialNavigation()}))}}])}function $P(){return Ua(3,[{provide:Sd,multi:!0,useFactory:()=>{let n=u(oi);return()=>{n.setUpLocationChangeListener()}}},{provide:Rg,useValue:2}])}var UC=new x("");function GP(t){return Ua(0,[{provide:UC,useExisting:jP},{provide:fu,useExisting:t}])}function WP(){return Ua(8,[nC,{provide:hu,useExisting:nC}])}function qP(t){let n=[{provide:PC,useValue:TP},{provide:FC,useValue:w({skipNextTransition:!!t?.skipInitialTransition},t)}];return Ua(9,n)}var sC=new x("ROUTER_FORROOT_GUARD"),YP=[rr,{provide:La,useClass:ls},oi,ja,{provide:Ni,useFactory:zP,deps:[oi]},Ag,[]],Ng=(()=>{class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[YP,[],{provide:uu,multi:!0,useValue:e},{provide:sC,useFactory:XP,deps:[[oi,new ta,new Dm]]},i?.errorHandler?{provide:LC,useValue:i.errorHandler}:[],{provide:za,useValue:i||{}},i?.useHash?ZP():KP(),QP(),i?.preloadingStrategy?GP(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?JP(i):[],i?.bindToComponentInputs?WP().\u0275providers:[],i?.enableViewTransitions?qP().\u0275providers:[],eF()]}}static forChild(e){return{ngModule:t,providers:[{provide:uu,multi:!0,useValue:e}]}}static \u0275fac=function(i){return new(i||t)(k(sC,8))};static \u0275mod=V({type:t});static \u0275inj=L({})}return t})();function QP(){return{provide:BC,useFactory:()=>{let t=u(bx),n=u(O),e=u(za),i=u(Og),r=u(La);return e.scrollOffset&&t.setOffset(e.scrollOffset),new BP(r,i,t,n,e)}}}function ZP(){return{provide:Ti,useClass:vx}}function KP(){return{provide:Ti,useClass:Ip}}function XP(t){return"guarded"}function JP(t){return[t.initialNavigation==="disabled"?$P().\u0275providers:[],t.initialNavigation==="enabledBlocking"?HP().\u0275providers:[]]}var aC=new x("");function eF(){return[{provide:aC,useFactory:UP},{provide:Td,multi:!0,useExisting:aC}]}var pu=class{constructor(n){this.user=n.user,this.role=n.role,this.admin=n.admin}get isStaff(){return this.role==="staff"||this.role==="admin"}get isAdmin(){return this.role==="admin"}get isLogged(){return this.user!=null}get isRestricted(){return this.role==="restricted"}};var HC;var Gt=(t,n)=>{let e;if(t instanceof Promise)e=t;else if(t instanceof $a)e=t;else{if(n)return Zl(t.pipe(nh(n)));e=Zl(t)}return e},$a=class{constructor(){this[HC]="Future",this.resolve=()=>{},this.reject=()=>{},this.promise=new Promise((n,e)=>{this.resolve=n,this.reject=e})}then(n,e){return this.promise.then(n,e)}catch(n){return this.promise.catch(n)}finally(n){return this.promise.finally(n)}};HC=Symbol.toStringTag;var $C=(()=>{let n=class n{constructor(i){this.api=i,this.delay=i.config.launcher_wait_time}launchURL(i){return Se(this,null,function*(){i.substring(0,7)==="udsa://"?yield this.processUDSUrl(i):yield this.processExternalUrl(i)})}showAlert(i,r,o){return Se(this,null,function*(){return this.api.gui.alert(django.gettext("Launching service"),'

'+i+'

'+r+"

",o)})}launchUDSUrl(i){this.api.download(i)}processUDSUrl(i){return Se(this,null,function*(){let r=i.split("//")[1].split("/");if(r.length!==2){yield this.notifyError(django.gettext("Invalid UDS URL"));return}let o=r[0],s=r[1],a=yield this.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Remember that you will need the UDS client on your platform to access the service."),0),l=!1;Gt(a.afterClosed()).then(()=>l=!0);let c=-1;try{let d=yield this.api.enabler(o,s);if(d.error)throw d.error;if(d.url.startsWith("/")){a.close(),yield this.launchURL(d.url);return}for(window.location.protocol==="https:"&&(d.url=d.url.replace("uds://","udss://")),this.launchUDSUrl(d.url);!l;){let f=yield this.api.status(o,s);if(c>0&&Date.now()-c>this.delay*5&&(a.componentInstance.data.title=django.gettext("Service ready")+" - "+django.gettext("UDS Client not launching"),a.componentInstance.data.body=''+django.gettext("It seems that you don't have UDS Client installed. Please, install it from here:")+' '+django.gettext("UDS Client Download")+""),f.status==="ready")c===-1&&(c=Date.now(),a.componentInstance.data.title=django.gettext("Service ready"),a.componentInstance.data.body=django.gettext("Launching UDS Client, almost done."));else if(f.status==="accessed"){a.close(),l=!0;continue}else if(f.status!=="running"){a.close(),yield this.notifyError(f.status),l=!0;continue}yield this.api.sleep(1e3)}}catch(d){a.close(),yield this.notifyError(d)}})}processExternalUrl(i){return Se(this,null,function*(){let r=yield this.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Remember that you will need the UDS client on your platform to access the service."),0),o=!1;Gt(r.afterClosed()).then(()=>o=!0);try{for(;!o;){let s=yield this.api.transportUrl(i);if(s.url){r.close();let a=yield this.processCredentials(s);a!==null&&(yield this.api.updateTransportTicket(a.ticket,a.scrambler,a.username,a.password,a.domain)),this.openWindow(s.url),o=!0}else s.error&&(r.close(),yield this.notifyError(s.error),o=!0)}yield this.api.sleep(1e3)}catch(s){r.close(),yield this.notifyError(s)}})}processCredentials(i){return Se(this,null,function*(){let r=i.url||"";if(r.indexOf("&creds=")!==-1){let o=r.split("&creds=")[1],s="",a="";i.url=r.split("&creds=")[0];let l=r.split("data=")[1].split("&")[0].split("."),c=l[0],d=l[1];o.indexOf("@")!==-1?(s=o.split("@")[0],a=o.split("@")[1]):s=o;let f=yield this.api.gui.askCredentials(s,a);if(f.success===!1)throw new Error("User canceled credentials dialog");return{ticket:c,scrambler:d,username:f.username,password:f.password,domain:f.domain}}return null})}openWindow(i){let r="__global__";if(i.indexOf("o_s_w=")!==-1){let o=/(.*)[&?]o_s_w=.*/.exec(i);r="__same__",i=o[1]}else if(i.indexOf("o_n_w=")!==-1){let o=/(.*)[&?]o_n_w=([a-zA-Z0-9._-]*)/.exec(i);o&&(r=o[2],i=o[1])}if(r==="__same__")window.location.href=i;else{n.transportsWindow[r]&&n.transportsWindow[r].close();let o=window.open(i,"uds_trans_"+r);o&&(n.transportsWindow[r]=o)}}notifyError(i){return Se(this,null,function*(){let r=django.gettext("Error communicating with your service. Please, retry again.");typeof i=="string"?r=i:i instanceof Error?r=i.message:i.status===403&&(r=django.gettext("Your session has expired. Please, login again")),yield this.showAlert(django.gettext("Error"),r,5e3),i.status===403&&this.api.logout()})}};n.transportsWindow={};let t=n;return t})();var gu={production:!0};var tF=new x("cdk-dir-doc",{providedIn:"root",factory:nF});function nF(){return u(X)}var iF=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function rF(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?iF.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var kt=(()=>{class t{value="ltr";change=new H;constructor(){let e=u(tF,{optional:!0});if(e){let i=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.value=rF(i||r||"ltr")}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ur=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({})}return t})();var vu=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new M;constructor(n=!1,e,i=!0,r){this._multiple=n,this._emitChanges=i,this.compareWith=r,e&&e.length&&(n?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,i=new Set(n);n.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(this._getConcreteValue(o,i))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){n.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(n,e){if(this.compareWith){e=e??this._selection;for(let i of e)if(this.compareWith(n,i))return i;return n}else return n}};var yu=(()=>{class t{_listeners=[];notify(e,i){for(let r of this._listeners)r(e,i)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var oF=20,ms=(()=>{class t{_ngZone=u(O);_platform=u(Te);_document=u(X,{optional:!0});constructor(){}_scrolled=new M;_globalSubscription=null;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=oF){return this._platform.isBrowser?new le(i=>{this._globalSubscription||this._addGlobalListener();let r=e>0?this._scrolled.pipe(ec(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):z()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(ie(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=fn(i),o=e.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return fi(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Pg=(()=>{class t{elementRef=u(U);scrollDispatcher=u(ms);ngZone=u(O);dir=u(kt,{optional:!0});_destroyed=new M;_elementScrolled=new le(e=>this.ngZone.runOutsideAngular(()=>fi(this.elementRef.nativeElement,"scroll").pipe(xe(this._destroyed)).subscribe(e)));constructor(){}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let i=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&ts()!=An.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),ts()==An.INVERTED?e.left=e.right:ts()==An.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;Yd()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left))}measureScrollOffset(e){let i="left",r="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let s=this.dir&&this.dir.value=="rtl";return e=="start"?e=s?r:i:e=="end"&&(e=s?i:r),s&&ts()==An.INVERTED?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:s&&ts()==An.NEGATED?e==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return t})(),sF=20,ps=(()=>{class t{_platform=u(Te);_viewportSize;_change=new M;_changeListener=e=>{this._change.next(e)};_document=u(X,{optional:!0});constructor(){u(O).runOutsideAngular(()=>{if(this._platform.isBrowser){let i=this._getWindow();i.addEventListener("resize",this._changeListener),i.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect(),s=-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,a=-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:s,left:a}}change(e=sF){return e>0?this._change.pipe(ec(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var fr=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({})}return t})(),Fg=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({imports:[ur,fr,ur,fr]})}return t})();var Ga=class{_attachedHost;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},hr=class extends Ga{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(n,e,i,r,o){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.projectableNodes=o}},On=class extends Ga{templateRef;viewContainerRef;context;injector;constructor(n,e,i,r){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},Lg=class extends Ga{element;constructor(n){super(),this.element=n instanceof U?n.nativeElement:n}},gs=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof hr)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof On)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof Lg)return this._attachedPortal=n,this.attachDomPortal(n)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Wa=class extends gs{outletElement;_appRef;_defaultInjector;_document;constructor(n,e,i,r,o){super(),this.outletElement=n,this._appRef=i,this._defaultInjector=r,this._document=o}attachComponentPortal(n){let e;if(n.viewContainerRef){let i=n.injector||n.viewContainerRef.injector,r=i.get(In,null,{optional:!0})||void 0;e=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:i,ngModuleRef:r,projectableNodes:n.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else e=Nd(n.component,{elementInjector:n.injector||this._defaultInjector||ye.NULL,environmentInjector:this._appRef.injector,projectableNodes:n.projectableNodes||void 0}),this._appRef.attachView(e.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(e.hostView),e.destroy()});return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=n,e}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);r!==-1&&e.remove(r)}),this._attachedPortal=n,i}attachDomPortal=n=>{let e=n.element;e.parentNode;let i=this._document.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=n,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}};var io=(()=>{class t extends gs{_moduleRef=u(In,{optional:!0});_document=u(X);_viewContainerRef=u(st);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new H;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,r=i.createComponent(e.component,{index:i.length,injector:e.injector||i.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return i!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachDomPortal=e=>{let i=e.element;i.parentNode;let r=this._document.createComment("dom-portal");e.setAttachedHost(this),i.parentNode.insertBefore(r,i),this._getRootNode().appendChild(i),this._attachedPortal=e,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(i,r)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Ve]})}return t})();var Pi=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({})}return t})();var _u=new WeakMap,ct=(()=>{class t{_appRef;_injector=u(ye);_environmentInjector=u(ht);load(e){let i=this._appRef=this._appRef||this._injector.get(Ht),r=_u.get(i);r||(r={loaders:new Set,refs:[]},_u.set(i,r),i.onDestroy(()=>{_u.get(i)?.refs.forEach(o=>o.destroy()),_u.delete(i)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(Nd(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),qa=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(i,r){},styles:[".cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}"],encapsulation:2,changeDetection:0})}return t})();function pt(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var lF=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var bu=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({providers:[lF]})}return t})();var QC=" ";function Gg(t,n,e){let i=Du(t,n);e=e.trim(),!i.some(r=>r.trim()===e)&&(i.push(e),t.setAttribute(n,i.join(QC)))}function Mu(t,n,e){let i=Du(t,n);e=e.trim();let r=i.filter(o=>o!==e);r.length?t.setAttribute(n,r.join(QC)):t.removeAttribute(n)}function Du(t,n){return t.getAttribute(n)?.match(/\S+/g)??[]}var ZC="cdk-describedby-message",wu="cdk-describedby-host",zg=0,KC=(()=>{class t{_platform=u(Te);_document=u(X);_messageRegistry=new Map;_messagesContainer=null;_id=`${zg++}`;constructor(){u(ct).load(qa),this._id=u(Yo)+"-"+zg++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;let o=Vg(i,r);typeof i!="string"?(GC(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;let o=Vg(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),typeof i=="string"){let s=this._messageRegistry.get(o);s&&s.referenceCount===0&&this._deleteMessageElement(o)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${wu}="${this._id}"]`);for(let i=0;ir.indexOf(ZC)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let r=this._messageRegistry.get(i);Gg(e,"aria-describedby",r.messageElement.id),e.setAttribute(wu,this._id),r.referenceCount++}_removeMessageReference(e,i){let r=this._messageRegistry.get(i);r.referenceCount--,Mu(e,"aria-describedby",r.messageElement.id),e.removeAttribute(wu)}_isElementDescribedByMessage(e,i){let r=Du(e,"aria-describedby"),o=this._messageRegistry.get(i),s=o&&o.messageElement.id;return!!s&&r.indexOf(s)!=-1}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let r=i==null?"":`${i}`.trim(),o=e.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Vg(t,n){return typeof t=="string"?`${n||""}/${t}`:t}function GC(t,n){t.id||(t.id=`${ZC}-${n}-${zg++}`)}var xF=200,Ug=class{_letterKeyStream=new M;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new M;selectedItem=this._selectedItem;constructor(n,e){let i=typeof e?.debounceInterval=="number"?e.debounceInterval:xF;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(Xe(e=>this._pressedLetters.push(e)),Fr(n),ie(()=>this._pressedLetters.length>0),q(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let i=1;in.disabled;constructor(n,e){this._items=n,n instanceof qn?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):ir(n)&&(this._effectRef=ha(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new M;change=new M;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new Ug(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex)}onKeydown(n){let e=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i))}}},Iu=class extends Eu{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}},ys=class extends Eu{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};var Wg=(()=>{class t{_platform=u(Te);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return DF(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=CF(OF(e));if(i&&(WC(i)===-1||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=WC(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!AF(e)?!1:r==="audio"?e.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,i){return kF(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function CF(t){try{return t.frameElement}catch{return null}}function DF(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function EF(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function IF(t){return SF(t)&&t.type=="hidden"}function MF(t){return TF(t)&&t.hasAttribute("href")}function SF(t){return t.nodeName.toLowerCase()=="input"}function TF(t){return t.nodeName.toLowerCase()=="a"}function XC(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function WC(t){if(!XC(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function AF(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function kF(t){return IF(t)?!1:EF(t)||MF(t)||t.hasAttribute("contenteditable")||XC(t)}function OF(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var Hg=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_enabled=!0;constructor(n,e,i,r,o=!1,s){this._element=n,this._checker=e,this._ngZone=i,this._document=r,this._injector=s,o||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let i=0;i=0;i--){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?Ut(n,{injector:this._injector}):setTimeout(n)}},JC=(()=>{class t{_checker=u(Wg);_ngZone=u(O);_document=u(X);_injector=u(ye);constructor(){u(ct).load(qa)}create(e,i=!1){return new Hg(e,this._checker,this._ngZone,this._document,i,this._injector)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ya(t){return t.buttons===0||t.detail===0}function Qa(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var RF=new x("cdk-input-modality-detector-options"),NF={ignoreKeys:[18,17,224,91,16]},eD=650,vs=hn({passive:!0,capture:!0}),PF=(()=>{class t{_platform=u(Te);modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new ut(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(i=>i===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Qt(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs{if(Qa(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Qt(e)};constructor(){let e=u(O),i=u(X),r=u(RF,{optional:!0});this._options=w(w({},NF),r),this.modalityDetected=this._modality.pipe(zs(1)),this.modalityChanged=this.modalityDetected.pipe(Wi()),this._platform.isBrowser&&e.runOutsideAngular(()=>{i.addEventListener("keydown",this._onKeydown,vs),i.addEventListener("mousedown",this._onMousedown,vs),i.addEventListener("touchstart",this._onTouchstart,vs)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,vs),document.removeEventListener("mousedown",this._onMousedown,vs),document.removeEventListener("touchstart",this._onTouchstart,vs))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),FF=new x("liveAnnouncerElement",{providedIn:"root",factory:LF});function LF(){return null}var VF=new x("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),jF=0,tD=(()=>{class t{_ngZone=u(O);_defaultOptions=u(VF,{optional:!0});_liveElement;_document=u(X);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=u(FF,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...i){let r=this._defaultOptions,o,s;return i.length===1&&typeof i[0]=="number"?s=i[0]:[o,s]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),s==null&&r&&(s=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{class t{_ngZone=u(O);_platform=u(Te);_inputModalityDetector=u(PF);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)};_document=u(X,{optional:!0});_stopInputModalityDetector=new M;constructor(){let e=u(BF,{optional:!0});this._detectionMode=e?.detectionMode||Cu.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let i=Qt(e);for(let r=i;r;r=r.parentElement)e.type==="focus"?this._onFocus(e,r):this._onBlur(e,r)};monitor(e,i=!1){let r=fn(e);if(!this._platform.isBrowser||r.nodeType!==1)return z();let o=qx(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;let a={checkChildren:i,subject:new M,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let i=fn(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){let o=fn(e),s=this._getDocument().activeElement;o===s?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Cu.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===Cu.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?eD:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,i){let r=this._elementInfo.get(i),o=Qt(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){let r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,xu),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,xu)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(xe(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,xu),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,xu),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let s=0;s{class t{_platform=u(Te);_hasCheckedHighContrastMode;_document=u(X);_breakpointSubscription;constructor(){this._breakpointSubscription=u(Kx).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return ro.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return ro.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return ro.BLACK_ON_WHITE}return ro.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(jg,qC,YC),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===ro.BLACK_ON_WHITE?e.add(jg,qC):i===ro.WHITE_ON_BLACK&&e.add(jg,YC)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Su=(()=>{class t{constructor(){u(qg)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({imports:[bu]})}return t})(),Bg={},$e=(()=>{class t{_appId=u(Yo);getId(e){return this._appId!=="ng"&&(e+=this._appId),Bg.hasOwnProperty(e)||(Bg[e]=0),`${e}${Bg[e]++}`}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var nD=Yd(),Yg=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,e){this._viewportRuler=n,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=nt(-this._previousScrollPosition.left),n.style.top=nt(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,i=n.style,r=e.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),nD&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),nD&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}};var Qg=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,e,i,r){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=r}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(ie(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}},Tu=class{enable(){}disable(){}attach(){}};function Zg(t,n){return n.some(e=>{let i=t.bottome.bottom,o=t.righte.right;return i||r||o||s})}function iD(t,n){return n.some(e=>{let i=t.tope.bottom,o=t.lefte.right;return i||r||o||s})}var Kg=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,e,i,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=r}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();Zg(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},zF=(()=>{class t{_scrollDispatcher=u(ms);_viewportRuler=u(ps);_ngZone=u(O);_document=u(X);constructor(){}noop=()=>new Tu;close=e=>new Qg(this._scrollDispatcher,this._ngZone,this._viewportRuler,e);block=()=>new Yg(this._viewportRuler,this._document);reposition=e=>new Kg(this._scrollDispatcher,this._viewportRuler,this._ngZone,e);static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),mr=class{positionStrategy;scrollStrategy=new Tu;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(n){if(n){let e=Object.keys(n);for(let i of e)n[i]!==void 0&&(this[i]=n[i])}}};var Xg=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var cD=(()=>{class t{_attachedOverlays=[];_document=u(X);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),UF=(()=>{class t extends cD{_ngZone=u(O,{optional:!0});add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}_keydownListener=e=>{let i=this._attachedOverlays;for(let r=i.length-1;r>-1;r--)if(i[r]._keydownEvents.observers.length>0){let o=i[r]._keydownEvents;this._ngZone?this._ngZone.run(()=>o.next(e)):o.next(e);break}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),HF=(()=>{class t extends cD{_platform=u(Te);_ngZone=u(O,{optional:!0});_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;add(e){if(super.add(e),!this._isAttached){let i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}_pointerDownListener=e=>{this._pointerDownEventTarget=Qt(e)};_clickListener=e=>{let i=Qt(e),r=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let o=this._attachedOverlays.slice();for(let s=o.length-1;s>-1;s--){let a=o[s];if(a._outsidePointerEvents.observers.length<1||!a.hasAttached())continue;if(rD(a.overlayElement,i)||rD(a.overlayElement,r))break;let l=a._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(e)):l.next(e)}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function rD(t,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,i=n;for(;i;){if(i===t)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}var dD=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}"],encapsulation:2,changeDetection:0})}return t})(),Au=(()=>{class t{_platform=u(Te);_containerElement;_document=u(X);_styleLoader=u(ct);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||Zp()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;othis._backdropClick.next(n);_backdropTransitionendHandler=n=>{this._disposeBackdrop(n.target)};_previousHostParent;_keydownEvents=new M;_outsidePointerEvents=new M;_renders=new M;_afterRenderRef;_afterNextRenderRef;constructor(n,e,i,r,o,s,a,l,c,d=!1,f){this._portalOutlet=n,this._host=e,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._injector=f,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy,this._afterRenderRef=dn(()=>aa(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Ut(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=null,n&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=w(w({},this._config),n),this._updateElementSize()}setDirection(n){this._config=ne(w({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=nt(this._config.width),n.height=nt(this._config.height),n.minWidth=nt(this._config.minWidth),n.minHeight=nt(this._config.minHeight),n.maxWidth=nt(this._config.maxWidth),n.maxHeight=nt(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let n=this._backdropElement;if(n){if(this._animationsDisabled){this._disposeBackdrop(n);return}n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,e,i){let r=Jo(e||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let n=this._renders.pipe(xe(bt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){let n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},oD="cdk-overlay-connected-position-bounding-box",$F=/([A-Za-z%]+)$/,Jg=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new M;_resizeSubscription=me.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(oD),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let n=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,r,a),c=this._getOverlayPoint(l,e,a),d=this._getOverlayFit(c,e,i,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(d,c,i)){o.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!s||s.overlayFit.visibleAreal&&(l=d,a=c)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&oo(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(oD),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let r;if(i.originX=="center")r=n.left+n.width/2;else{let s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;r=i.originX=="start"?s:a}e.left<0&&(r-=e.left);let o;return i.originY=="center"?o=n.top+n.height/2:o=i.originY=="top"?n.top:n.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(n,e,i){let r;i.overlayX=="center"?r=-e.width/2:i.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let o;return i.overlayY=="center"?o=-e.height/2:o=i.overlayY=="top"?0:-e.height,{x:n.x+r,y:n.y+o}}_getOverlayFit(n,e,i,r){let o=aD(e),{x:s,y:a}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let d=0-s,f=s+o.width-i.width,g=0-a,m=a+o.height-i.height,v=this._subtractOverflows(o.width,d,f),y=this._subtractOverflows(o.height,g,m),I=v*y;return{visibleArea:I,isCompletelyWithinViewport:o.width*o.height===I,fitsInViewportVertically:y===o.height,fitsInViewportHorizontally:v==o.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){let r=i.bottom-e.y,o=i.right-e.x,s=sD(this._overlayRef.getConfig().minHeight),a=sD(this._overlayRef.getConfig().minWidth),l=n.fitsInViewportVertically||s!=null&&s<=r,c=n.fitsInViewportHorizontally||a!=null&&a<=o;return l&&c}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let r=aD(e),o=this._viewportRect,s=Math.max(n.x+r.width-o.width,0),a=Math.max(n.y+r.height-o.height,0),l=Math.max(o.top-i.top-n.y,0),c=Math.max(o.left-i.left-n.x,0),d=0,f=0;return r.width<=o.width?d=c||-s:d=n.xv&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-v/2)}let l=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,c=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,d,f,g;if(c)g=i.width-n.x+this._viewportMargin*2,d=n.x-this._viewportMargin;else if(l)f=n.x,d=i.right-n.x;else{let m=Math.min(i.right-n.x+i.left,n.x),v=this._lastBoundingBoxSize.width;d=m*2,f=n.x-m,d>v&&!this._isInitialRender&&!this._growAfterOpen&&(f=n.x-v/2)}return{top:s,left:f,bottom:a,right:g,width:d,height:o}}_setBoundingBoxStyles(n,e){let i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=nt(i.height),r.top=nt(i.top),r.bottom=nt(i.bottom),r.width=nt(i.width),r.left=nt(i.left),r.right=nt(i.right),e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=nt(o)),s&&(r.maxWidth=nt(s))}this._lastBoundingBoxSize=i,oo(this._boundingBox.style,r)}_resetBoundingBoxStyles(){oo(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){oo(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();oo(i,this._getExactOverlayY(e,n,d)),oo(i,this._getExactOverlayX(e,n,d))}else i.position="static";let a="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=nt(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=nt(s.maxWidth):o&&(i.maxWidth="")),oo(this._pane.style,i)}_getExactOverlayY(n,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),n.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;r.bottom=`${s-(o.y+this._overlayRect.height)}px`}else r.top=nt(o.y);return r}_getExactOverlayX(n,e,i){let r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i));let s;if(this._isRtl()?s=n.overlayX==="end"?"left":"right":s=n.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;r.right=`${a-(o.x+this._overlayRect.width)}px`}else r.left=nt(o.x);return r}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:iD(n,i),isOriginOutsideView:Zg(n,i),isOverlayClipped:iD(e,i),isOverlayOutsideView:Zg(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Jo(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){let n=this._origin;if(n instanceof U)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}};function oo(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function sD(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split($F);return!e||e==="px"?parseFloat(n):null}return t||null}function aD(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function GF(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}var lD="cdk-global-overlay-wrapper",ev=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(lD),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=(r==="100%"||r==="100vw")&&(!s||s==="100%"||s==="100vw"),c=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,f=this._xOffset,g=this._overlayRef.getConfig().direction==="rtl",m="",v="",y="";l?y="flex-start":d==="center"?(y="center",g?v=f:m=f):g?d==="left"||d==="end"?(y="flex-end",m=f):(d==="right"||d==="start")&&(y="flex-start",v=f):d==="left"||d==="start"?(y="flex-start",m=f):(d==="right"||d==="end")&&(y="flex-end",v=f),n.position=this._cssPosition,n.marginLeft=l?"0":m,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":v,e.justifyContent=y,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(lD),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},WF=(()=>{class t{_viewportRuler=u(ps);_document=u(X);_platform=u(Te);_overlayContainer=u(Au);constructor(){}global(){return new ev}flexibleConnectedTo(e){return new Jg(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),it=(()=>{class t{scrollStrategies=u(zF);_overlayContainer=u(Au);_positionBuilder=u(WF);_keyboardDispatcher=u(UF);_injector=u(ye);_ngZone=u(O);_document=u(X);_directionality=u(kt);_location=u(rr);_outsideClickDispatcher=u(HF);_animationsModuleType=u(Je,{optional:!0});_idGenerator=u($e);_appRef;_styleLoader=u(ct);constructor(){}create(e){this._styleLoader.load(dD);let i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new mr(e);return s.direction=s.direction||this._directionality.value,new Cs(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(ht))}position(){return this._positionBuilder}_createPaneElement(e){let i=this._document.createElement("div");return i.id=this._idGenerator.getId("cdk-overlay-"),i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Ht)),new Wa(e,null,this._appRef,this._injector,this._document)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),qF=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],uD=new x("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(it);return()=>t.scrollStrategies.reposition()}}),Za=(()=>{class t{elementRef=u(U);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),tv=(()=>{class t{_overlay=u(it);_dir=u(kt,{optional:!0});_overlayRef;_templatePortal;_backdropSubscription=me.EMPTY;_attachSubscription=me.EMPTY;_detachSubscription=me.EMPTY;_positionSubscription=me.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=u(uD);_disposeOnNavigation=!1;_ngZone=u(O);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}backdropClick=new H;positionChange=new H;attach=new H;detach=new H;overlayKeydown=new H;overlayOutsideClick=new H;constructor(){let e=u(xt),i=u(st);this._templatePortal=new On(e,i),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=qF);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!pt(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let r=this._getOriginElement(),o=Qt(i);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new mr({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Za?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Za?this.origin.elementRef.nativeElement:this.origin instanceof U?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(ch(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",W],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",W],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",W],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",W],push:[2,"cdkConnectedOverlayPush","push",W],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",W]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Oe,qe]})}return t})();function YF(t){return()=>t.scrollStrategies.reposition()}var QF={provide:uD,deps:[it],useFactory:YF},si=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({providers:[it,QF],imports:[ur,Pi,Fg,Fg]})}return t})();function ZF(t,n){}var pr=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!0;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;componentFactoryResolver;providers;container;templateContext};var iv=(()=>{class t extends gs{_elementRef=u(U);_focusTrapFactory=u(JC);_config;_interactivityChecker=u(Wg);_ngZone=u(O);_overlayRef=u(Cs);_focusMonitor=u(Rn);_platform=u(Te);_document=u(X,{optional:!0});_portalOutlet;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_changeDetectorRef=u(Pe);_injector=u(ye);_isDestroyed=!1;constructor(){super(),this._config=u(pr,{optional:!0})||new pr,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let i=this._ariaLabelledByQueue.indexOf(e);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}attachDomPortal=e=>{this._portalOutlet.hasAttached();let i=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),i};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_trapFocus(){this._isDestroyed||Ut(()=>{let e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement()||this._focusDialogContainer();break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,i=null;if(typeof e=="string"?i=this._document.querySelector(e):typeof e=="boolean"?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&typeof i.focus=="function"){let r=xa(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let e=this._elementRef.nativeElement,i=xa();return e===i||e.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=xa()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,r){if(i&1&&Re(io,7),i&2){let o;se(o=ae())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,r){i&2&&_e("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},features:[Ve],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,r){i&1&&F(0,ZF,0,0,"ng-template",0)},dependencies:[io],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return t})(),Ka=class{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new M;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(n,e){this.overlayRef=n,this.config=e,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{i.keyCode===27&&!this.disableClose&&!pt(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=n.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(n,e){if(this.containerInstance){let i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}},KF=new x("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=u(it);return()=>t.scrollStrategies.block()}}),XF=new x("DialogData"),JF=new x("DefaultDialogConfig");var rv=(()=>{class t{_overlay=u(it);_injector=u(ye);_defaultOptions=u(JF,{optional:!0});_parentDialog=u(t,{optional:!0,skipSelf:!0});_overlayContainer=u(Au);_idGenerator=u($e);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new M;_afterOpenedAtThisLevel=new M;_ariaHiddenElements=new Map;_scrollStrategy=u(KF);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=Bn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ke(void 0)));constructor(){}open(e,i){let r=this._defaultOptions||new pr;i=w(w({},r),i),i.id=i.id||this._idGenerator.getId("cdk-dialog-"),i.id&&this.getDialogById(i.id);let o=this._getOverlayConfig(i),s=this._overlay.create(o),a=new Ka(s,i),l=this._attachContainer(s,a,i);return a.containerInstance=l,this._attachDialogContent(e,a,l,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){nv(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){nv(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),nv(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let i=new mr({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,r){let o=r.injector||r.viewContainerRef?.injector,s=[{provide:pr,useValue:r},{provide:Ka,useValue:i},{provide:Cs,useValue:e}],a;r.container?typeof r.container=="function"?a=r.container:(a=r.container.type,s.push(...r.container.providers(r))):a=iv;let l=new hr(a,r.viewContainerRef,ye.create({parent:o||this._injector,providers:s}));return e.attach(l).instance}_attachDialogContent(e,i,r,o){if(e instanceof xt){let s=this._createInjector(o,i,r,void 0),a={$implicit:o.data,dialogRef:i};o.templateContext&&(a=w(w({},a),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),r.attachTemplatePortal(new On(e,null,a,s))}else{let s=this._createInjector(o,i,r,this._injector),a=r.attachComponentPortal(new hr(e,o.viewContainerRef,s));i.componentRef=a,i.componentInstance=a.instance}}_createInjector(e,i,r,o){let s=e.injector||e.viewContainerRef?.injector,a=[{provide:XF,useValue:e.data},{provide:Ka,useValue:i}];return e.providers&&(typeof e.providers=="function"?a.push(...e.providers(i,e,r)):a.push(...e.providers)),e.direction&&(!s||!s.get(kt,null,{optional:!0}))&&a.push({provide:kt,useValue:{value:e.direction,change:z()}}),ye.create({parent:s||o,providers:a})}_removeOpenDialog(e,i){let r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,s)=>{o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let e=this._overlayContainer.getContainerElement();if(e.parentElement){let i=e.parentElement.children;for(let r=i.length-1;r>-1;r--){let o=i[r];o!==e&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function nv(t,n){let e=t.length;for(;e--;)n(t[e])}var fD=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({providers:[rv],imports:[si,Pi,Su,Pi]})}return t})();var eL=["text"],tL=[[["mat-icon"]],"*"],nL=["mat-icon","*"];function iL(t,n){if(t&1&&T(0,"mat-pseudo-checkbox",1),t&2){let e=R();D("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function rL(t,n){if(t&1&&T(0,"mat-pseudo-checkbox",3),t&2){let e=R();D("disabled",e.disabled)}}function oL(t,n){if(t&1&&(h(0,"span",4),b(1),p()),t&2){let e=R();_(),Ie("(",e.group.label,")")}}var sL=["mat-internal-form-field",""],aL=["*"];var Me=(()=>{class t{constructor(){u(qg)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({imports:[ur,ur]})}return t})(),Ds=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(n,e,i,r,o){this._defaultMatcher=n,this.ngControl=e,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=o}updateErrorState(){let n=this.errorState,e=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=i?.isErrorState(r,e)??!1;o!==n&&(this.errorState=o,this._stateChanges.next())}};var Nu=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Li=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,r){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}'],encapsulation:2,changeDetection:0})}return t})();var pn=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(pn||{}),av=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=pn.HIDDEN;constructor(n,e,i,r=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r}fadeOut(){this._renderer.fadeOutRipple(this)}},hD=hn({passive:!0,capture:!0}),lv=class{_events=new Map;addHandler(n,e,i,r){let o=this._events.get(e);if(o){let s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,hD)})}removeHandler(n,e,i){let r=this._events.get(n);if(!r)return;let o=r.get(e);o&&(o.delete(i),o.size===0&&r.delete(e),r.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,hD)))}_delegateEventHandler=n=>{let e=Qt(n);e&&this._events.get(n.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(n))})}},Ou={enterDuration:225,exitDuration:150},lL=800,mD=hn({passive:!0,capture:!0}),pD=["mousedown","touchstart"],gD=["mouseup","mouseleave","touchend","touchcancel"],cL=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}"],encapsulation:2,changeDetection:0})}return t})(),Ru=class t{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new lv;constructor(n,e,i,r,o){this._target=n,this._ngZone=e,this._platform=r,r.isBrowser&&(this._containerElement=fn(i)),o&&o.get(ct).load(cL)}fadeInRipple(n,e,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=w(w({},Ou),i.animation);i.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);let s=i.radius||dL(n,e,r),a=n-r.left,l=e-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${a-s}px`,d.style.top=`${l-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,i.color!=null&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let f=window.getComputedStyle(d),g=f.transitionProperty,m=f.transitionDuration,v=g==="none"||m==="0s"||m==="0s, 0s"||r.width===0&&r.height===0,y=new av(this,d,i,v);d.style.transform="scale3d(1, 1, 1)",y.state=pn.FADING_IN,i.persistent||(this._mostRecentTransientRipple=y);let I=null;return!v&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let N=()=>{I&&(I.fallbackTimer=null),clearTimeout(Y),this._finishRippleTransition(y)},ee=()=>this._destroyRipple(y),Y=setTimeout(ee,c+100);d.addEventListener("transitionend",N),d.addEventListener("transitioncancel",ee),I={onTransitionEnd:N,onTransitionCancel:ee,fallbackTimer:Y}}),this._activeRipples.set(y,I),(v||!c)&&this._finishRippleTransition(y),y}fadeOutRipple(n){if(n.state===pn.FADING_OUT||n.state===pn.HIDDEN)return;let e=n.element,i=w(w({},Ou),n.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=pn.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=fn(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,pD.forEach(i=>{t._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{gD.forEach(e=>{this._triggerElement.addEventListener(e,this,mD)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===pn.FADING_IN?this._startFadeOutTransition(n):n.state===pn.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=pn.VISIBLE,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=pn.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=Ya(n),i=this._lastTouchStartEvent&&Date.now(){let e=n.state===pn.VISIBLE||n.config.terminateOnPointerUp&&n.state===pn.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(pD.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(gD.forEach(e=>n.removeEventListener(e,this,mD)),this._pointerUpEventsRegistered=!1))}};function dL(t,n,e){let i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),r=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+r*r)}var bD=new x("mat-ripple-global-options"),Xa=(()=>{class t{_elementRef=u(U);_animationMode=u(Je,{optional:!0});color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=u(O),i=u(Te),r=u(bD,{optional:!0}),o=u(ye);this._globalOptions=r||{},this._rippleRenderer=new Ru(this,e,this._elementRef,i,o)}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:w(w(w({},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,w(w({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,w(w({},this.rippleConfig),e))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){i&2&&ce("mat-ripple-unbounded",r.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return t})(),Ja=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({imports:[Me,Me]})}return t})(),uL=(()=>{class t{_animationMode=u(Je,{optional:!0});state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,r){i&2&&ce("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(i,r){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}return t})(),fL=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({imports:[Me]})}return t})(),dv=new x("MAT_OPTION_PARENT_COMPONENT"),uv=new x("MatOptgroup");var cv=class{source;isUserInput;constructor(n,e=!1){this.source=n,this.isUserInput=e}},Pu=(()=>{class t{_element=u(U);_changeDetectorRef=u(Pe);_parent=u(dv,{optional:!0});group=u(uv,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_disabled=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=u($e).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=e}get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new H;_text;_stateChanges=new M;constructor(){u(ct).load(Li),u(ct).load(qa),this._signalDisableRipple=!!this._parent&&ir(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&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)&&!pt(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new cv(this,e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["mat-option"]],viewQuery:function(i,r){if(i&1&&Re(eL,7),i&2){let o;se(o=ae())&&(r._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,r){i&1&&B("click",function(){return r._selectViaInteraction()})("keydown",function(s){return r._handleKeydown(s)}),i&2&&(cn("id",r.id),_e("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),ce("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",W]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],features:[Oe],ngContentSelectors:nL,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,r){i&1&&(Ze(tL),F(0,iL,1,2,"mat-pseudo-checkbox",1),he(1),h(2,"span",2,0),he(4,1),p(),F(5,rL,1,1,"mat-pseudo-checkbox",3)(6,oL,2,1,"span",4),T(7,"div",5)),i&2&&(He(r.multiple?0:-1),_(5),He(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),_(),He(r.group&&r.group._inert?6:-1),_(),D("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[uL,Xa],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return t})();function wD(t,n,e){if(e.length){let i=n.toArray(),r=e.toArray(),o=0;for(let s=0;se+i?Math.max(0,t-i+n):e}var fv=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({imports:[Ja,Me,fL]})}return t})(),vD={capture:!0},yD=["focus","mousedown","mouseenter","touchstart"],ov="mat-ripple-loader-uninitialized",sv="mat-ripple-loader-class-name",_D="mat-ripple-loader-centered",ku="mat-ripple-loader-disabled",CD=(()=>{class t{_document=u(X,{optional:!0});_animationMode=u(Je,{optional:!0});_globalRippleOptions=u(bD,{optional:!0});_platform=u(Te);_ngZone=u(O);_injector=u(ye);_hosts=new Map;constructor(){this._ngZone.runOutsideAngular(()=>{for(let e of yD)this._document?.addEventListener(e,this._onInteraction,vD)})}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);for(let i of yD)this._document?.removeEventListener(i,this._onInteraction,vD)}configureRipple(e,i){e.setAttribute(ov,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(sv))&&e.setAttribute(sv,i.className||""),i.centered&&e.setAttribute(_D,""),i.disabled&&e.setAttribute(ku,"")}setDisabled(e,i){let r=this._hosts.get(e);r?(r.target.rippleDisabled=i,!i&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(e))):i?e.setAttribute(ku,""):e.removeAttribute(ku)}_onInteraction=e=>{let i=Qt(e);if(i instanceof HTMLElement){let r=i.closest(`[${ov}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let i=this._document.createElement("span");i.classList.add("mat-ripple",e.getAttribute(sv)),e.append(i);let r=this._animationMode==="NoopAnimations",o=this._globalRippleOptions,s=r?0:o?.animation?.enterDuration??Ou.enterDuration,a=r?0:o?.animation?.exitDuration??Ou.exitDuration,l={rippleDisabled:r||o?.disabled||e.hasAttribute(ku),rippleConfig:{centered:e.hasAttribute(_D),terminateOnPointerUp:o?.terminateOnPointerUp,animation:{enterDuration:s,exitDuration:a}}},c=new Ru(l,this._ngZone,i,this._platform,this._injector),d=!l.rippleDisabled;d&&c.setupTriggerEvents(e),this._hosts.set(e,{target:l,renderer:c,hasSetUpEvents:d}),e.removeAttribute(ov)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),DD=(()=>{class t{labelPosition;static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(i,r){i&2&&ce("mdc-form-field--align-end",r.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},attrs:sL,ngContentSelectors:aL,decls:1,vars:0,template:function(i,r){i&1&&(Ze(),he(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}"],encapsulation:2,changeDetection:0})}return t})();var ue=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(ue||{}),ai="*";function Nn(t,n){return{type:ue.Trigger,name:t,definitions:n,options:{}}}function gn(t,n=null){return{type:ue.Animate,styles:n,timings:t}}function ED(t,n=null){return{type:ue.Sequence,steps:t,options:n}}function rt(t){return{type:ue.Style,styles:t,offset:null}}function vn(t,n,e){return{type:ue.State,name:t,styles:n,options:e}}function Xt(t,n,e=null){return{type:ue.Transition,expr:t,animation:n,options:e}}function ID(t=null){return{type:ue.AnimateChild,options:t}}function MD(t,n,e=null){return{type:ue.Query,selector:t,animation:n,options:e}}var yr=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(n=0,e=0){this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},el=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(n){this.players=n;let e=0,i=0,r=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){let e=n*this.totalTime;this.players.forEach(i=>{let r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){let n=this.players.reduce((e,i)=>e===null||i.totalTime>e.totalTime?i:e,null);return n!=null?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Fu="!";function mL(t,n){}var Vu=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!0;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;componentFactoryResolver;enterAnimationDuration;exitAnimationDuration},hv="mdc-dialog--open",SD="mdc-dialog--opening",TD="mdc-dialog--closing",pL=150,gL=75,vL=(()=>{class t extends iv{_animationMode=u(Je,{optional:!0});_animationStateChanged=new H;_animationsEnabled=this._animationMode!=="NoopAnimations";_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?kD(this._config.enterAnimationDuration)??pL:0;_exitAnimationDuration=this._animationsEnabled?kD(this._config.exitAnimationDuration)??gL:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(AD,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(SD,hv)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(hv),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(hv),this._animationsEnabled?(this._hostElement.style.setProperty(AD,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(TD)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(SD,TD)}_waitForAnimationToComplete(e,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let i=super.attachComponentPortal(e);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275cmp=A({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,r){i&2&&(cn("id",r._config.id),_e("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),ce("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},features:[Ve],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,r){i&1&&(h(0,"div",0)(1,"div",1),F(2,mL,0,0,"ng-template",2),p()())},dependencies:[io],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mdc-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}'],encapsulation:2})}return t})(),AD="--mat-dialog-transition-duration";function kD(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?lr(t.substring(0,t.length-2)):t.endsWith("s")?lr(t.substring(0,t.length-1))*1e3:t==="0"?0:null}var Lu=function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t}(Lu||{}),so=class{_ref;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new M;_beforeClosed=new M;_result;_closeFallbackTimeout;_state=Lu.OPEN;_closeInteractionType;constructor(n,e,i){this._ref=n,this._containerInstance=i,this.disableClose=e.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),i._animationStateChanged.pipe(ie(r=>r.state==="opened"),je(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(ie(r=>r.state==="closed"),je(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),bt(this.backdropClick(),this.keydownEvents().pipe(ie(r=>r.keyCode===27&&!this.disableClose&&!pt(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),OD(this,r.type==="keydown"?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(ie(e=>e.state==="closing"),je(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=Lu.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=Lu.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function OD(t,n,e){return t._closeInteractionType=n,t.close(e)}var tl=new x("MatMdcDialogData"),yL=new x("mat-mdc-dialog-default-options"),_L=new x("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(it);return()=>t.scrollStrategies.block()}});var nl=(()=>{class t{_overlay=u(it);_defaultOptions=u(yL,{optional:!0});_scrollStrategy=u(_L);_parentDialog=u(t,{optional:!0,skipSelf:!0});_idGenerator=u($e);_dialog=u(rv);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new M;_afterOpenedAtThisLevel=new M;dialogConfigClass=Vu;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=Bn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ke(void 0)));constructor(){this._dialogRefConstructor=so,this._dialogContainerType=vL,this._dialogDataToken=tl}open(e,i){let r;i=w(w({},this._defaultOptions||new Vu),i),i.id=i.id||this._idGenerator.getId("mat-mdc-dialog-"),i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(e,ne(w({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:pr,useValue:i}]},templateContext:()=>({dialogRef:r}),providers:(s,a,l)=>(r=new this._dialogRefConstructor(s,i,l),r.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=o.componentRef,r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(r);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ju=(()=>{class t{dialogRef=u(so,{optional:!0});_elementRef=u(U);_dialog=u(nl);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=ND(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){OD(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,r){i&1&&B("click",function(s){return r._onButtonClick(s)}),i&2&&_e("aria-label",r.ariaLabel||null)("type",r.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[qe]})}return t})(),RD=(()=>{class t{_dialogRef=u(so,{optional:!0});_elementRef=u(U);_dialog=u(nl);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=ND(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t})}return t})(),Bu=(()=>{class t extends RD{id=u($e).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=P({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,r){i&2&&cn("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[Ve]})}return t})(),zu=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[Tw([Pg])]})}return t})(),Uu=(()=>{class t extends RD{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=P({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(i,r){i&2&&ce("mat-mdc-dialog-actions-align-start",r.align==="start")("mat-mdc-dialog-actions-align-center",r.align==="center")("mat-mdc-dialog-actions-align-end",r.align==="end")},inputs:{align:"align"},features:[Ve]})}return t})();function ND(t,n){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(i=>i.id===e.id):null}var PD=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({providers:[nl],imports:[fD,si,Pi,Me,Me]})}return t})();var FD=["mat-button",""],LD=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],VD=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],bL='.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width, 1px);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-focus-indicator::before,.mat-mdc-raised-button:focus .mat-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}',jD="@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}";var wL=["mat-icon-button",""],xL=["*"];var CL=new x("MAT_BUTTON_CONFIG");var DL=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],pv=(()=>{class t{_elementRef=u(U);_platform=u(Te);_ngZone=u(O);_animationMode=u(Je,{optional:!0});_focusMonitor=u(Rn);_rippleLoader=u(CD);_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;constructor(){u(ct).load(Li);let e=u(CL,{optional:!0}),i=this._elementRef.nativeElement,r=i.classList;this.disabledInteractive=e?.disabledInteractive??!1,this.color=e?.color??null,this._rippleLoader?.configureRipple(i,{className:"mat-mdc-button-ripple"});for(let{attribute:o,mdcClasses:s}of DL)i.hasAttribute(o)&&r.add(...s)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",W],disabled:[2,"disabled","disabled",W],ariaDisabled:[2,"aria-disabled","ariaDisabled",W],disabledInteractive:[2,"disabledInteractive","disabledInteractive",W]},features:[Oe]})}return t})();var EL=(()=>{class t extends pv{tabIndex;ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_haltDisabledEvents=e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())};_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled||null}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=P({type:t,inputs:{tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:ti(e)]},features:[Oe,Ve]})}return t})(),li=(()=>{class t extends pv{static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275cmp=A({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,r){i&2&&(_e("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),$t(r.color?"mat-"+r.color:""),ce("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[Ve],attrs:FD,ngContentSelectors:VD,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(Ze(LD),T(0,"span",0),he(1),h(2,"span",1),he(3,1),p(),he(4,2),T(5,"span",2)(6,"span",3)),i&2&&ce("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width, 1px);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-focus-indicator::before,.mat-mdc-raised-button:focus .mat-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}',"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}"],encapsulation:2,changeDetection:0})}return t})(),BD=(()=>{class t extends EL{static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275cmp=A({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(i,r){i&2&&(_e("disabled",r._getDisabledAttribute())("tabindex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("aria-disabled",r._getAriaDisabled()),$t(r.color?"mat-"+r.color:""),ce("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[Ve],attrs:FD,ngContentSelectors:VD,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(Ze(LD),T(0,"span",0),he(1),h(2,"span",1),he(3,1),p(),he(4,2),T(5,"span",2)(6,"span",3)),i&2&&ce("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[bL,jD],encapsulation:2,changeDetection:0})}return t})();var zD=(()=>{class t extends pv{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,r){i&2&&(_e("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),$t(r.color?"mat-"+r.color:""),ce("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[Ve],attrs:wL,ngContentSelectors:xL,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(Ze(),T(0,"span",0),he(1),T(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',jD],encapsulation:2,changeDetection:0})}return t})();var UD=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({imports:[Me,Ja,Me]})}return t})();var ze=(()=>{let n=class n{constructor(i){this.el=i}ngOnInit(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim())}};n.\u0275fac=function(r){return new(r||n)(S(U))},n.\u0275dir=P({type:n,selectors:[["uds-translate"]],standalone:!1});let t=n;return t})();var _r=(()=>{let n=class n{constructor(i){this.sanitizer=i}transform(i,r){return i=i.replace(/<\s*script\s*/gi,""),i=i.replace(/(on|(on\w+\s*))=\s*['"]?[^'"]*['"]?/gi,""),i=i.replace(/javascript\s*\:/gi,""),this.sanitizer.bypassSecurityTrustHtml(i)}};n.\u0275fac=function(r){return new(r||n)(S(Gp,16))},n.\u0275pipe=ap({name:"safeHtml",type:n,pure:!0,standalone:!1});let t=n;return t})();function IL(t,n){if(t&1){let e=Ce();h(0,"button",3),B("click",function(){re(e);let r=R();return oe(r.resolveAndClose(!1))}),h(1,"uds-translate"),b(2,"Close"),p(),b(3),p()}if(t&2){let e=R();_(3),lt(e.extra)}}function ML(t,n){if(t&1){let e=Ce();h(0,"button",3),B("click",function(){re(e);let r=R();return oe(r.resolveAndClose(!0))}),h(1,"uds-translate"),b(2,"Yes"),p()()}}function SL(t,n){if(t&1){let e=Ce();h(0,"button",3),B("click",function(){re(e);let r=R();return oe(r.resolveAndClose(!1))}),h(1,"uds-translate"),b(2,"No"),p()()}}var il=function(t){return t[t.alert=0]="alert",t[t.yesno=1]="yesno",t[t.credentials=2]="credentials",t}(il||{}),gv=(()=>{let n=class n{constructor(i,r){this.dialogRef=i,this.data=r,this.extra="",this.yesno=new $a}resolveAndClose(i){this.yesno.resolve(i),this.close()}close(){this.dialogRef.close()}setExtra(i){this.extra=" ("+Math.floor(i/1e3)+" "+django.gettext("seconds")+") "}initAlert(){return Se(this,null,function*(){let i=this.data.autoclose||0;i>0&&(this.dialogRef.afterClosed().subscribe(r=>{this.close()}),this.setExtra(i),rh(1e3).subscribe(r=>{let o=i-(r+1)*1e3;this.setExtra(o),o<=0&&this.close()}))})}ngOnInit(){this.data.type===il.alert&&this.initAlert()}};n.\u0275fac=function(r){return new(r||n)(S(so),S(tl))},n.\u0275cmp=A({type:n,selectors:[["uds-modal"]],standalone:!1,decls:8,vars:9,consts:[["mat-dialog-title","",3,"innerHtml"],[3,"innerHTML"],["mat-raised-button","","mat-dialog-close","",3,"click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","",3,"click"]],template:function(r,o){r&1&&(T(0,"h4",0),Jn(1,"safeHtml"),T(2,"mat-dialog-content",1),Jn(3,"safeHtml"),h(4,"mat-dialog-actions"),F(5,IL,4,1,"button",2)(6,ML,3,0,"button",2)(7,SL,3,0,"button",2),p()),r&2&&(D("innerHtml",ei(1,5,o.data.title),Xn),_(2),D("innerHTML",ei(3,7,o.data.body),Xn),_(3),D("ngIf",o.data.type===0),_(),D("ngIf",o.data.type===1),_(),D("ngIf",o.data.type===1))},dependencies:[At,li,ju,Bu,Uu,zu,ze,_r],styles:[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});let t=n;return t})();var ZD=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,i){this._renderer=e,this._elementRef=i}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(i){return new(i||t)(S(nr),S(U))};static \u0275dir=P({type:t})}return t})(),TL=(()=>{class t extends ZD{static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=P({type:t,features:[Ve]})}return t})(),ef=new x("");var AL={provide:ef,useExisting:Qn(()=>tf),multi:!0};function kL(){let t=ni()?ni().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var OL=new x(""),tf=(()=>{class t extends ZD{_compositionMode;_composing=!1;constructor(e,i,r){super(e,i),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!kL())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(i){return new(i||t)(S(nr),S(U),S(OL,8))};static \u0275dir=P({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){i&1&&B("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},standalone:!1,features:[Be([AL]),Ve]})}return t})();function br(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function KD(t){return t!=null&&typeof t.length=="number"}var cl=new x(""),bv=new x(""),RL=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Ms=class{static min(n){return NL(n)}static max(n){return PL(n)}static required(n){return FL(n)}static requiredTrue(n){return LL(n)}static email(n){return VL(n)}static minLength(n){return jL(n)}static maxLength(n){return BL(n)}static pattern(n){return zL(n)}static nullValidator(n){return XD(n)}static compose(n){return rE(n)}static composeAsync(n){return oE(n)}};function NL(t){return n=>{if(br(n.value)||br(t))return null;let e=parseFloat(n.value);return!isNaN(e)&&e{if(br(n.value)||br(t))return null;let e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}function FL(t){return br(t.value)?{required:!0}:null}function LL(t){return t.value===!0?null:{required:!0}}function VL(t){return br(t.value)||RL.test(t.value)?null:{email:!0}}function jL(t){return n=>br(n.value)||!KD(n.value)?null:n.value.lengthKD(n.value)&&n.value.length>t?{maxlength:{requiredLength:t,actualLength:n.value.length}}:null}function zL(t){if(!t)return XD;let n,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(br(i.value))return null;let r=i.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function XD(t){return null}function JD(t){return t!=null}function eE(t){return Kr(t)?Fe(t):t}function tE(t){let n={};return t.forEach(e=>{n=e!=null?w(w({},n),e):n}),Object.keys(n).length===0?null:n}function nE(t,n){return n.map(e=>e(t))}function UL(t){return!t.validate}function iE(t){return t.map(n=>UL(n)?n:e=>n.validate(e))}function rE(t){if(!t)return null;let n=t.filter(JD);return n.length==0?null:function(e){return tE(nE(e,n))}}function wv(t){return t!=null?rE(iE(t)):null}function oE(t){if(!t)return null;let n=t.filter(JD);return n.length==0?null:function(e){let i=nE(e,n).map(eE);return ih(i).pipe(q(tE))}}function xv(t){return t!=null?oE(iE(t)):null}function HD(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function sE(t){return t._rawValidators}function aE(t){return t._rawAsyncValidators}function vv(t){return t?Array.isArray(t)?t:[t]:[]}function Gu(t,n){return Array.isArray(t)?t.includes(n):t===n}function $D(t,n){let e=vv(n);return vv(t).forEach(r=>{Gu(e,r)||e.push(r)}),e}function GD(t,n){return vv(n).filter(e=>!Gu(t,e))}var Wu=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=wv(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=xv(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},wr=class extends Wu{name;get formDirective(){return null}get path(){return null}},Vi=class extends Wu{_parent=null;name=null;valueAccessor=null},qu=class{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},HL={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},c7=ne(w({},HL),{"[class.ng-submitted]":"isSubmitted"}),lE=(()=>{class t extends qu{constructor(e){super(e)}static \u0275fac=function(i){return new(i||t)(S(Vi,2))};static \u0275dir=P({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&ce("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[Ve]})}return t})(),Ss=(()=>{class t extends qu{constructor(e){super(e)}static \u0275fac=function(i){return new(i||t)(S(wr,10))};static \u0275dir=P({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){i&2&&ce("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},standalone:!1,features:[Ve]})}return t})();var rl="VALID",$u="INVALID",Es="PENDING",ol="DISABLED",xr=class{},Yu=class extends xr{value;source;constructor(n,e){super(),this.value=n,this.source=e}},al=class extends xr{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},ll=class extends xr{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},Is=class extends xr{status;source;constructor(n,e){super(),this.status=n,this.source=e}},yv=class extends xr{source;constructor(n){super(),this.source=n}},_v=class extends xr{source;constructor(n){super(),this.source=n}};function cE(t){return(nf(t)?t.validators:t)||null}function $L(t){return Array.isArray(t)?wv(t):t||null}function dE(t,n){return(nf(n)?n.asyncValidators:t)||null}function GL(t){return Array.isArray(t)?xv(t):t||null}function nf(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function WL(t,n,e){let i=t.controls;if(!(n?Object.keys(i):i).length)throw new E(1e3,"");if(!i[e])throw new E(1001,"")}function qL(t,n,e){t._forEachChild((i,r)=>{if(e[r]===void 0)throw new E(1002,"")})}var Qu=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,e){this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return dn(this.statusReactive)}set status(n){dn(()=>this.statusReactive.set(n))}_status=Mi(()=>this.statusReactive());statusReactive=Ii(void 0);get valid(){return this.status===rl}get invalid(){return this.status===$u}get pending(){return this.status==Es}get disabled(){return this.status===ol}get enabled(){return this.status!==ol}errors;get pristine(){return dn(this.pristineReactive)}set pristine(n){dn(()=>this.pristineReactive.set(n))}_pristine=Mi(()=>this.pristineReactive());pristineReactive=Ii(!0);get dirty(){return!this.pristine}get touched(){return dn(this.touchedReactive)}set touched(n){dn(()=>this.touchedReactive.set(n))}_touched=Mi(()=>this.touchedReactive());touchedReactive=Ii(!1);get untouched(){return!this.touched}_events=new M;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators($D(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators($D(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(GD(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(GD(n,this._rawAsyncValidators))}hasValidator(n){return Gu(this._rawValidators,n)}hasAsyncValidator(n){return Gu(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(ne(w({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new ll(!0,i))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),e&&n.emitEvent!==!1&&this._events.next(new ll(!1,i))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(ne(w({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new al(!1,i))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),e&&n.emitEvent!==!1&&this._events.next(new al(!0,i))}markAsPending(n={}){this.status=Es;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Is(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(ne(w({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=ol,this.errors=null,this._forEachChild(r=>{r.disable(ne(w({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Yu(this.value,i)),this._events.next(new Is(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ne(w({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=rl,this._forEachChild(i=>{i.enable(ne(w({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(ne(w({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===rl||this.status===Es)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Yu(this.value,e)),this._events.next(new Is(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(ne(w({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ol:rl}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=Es,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let i=eE(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(n,e){let i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new Is(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new H,this.statusChanges=new H}_calculateStatus(){return this._allControlsDisabled()?ol:this.errors?$u:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Es)?Es:this._anyControlsHaveStatus($u)?$u:rl}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),r&&this._events.next(new al(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new ll(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){nf(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=$L(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=GL(this._rawAsyncValidators)}},Zu=class extends Qu{constructor(n,e,i){super(cE(e),dE(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){qL(this,!0,n),Object.keys(n).forEach(i=>{WL(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(i=>{let r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,r)=>{i.reset(n?n[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var rf=new x("CallSetDisabledState",{providedIn:"root",factory:()=>Cv}),Cv="always";function YL(t,n){return[...n.path,t]}function Ku(t,n,e=Cv){Dv(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),ZL(t,n),XL(t,n),KL(t,n),QL(t,n)}function WD(t,n,e=!0){let i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),Ju(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Xu(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function QL(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function Dv(t,n){let e=sE(t);n.validator!==null?t.setValidators(HD(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=aE(t);n.asyncValidator!==null?t.setAsyncValidators(HD(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();Xu(n._rawValidators,r),Xu(n._rawAsyncValidators,r)}function Ju(t,n){let e=!1;if(t!==null){if(n.validator!==null){let r=sE(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==n.validator);o.length!==r.length&&(e=!0,t.setValidators(o))}}if(n.asyncValidator!==null){let r=aE(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==n.asyncValidator);o.length!==r.length&&(e=!0,t.setAsyncValidators(o))}}}let i=()=>{};return Xu(n._rawValidators,i),Xu(n._rawAsyncValidators,i),e}function ZL(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&uE(t,n)})}function KL(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&uE(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function uE(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function XL(t,n){let e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function fE(t,n){t==null,Dv(t,n)}function JL(t,n){return Ju(t,n)}function eV(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function tV(t){return Object.getPrototypeOf(t.constructor)===TL}function hE(t,n){t._syncPendingControls(),n.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function nV(t,n){if(!n)return null;Array.isArray(n);let e,i,r;return n.forEach(o=>{o.constructor===tf?e=o:tV(o)?i=o:r=o}),r||i||e||null}function iV(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}var rV={provide:wr,useExisting:Qn(()=>Pn)},sl=Promise.resolve(),Pn=(()=>{class t extends wr{callSetDisabledState;get submitted(){return dn(this.submittedReactive)}_submitted=Mi(()=>this.submittedReactive());submittedReactive=Ii(!1);_directives=new Set;form;ngSubmit=new H;options;constructor(e,i,r){super(),this.callSetDisabledState=r,this.form=new Zu({},wv(e),xv(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){sl.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Ku(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){sl.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){sl.then(()=>{let i=this._findContainer(e.path),r=new Zu({});fE(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){sl.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){sl.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),hE(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(i){return new(i||t)(S(cl,10),S(bv,10),S(rf,8))};static \u0275dir=P({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&B("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Be([rV]),Ve]})}return t})();function qD(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function YD(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var mE=class extends Qu{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,i){super(cE(e),dE(i,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),nf(e)&&(e.nonNullable||e.initialValueIsDefault)&&(YD(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){qD(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){qD(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){YD(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var oV=t=>t instanceof mE;var sV={provide:Vi,useExisting:Qn(()=>Ev)},QD=Promise.resolve(),Ev=(()=>{class t extends Vi{_changeDetectorRef;callSetDisabledState;control=new mE;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new H;constructor(e,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=nV(this,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),eV(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Ku(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){QD.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,r=i!==0&&W(i);QD.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?YL(e,this._parent):[e]}static \u0275fac=function(i){return new(i||t)(S(wr,9),S(cl,10),S(bv,10),S(ef,10),S(Pe,8),S(rf,8))};static \u0275dir=P({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[Be([sV]),Ve,qe]})}return t})(),Ts=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})();var aV={provide:wr,useExisting:Qn(()=>dl)},dl=(()=>{class t extends wr{callSetDisabledState;get submitted(){return dn(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Mi(()=>this._submittedReactive());_submittedReactive=Ii(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new H;constructor(e,i,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ju(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let i=this.form.get(e.path);return Ku(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){WD(e.control||null,e,!1),iV(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this._submittedReactive.set(!0),hE(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new yv(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new _v(this.form))}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&(WD(i||null,e),oV(r)&&(Ku(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);fE(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&JL(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Dv(this.form,this),this._oldForm&&Ju(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(i){return new(i||t)(S(cl,10),S(bv,10),S(rf,8))};static \u0275dir=P({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&B("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Be([aV]),Ve,qe]})}return t})();var lV=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({})}return t})();var pE=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:rf,useValue:e.callSetDisabledState??Cv}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({imports:[lV]})}return t})();var Iv=class{_box;_destroyed=new M;_resizeSubject=new M;_resizeObserver;_elementObservables=new Map;constructor(n){this._box=n,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new le(e=>{let i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),i.unsubscribe(),this._elementObservables.delete(n)}}).pipe(ie(e=>e.some(i=>i.target===n)),rc({bufferSize:1,refCount:!0}),xe(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},gE=(()=>{class t{_observers=new Map;_ngZone=u(O);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,i){let r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new Iv(r)),this._observers.get(r).observe(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var cV=["notch"],dV=["matFormFieldNotchedOutline",""],uV=["*"],fV=["textField"],hV=["iconPrefixContainer"],mV=["textPrefixContainer"],pV=["iconSuffixContainer"],gV=["textSuffixContainer"],vV=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],yV=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function _V(t,n){t&1&&T(0,"span",21)}function bV(t,n){if(t&1&&(h(0,"label",20),he(1,1),F(2,_V,1,0,"span",21),p()),t&2){let e=R(2);D("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),_e("for",e._control.disableAutomaticLabeling?null:e._control.id),_(2),He(!e.hideRequiredMarker&&e._control.required?2:-1)}}function wV(t,n){if(t&1&&F(0,bV,3,5,"label",20),t&2){let e=R();He(e._hasFloatingLabel()?0:-1)}}function xV(t,n){t&1&&T(0,"div",7)}function CV(t,n){}function DV(t,n){if(t&1&&F(0,CV,0,0,"ng-template",13),t&2){R(2);let e=St(1);D("ngTemplateOutlet",e)}}function EV(t,n){if(t&1&&(h(0,"div",9),F(1,DV,1,1,null,13),p()),t&2){let e=R();D("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),_(),He(e._forceDisplayInfixLabel()?-1:1)}}function IV(t,n){t&1&&(h(0,"div",10,2),he(2,2),p())}function MV(t,n){t&1&&(h(0,"div",11,3),he(2,3),p())}function SV(t,n){}function TV(t,n){if(t&1&&F(0,SV,0,0,"ng-template",13),t&2){R();let e=St(1);D("ngTemplateOutlet",e)}}function AV(t,n){t&1&&(h(0,"div",14,4),he(2,4),p())}function kV(t,n){t&1&&(h(0,"div",15,5),he(2,5),p())}function OV(t,n){t&1&&T(0,"div",16)}function RV(t,n){if(t&1&&(h(0,"div",18),he(1,6),p()),t&2){let e=R();D("@transitionMessages",e._subscriptAnimationState)}}function NV(t,n){if(t&1&&(h(0,"mat-hint",22),b(1),p()),t&2){let e=R(2);D("id",e._hintLabelId),_(),lt(e.hintLabel)}}function PV(t,n){if(t&1&&(h(0,"div",19),F(1,NV,2,2,"mat-hint",22),he(2,7),T(3,"div",23),he(4,8),p()),t&2){let e=R();D("@transitionMessages",e._subscriptAnimationState),_(),He(e.hintLabel?1:-1)}}var ci=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["mat-label"]]})}return t})(),FV=new x("MatError");var vE=(()=>{class t{align="start";id=u($e).getId("mat-mdc-hint-");static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,r){i&2&&(cn("id",r.id),_e("align",null),ce("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"}})}return t})(),LV=new x("MatPrefix");var DE=new x("MatSuffix"),EE=(()=>{class t{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[Be([{provide:DE,useExisting:t}])]})}return t})(),IE=new x("FloatingLabelParent"),yE=(()=>{class t{_elementRef=u(U);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=u(gE);_ngZone=u(O);_parent=u(IE);_resizeSubscription=new me;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return VV(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){i&2&&ce("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return t})();function VV(t){let n=t;if(n.offsetParent!==null)return n.scrollWidth;let e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let i=e.scrollWidth;return e.remove(),i}var _E="mdc-line-ripple--active",sf="mdc-line-ripple--deactivating",bE=(()=>{class t{_elementRef=u(U);constructor(){u(O).runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(sf),e.add(_E)}deactivate(){this._elementRef.nativeElement.classList.add(sf)}_handleTransitionEnd=e=>{let i=this._elementRef.nativeElement.classList,r=i.contains(sf);e.propertyName==="opacity"&&r&&i.remove(_E,sf)};ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return t})(),wE=(()=>{class t{_elementRef=u(U);_ngZone=u(O);open=!1;_notch;constructor(){}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,r){if(i&1&&Re(cV,5),i&2){let o;se(o=ae())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,r){i&2&&ce("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:dV,ngContentSelectors:uV,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(i,r){i&1&&(Ze(),T(0,"div",1),h(1,"div",2,0),he(3),p(),T(4,"div",3))},encapsulation:2,changeDetection:0})}return t})(),jV={transitionMessages:Nn("transitionMessages",[vn("enter",rt({opacity:1,transform:"translateY(0%)"})),Xt("void => enter",[rt({opacity:0,transform:"translateY(-5px)"}),gn("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},ul=(()=>{class t{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t})}return t})();var fl=new x("MatFormField"),Mv=new x("MAT_FORM_FIELD_DEFAULT_OPTIONS"),xE="fill",BV="auto",CE="fixed",zV="translateY(-50%)",Cr=(()=>{class t{_elementRef=u(U);_changeDetectorRef=u(Pe);_dir=u(kt);_platform=u(Te);_idGenerator=u($e);_defaults=u(Mv,{optional:!0});_animationMode=u(Je,{optional:!0});_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=Sw(ci);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=ki(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||BV}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearance}set appearance(e){let i=this._appearance,r=e||this._defaults?.appearance||xE;this._appearance=r,this._appearance==="outline"&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdate=!0)}_appearance=xE;get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||CE}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||CE}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_subscriptAnimationState="";get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new M;_isFocused=null;_explicitFormFieldControl;_needsOutlineLabelOffsetUpdate=!1;_previousControl=null;_stateChanges;_valueChanges;_describedByChanges;_injector=u(ye);constructor(){let e=this._defaults;e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=Mi(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let i=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(r+i.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=i.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=i.stateChanges.pipe(Ke([void 0,void 0]),q(()=>[i.errorState,i.userAriaDescribedBy]),ic(),ie(([[o,s],[a,l]])=>o!==a||s!==l)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(xe(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),bt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),aa(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(xe(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=Mi(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&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)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let i=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=this._iconSuffixContainer?.nativeElement,s=this._textSuffixContainer?.nativeElement,a=i?.getBoundingClientRect().width??0,l=r?.getBoundingClientRect().width??0,c=o?.getBoundingClientRect().width??0,d=s?.getBoundingClientRect().width??0,f=this._dir.value==="rtl"?"-1":"1",g=`${a+l}px`,v=`calc(${f} * (${g} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( - --mat-mdc-form-field-label-transform, - ${zV} translateX(${v}) - )`;let y=a+l+c+d;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${y}px)`)}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,r,o){if(i&1&&(Yw(o,r._labelChild,ci,5),at(o,ul,5),at(o,LV,5),at(o,DE,5),at(o,FV,5),at(o,vE,5)),i&2){Qw();let s;se(s=ae())&&(r._formFieldControl=s.first),se(s=ae())&&(r._prefixChildren=s),se(s=ae())&&(r._suffixChildren=s),se(s=ae())&&(r._errorChildren=s),se(s=ae())&&(r._hintChildren=s)}},viewQuery:function(i,r){if(i&1&&(Re(fV,5),Re(hV,5),Re(mV,5),Re(pV,5),Re(gV,5),Re(yE,5),Re(wE,5),Re(bE,5)),i&2){let o;se(o=ae())&&(r._textField=o.first),se(o=ae())&&(r._iconPrefixContainer=o.first),se(o=ae())&&(r._textPrefixContainer=o.first),se(o=ae())&&(r._iconSuffixContainer=o.first),se(o=ae())&&(r._textSuffixContainer=o.first),se(o=ae())&&(r._floatingLabel=o.first),se(o=ae())&&(r._notchedOutline=o.first),se(o=ae())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,r){i&2&&ce("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-no-animations",r._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-focused",r._control.focused)("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Be([{provide:fl,useExisting:t},{provide:IE,useExisting:t}])],ngContentSelectors:yV,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,r){if(i&1){let o=Ce();Ze(vV),F(0,wV,1,1,"ng-template",null,0,Xw),h(2,"div",6,1),B("click",function(a){return re(o),oe(r._control.onContainerClick(a))}),F(4,xV,1,0,"div",7),h(5,"div",8),F(6,EV,2,2,"div",9)(7,IV,3,0,"div",10)(8,MV,3,0,"div",11),h(9,"div",12),F(10,TV,1,1,null,13),he(11),p(),F(12,AV,3,0,"div",14)(13,kV,3,0,"div",15),p(),F(14,OV,1,0,"div",16),p(),h(15,"div",17),F(16,RV,2,1,"div",18)(17,PV,5,2,"div",19),p()}if(i&2){let o;_(2),ce("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),_(2),He(!r._hasOutline()&&!r._control.disabled?4:-1),_(2),He(r._hasOutline()?6:-1),_(),He(r._hasIconPrefix?7:-1),_(),He(r._hasTextPrefix?8:-1),_(2),He(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),_(2),He(r._hasTextSuffix?12:-1),_(),He(r._hasIconSuffix?13:-1),_(),He(r._hasOutline()?-1:14),_(),ce("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic"),_(),He((o=r._getDisplayedMessages())==="error"?16:o==="hint"?17:-1)}},dependencies:[yE,wE,yx,bE,vE],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-sys-outline));border-width:var(--mdc-outlined-text-field-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[jV.transitionMessages]},changeDetection:0})}return t})(),lo=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({imports:[Me,bu,Me]})}return t})();var UV=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:["textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}"],encapsulation:2,changeDetection:0})}return t})(),ME=hn({passive:!0}),SE=(()=>{class t{_platform=u(Te);_ngZone=u(O);_styleLoader=u(ct);_monitoredElements=new Map;constructor(){}monitor(e){if(!this._platform.isBrowser)return ft;this._styleLoader.load(UV);let i=fn(e),r=this._monitoredElements.get(i);if(r)return r.subject;let o=new M,s="cdk-text-field-autofilled",a=l=>{l.animationName==="cdk-text-field-autofill-start"&&!i.classList.contains(s)?(i.classList.add(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!0}))):l.animationName==="cdk-text-field-autofill-end"&&i.classList.contains(s)&&(i.classList.remove(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",a,ME),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:o,unlisten:()=>{i.removeEventListener("animationstart",a,ME)}}),o}stopMonitoring(e){let i=fn(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var TE=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({})}return t})();var HV=new x("MAT_INPUT_VALUE_ACCESSOR"),$V=["button","checkbox","file","hidden","image","radio","range","reset","submit"],GV=new x("MAT_INPUT_CONFIG"),Dr=(()=>{class t{_elementRef=u(U);_platform=u(Te);ngControl=u(Vi,{optional:!0,self:!0});_autofillMonitor=u(SE);_ngZone=u(O);_formField=u(fl,{optional:!0});_uid=u($e).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_webkitBlinkWheelListenerAttached=!1;_config=u(GV,{optional:!0});_formFieldDescribedBy;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new M;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=ki(e),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(e){this._id=e||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(Ms.required)??!1}set required(e){this._required=ki(e)}_required;get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Qp().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._ensureWheelDefaultBehavior()}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=ki(e)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>Qp().has(e));constructor(){let e=u(Pn,{optional:!0}),i=u(dl,{optional:!0}),r=u(Nu),o=u(HV,{optional:!0,self:!0}),s=this._elementRef.nativeElement,a=s.nodeName.toLowerCase();o?ir(o.value)?this._signalBasedValueAccessor=o:this._inputValueAccessor=o:this._inputValueAccessor=s,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{s.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Ds(r,this.ngControl,i,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=a==="select",this._isTextarea=a==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=s.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&ha(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener),this._webkitBlinkWheelListenerAttached&&this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let i=this._elementRef.nativeElement;i.type==="number"?(i.type="text",i.setSelectionRange(0,0),i.type="number"):i.setSelectionRange(0,0)}this.focused=e,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){$V.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}else return this.focused&&!this.disabled||!this.empty}setDescribedByIds(e){let i=this._elementRef.nativeElement,r=i.getAttribute("aria-describedby"),o;if(r){let s=this._formFieldDescribedBy||e;o=e.concat(r.split(" ").filter(a=>a&&!s.includes(a)))}else o=e;this._formFieldDescribedBy=e,o.length?i.setAttribute("aria-describedby",o.join(" ")):i.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let i=e.target;!i.value&&i.selectionStart===0&&i.selectionEnd===0&&(i.setSelectionRange(1,1),i.setSelectionRange(0,0))};_webkitBlinkWheelListener=()=>{};_ensureWheelDefaultBehavior(){!this._webkitBlinkWheelListenerAttached&&this._type==="number"&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("wheel",this._webkitBlinkWheelListener)}),this._webkitBlinkWheelListenerAttached=!0),this._webkitBlinkWheelListenerAttached&&this._type!=="number"&&(this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener),this._webkitBlinkWheelListenerAttached=!0)}_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(i,r){i&1&&B("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),i&2&&(cn("id",r.id)("disabled",r.disabled&&!r.disabledInteractive)("required",r.required),_e("name",r.name||null)("readonly",r._getReadonlyAttribute())("aria-disabled",r.disabled&&r.disabledInteractive?"true":null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required)("id",r.id),ce("mat-input-server",r._isServer)("mat-mdc-form-field-textarea-control",r._isInFormField&&r._isTextarea)("mat-mdc-form-field-input-control",r._isInFormField)("mat-mdc-input-disabled-interactive",r.disabledInteractive)("mdc-text-field__input",r._isInFormField)("mat-mdc-native-select-inline",r._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",W]},exportAs:["matInput"],features:[Be([{provide:ul,useExisting:t}]),Oe,qe]})}return t})(),AE=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({imports:[Me,lo,lo,TE,Me]})}return t})();var WV=(t,n,e)=>({username:t,domain:n,password:e,success:!1}),qV=(t,n,e)=>({username:t,domain:n,password:e,success:!0}),kE=(()=>{let n=class n{constructor(i){this.data=i,this.labels={username:django.gettext("Username"),password:django.gettext("Password"),domain:django.gettext("Domain")},this.username=i.username,this.domain=i.domain,this.password=""}};n.\u0275fac=function(r){return new(r||n)(S(tl))},n.\u0275cmp=A({type:n,selectors:[["uds-credentials-modal"]],standalone:!1,decls:21,vars:19,consts:[["mat-dialog-title",""],["matInput","",3,"ngModelChange","placeholder","ngModel"],["matInput","","type","password",3,"ngModelChange","placeholder","ngModel"],["mat-button","",3,"mat-dialog-close"]],template:function(r,o){r&1&&(h(0,"h2",0)(1,"uds-translate"),b(2,"Please, enter access credentials"),p()(),h(3,"mat-dialog-content")(4,"mat-form-field")(5,"mat-label"),b(6),p(),h(7,"input",1),fa("ngModelChange",function(a){return Ad(o.username,a)||(o.username=a),a}),p()(),h(8,"mat-form-field")(9,"mat-label"),b(10),p(),h(11,"input",2),fa("ngModelChange",function(a){return Ad(o.password,a)||(o.password=a),a}),p()(),h(12,"mat-form-field")(13,"mat-label"),b(14),p(),h(15,"input",1),fa("ngModelChange",function(a){return Ad(o.domain,a)||(o.domain=a),a}),p()()(),h(16,"mat-dialog-actions")(17,"button",3),b(18,"Cancel"),p(),h(19,"button",3),b(20,"Accept"),p()()),r&2&&(_(6),Ie(" ",o.labels.username," "),_(),D("placeholder",o.labels.username),ua("ngModel",o.username),_(3),Ie(" ",o.labels.password," "),_(),D("placeholder",o.labels.password),ua("ngModel",o.password),_(3),Ie(" ",o.labels.domain," "),_(),D("placeholder",o.labels.domain),ua("ngModel",o.domain),_(2),D("mat-dialog-close",vp(11,WV,o.username,o.domain,o.password)),_(2),D("mat-dialog-close",vp(15,qV,o.username,o.domain,o.password)))},dependencies:[tf,lE,Ev,li,ju,Bu,Uu,zu,Cr,ci,Dr,ze],styles:[".mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});let t=n;return t})();var cf=(()=>{let n=class n{constructor(i){this.dialog=i}alert(i,r,o=0){return Se(this,null,function*(){let s=window.innerWidth<800?"80%":"40%";return this.dialog.open(gv,{width:s,data:{title:i,body:r,autoclose:o,type:il.alert},disableClose:!0})})}yesno(i,r){let o=window.innerWidth<800?"80%":"40%";return this.dialog.open(gv,{width:o,data:{title:i,body:r,type:il.yesno},disableClose:!0}).componentInstance.yesno}askCredentials(i,r){let o=this.dialog.open(kE,{data:{username:i,domain:r}});return Gt(o.afterClosed())}};n.\u0275fac=function(r){return new(r||n)(k(nl))},n.\u0275prov=C({token:n,factory:n.\u0275fac});let t=n;return t})();var OE="dark-theme",RE="light-theme";var QV=eval,Ae=(()=>{let n=class n{constructor(i,r,o){this.http=i,this.gui=r,this.router=o,this.transportsWindow=null,this.user=new pu(udsData.profile),this.plugin=new $C(this)}get config(){return udsData.config}get csrfField(){return csrf.csrfField}get csrfToken(){return csrf.csrfToken}get staffInfo(){return udsData.info}get plugins(){return udsData.plugins}get actors(){return udsData.actors}get errors(){return udsData.errors}enabler(i,r){return Se(this,null,function*(){let o=this.config.urls.enabler.replace("param1",i).replace("param2",r);return Gt(this.http.get(o))})}status(i,r){return Se(this,null,function*(){let o=this.config.urls.status.replace("param1",i).replace("param2",r);return Gt(this.http.get(o))})}action(i,r){return Se(this,null,function*(){let o=this.config.urls.action.replace("param1",r).replace("param2",i);return Gt(this.http.get(o))})}transportUrl(i){return Se(this,null,function*(){return Gt(this.http.get(i))})}updateTransportTicket(i,r,o,s,a){return Se(this,null,function*(){let l=this.config.urls.update_transport_ticket.replace("param1",i).replace("param2",r);return Gt(this.http.post(l,{username:o,password:s,domain:a}))})}galleryImageURL(i){return this.config.urls.gallery_image.replace("param1",i)}transportIconURL(i){return this.config.urls.transport_icon.replace("param1",i)}staticURL(i){return gu.production?this.config.urls.static+i:"/static/"+i}getServicesInformation(){return Se(this,null,function*(){return Gt(this.http.get(this.config.urls.services))})}getErrorInformation(i){return Se(this,null,function*(){return Gt(this.http.get(this.config.urls.error.replace("9999",i)))})}executeCustomJSForServiceLaunch(){udsData.custom_js_for_service_launch!==void 0&&this.eval(udsData.custom_js_for_service_launch)}gotoAdmin(){window.location.href=this.config.urls.admin}logout(){window.location.href=this.config.urls.logout}download(i){return Se(this,null,function*(){let r=document.getElementById("download-frm");r||(r=document.createElement("iframe"),r.id="download-frm",r.style.display="none",document.body.appendChild(r)),r.src=i,r.onload=()=>{alert("Error downloading file. Please try again later.")}})}sleep(i){return new Promise(r=>setTimeout(r,i))}launchURL(i){this.plugin.launchURL(i)}getAuthCustomJavascript(i){return Se(this,null,function*(){return Gt(this.http.get(this.config.urls.custom_auth+i,{responseType:"text"}))})}switchTheme(i){let r=document.getElementsByTagName("html")[0];[OE,RE].forEach(o=>{r.classList.contains(o)&&r.classList.remove(o)}),r.classList.add(i?OE:RE)}putOnStorage(i,r){typeof Storage!==void 0&&localStorage.setItem(i,r)}getFromStorage(i){return typeof Storage!==void 0?localStorage.getItem(i):null}eval(i){QV(i)}};n.\u0275fac=function(r){return new(r||n)(k(Np),k(cf),k(oi))},n.\u0275prov=C({token:n,factory:n.\u0275fac});let t=n;return t})();var Sv=(()=>{let n=class n{constructor(i){this.api=i}canActivate(i,r){return this.api.user.isLogged?!0:(this.api.router.navigate(["login"]),!1)}};n.\u0275fac=function(r){return new(r||n)(k(Ae))},n.\u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"});let t=n;return t})();var ZV=["trigger"],KV=["panel"],XV=[[["mat-select-trigger"]],"*"],JV=["mat-select-trigger","*"];function e2(t,n){if(t&1&&(h(0,"span",4),b(1),p()),t&2){let e=R();_(),lt(e.placeholder)}}function t2(t,n){t&1&&he(0)}function n2(t,n){if(t&1&&(h(0,"span",11),b(1),p()),t&2){let e=R(2);_(),lt(e.triggerValue)}}function i2(t,n){if(t&1&&(h(0,"span",5),F(1,t2,1,0)(2,n2,2,1,"span",11),p()),t&2){let e=R();_(),He(e.customTrigger?1:2)}}function r2(t,n){if(t&1){let e=Ce();h(0,"div",12,1),B("@transformPanel.done",function(r){re(e);let o=R();return oe(o._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){re(e);let o=R();return oe(o._handleKeydown(r))}),he(2,1),p()}if(t&2){let e=R();Gw("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),D("ngClass",e.panelClass)("@transformPanel","showing"),_e("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var o2={transformPanelWrap:Nn("transformPanelWrap",[Xt("* => void",MD("@transformPanel",[ID()],{optional:!0}))]),transformPanel:Nn("transformPanel",[vn("void",rt({opacity:0,transform:"scale(1, 0.8)"})),Xt("void => showing",gn("120ms cubic-bezier(0, 0, 0.2, 1)",rt({opacity:1,transform:"scale(1, 1)"}))),Xt("* => void",gn("100ms linear",rt({opacity:0})))])};var NE=new x("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(it);return()=>t.scrollStrategies.reposition()}});function s2(t){return()=>t.scrollStrategies.reposition()}var a2=new x("MAT_SELECT_CONFIG"),l2={provide:NE,deps:[it],useFactory:s2},c2=new x("MatSelectTrigger"),Tv=class{source;value;constructor(n,e){this.source=n,this.value=e}},PE=(()=>{class t{_viewportRuler=u(ps);_changeDetectorRef=u(Pe);_elementRef=u(U);_dir=u(kt,{optional:!0});_idGenerator=u($e);_parentFormField=u(fl,{optional:!0});ngControl=u(Vi,{self:!0,optional:!0});_liveAnnouncer=u(tD);_defaultOptions=u(a2,{optional:!0});options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let i=this.options.toArray()[e];if(i){let r=this.panel.nativeElement,o=wD(e,this.options,this.optionGroups),s=i._getHostElement();e===0&&o===1?r.scrollTop=0:r.scrollTop=xD(s.offsetTop,s.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new Tv(this,e)}_scrollStrategyFactory=u(NE);_panelOpen=!1;_compareWith=(e,i)=>e===i;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new M;_errorStateTracker;stateChanges=new M;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_panelDoneAnimatingStream=new M;_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;disableRipple=!1;tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(Ms.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;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)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";_initialized=new M;optionSelectionChanges=Bn(()=>{let e=this.options;return e?e.changes.pipe(Ke(e),tt(()=>bt(...e.map(i=>i.onSelectionChange)))):this._initialized.pipe(tt(()=>this.optionSelectionChanges))});openedChange=new H;_openedStream=this.openedChange.pipe(ie(e=>e),q(()=>{}));_closedStream=this.openedChange.pipe(ie(e=>!e),q(()=>{}));selectionChange=new H;valueChange=new H;constructor(){let e=u(Nu),i=u(Pn,{optional:!0}),r=u(dl,{optional:!0}),o=u(new yi("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new Ds(e,this.ngControl,r,i,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=o==null?0:parseInt(o)||0,this.id=this.id}ngOnInit(){this._selectionModel=new vu(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Wi(),xe(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(xe(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(xe(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Ke(null),xe(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._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_trackedModal=null;_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=`${this.id}-panel`;this._trackedModal&&Mu(this._trackedModal,"aria-owns",i),Gg(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;Mu(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}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}updateErrorState(){this._errorStateTracker.updateErrorState()}_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,s=this._keyManager;if(!s.isTyping()&&o&&!pt(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){let a=this.selected;s.onKeydown(e);let l=this.selected;l&&a!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){let i=this._keyManager,r=e.keyCode,o=r===40||r===38,s=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(!s&&(r===13||r===32)&&i.activeItem&&!pt(e))e.preventDefault(),i.activeItem._selectViaInteraction();else if(!s&&this._multiple&&r===65&&e.ctrlKey){e.preventDefault();let a=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(a?l.select():l.deselect())})}else{let a=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==a&&i.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(je(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.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}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof Za?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Iu(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=bt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(xe(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),bt(...this.options.map(i=>i._stateChanges)).pipe(xe(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),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;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(){if(this._keyManager)if(this.empty){let e=-1;for(let i=0;i0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,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}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["mat-select"]],contentQueries:function(i,r,o){if(i&1&&(at(o,c2,5),at(o,Pu,5),at(o,uv,5)),i&2){let s;se(s=ae())&&(r.customTrigger=s.first),se(s=ae())&&(r.options=s),se(s=ae())&&(r.optionGroups=s)}},viewQuery:function(i,r){if(i&1&&(Re(ZV,5),Re(KV,5),Re(tv,5)),i&2){let o;se(o=ae())&&(r.trigger=o.first),se(o=ae())&&(r.panel=o.first),se(o=ae())&&(r._overlayDir=o.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(i,r){i&1&&B("keydown",function(s){return r._handleKeydown(s)})("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()}),i&2&&(_e("id",r.id)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r.panelOpen?r.id+"-panel":null)("aria-expanded",r.panelOpen)("aria-label",r.ariaLabel||null)("aria-required",r.required.toString())("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState)("aria-activedescendant",r._getAriaActiveDescendant()),ce("mat-mdc-select-disabled",r.disabled)("mat-mdc-select-invalid",r.errorState)("mat-mdc-select-required",r.required)("mat-mdc-select-empty",r.empty)("mat-mdc-select-multiple",r.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",W],disableRipple:[2,"disableRipple","disableRipple",W],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:ti(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",W],placeholder:"placeholder",required:[2,"required","required",W],multiple:[2,"multiple","multiple",W],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",W],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",ti],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[Be([{provide:ul,useExisting:t},{provide:dv,useExisting:t}]),Oe,qe],ngContentSelectors:JV,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(i,r){if(i&1){let o=Ce();Ze(XV),h(0,"div",2,0),B("click",function(){return re(o),oe(r.open())}),h(3,"div",3),F(4,e2,2,1,"span",4)(5,i2,3,1,"span",5),p(),h(6,"div",6)(7,"div",7),Zn(),h(8,"svg",8),T(9,"path",9),p()()()(),F(10,r2,3,9,"ng-template",10),B("backdropClick",function(){return re(o),oe(r.close())})("attach",function(){return re(o),oe(r._onAttached())})("detach",function(){return re(o),oe(r.close())})}if(i&2){let o=St(1);_(3),_e("id",r._valueId),_(),He(r.empty?4:5),_(6),D("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||o)("cdkConnectedOverlayOpen",r.panelOpen)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)}},dependencies:[Za,tv,Xo],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}'],encapsulation:2,data:{animation:[o2.transformPanel]},changeDetection:0})}return t})();var FE=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({providers:[l2],imports:[si,fv,Me,fr,lo,fv,Me]})}return t})();function u2(t,n){if(t&1&&(h(0,"mat-option",19),b(1),p()),t&2){let e=n.$implicit;D("value",e.id),_(),Ie(" ",e.name," ")}}function f2(t,n){if(t&1){let e=Ce();h(0,"div",9)(1,"mat-form-field",16)(2,"mat-label")(3,"uds-translate"),b(4,"Authenticator"),p()(),h(5,"mat-select",17),B("selectionChange",function(r){re(e);let o=R();return oe(o.changeAuth(r.value))}),F(6,u2,2,2,"mat-option",18),p()()()}if(t&2){let e=R();_(5),D("value",e.auths[0].id),_(),D("ngForOf",e.auths)}}var Av=(()=>{let n=class n{constructor(i){this.api=i,this.auth={},this.title="UDS Enterprise",this.title=i.config.site_name,this.auths=i.config.authenticators.slice(0),this.auths.sort((r,o)=>r.priority-o.priority)}ngOnInit(){let i=document.getElementById("loginform");i.action=this.api.config.urls.login;let r=document.getElementById("token");r.name=this.api.csrfField;let o=document.cookie.split(";").find(s=>s.trim().startsWith("csrftoken="))||"=";r.value=o.split("=")[1],this.auth=document.getElementById("authenticator"),this.auths.length>0&&(this.auth.value=this.auths[0].id,this.changeAuth(this.auth.value)),this.api.errors.length>0&&this.api.gui.alert(django.gettext("Errors found"),"
"+this.api.errors.join("
")+"
")}changeAuth(i){this.auth.value=i;let r=o=>{this.api.eval(o)};for(let o of this.auths)o.id===i&&o.is_custom&&(document.getElementsByClassName("login-form")[0].setAttribute("style","display: none;"),this.api.getAuthCustomJavascript(o.id).then(s=>r(s)))}launch(){return document.getElementById("loginform").submit(),!0}};n.\u0275fac=function(r){return new(r||n)(S(Ae))},n.\u0275cmp=A({type:n,selectors:[["uds-login"]],standalone:!1,decls:29,vars:6,consts:[["id","loginform","method","post",3,"ngSubmit"],["name","","id","token","value","","type","hidden"],["name","logouturl","id","id_logouturl","value","","type","hidden"],["name","authenticator","id","authenticator","value","","type","hidden"],[1,"login-container"],[1,"login-brand"],[3,"src"],[1,"login-info"],[1,"login-form"],[1,"login-field"],["matInput","","id","id_user","name","user","value","","required","","autofocus",""],["matInput","","id","id_password","type","password","name","password","data-eye","",1,"form-control"],["class","login-field",4,"ngIf"],[1,"login-button"],["mat-stroked-button","","color","primary","type","submit"],[1,"site-info",3,"innerHTML"],["appaerance","standard"],[3,"selectionChange","value"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(r,o){r&1&&(h(0,"form",0),B("ngSubmit",function(){return o.launch()}),T(1,"input",1)(2,"input",2)(3,"input",3),h(4,"div",4)(5,"div",5),T(6,"img",6),p(),h(7,"div",7),b(8),p(),h(9,"div",8)(10,"div",9)(11,"mat-form-field")(12,"mat-label")(13,"uds-translate"),b(14,"Username"),p()(),T(15,"input",10),p()(),h(16,"div",9)(17,"mat-form-field")(18,"mat-label")(19,"uds-translate"),b(20,"Password"),p()(),T(21,"input",11),p()(),F(22,f2,7,2,"div",12),h(23,"div",13)(24,"button",14)(25,"uds-translate"),b(26,"Login"),p()()()(),T(27,"div",15),Jn(28,"safeHtml"),p()()),r&2&&(_(6),D("src",o.api.staticURL("modern/img/login-img.png"),mt),_(2),Ie(" ",o.title," "),_(14),D("ngIf",o.auths.length>1),_(5),D("innerHTML",ei(28,4,o.api.config.site_information),Xn))},dependencies:[Tt,At,Ts,Ss,Pn,li,Cr,ci,Dr,PE,Pu,ze,_r],styles:[".login-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.login-brand[_ngcontent-%COMP%]{margin:1rem 0 0}.login-info[_ngcontent-%COMP%]{margin:1rem 0}.login-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;-moz-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2);box-shadow:0 2px 2px #00000024,0 3px 1px -2px #0000001f,0 1px 5px #0003;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.login-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.login-button[_ngcontent-%COMP%]{margin:2rem}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width: 744px){.login-form[_ngcontent-%COMP%]{min-width:80%}}"]});let t=n;return t})();function h2(t,n){if(t&1){let e=Ce();h(0,"div",6),B("click",function(){let r=re(e).$implicit,o=R();return oe(o.api.download(r.url))}),h(1,"div",7),T(2,"img",8),p(),h(3,"div",9),b(4),p(),h(5,"div",10),b(6),p()()}if(t&2){let e=n.$implicit,i=R();$t(i.css(e)),_(2),D("src",i.img(e.name),mt),_(2),gp(" ",i.legacy(e)," ",e.name," (",e.url.split(".").pop(),") "),_(2),Ie(" ",e.description," ")}}var LE=(()=>{let n=class n{constructor(i){this.api=i}ngOnInit(){}img(i){return this.api.staticURL("modern/img/"+i+".png")}css(i){let r=["plugin"];return i.legacy&&r.push("legacy"),r}legacy(i){return i.legacy?"Legacy":""}};n.\u0275fac=function(r){return new(r||n)(S(Ae))},n.\u0275cmp=A({type:n,selectors:[["uds-client-download"]],standalone:!1,decls:13,vars:1,consts:[[1,"plugins-container"],[1,"banner"],[1,"banner-text"],[1,"plugins"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"platform"],[1,"description"]],template:function(r,o){r&1&&(h(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1")(4,"uds-translate"),b(5,"UDS Client"),p()()()(),h(6,"div",3),F(7,h2,7,7,"div",4),p(),h(8,"div",5)(9,"ul")(10,"li")(11,"uds-translate"),b(12,"Download UDS client for your platform"),p()()()()()),r&2&&(_(7),D("ngForOf",o.api.plugins))},dependencies:[Tt,ze],styles:[".plugins-container[_ngcontent-%COMP%]{margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:2rem}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:3rem;text-align:center}.banner-text[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1rem}.plugins[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:center}.plugin[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;padding:1rem;border-radius:1rem;box-shadow:0 1rem 2rem #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 15%}.plugin.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;flex:1 0 19%;max-width:20%}.plugin.legacy[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:5rem}.plugin[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem #00000040,0 10px 10px #00000038;background-color:#0000001a}.image[_ngcontent-%COMP%]{display:flex;justify-content:center}.platform[_ngcontent-%COMP%]{text-align:center;font-size:2rem}.description[_ngcontent-%COMP%]{display:flex;text-align:center;justify-content:center;margin-top:.5rem} .dark-theme uds-client-download{color:#fff!important} .dark-theme .plugin.legacy{background-color:#a9a9a9} .dark-theme .plugin:hover{background-color:#ffffff1a}"]});let t=n;return t})();function m2(t,n){if(t&1){let e=Ce();h(0,"div",6),B("click",function(){let r=re(e).$implicit,o=R();return oe(o.api.download(r.url))}),h(1,"div",7),T(2,"img",8),p(),T(3,"div",9),Jn(4,"safeHtml"),T(5,"div",10),Jn(6,"safeHtml"),p()}if(t&2){let e=n.$implicit,i=R();$t(i.css(e)),_(2),D("src",i.img(e.name),mt),_(),D("innerHTML",ei(4,5,e.name),Xn),_(2),D("innerHTML",ei(6,7,e.description),Xn)}}var VE=(()=>{let n=class n{constructor(i){this.api=i,this.actors=[]}ngOnInit(){this.actors=[];let i=[];for(let r of this.api.actors)r.legacy?i.push(r):this.actors.push(r);for(let r of i)this.actors.push(r)}img(i){let r=(i.split(".").pop()||"").toLowerCase(),o="Linux";return r==="exe"?o="Windows":r==="pkg"&&(o="MacOS"),this.api.staticURL("modern/img/"+o+".png")}css(i){let r=["actor"];return i.legacy&&r.push("legacy"),r}};n.\u0275fac=function(r){return new(r||n)(S(Ae))},n.\u0275cmp=A({type:n,selectors:[["uds-downloads"]],standalone:!1,decls:13,vars:1,consts:[[1,"actors-container"],[1,"banner"],[1,"banner-text"],[1,"actors"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"name",3,"innerHTML"],[1,"description",3,"innerHTML"]],template:function(r,o){r&1&&(h(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1")(4,"uds-translate"),b(5,"Downloads"),p()()()(),h(6,"div",3),F(7,m2,7,9,"div",4),p(),h(8,"div",5)(9,"ul")(10,"li")(11,"uds-translate"),b(12,"Always download the UDS actor matching your platform"),p()()()()()),r&2&&(_(7),D("ngForOf",o.actors))},dependencies:[Tt,ze,_r],styles:[".actors-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2em;text-align:center}.actors[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-around;align-content:center;margin:auto}.actor[_ngcontent-%COMP%]{border:1px solid;margin-top:1rem;padding:1em;border-radius:1rem;box-shadow:0 1rem 2rem #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 34%;margin-right:1em}.actor.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;max-width:50%}.actor[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem #00000040,0 10px 10px #00000038;background-color:#0000001a}.image[_ngcontent-%COMP%]{display:block;float:left;padding-right:1rem;height:100%}.image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:4rem}.name[_ngcontent-%COMP%]{font-size:1.5em;margin-bottom:1em;font-weight:700;overflow:hidden} .dark-theme uds-downloads{color:#fff!important} .dark-theme .actor.legacy{background-color:#464646}"]});let t=n;return t})();var kv=new x("CdkAccordion"),jE=(()=>{class t{_stateChanges=new M;_openCloseAllActions=new M;id=u($e).getId("cdk-accordion-");multi=!1;openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",W]},exportAs:["cdkAccordion"],features:[Be([{provide:kv,useExisting:t}]),Oe,qe]})}return t})(),BE=(()=>{class t{accordion=u(kv,{optional:!0,skipSelf:!0});_changeDetectorRef=u(Pe);_expansionDispatcher=u(yu);_openCloseAllSubscription=me.EMPTY;closed=new H;opened=new H;destroyed=new H;expandedChange=new H;id=u($e).getId("cdk-accordion-child-");get expanded(){return this._expanded}set expanded(e){if(this._expanded!==e){if(this._expanded=e,this.expandedChange.emit(e),e){this.opened.emit();let i=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,i)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}_expanded=!1;disabled=!1;_removeUniqueSelectionListener=()=>{};constructor(){}ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((e,i)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===i&&this.id!==e&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",W],disabled:[2,"disabled","disabled",W]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Be([{provide:kv,useValue:void 0}]),Oe]})}return t})(),zE=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({})}return t})();var p2=["body"],g2=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],v2=["mat-expansion-panel-header","*","mat-action-row"];function y2(t,n){}var _2=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],b2=["mat-panel-title","mat-panel-description","*"];function w2(t,n){if(t&1&&(h(0,"span",1),Zn(),h(1,"svg",2),T(2,"path",3),p()()),t&2){let e=R();D("@indicatorRotate",e._getExpandedState())}}var Ov=new x("MAT_ACCORDION"),UE="225ms cubic-bezier(0.4,0.0,0.2,1)",$E={indicatorRotate:Nn("indicatorRotate",[vn("collapsed, void",rt({transform:"rotate(0deg)"})),vn("expanded",rt({transform:"rotate(180deg)"})),Xt("expanded <=> collapsed, void => collapsed",gn(UE))]),bodyExpansion:Nn("bodyExpansion",[vn("collapsed, void",rt({height:"0px",visibility:"hidden"})),vn("expanded",rt({height:"*",visibility:""})),Xt("expanded <=> collapsed, void => collapsed",gn(UE))])},GE=new x("MAT_EXPANSION_PANEL"),x2=(()=>{class t{_template=u(xt);_expansionPanel=u(GE,{optional:!0});constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]})}return t})(),WE=new x("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),hl=(()=>{class t extends BE{_viewContainerRef=u(st);_animationMode=u(Je,{optional:!0});_animationsDisabled;_document=u(X);get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=e}_hideToggle=!1;get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_togglePosition;afterExpand=new H;afterCollapse=new H;_inputChanges=new M;accordion=u(Ov,{optional:!0,skipSelf:!0});_lazyContent;_body;_portal;_headerId=u($e).getId("mat-expansion-panel-header-");constructor(){super();let e=u(WE,{optional:!0});this._expansionDispatcher=u(yu),this._animationsDisabled=this._animationMode==="NoopAnimations",e&&(this.hideToggle=e.hideToggle)}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(Ke(null),ie(()=>this.expanded&&!this._portal),je(1)).subscribe(()=>{this._portal=new On(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._inputChanges.complete()}_containsFocus(){if(this._body){let e=this._document.activeElement,i=this._body.nativeElement;return e===i||i.contains(e)}return!1}_animationStarted(e){!HE(e)&&!this._animationsDisabled&&this._body&&this._body?.nativeElement.setAttribute("inert","")}_animationDone(e){HE(e)||(e.toState==="expanded"?this.afterExpand.emit():e.toState==="collapsed"&&this.afterCollapse.emit(),!this._animationsDisabled&&this._body&&this._body.nativeElement.removeAttribute("inert"))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(i,r,o){if(i&1&&at(o,x2,5),i&2){let s;se(s=ae())&&(r._lazyContent=s.first)}},viewQuery:function(i,r){if(i&1&&Re(p2,5),i&2){let o;se(o=ae())&&(r._body=o.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(i,r){i&2&&ce("mat-expanded",r.expanded)("_mat-animation-noopable",r._animationsDisabled)("mat-expansion-panel-spacing",r._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",W],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[Be([{provide:Ov,useValue:void 0},{provide:GE,useExisting:t}]),Oe,Ve,qe],ngContentSelectors:v2,decls:7,vars:4,consts:[["body",""],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(i,r){if(i&1){let o=Ce();Ze(g2),he(0),h(1,"div",1,0),B("@bodyExpansion.start",function(a){return re(o),oe(r._animationStarted(a))})("@bodyExpansion.done",function(a){return re(o),oe(r._animationDone(a))}),h(3,"div",2),he(4,1),F(5,y2,0,0,"ng-template",3),p(),he(6,2),p()}i&2&&(_(),D("@bodyExpansion",r._getExpandedState())("id",r.id),_e("aria-labelledby",r._headerId),_(4),D("cdkPortalOutlet",r._portal))},dependencies:[io],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color, var(--mat-sys-surface));color:var(--mat-expansion-container-text-color, var(--mat-sys-on-surface));border-radius:var(--mat-expansion-container-shape, 12px)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape, 12px);border-top-left-radius:var(--mat-expansion-container-shape, 12px)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape, 12px);border-bottom-left-radius:var(--mat-expansion-container-shape, 12px)}@media(forced-colors: active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-sys-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-sys-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-sys-body-large-tracking))}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color, var(--mat-sys-outline))}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[$E.bodyExpansion]},changeDetection:0})}return t})();function HE(t){return t.fromState==="void"}var ml=(()=>{class t{panel=u(hl,{host:!0});_element=u(U);_focusMonitor=u(Rn);_changeDetectorRef=u(Pe);_animationMode=u(Je,{optional:!0});_parentChangeSubscription=me.EMPTY;constructor(){u(ct).load(Li);let e=this.panel,i=u(WE,{optional:!0}),r=u(new yi("tabindex"),{optional:!0}),o=e.accordion?e.accordion._stateChanges.pipe(ie(s=>!!(s.hideToggle||s.togglePosition))):ft;this.tabIndex=parseInt(r||"")||0,this._parentChangeSubscription=bt(e.opened,e.closed,o,e._inputChanges.pipe(ie(s=>!!(s.hideToggle||s.disabled||s.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(ie(()=>e._containsFocus())).subscribe(()=>this._focusMonitor.focusVia(this._element,"program")),i&&(this.expandedHeight=i.expandedHeight,this.collapsedHeight=i.collapsedHeight)}expandedHeight;collapsedHeight;tabIndex=0;get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:pt(e)||(e.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e);return}}focus(e,i){e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(i,r){i&1&&B("click",function(){return r._toggle()})("keydown",function(s){return r._keydown(s)}),i&2&&(_e("id",r.panel._headerId)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r._getPanelId())("aria-expanded",r._isExpanded())("aria-disabled",r.panel.disabled),da("height",r._getHeaderHeight()),ce("mat-expanded",r._isExpanded())("mat-expansion-toggle-indicator-after",r._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",r._getTogglePosition()==="before")("_mat-animation-noopable",r._animationMode==="NoopAnimations"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:ti(e)]},features:[Oe],ngContentSelectors:b2,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(i,r){i&1&&(Ze(_2),h(0,"span",0),he(1),he(2,1),he(3,2),p(),F(4,w2,3,1,"span",1)),i&2&&(ce("mat-content-hide-toggle",!r._showToggle()),_(4),He(r._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height, 48px);font-family:var(--mat-expansion-header-text-font, var(--mat-sys-title-medium-font));font-size:var(--mat-expansion-header-text-size, var(--mat-sys-title-medium-size));font-weight:var(--mat-expansion-header-text-weight, var(--mat-sys-title-medium-weight));line-height:var(--mat-expansion-header-text-line-height, var(--mat-sys-title-medium-line-height));letter-spacing:var(--mat-expansion-header-text-tracking, var(--mat-sys-title-medium-tracking))}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height, 64px)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color, var(--mat-sys-surface))}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color, var(--mat-sys-on-surface))}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color, var(--mat-sys-on-surface-variant))}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-legacy-header-indicator-display, none)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-header-indicator-display, inline-block)}@media(forced-colors: active){.mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}}'],encapsulation:2,data:{animation:[$E.indicatorRotate]},changeDetection:0})}return t})(),df=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]})}return t})(),uf=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return t})(),ff=(()=>{class t extends jE{_keyManager;_ownHeaders=new qn;_headers;hideToggle=!1;displayMode="default";togglePosition="after";ngAfterContentInit(){this._headers.changes.pipe(Ke(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(i=>i.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new ys(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=P({type:t,selectors:[["mat-accordion"]],contentQueries:function(i,r,o){if(i&1&&at(o,ml,5),i&2){let s;se(s=ae())&&(r._headers=s)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(i,r){i&2&&ce("mat-accordion-multi",r.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",W],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[Be([{provide:Ov,useExisting:t}]),Oe,Ve]})}return t})(),qE=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({imports:[Me,zE,Pi]})}return t})();var C2=["mat-menu-item",""],D2=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],E2=["mat-icon, [matMenuItemIcon]","*"];function I2(t,n){t&1&&(Zn(),h(0,"svg",2),T(1,"polygon",3),p())}var M2=["*"];function S2(t,n){if(t&1){let e=Ce();h(0,"div",0),B("click",function(){re(e);let r=R();return oe(r.closed.emit("click"))})("@transformMenu.start",function(r){re(e);let o=R();return oe(o._onAnimationStart(r))})("@transformMenu.done",function(r){re(e);let o=R();return oe(o._onAnimationDone(r))}),h(1,"div",1),he(2),p()()}if(t&2){let e=R();$t(e._classList),D("id",e.panelId)("@transformMenu",e._panelAnimationState),_e("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}var Nv=new x("MAT_MENU_PANEL"),co=(()=>{class t{_elementRef=u(U);_document=u(X);_focusMonitor=u(Rn);_parentMenu=u(Nv,{optional:!0});_changeDetectorRef=u(Pe);role="menuitem";disabled=!1;disableRipple=!1;_hovered=new M;_focused=new M;_highlighted=!1;_triggersSubmenu=!1;constructor(){u(ct).load(Li),this._parentMenu?.addItem?.(this)}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let e=this._elementRef.nativeElement.cloneNode(!0),i=e.querySelectorAll("mat-icon, .material-icons");for(let r=0;r enter",gn("120ms cubic-bezier(0, 0, 0.2, 1)",rt({opacity:1,transform:"scale(1)"}))),Xt("* => void",gn("100ms 25ms linear",rt({opacity:0})))]),fadeInItems:Nn("fadeInItems",[vn("showing",rt({opacity:1})),Xt("void => *",[rt({opacity:0}),gn("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},ZQ=hf.fadeInItems,KQ=hf.transformMenu,A2=new x("mat-menu-default-options",{providedIn:"root",factory:k2});function k2(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var ji=(()=>{class t{_elementRef=u(U);_changeDetectorRef=u(Pe);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_allItems;_directDescendantItems=new qn;_classList={};_panelAnimationState="void";_animationDone=new M;_isAnimating;parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger;hasBackdrop;set panelClass(e){let i=this._previousPanelClass,r=w({},this._classList);i&&i.length&&i.split(" ").forEach(o=>{r[o]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(o=>{r[o]=!0}),this._elementRef.nativeElement.className=""),this._classList=r}_previousPanelClass;get classList(){return this.panelClass}set classList(e){this.panelClass=e}closed=new H;close=this.closed;panelId=u($e).getId("mat-menu-panel-");_injector=u(ye);constructor(){let e=u(A2);this.overlayPanelClass=e.overlayPanelClass||"",this._xPosition=e.xPosition,this._yPosition=e.yPosition,this.backdropClass=e.backdropClass,this.overlapTrigger=e.overlapTrigger,this.hasBackdrop=e.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new ys(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Ke(this._directDescendantItems),tt(e=>bt(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{let i=this._keyManager;if(this._panelAnimationState==="enter"&&i.activeItem?._hasFocus()){let r=e.toArray(),o=Math.max(0,Math.min(r.length-1,i.activeItemIndex||0));r[o]&&!r[o].disabled?i.setActiveItem(o):i.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy()}_hovered(){return this._directDescendantItems.changes.pipe(Ke(this._directDescendantItems),tt(i=>bt(...i.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){let i=e.keyCode,r=this._keyManager;switch(i){case 27:pt(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(i===38||i===40)&&r.setFocusOrigin("keyboard"),r.onKeydown(e);return}}focusFirstItem(e="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=Ut(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){let r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&i&&i.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){}setPositionClasses(e=this.xPosition,i=this.yPosition){this._classList=ne(w({},this._classList),{"mat-menu-before":e==="before","mat-menu-after":e==="after","mat-menu-above":i==="above","mat-menu-below":i==="below"}),this._changeDetectorRef.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,e.toState==="enter"&&this._keyManager.activeItemIndex===0&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Ke(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["mat-menu"]],contentQueries:function(i,r,o){if(i&1&&(at(o,T2,5),at(o,co,5),at(o,co,4)),i&2){let s;se(s=ae())&&(r.lazyContent=s.first),se(s=ae())&&(r._allItems=s),se(s=ae())&&(r.items=s)}},viewQuery:function(i,r){if(i&1&&Re(xt,5),i&2){let o;se(o=ae())&&(r.templateRef=o.first)}},hostVars:3,hostBindings:function(i,r){i&2&&_e("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",W],hasBackdrop:[2,"hasBackdrop","hasBackdrop",e=>e==null?null:W(e)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[Be([{provide:Nv,useExisting:t}]),Oe],ngContentSelectors:M2,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","id"],[1,"mat-mdc-menu-content"]],template:function(i,r){i&1&&(Ze(),F(0,S2,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-sys-surface-container));box-shadow:var(--mat-menu-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.mat-mdc-menu-panel.ng-animating:has(.mat-mdc-menu-content:empty){display:none}@media(forced-colors: active){.mat-mdc-menu-panel{outline:solid 1px}}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-sys-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing, 8px);margin-top:var(--mat-menu-divider-top-spacing, 8px)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px;padding-left:var(--mat-menu-item-leading-spacing, 12px);padding-right:var(--mat-menu-item-trailing-spacing, 12px);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-menu-item::-moz-focus-inner{border:0}[dir=rtl] .mat-mdc-menu-item{padding-left:var(--mat-menu-item-trailing-spacing, 12px);padding-right:var(--mat-menu-item-leading-spacing, 12px)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-trailing-spacing, 12px)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-trailing-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-leading-spacing, 12px)}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing, 12px);height:var(--mat-menu-item-icon-size, 24px);width:var(--mat-menu-item-icon-size, 24px)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing, 12px)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(forced-colors: active){.mat-mdc-menu-item{margin-top:1px}}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size, 24px);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing, 12px)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing, 12px);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}@media(forced-colors: active){.mat-mdc-menu-submenu-icon{fill:CanvasText}}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[hf.transformMenu,hf.fadeInItems]},changeDetection:0})}return t})(),QE=new x("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(it);return()=>t.scrollStrategies.reposition()}});function O2(t){return()=>t.scrollStrategies.reposition()}var R2={provide:QE,deps:[it],useFactory:O2},YE=hn({passive:!0});var mf=(()=>{class t{_overlay=u(it);_element=u(U);_viewContainerRef=u(st);_menuItemInstance=u(co,{optional:!0,self:!0});_dir=u(kt,{optional:!0});_focusMonitor=u(Rn);_ngZone=u(O);_scrollStrategy=u(QE);_changeDetectorRef=u(Pe);_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=me.EMPTY;_hoverSubscription=me.EMPTY;_menuCloseSubscription=me.EMPTY;_parentMaterialMenu;_parentInnerPadding;_handleTouchStart=e=>{Qa(e)||(this._openedBy="touch")};_openedBy=void 0;get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._parentMaterialMenu,this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),(i==="click"||i==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}_menu;menuData;restoreFocus=!0;menuOpened=new H;onMenuOpen=this.menuOpened;menuClosed=new H;onMenuClose=this.menuClosed;constructor(){let e=u(Nv,{optional:!0});this._parentMaterialMenu=e instanceof ji?e:void 0,this._element.nativeElement.addEventListener("touchstart",this._handleTouchStart,YE)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,YE),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){let e=this.menu;if(this._menuOpen||!e)return;let i=this._createOverlay(e),r=i.getConfig(),o=r.positionStrategy;this._setPosition(e,o),r.hasBackdrop=e.hasBackdrop==null?!this.triggersSubmenu():e.hasBackdrop,i.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof ji&&(e._startAnimation(),e._directDescendantItems.changes.pipe(xe(e.close)).subscribe(()=>{o.withLockedPosition(!1).reapplyLastPosition(),o.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;let i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&(e==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof ji?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(ie(r=>r.toState==="void"),je(1),xe(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){let i=this._getOverlayConfig(e);this._subscribeToPositions(e,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe(r=>{this.menu instanceof ji&&this.menu._handleKeydown(r)})}return this._overlayRef}_getOverlayConfig(e){return new mr({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr"})}_subscribeToPositions(e,i){e.setPositionClasses&&i.positionChanges.subscribe(r=>{this._ngZone.run(()=>{let o=r.connectionPair.overlayX==="start"?"after":"before",s=r.connectionPair.overlayY==="top"?"below":"above";e.setPositionClasses(o,s)})})}_setPosition(e,i){let[r,o]=e.xPosition==="before"?["end","start"]:["start","end"],[s,a]=e.yPosition==="above"?["bottom","top"]:["top","bottom"],[l,c]=[s,a],[d,f]=[r,o],g=0;if(this.triggersSubmenu()){if(f=r=e.xPosition==="before"?"start":"end",o=d=r==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let m=this._parentMaterialMenu.items.first;this._parentInnerPadding=m?m._getHostElement().offsetTop:0}g=s==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(l=s==="top"?"bottom":"top",c=a==="top"?"bottom":"top");i.withPositions([{originX:r,originY:l,overlayX:d,overlayY:s,offsetY:g},{originX:o,originY:l,overlayX:f,overlayY:s,offsetY:g},{originX:r,originY:c,overlayX:d,overlayY:a,offsetY:-g},{originX:o,originY:c,overlayX:f,overlayY:a,offsetY:-g}])}_menuClosingActions(){let e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments(),r=this._parentMaterialMenu?this._parentMaterialMenu.closed:z(),o=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(ie(s=>s!==this._menuItemInstance),ie(()=>this._menuOpen)):z();return bt(e,r,o,i)}_handleMousedown(e){Ya(e)||(this._openedBy=e.button===0?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){let i=e.keyCode;(i===13||i===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(i===39&&this.dir==="ltr"||i===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(ie(e=>e===this._menuItemInstance&&!e.disabled),tc(0,js)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ji&&this.menu._isAnimating?this.menu._animationDone.pipe(je(1),tc(0,js),xe(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new On(e.templateRef,this._viewContainerRef)),this._portal}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(i,r){i&1&&B("click",function(s){return r._handleClick(s)})("mousedown",function(s){return r._handleMousedown(s)})("keydown",function(s){return r._handleKeydown(s)}),i&2&&_e("aria-haspopup",r.menu?"menu":null)("aria-expanded",r.menuOpen)("aria-controls",r.menuOpen?r.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]})}return t})(),ZE=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({providers:[R2],imports:[Ja,Me,si,fr,Me]})}return t})();var N2=["tooltip"],eI=20;var tI=new x("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(it);return()=>t.scrollStrategies.reposition({scrollThrottle:eI})}});function P2(t){return()=>t.scrollStrategies.reposition({scrollThrottle:eI})}var F2={provide:tI,deps:[it],useFactory:P2};function L2(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var V2=new x("mat-tooltip-default-options",{providedIn:"root",factory:L2});var XE="tooltip-panel",JE=hn({passive:!0}),j2=8,B2=8,z2=24,U2=200,nI=(()=>{class t{_overlay=u(it);_elementRef=u(U);_scrollDispatcher=u(ms);_viewContainerRef=u(st);_ngZone=u(O);_platform=u(Te);_ariaDescriber=u(KC);_focusMonitor=u(Rn);_dir=u(kt);_injector=u(ye);_defaultOptions=u(V2,{optional:!0});_overlayRef;_tooltipInstance;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_scrollStrategy=u(tI);_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=H2;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=ki(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let i=ki(e);this._disabled!==i&&(this._disabled=i,i?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=lr(e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=lr(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(e){let i=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(i)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_document=u(X);_touchstartTimeout=null;_destroyed=new M;constructor(){let e=this._defaultOptions;e&&(this._showDelay=e.showDelay,this._hideDelay=e.hideDelay,e.position&&(this.position=e.position),e.positionAtOrigin&&(this.positionAtOrigin=e.positionAtOrigin),e.touchGestures&&(this.touchGestures=e.touchGestures),e.tooltipClass&&(this.tooltipClass=e.tooltipClass)),this._dir.change.pipe(xe(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=j2}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(xe(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{e.removeEventListener(i,r,JE)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let r=this._createOverlay(i);this._detach(),this._portal=this._portal||new hr(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(xe(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&o._origin instanceof U)return this._overlayRef;this._detach()}let i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return r.positionChanges.pipe(xe(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${XE}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(xe(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(xe(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(xe(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&o.keyCode===27&&!pt(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let i=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset(w(w({},r.main),o.main)),this._addOffset(w(w({},r.fallback),o.fallback))])}_addOffset(e){let i=B2,r=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-i:e.originY==="bottom"?e.offsetY=i:e.originX==="start"?e.offsetX=r?-i:i:e.originX==="end"&&(e.offsetX=r?i:-i),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"||i=="below"?r={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={originX:"start",originY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={originX:"end",originY:"center"});let{x:o,y:s}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:s}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"?r={overlayX:"center",overlayY:"bottom"}:i=="below"?r={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={overlayX:"start",overlayY:"center"});let{x:o,y:s}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),Ut(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){let{overlayY:i,originX:r,originY:o}=e,s;if(i==="center"?this._dir&&this._dir.value==="rtl"?s=r==="end"?"left":"right":s=r==="start"?"left":"right":s=i==="bottom"&&o==="top"?"above":"below",s!==this._currentPosition){let a=this._overlayRef;if(a){let l=`${this._cssClassPrefix}-${XE}-`;a.removePanelClass(l+this._currentPosition),a.addPanelClass(l+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let i;e.x!==void 0&&e.y!==void 0&&(i=e),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let i=e.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},this._defaultOptions?.touchLongPressShowDelay??o)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{let r=i.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,JE)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let i=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let i=this._elementRef.nativeElement,r=i.style;(e==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(e==="on"||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){i&2&&ce("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return t})(),H2=(()=>{class t{_changeDetectorRef=u(Pe);_elementRef=u(U);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled;_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new M;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){let e=u(Je,{optional:!0});this._animationsDisabled=e==="NoopAnimations"}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>z2&&e.width>=U2}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:r),i.classList.add(e?r:o),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let s=getComputedStyle(i);(s.getPropertyValue("animation-duration")==="0s"||s.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,r){if(i&1&&Re(N2,7),i&2){let o;se(o=ae())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,r){i&1&&B("mouseleave",function(s){return r._handleMouseLeave(s)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,r){if(i&1){let o=Ce();h(0,"div",1,0),B("animationend",function(a){return re(o),oe(r._handleAnimationEnd(a))}),h(2,"div",2),b(3),p()()}i&2&&(ce("mdc-tooltip--multiline",r._isMultiline),D("ngClass",r.tooltipClass),_(3),lt(r.message))},dependencies:[Xo],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}return t})();var iI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({providers:[F2],imports:[Su,si,Me,Me,fr]})}return t})();function G2(t,n){if(t&1){let e=Ce();h(0,"button",14),B("click",function(){let r=re(e).$implicit,o=R(2);return oe(o.launch(r))}),h(1,"div",15),T(2,"img",9),b(3),p()()}if(t&2){let e=n.$implicit,i=R(2);_(2),D("src",i.getTransportIcon(e.id),mt),_(),Ie(" ",e.name," ")}}function W2(t,n){if(t&1){let e=Ce();h(0,"button",14),B("click",function(){re(e);let r=R(2);return oe(r.action("release"))}),h(1,"i",16),b(2,"delete"),p(),h(3,"uds-translate"),b(4," Release service"),p()()}}function q2(t,n){if(t&1){let e=Ce();h(0,"button",14),B("click",function(){re(e);let r=R(2);return oe(r.action("reset"))}),h(1,"i",16),b(2,"refresh"),p(),h(3,"uds-translate"),b(4," Reset service"),p()()}}function Y2(t,n){if(t&1&&(h(0,"button",17)(1,"uds-translate"),b(2,"Connections"),p()()),t&2){R();let e=St(2);D("matMenuTriggerFor",e)}}function Q2(t,n){if(t&1&&(h(0,"button",17)(1,"uds-translate"),b(2,"Actions"),p()()),t&2){R();let e=St(5);D("matMenuTriggerFor",e)}}function Z2(t,n){if(t&1&&(h(0,"button",18)(1,"i",16),b(2,"menu"),p()()),t&2){R();let e=St(9);D("matMenuTriggerFor",e)}}function K2(t,n){if(t&1){let e=Ce();h(0,"div")(1,"mat-menu",null,0),F(3,G2,4,2,"button",4),p(),h(4,"mat-menu",null,1),F(6,W2,5,0,"button",5)(7,q2,5,0,"button",5),p(),h(8,"mat-menu",null,2),F(10,Y2,3,1,"button",6)(11,Q2,3,1,"button",6),p(),h(12,"div",7)(13,"div",8),B("click",function(){re(e);let r=R();return oe(r.launch(null))}),T(14,"img",9),p(),h(15,"div",10)(16,"span",11),b(17),p()(),h(18,"div",12),F(19,Z2,3,1,"button",13),p()()()}if(t&2){let e=R();_(3),D("ngForOf",e.service.transports),_(3),D("ngIf",e.service.allow_users_remove),_(),D("ngIf",e.service.allow_users_reset),_(3),D("ngIf",e.showTransportsMenu()),_(),D("ngIf",e.hasActions()),_(),D("ngClass",e.serviceClass)("matTooltipDisabled",e.serviceTooltip==="")("matTooltip",e.serviceTooltip),_(2),D("src",e.serviceImage,mt),_(2),D("ngClass",e.serviceNameClass),_(),lt(e.serviceName),_(2),D("ngIf",e.hasMenu())}}var rI=32,oI=(()=>{let n=class n{constructor(i){this.api=i,this.service={}}get serviceImage(){return this.api.galleryImageURL(this.service.imageId)}get serviceName(){let i=this.service.visual_name;return i.length>rI&&(i=i.substring(0,rI-3)+"..."),i}get serviceTooltip(){return this.service.to_be_replaced!==null?this.service.to_be_replaced_text:this.service.maintenance?django.gettext("Service is in maintenance"):this.service.not_accesible?this.service.custom_calendar_text:this.serviceName!==this.service.name?this.service.name:""}get serviceClass(){let i=["service"];return this.service.to_be_replaced!=null?i.push("tobereplaced"):this.service.maintenance?i.push("maintenance"):this.service.not_accesible?i.push("forbidden"):this.service.in_use&&i.push("inuse"),i.length>1&&i.push("alert"),i}get serviceNameClass(){let i=[],r=Math.min(Math.floor((this.service.visual_name.length-1)/4)*4,28);return r>=16&&i.push("small-"+r.toString()),i}ngOnInit(){}getTransportIcon(i){return this.api.transportIconURL(i)}hasActions(){return this.service.allow_users_remove||this.service.allow_users_reset}showTransportsMenu(){return this.service.transports.length>1&&this.service.show_transports}hasMenu(){return this.service.maintenance===!1&&this.service.not_accesible===!1&&(this.hasActions()||this.showTransportsMenu())}notifyNotLaunching(i){this.api.gui.alert('

'+django.gettext("Launcher")+"

",i)}launch(i){return Se(this,null,function*(){if(this.service.maintenance)this.notifyNotLaunching(django.gettext("Service is in maintenance and cannot be launched"));else if(this.service.not_accesible){let r=this.service.custom_calendar_text||this.api.config.messages.calendar_denied;this.notifyNotLaunching('

'+django.gettext("This service is currently not accesible due to schedule restrictions.")+'

'+r+'

')}else{if((i===null||this.service.show_transports===!1)&&(i=this.service.transports[0]),this.service.custom_message_text!==null&&this.service.custom_message_text!==void 0){if((yield this.api.gui.yesno(django.gettext("Service message"),this.service.custom_message_text+"

"+django.gettext('Press "Yes" to continue, or "No" to cancel')+"

"))===!1)return;console.debug("Launching service with transport",i)}this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(i.link)}})}action(i){return Se(this,null,function*(){let r=(i==="release"?django.gettext("Release service: "):django.gettext("Reset service: "))+" "+this.serviceName,o=i==="release"?django.gettext("Service released"):django.gettext("Service reseted");(yield this.api.gui.yesno(r,django.gettext("Are you sure?")))!==!1&&this.api.action(i,this.service.id).then(s=>{s&&this.api.gui.alert(r,o)})})}};n.\u0275fac=function(r){return new(r||n)(S(Ae))},n.\u0275cmp=A({type:n,selectors:[["uds-service"]],inputs:{service:"service"},standalone:!1,decls:1,vars:1,consts:[["transports",""],["actions",""],["menu",""],[4,"ngIf"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["matTooltipShowDelay","1000","matTooltipPosition","above",3,"ngClass","matTooltipDisabled","matTooltip"],[1,"icon",3,"click"],[3,"src"],[1,"name"],[3,"ngClass"],[1,"menu"],["mat-icon-button","","class","service-menu",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"transport-item"],[1,"material-icons"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-icon-button","",1,"service-menu",3,"matMenuTriggerFor"]],template:function(r,o){r&1&&F(0,K2,20,12,"div",3),r&2&&D("ngIf",o.service.transports.length>0)},dependencies:[Xo,Tt,At,zD,ji,co,mf,nI,ze],styles:['.service[_ngcontent-%COMP%]{width:10rem;margin:0 1rem 2rem 0;padding:.5rem 0 1rem;border-radius:1rem;box-shadow:0 12px 18px #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-color:#00000038;display:flex;flex:1;align-items:center;justify-content:flex-start;flex-flow:column wrap;position:relative}.service-menu[_ngcontent-%COMP%]{border-radius:.6rem!important}.service[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px #00000040,0 10px 10px #00000038}.icon[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:center;transition:all .3s cubic-bezier(.25,.8,.25,1);width:6rem;height:6rem;margin:.5rem}.service[_ngcontent-%COMP%]:not(.forbidden):not(.maintenance):hover .icon[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.25,.8,.25,1);width:7rem;height:7rem;margin:0}.icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden}.forbidden[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .maintenance[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.5;z-index:10}.tobereplaced[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.7;z-index:10}.name[_ngcontent-%COMP%]{margin-top:.5em;font-size:1.05rem;width:calc(100% - 1em);display:flex;flex:1 0 auto;flex-flow:row;align-items:center;justify-content:center;padding:0 .5em;overflow:hidden;height:2.4em;text-align:center}.small-16[_ngcontent-%COMP%]{font-size:1.05rem}.small-20[_ngcontent-%COMP%]{font-size:1rem}.small-24[_ngcontent-%COMP%]{font-size:.95rem}.small-28[_ngcontent-%COMP%]{font-size:.9rem}.menu[_ngcontent-%COMP%]{position:absolute;top:2px;right:2px}.menu[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%]{cursor:pointer;background-color:#fffc}.menu[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1)}.transport-item[_ngcontent-%COMP%]{display:flex;align-items:center}.transport-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2em;margin-right:.4em}.alert[_ngcontent-%COMP%]:before{position:absolute;top:1rem;left:1rem;font-size:8rem;font-weight:500;font-family:Material Icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-moz-font-feature-settings:"liga";font-feature-settings:"liga";text-shadow:0 6px 8px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);z-index:1}.forbidden[_ngcontent-%COMP%]:before{color:#fc0000;content:"update"}.maintenance[_ngcontent-%COMP%]:before{color:#fcb900;content:"build"}.tobereplaced[_ngcontent-%COMP%]:before{color:#fc0000;content:"delete_forever"} .dark-theme .menu .mat-mdc-icon-button{background-color:#0003!important}']});let t=n;return t})();function J2(t,n){if(t&1&&T(0,"uds-service",8),t&2){let e=n.$implicit;D("service",e)}}function ej(t,n){if(t&1&&(h(0,"mat-expansion-panel",1)(1,"mat-expansion-panel-header",2)(2,"mat-panel-title")(3,"div",3),T(4,"img",4),b(5),p()(),h(6,"mat-panel-description",5),b(7),p()(),h(8,"div",6),F(9,J2,1,1,"uds-service",7),p()()),t&2){let e=R();D("expanded",e.expanded),_(),D("collapsedHeight","3rem")("expandedHeight","5rem"),_(3),D("src",e.groupImage,mt),_(),Ie(" ",e.group.name,""),_(2),Ie(" ",e.group.comments," "),_(2),D("ngForOf",e.sortedServices)}}var sI=(()=>{let n=class n{constructor(i){this.api=i,this.services=[],this.group={},this.expanded=!1}get groupImage(){return this.api.galleryImageURL(this.group.imageUuid)}get hasVisibleServices(){return this.services.length>0}get sortedServices(){return this.services.sort((i,r)=>i.visual_name>r.visual_name?1:i.visual_namer.name?1:i.name{let n=class n{constructor(i){this.api=i}ngOnInit(){}};n.\u0275fac=function(r){return new(r||n)(S(Ae))},n.\u0275cmp=A({type:n,selectors:[["uds-staff-info"]],standalone:!1,decls:1,vars:1,consts:[["class","staff-info",4,"ngIf"],[1,"staff-info"],[1,"staff-panel"],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(r,o){r&1&&F(0,oj,39,4,"div",0),r&2&&D("ngIf",o.api.staffInfo)},dependencies:[Tt,At,ff,hl,ml,uf,df,ze],styles:[".staff-info[_ngcontent-%COMP%]{margin-top:1rem;padding:1rem;background-color:#ebebeb}.staff-info[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{text-align:center}.staff-panel[_ngcontent-%COMP%]{background-color:#d4d4d4} .dark-theme .staff-info{margin-top:1rem;padding:1rem;background-color:#0f0f0f} .dark-theme .staff-panel{background-color:#2b2b2b}"]});let t=n;return t})();var aj=["input"],lI=(()=>{let n=class n{constructor(){this.updateEvent=new H,this.input=void 0}ngAfterViewInit(){if(this.input===void 0)throw new Error("input atrribute is not provided");let i=this.input;fi(i.nativeElement,"keyup").pipe(ie(Boolean),Fr(600),Wi(),Xe(()=>this.update(i.nativeElement.value))).subscribe()}update(i){this.updateEvent.emit(i.toLowerCase())}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=A({type:n,selectors:[["uds-filter"]],viewQuery:function(r,o){if(r&1&&Re(aj,7),r&2){let s;se(s=ae())&&(o.input=s.first)}},outputs:{updateEvent:"updateEvent"},standalone:!1,decls:9,vars:0,consts:[["input",""],[1,"filter"],["floatLabel","auto",1,"nav-input-field"],["matInput","","type","text"],["matSuffix","",1,"material-icons"]],template:function(r,o){r&1&&(h(0,"div",1)(1,"mat-form-field",2)(2,"mat-label")(3,"uds-translate"),b(4,"Filter"),p()(),T(5,"input",3,0),h(7,"i",4),b(8,"search"),p()()())},dependencies:[Cr,ci,EE,Dr,ze],styles:[".filter[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;justify-content:flex-end;font-size:.8rem}"]});let t=n;return t})();function cj(t,n){if(t&1){let e=Ce();h(0,"uds-filter",3),B("updateEvent",function(r){re(e);let o=R();return oe(o.update(r))}),p()}}function dj(t,n){if(t&1&&T(0,"uds-services-group",4),t&2){let e=n.$implicit,i=n.index;D("services",e.services)("group",e.group)("expanded",i===0)}}function uj(t,n){if(t&1){let e=Ce();h(0,"uds-filter",3),B("updateEvent",function(r){re(e);let o=R();return oe(o.update(r))}),p()}}var Pv=class{constructor(n){this.group=n,this.services=[]}},cI=(()=>{let n=class n{constructor(i){this.api=i,this.servicesInformation={autorun:!1,ip:"",nets:"",services:[],transports:""},this.group=[]}update(i){this.updateServices(i)}ngOnInit(){this.api.config.urls.launch?this.api.logout():this.loadServices()}autorun(){if(this.servicesInformation.autorun&&this.servicesInformation.services.length===1)if(this.servicesInformation.services[0].maintenance)this.api.gui.alert(django.gettext("Warning"),django.gettext("Service is in maintenance and cannot be executed"));else return this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(this.servicesInformation.services[0].transports[0].link),!0;return!1}loadServices(){this.api.user.isRestricted&&this.api.logout(),this.api.getServicesInformation().then(i=>{this.servicesInformation=i,this.autorun(),this.updateServices()})}updateServices(i=""){this.group=[];let r=null;this.servicesInformation.services.filter(o=>!i||o.visual_name.toLowerCase().includes(i)||o.group.name.toLowerCase().includes(i)).sort((o,s)=>o.group.priority!==s.group.priority?o.group.priority-s.group.priority:o.group.id>s.group.id?1:o.group.id{(r===null||o.group.id!==r.group.id)&&(r!==null&&this.group.push(r),r=new Pv(o.group)),r.services.push(o)}),r!==null&&this.group.push(r)}};n.\u0275fac=function(r){return new(r||n)(S(Ae))},n.\u0275cmp=A({type:n,selectors:[["uds-services-page"]],standalone:!1,decls:6,vars:3,consts:[[3,"updateEvent",4,"ngIf"],[1,"services-groups"],[3,"services","group","expanded",4,"ngFor","ngForOf"],[3,"updateEvent"],[3,"services","group","expanded"]],template:function(r,o){r&1&&(F(0,cj,1,0,"uds-filter",0),h(1,"div",1)(2,"mat-accordion"),F(3,dj,1,3,"uds-services-group",2),p()(),F(4,uj,1,0,"uds-filter",0),T(5,"uds-staff-info")),r&2&&(D("ngIf",o.servicesInformation.services.length>=o.api.config.min_for_filter&&o.api.config.site_filter_on_top),_(3),D("ngForOf",o.group),_(),D("ngIf",o.servicesInformation.services.length>=o.api.config.min_for_filter&&!o.api.config.site_filter_on_top))},dependencies:[Tt,At,ff,sI,aI,lI],styles:[".services-groups[_ngcontent-%COMP%]{padding-top:1rem}"]});let t=n;return t})();var dI=(()=>{let n=class n{constructor(i,r){this.api=i,this.route=r,this.error="",this.returnUrl="/"}ngOnInit(){return Se(this,null,function*(){yield this.getError()})}getError(){return Se(this,null,function*(){let i=this.route.snapshot.paramMap.get("id")||"-1";i==="19"&&(this.returnUrl="/mfa"),this.error=(yield this.api.getErrorInformation(i)).error})}};n.\u0275fac=function(r){return new(r||n)(S(Ae),S(Ni))},n.\u0275cmp=A({type:n,selectors:[["uds-error"]],standalone:!1,decls:14,vars:2,consts:[[1,"error-container"],[1,"graph"],["viewBox","0 0 55 41","xmlns","http://www.w3.org/2000/svg",1,"bird"],["d","M35.5 5L54.7.6H32.3L35.5 5zM12.4 40.8l10.3-10.1-6.2-6.7-4.1 16.8zM33.8 5.3L30.5.8l-5.4 4 8.7.5zM20.8 4.6L8.8 0l1.9 4.1 10.1.5zM0 5l15.2 15.4 7.5-14.2L0 5zM34.2 6.8l-9.9-.5-8 15.2 7.4 8.1 8-7.9 2.5-14.9z"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 32 32",1,"gears"],["d","M29.18 19.07c-1.678-2.908-.668-6.634 2.256-8.328L28.29 5.295c-.897.527-1.942.83-3.057.83-3.36 0-6.085-2.743-6.085-6.126h-6.29c.01 1.043-.25 2.102-.81 3.07-1.68 2.907-5.41 3.896-8.34 2.21L.566 10.727c.905.515 1.69 1.268 2.246 2.234 1.677 2.904.673 6.624-2.24 8.32l3.145 5.447c.895-.522 1.935-.82 3.044-.82 3.35 0 6.066 2.725 6.083 6.092h6.29c-.004-1.035.258-2.08.81-3.04 1.676-2.902 5.4-3.893 8.325-2.218l3.145-5.447c-.9-.515-1.678-1.266-2.232-2.226zM16 22.48c-3.578 0-6.48-2.902-6.48-6.48S12.423 9.52 16 9.52c3.578 0 6.48 2.902 6.48 6.48s-2.902 6.48-6.48 6.48z"],[1,"title"],[1,"description"],["mat-raised-button","","color","warn",3,"routerLink"]],template:function(r,o){r&1&&(h(0,"div",0)(1,"div",1),Zn(),h(2,"svg",2),T(3,"path",3),p(),h(4,"svg",4),T(5,"path",5),p()(),ud(),h(6,"h1",6)(7,"uds-translate"),b(8,"An error has occurred"),p()(),h(9,"p",7),b(10),p(),h(11,"a",8)(12,"uds-translate"),b(13,"Return"),p()()()),r&2&&(_(10),Ie(" ",o.error," "),_(),D("routerLink",o.returnUrl))},dependencies:[hs,BD,ze],styles:[".error-container[_ngcontent-%COMP%]{margin-top:3rem;text-align:center;position:relative}.title[_ngcontent-%COMP%]{display:block;font-size:2rem;font-weight:lighter;text-align:center}.description[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:lighter}.graph[_ngcontent-%COMP%]{position:relative}.gears[_ngcontent-%COMP%]{width:10rem;height:10rem;fill:#6aafe6;transition:easeInOutQuint();animation:_ngcontent-%COMP%_CogAnimation 5s infinite}.bird[_ngcontent-%COMP%]{position:absolute;width:3rem;height:3rem;fill:#30a9de;left:50%;top:50%;transform:translate(-50%,-50%)}@keyframes _ngcontent-%COMP%_CogAnimation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]});let t=n;return t})();var uI=(()=>{let n=class n{constructor(i){this.api=i,this.year=new Date().getFullYear()}ngOnInit(){this.year<2021&&(this.year=2021)}};n.\u0275fac=function(r){return new(r||n)(S(Ae))},n.\u0275cmp=A({type:n,selectors:[["uds-about"]],standalone:!1,decls:46,vars:3,consts:[[1,"about"],["rel","noopener noreferrer","href","http://www.udsenterprise.com","target","_blank"],["rel","noopener noreferrer","href","https://github.com/dkmstr/openuds","target","_blank"],[1,"components"],["rel","noopener noreferrer","href","https://www.python.org/","target","_blank"],["rel","noopener noreferrer","href","https://www.typescriptlang.org/","target","_blank"],["rel","noopener noreferrer","href","https://www.djangoproject.com/","target","_blank"],["rel","noopener noreferrer","href","https://angular.io","target","_blank"],["rel","noopener noreferrer","href","https://guac-dev.org/","target","_blank"],["rel","noopener noreferrer","href","https://weasyprint.org/","target","_blank"],["rel","noopener noreferrer","href","https://kde-look.org/content/show.php/Crystal+Project?content=60475)","target","_blank"],["rel","noopener noreferrer","href","https://github.com/NitruxSA/flattr-icons","target","_blank"]],template:function(r,o){r&1&&(h(0,"div",0)(1,"h1"),b(2),p(),h(3,"h3")(4,"a",1),b(5),p()(),h(6,"h4")(7,"uds-translate"),b(8,"You can access UDS Open Source code at"),p(),b(9,"\xA0"),h(10,"a",2),b(11,"OpenUDS github repository"),p()(),h(12,"div",3)(13,"h2")(14,"uds-translate"),b(15,"UDS has been developed using these components:"),p()(),h(16,"ul")(17,"li")(18,"a",4),b(19,"Python"),p()(),h(20,"li")(21,"a",5),b(22,"TypeScript"),p()(),h(23,"li")(24,"a",6),b(25,"Django"),p()(),h(26,"li")(27,"a",7),b(28,"Angular"),p()(),h(29,"li")(30,"a",8),b(31,"Guacamole"),p()(),h(32,"li")(33,"a",9),b(34,"weasyprint"),p()(),h(35,"li")(36,"a",10),b(37,"Crystal project icons"),p()(),h(38,"li")(39,"a",11),b(40,"Flattr Icons"),p()()(),h(41,"p")(42,"small"),b(43,"* "),h(44,"uds-translate"),b(45,"If you find that we missed any component, please let us know"),p()()()()()),r&2&&(_(2),pp("Universal Desktop Services ",o.api.config.version," build ",o.api.config.version_stamp,""),_(3),Ie(" \xA9 2012-",o.year," Virtual Cable S.L.U."))},dependencies:[ze],styles:["[_nghost-%COMP%]{display:flex;flex-flow:column;justify-content:center;align-items:center}.about[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{text-align:center}.about[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:center;font-size:1em;font-weight:400}.about[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}ul[_ngcontent-%COMP%]{padding:0}ul[_ngcontent-%COMP%]{list-style:none}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;text-decoration:none;color:#000;background-color:#fff;line-height:30px;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#ccc;padding-left:10px;cursor:pointer}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#3e6b2d}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-right:10px} .dark-theme .about{color:#fff!important} .dark-theme ul li a{color:#fff!important;background-color:inherit!important} .dark-theme ul li a:hover{color:#3e6b2d!important}"]});let t=n;return t})();var fI=(()=>{let n=class n{constructor(i){this.api=i}ngOnInit(){this.api.config.urls.launch&&this.api.launchURL(this.api.config.urls.launch)}};n.\u0275fac=function(r){return new(r||n)(S(Ae))},n.\u0275cmp=A({type:n,selectors:[["uds-launcher"]],standalone:!1,decls:24,vars:0,consts:[[1,"launcher"],[1,"launcher-box"],["routerLink","/client-download"]],template:function(r,o){r&1&&(h(0,"div",0)(1,"div",1)(2,"h1")(3,"uds-translate"),b(4,"UDS Service launcher"),p()(),h(5,"h4")(6,"uds-translate"),b(7,"The service you have requested is being launched."),p()(),h(8,"h5")(9,"uds-translate"),b(10,"Please, note that reloading this page will not work."),p()(),h(11,"h5")(12,"uds-translate"),b(13,"To relaunch service, you will have to do it from origin."),p()(),h(14,"h6")(15,"uds-translate"),b(16,"If the service does not launchs automatically, probably you dont have the UDS Client installed"),p()(),h(17,"h6")(18,"uds-translate"),b(19,"You can obtain it from the"),p(),b(20,"\xA0"),h(21,"a",2)(22,"uds-translate"),b(23,"UDS Client download page"),p()()()()())},dependencies:[hs,ze],styles:[".launcher[_ngcontent-%COMP%]{justify-content:center;display:flex;margin-top:1rem;font-size:larger}.launcher-box[_ngcontent-%COMP%]{box-shadow:0 12px 18px #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-radius:.5rem;border-color:#00000038;padding:1rem}.launcher-box[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{text-align:center}.launcher-box[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{margin-top:.6rem;margin-bottom:.6rem;font-weight:400}"]});let t=n;return t})();var fj=["input"],hj=["label"],mj=["*"],pj=new x("mat-checkbox-default-options",{providedIn:"root",factory:mI});function mI(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var Ot=function(t){return t[t.Init=0]="Init",t[t.Checked=1]="Checked",t[t.Unchecked=2]="Unchecked",t[t.Indeterminate=3]="Indeterminate",t}(Ot||{}),gj={provide:ef,useExisting:Qn(()=>pf),multi:!0},Fv=class{source;checked},hI=mI(),pf=(()=>{class t{_elementRef=u(U);_changeDetectorRef=u(Pe);_ngZone=u(O);_animationMode=u(Je,{optional:!0});_options=u(pj,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let i=new Fv;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required;labelPosition="after";name=null;change=new H;indeterminateChange=new H;value;disableRipple;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=Ot.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){u(ct).load(Li);let e=u(new yi("tabindex"),{optional:!0});this._options=this._options||hI,this.color=this._options.color||hI.color,this.tabIndex=e==null?0:parseInt(e)||0,this.id=this._uniqueId=u($e).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.disabledInteractive??!1}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}_checked=!1;get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate}set indeterminate(e){let i=e!=this._indeterminate;this._indeterminate=e,i&&(this._indeterminate?this._transitionCheckState(Ot.Indeterminate):this._transitionCheckState(this.checked?Ot.Checked:Ot.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_indeterminate=!1;_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let i=this._currentCheckState,r=this._getAnimationTargetElement();if(!(i===e||!r)&&(this._currentAnimationClass&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);let o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?Ot.Checked:Ot.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&e==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if(this._animationMode==="NoopAnimations")return"";switch(e){case Ot.Init:if(i===Ot.Checked)return this._animationClasses.uncheckedToChecked;if(i==Ot.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case Ot.Unchecked:return i===Ot.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case Ot.Checked:return i===Ot.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case Ot.Indeterminate:return i===Ot.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["mat-checkbox"]],viewQuery:function(i,r){if(i&1&&(Re(fj,5),Re(hj,5)),i&2){let o;se(o=ae())&&(r._inputElement=o.first),se(o=ae())&&(r._labelElement=o.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(i,r){i&2&&(cn("id",r.id),_e("tabindex",null)("aria-label",null)("aria-labelledby",null),$t(r.color?"mat-"+r.color:"mat-accent"),ce("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mdc-checkbox--disabled",r.disabled)("mat-mdc-checkbox-disabled",r.disabled)("mat-mdc-checkbox-checked",r.checked)("mat-mdc-checkbox-disabled-interactive",r.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",W],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",W],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",W],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:ti(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",W],checked:[2,"checked","checked",W],disabled:[2,"disabled","disabled",W],indeterminate:[2,"indeterminate","indeterminate",W]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[Be([gj,{provide:cl,useExisting:t,multi:!0}]),Oe,qe],ngContentSelectors:mj,decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(i,r){if(i&1){let o=Ce();Ze(),h(0,"div",3),B("click",function(a){return re(o),oe(r._preventBubblingFromLabel(a))}),h(1,"div",4,0)(3,"div",5),B("click",function(){return re(o),oe(r._onTouchTargetClick())}),p(),h(4,"input",6,1),B("blur",function(){return re(o),oe(r._onBlur())})("click",function(){return re(o),oe(r._onInputClick())})("change",function(a){return re(o),oe(r._onInteractionEvent(a))}),p(),T(6,"div",7),h(7,"div",8),Zn(),h(8,"svg",9),T(9,"path",10),p(),ud(),T(10,"div",11),p(),T(11,"div",12),p(),h(12,"label",13,2),he(14),p()()}if(i&2){let o=St(2);D("labelPosition",r.labelPosition),_(4),ce("mdc-checkbox--selected",r.checked),D("checked",r.checked)("indeterminate",r.indeterminate)("disabled",r.disabled&&!r.disabledInteractive)("id",r.inputId)("required",r.required)("tabIndex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex),_e("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby)("aria-describedby",r.ariaDescribedby)("aria-checked",r.indeterminate?"mixed":null)("aria-controls",r.ariaControls)("aria-disabled",r.disabled&&r.disabledInteractive?!0:null)("aria-expanded",r.ariaExpanded)("aria-owns",r.ariaOwns)("name",r.name)("value",r.value),_(7),D("matRippleTrigger",o)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0),_(),D("for",r.inputId)}},dependencies:[Xa,DD],styles:['.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mdc-checkbox__ripple{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}@media(forced-colors: active){.mdc-checkbox--disabled{opacity:.5}}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mdc-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover .mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *,.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox .mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox .mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display, block)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return t})();var pI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({imports:[pf,Me,Me]})}return t})();function yj(t,n){if(t&1&&(h(0,"div",6)(1,"mat-checkbox",14)(2,"uds-translate"),b(3,"Remember me for"),p(),b(4),p()()),t&2){let e=R();_(4),Ie(" ",e.api.config.mfa.remember_device," ")}}function _j(t,n){t&1&&T(0,"input",15)}var gI=(()=>{let n=class n{constructor(i){this.api=i}ngOnInit(){let i=document.getElementById("mfaform");i.action=this.api.config.urls.mfa,this.api.user.isLogged&&this.api.router.navigate(["/"]),this.api.errors.length>0&&this.api.gui.alert(django.gettext("Errors found"),"
"+this.api.errors.join("
")+"
")}launch(){return document.getElementById("mfaform").submit(),!0}};n.\u0275fac=function(r){return new(r||n)(S(Ae))},n.\u0275cmp=A({type:n,selectors:[["uds-mfa"]],standalone:!1,decls:22,vars:7,consts:[["id","mfaform","method","post",3,"ngSubmit"],[1,"mfa-container"],[1,"mfa-brand"],[3,"src"],[1,"mfa-info"],[1,"mfa-form"],[1,"mfa-field"],["matInput","","id","code","name","code","value","","required","","autofocus",""],["class","mfa-field",4,"ngIf"],["type","hidden","name","remember","value","0",4,"ngIf"],[1,"mfa-button"],["mat-stroked-button","","color","primary","type","submit"],[1,"mfa-html-container"],[1,"mfa-html",3,"innerHtml"],["id","remember","name","remember"],["type","hidden","name","remember","value","0"]],template:function(r,o){r&1&&(h(0,"form",0),B("ngSubmit",function(){return o.launch()}),h(1,"div",1)(2,"div",2),T(3,"img",3),p(),h(4,"div",4)(5,"uds-translate"),b(6,"Login Verification"),p()(),h(7,"div",5)(8,"div",6)(9,"mat-form-field")(10,"mat-label"),b(11),p(),T(12,"input",7),p()(),F(13,yj,5,1,"div",8)(14,_j,1,0,"input",9),h(15,"div",10)(16,"button",11)(17,"uds-translate"),b(18,"Submit"),p()()()()()(),h(19,"div",12),T(20,"div",13),Jn(21,"safeHtml"),p()),r&2&&(_(3),D("src",o.api.staticURL("modern/img/login-img.png"),mt),_(8),Ie(" ",o.api.config.mfa.label," "),_(2),D("ngIf",o.api.config.mfa.remember_device!==""),_(),D("ngIf",o.api.config.mfa.remember_device===""),_(6),D("innerHtml",ei(21,5,o.api.config.mfa.html),Xn))},dependencies:[At,Ts,Ss,Pn,li,Cr,ci,Dr,pf,ze,_r],styles:[".mfa-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.mfa-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;-moz-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2);box-shadow:0 2px 2px #00000024,0 3px 1px -2px #0000001f,0 1px 5px #0003;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.mfa-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.mfa-button[_ngcontent-%COMP%]{margin:2rem}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.mfa-info[_ngcontent-%COMP%]{margin:1rem}.mfa-html-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center;margin:1rem}@media only screen and (max-width: 744px){.mfa-form[_ngcontent-%COMP%]{min-width:80%}}"]});let t=n;return t})();var bj=[{path:"",redirectTo:"services",pathMatch:"full"},{path:"services",component:cI,canActivate:[Sv]},{path:"login",component:Av},{path:"login/:id",component:Av},{path:"mfa",component:gI},{path:"client-download",component:LE},{path:"downloads",component:VE,canActivate:[Sv]},{path:"error/:id",component:dI},{path:"about",component:uI},{path:"ticket/launcher",component:fI},{path:"**",redirectTo:"services"}],vI=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275mod=V({type:n}),n.\u0275inj=L({imports:[Ng.forRoot(bj,{}),Ng]});let t=n;return t})();function yI(t){return new E(3e3,!1)}function wj(){return new E(3100,!1)}function xj(){return new E(3101,!1)}function Cj(t){return new E(3001,!1)}function Dj(t){return new E(3003,!1)}function Ej(t){return new E(3004,!1)}function Ij(t,n){return new E(3005,!1)}function Mj(){return new E(3006,!1)}function Sj(){return new E(3007,!1)}function Tj(t,n){return new E(3008,!1)}function Aj(t){return new E(3002,!1)}function kj(t,n,e,i,r){return new E(3010,!1)}function Oj(){return new E(3011,!1)}function Rj(){return new E(3012,!1)}function Nj(){return new E(3200,!1)}function Pj(){return new E(3202,!1)}function Fj(){return new E(3013,!1)}function Lj(t){return new E(3014,!1)}function Vj(t){return new E(3015,!1)}function jj(t){return new E(3016,!1)}function Bj(t,n){return new E(3404,!1)}function zj(t){return new E(3502,!1)}function Uj(t){return new E(3503,!1)}function Hj(){return new E(3300,!1)}function $j(t){return new E(3504,!1)}function Gj(t){return new E(3301,!1)}function Wj(t,n){return new E(3302,!1)}function qj(t){return new E(3303,!1)}function Yj(t,n){return new E(3400,!1)}function Qj(t){return new E(3401,!1)}function Zj(t){return new E(3402,!1)}function Kj(t,n){return new E(3505,!1)}function Er(t){switch(t.length){case 0:return new yr;case 1:return t[0];default:return new el(t)}}function OI(t,n,e=new Map,i=new Map){let r=[],o=[],s=-1,a=null;if(n.forEach(l=>{let c=l.get("offset"),d=c==s,f=d&&a||new Map;l.forEach((g,m)=>{let v=m,y=g;if(m!=="offset")switch(v=t.normalizePropertyName(v,r),y){case Fu:y=e.get(m);break;case ai:y=i.get(m);break;default:y=t.normalizeStyleValue(m,v,y,r);break}f.set(v,y)}),d||o.push(f),a=f,s=c}),r.length)throw zj(r);return o}function ry(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&Lv(e,"start",t)));break;case"done":t.onDone(()=>i(e&&Lv(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&Lv(e,"destroy",t)));break}}function Lv(t,n,e){let i=e.totalTime,r=!!e.disabled,o=oy(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,i??t.totalTime,r),s=t._data;return s!=null&&(o._data=s),o}function oy(t,n,e,i,r="",o=0,s){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function tn(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function _I(t){let n=t.indexOf(":"),e=t.substring(1,n),i=t.slice(n+1);return[e,i]}var Xj=typeof document>"u"?null:document.documentElement;function sy(t){let n=t.parentNode||t.host||null;return n===Xj?null:n}function Jj(t){return t.substring(1,6)=="ebkit"}var uo=null,bI=!1;function eB(t){uo||(uo=tB()||{},bI=uo.style?"WebkitAppearance"in uo.style:!1);let n=!0;return uo.style&&!Jj(t)&&(n=t in uo.style,!n&&bI&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in uo.style)),n}function tB(){return typeof document<"u"?document.body:null}function RI(t,n){for(;n;){if(n===t)return!0;n=sy(n)}return!1}function NI(t,n,e){if(e)return Array.from(t.querySelectorAll(n));let i=t.querySelector(n);return i?[i]:[]}var ay=(()=>{class t{validateStyleProperty(e){return eB(e)}containsElement(e,i){return RI(e,i)}getParentElement(e){return sy(e)}query(e,i,r){return NI(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],l){return new yr(r,o)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=C({token:t,factory:t.\u0275fac})}return t})(),mo=class{static NOOP=new ay},po=class{};var nB=1e3,PI="{{",iB="}}",FI="ng-enter",Hv="ng-leave",gf="ng-trigger",wf=".ng-trigger",wI="ng-animating",$v=".ng-animating";function Bi(t){if(typeof t=="number")return t;let n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:Gv(parseFloat(n[1]),n[2])}function Gv(t,n){switch(n){case"s":return t*nB;default:return t}}function xf(t,n,e){return t.hasOwnProperty("duration")?t:rB(t,n,e)}function rB(t,n,e){let i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,o=0,s="";if(typeof t=="string"){let a=t.match(i);if(a===null)return n.push(yI(t)),{duration:0,delay:0,easing:""};r=Gv(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(o=Gv(parseFloat(l),a[4]));let c=a[5];c&&(s=c)}else r=t;if(!e){let a=!1,l=n.length;r<0&&(n.push(wj()),a=!0),o<0&&(n.push(xj()),a=!0),a&&n.splice(l,0,yI(t))}return{duration:r,delay:o,easing:s}}function oB(t){return t.length?t[0]instanceof Map?t:t.map(n=>new Map(Object.entries(n))):[]}function di(t,n,e){n.forEach((i,r)=>{let o=ly(r);e&&!e.has(r)&&e.set(r,t.style[o]),t.style[o]=i})}function ho(t,n){n.forEach((e,i)=>{let r=ly(i);t.style[r]=""})}function pl(t){return Array.isArray(t)?t.length==1?t[0]:ED(t):t}function sB(t,n,e){let i=n.params||{},r=LI(t);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(Cj(o))})}var Wv=new RegExp(`${PI}\\s*(.+?)\\s*${iB}`,"g");function LI(t){let n=[];if(typeof t=="string"){let e;for(;e=Wv.exec(t);)n.push(e[1]);Wv.lastIndex=0}return n}function vl(t,n,e){let i=`${t}`,r=i.replace(Wv,(o,s)=>{let a=n[s];return a==null&&(e.push(Dj(s)),a=""),a.toString()});return r==i?t:r}var aB=/-+([a-z0-9])/g;function ly(t){return t.replace(aB,(...n)=>n[1].toUpperCase())}function lB(t,n){return t===0||n===0}function cB(t,n,e){if(e.size&&n.length){let i=n[0],r=[];if(e.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;os.set(a,cy(t,a)))}}return n}function en(t,n,e){switch(n.type){case ue.Trigger:return t.visitTrigger(n,e);case ue.State:return t.visitState(n,e);case ue.Transition:return t.visitTransition(n,e);case ue.Sequence:return t.visitSequence(n,e);case ue.Group:return t.visitGroup(n,e);case ue.Animate:return t.visitAnimate(n,e);case ue.Keyframes:return t.visitKeyframes(n,e);case ue.Style:return t.visitStyle(n,e);case ue.Reference:return t.visitReference(n,e);case ue.AnimateChild:return t.visitAnimateChild(n,e);case ue.AnimateRef:return t.visitAnimateRef(n,e);case ue.Query:return t.visitQuery(n,e);case ue.Stagger:return t.visitStagger(n,e);default:throw Ej(n.type)}}function cy(t,n){return window.getComputedStyle(t)[n]}var dB=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"]),Cf=class extends po{normalizePropertyName(n,e){return ly(n)}normalizeStyleValue(n,e,i,r){let o="",s=i.toString().trim();if(dB.has(e)&&i!==0&&i!=="0")if(typeof i=="number")o="px";else{let a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&r.push(Ij(n,i))}return s+o}};var Df="*";function uB(t,n){let e=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(i=>fB(i,e,n)):e.push(t),e}function fB(t,n,e){if(t[0]==":"){let l=hB(t,e);if(typeof l=="function"){n.push(l);return}t=l}let i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return e.push(Vj(t)),n;let r=i[1],o=i[2],s=i[3];n.push(xI(r,s));let a=r==Df&&s==Df;o[0]=="<"&&!a&&n.push(xI(s,r))}function hB(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}var vf=new Set(["true","1"]),yf=new Set(["false","0"]);function xI(t,n){let e=vf.has(t)||yf.has(t),i=vf.has(n)||yf.has(n);return(r,o)=>{let s=t==Df||t==r,a=n==Df||n==o;return!s&&e&&typeof r=="boolean"&&(s=r?vf.has(t):yf.has(t)),!a&&i&&typeof o=="boolean"&&(a=o?vf.has(n):yf.has(n)),s&&a}}var VI=":self",mB=new RegExp(`s*${VI}s*,?`,"g");function jI(t,n,e,i){return new qv(t).build(n,e,i)}var CI="",qv=class{_driver;constructor(n){this._driver=n}build(n,e,i){let r=new Yv(e);return this._resetContextStyleTimingState(r),en(this,pl(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector=CI,n.collectedStyles=new Map,n.collectedStyles.set(CI,new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,r=e.depCount=0,o=[],s=[];return n.name.charAt(0)=="@"&&e.errors.push(Mj()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),a.type==ue.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,e))}),l.name=c}else if(a.type==ue.Transition){let l=this.visitTransition(a,e);i+=l.queryCount,r+=l.depCount,s.push(l)}else e.errors.push(Sj())}),{type:ue.Trigger,name:n.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(n,e){let i=this.visitStyle(n.styles,e),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){let o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{LI(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&e.errors.push(Tj(n.name,[...o.values()]))}return{type:ue.State,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;let i=en(this,pl(n.animation),e),r=uB(n.expr,e.errors);return{type:ue.Transition,matchers:r,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:fo(n.options)}}visitSequence(n,e){return{type:ue.Sequence,steps:n.steps.map(i=>en(this,i,e)),options:fo(n.options)}}visitGroup(n,e){let i=e.currentTime,r=0,o=n.steps.map(s=>{e.currentTime=i;let a=en(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:ue.Group,steps:o,options:fo(n.options)}}visitAnimate(n,e){let i=yB(n.timings,e.errors);e.currentAnimateTimings=i;let r,o=n.styles?n.styles:rt({});if(o.type==ue.Keyframes)r=this.visitKeyframes(o,e);else{let s=n.styles,a=!1;if(!s){a=!0;let c={};i.easing&&(c.easing=i.easing),s=rt(c)}e.currentTime+=i.duration+i.delay;let l=this.visitStyle(s,e);l.isEmptyStep=a,r=l}return e.currentAnimateTimings=null,{type:ue.Animate,timings:i,style:r,options:null}}visitStyle(n,e){let i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){let i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of r)typeof a=="string"?a===ai?i.push(a):e.errors.push(Aj(a)):i.push(new Map(Object.entries(a)));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let l of a.values())if(l.toString().indexOf(PI)>=0){o=!0;break}}}),{type:ue.Style,styles:i,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,e){let i=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=e.collectedStyles.get(e.currentQuerySelector),d=c.get(l),f=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(e.errors.push(kj(l,d.startTime,d.endTime,o,r)),f=!1),o=d.startTime),f&&c.set(l,{startTime:o,endTime:r}),e.options&&sB(a,e.options,e.errors)})})}visitKeyframes(n,e){let i={type:ue.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(Oj()),i;let r=1,o=0,s=[],a=!1,l=!1,c=0,d=n.steps.map(N=>{let ee=this._makeStyleAst(N,e),Y=ee.offset!=null?ee.offset:vB(ee.styles),be=0;return Y!=null&&(o++,be=ee.offset=Y),l=l||be<0||be>1,a=a||be0&&o{let Y=g>0?ee==m?1:g*ee:s[ee],be=Y*I;e.currentTime=v+y.delay+be,y.duration=be,this._validateStyleAst(N,e),N.offset=Y,i.styles.push(N)}),i}visitReference(n,e){return{type:ue.Reference,animation:en(this,pl(n.animation),e),options:fo(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:ue.AnimateChild,options:fo(n.options)}}visitAnimateRef(n,e){return{type:ue.AnimateRef,animation:this.visitReference(n.animation,e),options:fo(n.options)}}visitQuery(n,e){let i=e.currentQuerySelector,r=n.options||{};e.queryCount++,e.currentQuery=n;let[o,s]=pB(n.selector);e.currentQuerySelector=i.length?i+" "+o:o,tn(e.collectedStyles,e.currentQuerySelector,new Map);let a=en(this,pl(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:ue.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:fo(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(Fj());let i=n.timings==="full"?{duration:0,delay:0,easing:"full"}:xf(n.timings,e.errors,!0);return{type:ue.Stagger,animation:en(this,pl(n.animation),e),timings:i,options:null}}};function pB(t){let n=!!t.split(/\s*,\s*/).find(e=>e==VI);return n&&(t=t.replace(mB,"")),t=t.replace(/@\*/g,wf).replace(/@\w+/g,e=>wf+"-"+e.slice(1)).replace(/:animating/g,$v),[t,n]}function gB(t){return t?w({},t):null}var Yv=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(n){this.errors=n}};function vB(t){if(typeof t=="string")return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){let i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}function yB(t,n){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=xf(t,n).duration;return Vv(o,0,"")}let e=t;if(e.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=Vv(0,0,"");return o.dynamic=!0,o.strValue=e,o}let r=xf(e,n);return Vv(r.duration,r.delay,r.easing)}function fo(t){return t?(t=w({},t),t.params&&(t.params=gB(t.params))):t={},t}function Vv(t,n,e){return{duration:t,delay:n,easing:e}}function dy(t,n,e,i,r,o,s=null,a=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}var yl=class{_map=new Map;get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}},_B=1,bB=":enter",wB=new RegExp(bB,"g"),xB=":leave",CB=new RegExp(xB,"g");function BI(t,n,e,i,r,o=new Map,s=new Map,a,l,c=[]){return new Qv().buildKeyframes(t,n,e,i,r,o,s,a,l,c)}var Qv=class{buildKeyframes(n,e,i,r,o,s,a,l,c,d=[]){c=c||new yl;let f=new Zv(n,e,c,r,o,d,[]);f.options=l;let g=l.delay?Bi(l.delay):0;f.currentTimeline.delayNextStep(g),f.currentTimeline.setStyles([s],null,f.errors,l),en(this,i,f);let m=f.timelines.filter(v=>v.containsAnimation());if(m.length&&a.size){let v;for(let y=m.length-1;y>=0;y--){let I=m[y];if(I.element===e){v=I;break}}v&&!v.allowOnlyTimelineStyles()&&v.setStyles([a],null,f.errors,l)}return m.length?m.map(v=>v.buildKeyframes()):[dy(e,[],[],[],0,g,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){let i=e.subInstructions.get(e.element);if(i){let r=e.createSubContext(n.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=n}visitAnimateRef(n,e){let i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,i),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,i){for(let r of n){let o=r?.delay;if(o){let s=typeof o=="number"?o:Bi(vl(o,r?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,e,i){let o=e.currentTimeline.currentTime,s=i.duration!=null?Bi(i.duration):null,a=i.delay!=null?Bi(i.delay):null;return s!==0&&n.forEach(l=>{let c=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(n,e){e.updateOptions(n.options,!0),en(this,n.animation,e),e.previousNode=n}visitSequence(n,e){let i=e.subContextCount,r=e,o=n.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),o.delay!=null)){r.previousNode.type==ue.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Ef);let s=Bi(o.delay);r.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>en(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){let i=[],r=e.currentTimeline.currentTime,o=n.options&&n.options.delay?Bi(n.options.delay):0;n.steps.forEach(s=>{let a=e.createSubContext(n.options);o&&a.delayNextStep(o),en(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(r),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){let i=n.strValue,r=e.params?vl(i,e.params,e.errors):i;return xf(r,e.errors)}else return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){let i=e.currentAnimateTimings=this._visitTiming(n.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());let o=n.style;o.type==ue.Keyframes?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){let i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();let o=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){let i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,n.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+o),e.previousNode=n}visitQuery(n,e){let i=e.currentTimeline.currentTime,r=n.options||{},o=r.delay?Bi(r.delay):0;o&&(e.previousNode.type===ue.Style||i==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Ef);let s=i,a=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{e.currentQueryIndex=d;let f=e.createSubContext(n.options,c);o&&f.delayNextStep(o),c===e.element&&(l=f.currentTimeline),en(this,n.animation,f),f.currentTimeline.applyStylesToKeyframe();let g=f.currentTimeline.currentTime;s=Math.max(s,g)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){let i=e.parentContext,r=e.currentTimeline,o=n.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1),l=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime;break}let d=e.currentTimeline;l&&d.delayNextStep(l);let f=d.currentTime;en(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=r.currentTime-f+(r.startTime-i.currentTimeline.startTime)}},Ef={},Zv=class t{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Ef;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(n,e,i,r,o,s,a,l){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.currentTimeline=l||new If(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;let i=n,r=this.options;i.duration!=null&&(r.duration=Bi(i.duration)),i.delay!=null&&(r.delay=Bi(i.delay));let o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=vl(o[a],s,this.errors))})}}_copyOptions(){let n={};if(this.options){let e=this.options.params;if(e){let i=n.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return n}createSubContext(n=null,e,i){let r=e||this.element,o=new t(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(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=Ef,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){let r={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new Kv(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,r,o,s){let a=[];if(r&&a.push(this.element),n.length>0){n=n.replace(wB,"."+this._enterClassName),n=n.replace(CB,"."+this._leaveClassName);let l=i!=1,c=this._driver.query(this.element,n,l);i!==0&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&a.length==0&&s.push(Lj(e)),a}},If=class t{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(n,e,i,r){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,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(n){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new t(this._driver,n,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+=_B,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||ai),this._currentKeyframe.set(e,ai);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,r){e&&this._previousKeyframe.set("easing",e);let o=r&&r.params||{},s=DB(n,this._globalTimelineStyles);for(let[a,l]of s){let c=vl(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??ai),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{let r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let n=new Set,e=new Set,i=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((d,f)=>{d===Fu?n.add(f):d===ai&&e.add(f)}),i||c.set("offset",l/this.duration),r.push(c)});let o=[...n.values()],s=[...e.values()];if(i){let a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return dy(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}},Kv=class extends If{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(n,e,i,r,o,s,a=!1){super(n,e,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){let o=[],s=i+e,a=e/s,l=new Map(n[0]);l.set("offset",0),o.push(l);let c=new Map(n[0]);c.set("offset",DI(a)),o.push(c);let d=n.length-1;for(let f=1;f<=d;f++){let g=new Map(n[f]),m=g.get("offset"),v=e+m*i;g.set("offset",DI(v/s)),o.push(g)}i=s,e=0,r="",n=o}return dy(this.element,n,this.preStyleProps,this.postStyleProps,i,e,r,!0)}};function DI(t,n=3){let e=Math.pow(10,n-1);return Math.round(t*e)/e}function DB(t,n){let e=new Map,i;return t.forEach(r=>{if(r==="*"){i??=n.keys();for(let o of i)e.set(o,ai)}else for(let[o,s]of r)e.set(o,s)}),e}function EI(t,n,e,i,r,o,s,a,l,c,d,f,g){return{type:0,element:t,triggerName:n,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:f,errors:g}}var jv={},Mf=class{_triggerName;ast;_stateStyles;constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,r){return EB(this.ast.matchers,n,e,i,r)}buildStyles(n,e,i){let r=this._stateStyles.get("*");return n!==void 0&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(e,i):new Map}build(n,e,i,r,o,s,a,l,c,d){let f=[],g=this.ast.options&&this.ast.options.params||jv,m=a&&a.params||jv,v=this.buildStyles(i,m,f),y=l&&l.params||jv,I=this.buildStyles(r,y,f),N=new Set,ee=new Map,Y=new Map,be=r==="void",et={params:zI(y,g),delay:this.ast.options?.delay},ke=d?[]:BI(n,e,this.ast.animation,o,s,v,I,et,c,f),Ue=0;return ke.forEach(gt=>{Ue=Math.max(gt.duration+gt.delay,Ue)}),f.length?EI(e,this._triggerName,i,r,be,v,I,[],[],ee,Y,Ue,f):(ke.forEach(gt=>{let ui=gt.element,go=tn(ee,ui,new Set);gt.preStyleProps.forEach(Ir=>go.add(Ir));let uy=tn(Y,ui,new Set);gt.postStyleProps.forEach(Ir=>uy.add(Ir)),ui!==e&&N.add(ui)}),EI(e,this._triggerName,i,r,be,v,I,ke,[...N.values()],ee,Y,Ue))}};function EB(t,n,e,i,r){return t.some(o=>o(n,e,i,r))}function zI(t,n){let e=w({},n);return Object.entries(t).forEach(([i,r])=>{r!=null&&(e[i]=r)}),e}var Xv=class{styles;defaultParams;normalizer;constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){let i=new Map,r=zI(n,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=vl(s,r,e));let l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(a,s)})}),i}};function IB(t,n,e){return new Jv(t,n,e)}var Jv=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,e.states.forEach(r=>{let o=r.options&&r.options.params||{};this.states.set(r.name,new Xv(r.style,o,i))}),II(this.states,"true","1"),II(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new Mf(n,r,this.states))}),this.fallbackTransition=MB(n,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,r){return this.transitionFactories.find(s=>s.match(n,e,i,r))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}};function MB(t,n,e){let i=[(s,a)=>!0],r={type:ue.Sequence,steps:[],options:null},o={type:ue.Transition,animation:r,matchers:i,options:null,queryCount:0,depCount:0};return new Mf(t,o,n)}function II(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}var SB=new yl,ey=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i}register(n,e){let i=[],r=[],o=jI(this._driver,e,i,r);if(i.length)throw Uj(i);r.length&&void 0,this._animations.set(n,o)}_buildPlayer(n,e,i){let r=n.element,o=OI(this._normalizer,n.keyframes,e,i);return this._driver.animate(r,o,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){let r=[],o=this._animations.get(n),s,a=new Map;if(o?(s=BI(this._driver,e,o,FI,Hv,new Map,new Map,i,SB,r),s.forEach(d=>{let f=tn(a,d.element,new Map);d.postStyleProps.forEach(g=>f.set(g,null))})):(r.push(Hj()),s=[]),r.length)throw $j(r);a.forEach((d,f)=>{d.forEach((g,m)=>{d.set(m,this._driver.computeStyle(f,m,ai))})});let l=s.map(d=>{let f=a.get(d.element);return this._buildPlayer(d,new Map,f)}),c=Er(l);return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){let e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);let i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){let e=this._playersById.get(n);if(!e)throw Gj(n);return e}listen(n,e,i,r){let o=oy(e,"","","");return ry(this._getPlayer(n),i,o,r),()=>{}}command(n,e,i,r){if(i=="register"){this.register(n,r[0]);return}if(i=="create"){let s=r[0]||{};this.create(n,e,s);return}let o=this._getPlayer(n);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(n);break}}},MI="ng-animate-queued",TB=".ng-animate-queued",Bv="ng-animate-disabled",AB=".ng-animate-disabled",kB="ng-star-inserted",OB=".ng-star-inserted",RB=[],UI={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},NB={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Fn="__ng_removed",_l=class{namespaceId;value;options;get params(){return this.options.params}constructor(n,e=""){this.namespaceId=e;let i=n&&n.hasOwnProperty("value"),r=i?n.value:n;if(this.value=FB(r),i){let o=n,{value:s}=o,a=Nf(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){let e=n.params;if(e){let i=this.options.params;Object.keys(e).forEach(r=>{i[r]==null&&(i[r]=e[r])})}}},gl="void",zv=new _l(gl),ty=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this._hostClassName="ng-tns-"+n,yn(e,this._hostClassName)}listen(n,e,i,r){if(!this._triggers.has(e))throw Wj(i,e);if(i==null||i.length==0)throw qj(e);if(!LB(i))throw Yj(i,e);let o=tn(this._elementListeners,n,[]),s={name:e,phase:i,callback:r};o.push(s);let a=tn(this._engine.statesByElement,n,new Map);return a.has(e)||(yn(n,gf),yn(n,gf+"-"+e),a.set(e,zv)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(n,e){return this._triggers.has(n)?!1:(this._triggers.set(n,e),!0)}_getTrigger(n){let e=this._triggers.get(n);if(!e)throw Qj(n);return e}trigger(n,e,i,r=!0){let o=this._getTrigger(e),s=new bl(this.id,e,n),a=this._engine.statesByElement.get(n);a||(yn(n,gf),yn(n,gf+"-"+e),this._engine.statesByElement.set(n,a=new Map));let l=a.get(e),c=new _l(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=zv),!(c.value===gl)&&l.value===c.value){if(!BB(l.params,c.params)){let y=[],I=o.matchStyles(l.value,l.params,y),N=o.matchStyles(c.value,c.params,y);y.length?this._engine.reportError(y):this._engine.afterFlush(()=>{ho(n,I),di(n,N)})}return}let g=tn(this._engine.playersByElement,n,[]);g.forEach(y=>{y.namespaceId==this.id&&y.triggerName==e&&y.queued&&y.destroy()});let m=o.matchTransition(l.value,c.value,n,c.params),v=!1;if(!m){if(!r)return;m=o.fallbackTransition,v=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:m,fromState:l,toState:c,player:s,isFallbackTransition:v}),v||(yn(n,MI),s.onStart(()=>{As(n,MI)})),s.onDone(()=>{let y=this.players.indexOf(s);y>=0&&this.players.splice(y,1);let I=this._engine.playersByElement.get(n);if(I){let N=I.indexOf(s);N>=0&&I.splice(N,1)}}),this.players.push(s),g.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);let e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){let i=this._engine.driver.query(n,wf,!0);i.forEach(r=>{if(r[Fn])return;let o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(n,e,i,r){let o=this._engine.statesByElement.get(n),s=new Map;if(o){let a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){let d=this.trigger(n,c,gl,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,s),i&&Er(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){let e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(e&&i){let r=new Set;e.forEach(o=>{let s=o.name;if(r.has(s))return;r.add(s);let l=this._triggers.get(s).fallbackTransition,c=i.get(s)||zv,d=new _l(gl),f=new bl(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:c,toState:d,player:f,isFallbackTransition:!0})})}}removeNode(n,e){let i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let r=!1;if(i.totalAnimations){let o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)r=!0;else{let s=n;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,e);else{let o=n[Fn];(!o||o===UI)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){yn(n,this._hostClassName)}drainQueuedTransitions(n){let e=[];return this._queue.forEach(i=>{let r=i.player;if(r.destroyed)return;let o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){let l=oy(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,ry(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{let o=i.transition.ast.depCount,s=r.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}},ny=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(n,e)=>{};_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}constructor(n,e,i){this.bodyNode=n,this.driver=e,this._normalizer=i}get queuedPlayers(){let n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){let i=new ty(n,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[n]=i}_balanceNamespaceList(n,e){let i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){let l=r.get(a);if(l){let c=i.indexOf(l);i.splice(c+1,0,n),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(n)}else i.push(n);return r.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let r=this._namespaceLookup[n];r&&r.register(e,i)&&this.totalAnimations++}destroy(n,e){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);let r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(e),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){let e=new Set,i=this.statesByElement.get(n);if(i){for(let r of i.values())if(r.namespaceId){let o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}}return e}trigger(n,e,i,r){if(_f(e)){let o=this._fetchNamespace(n);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(n,e,i,r){if(!_f(e))return;let o=e[Fn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){let s=this._fetchNamespace(n);s&&s.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),yn(n,Bv)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),As(n,Bv))}removeNode(n,e,i){if(_f(e)){let r=n?this._fetchNamespace(n):null;r?r.removeNode(e,i):this.markElementAsRemoved(n,e,!1,i);let o=this.namespacesByHostElement.get(e);o&&o.id!==n&&o.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(n,e,i,r,o){this.collectedLeaveElements.push(e),e[Fn]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,e,i,r,o){return _f(e)?this._fetchNamespace(n).listen(e,i,r,o):()=>{}}_buildInstruction(n,e,i,r,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,e,o)}destroyInnerAnimations(n){let e=this.driver.query(n,wf,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(n,$v,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){let e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){let e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return Er(this.players).onDone(()=>n());n()})}processLeaveNode(n){let e=n[Fn];if(e&&e.setForRemoval){if(n[Fn]=UI,e.namespaceId){this.destroyInnerAnimations(n);let i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(Bv)&&this.markElementAsDisabled(n,!1),this.driver.query(n,AB,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-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;ii()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],e.length?Er(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw Zj(n)}_flushAnimations(n,e){let i=new yl,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(j=>{d.add(j);let G=this.driver.query(j,TB,!0);for(let te=0;te{let te=FI+y++;v.set(G,te),j.forEach(De=>yn(De,te))});let I=[],N=new Set,ee=new Set;for(let j=0;jN.add(De)):ee.add(G))}let Y=new Map,be=AI(g,Array.from(N));be.forEach((j,G)=>{let te=Hv+y++;Y.set(G,te),j.forEach(De=>yn(De,te))}),n.push(()=>{m.forEach((j,G)=>{let te=v.get(G);j.forEach(De=>As(De,te))}),be.forEach((j,G)=>{let te=Y.get(G);j.forEach(De=>As(De,te))}),I.forEach(j=>{this.processLeaveNode(j)})});let et=[],ke=[];for(let j=this._namespaceList.length-1;j>=0;j--)this._namespaceList[j].drainQueuedTransitions(e).forEach(te=>{let De=te.player,vt=te.element;if(et.push(De),this.collectedEnterElements.length){let Ct=vt[Fn];if(Ct&&Ct.setForMove){if(Ct.previousTriggersValues&&Ct.previousTriggersValues.has(te.triggerName)){let Mr=Ct.previousTriggersValues.get(te.triggerName),nn=this.statesByElement.get(te.element);if(nn&&nn.has(te.triggerName)){let wl=nn.get(te.triggerName);wl.value=Mr,nn.set(te.triggerName,wl)}}De.destroy();return}}let Ln=!f||!this.driver.containsElement(f,vt),Wt=Y.get(vt),zi=v.get(vt),Ye=this._buildInstruction(te,i,zi,Wt,Ln);if(Ye.errors&&Ye.errors.length){ke.push(Ye);return}if(Ln){De.onStart(()=>ho(vt,Ye.fromStyles)),De.onDestroy(()=>di(vt,Ye.toStyles)),r.push(De);return}if(te.isFallbackTransition){De.onStart(()=>ho(vt,Ye.fromStyles)),De.onDestroy(()=>di(vt,Ye.toStyles)),r.push(De);return}let my=[];Ye.timelines.forEach(Ct=>{Ct.stretchStartingKeyframe=!0,this.disabledNodes.has(Ct.element)||my.push(Ct)}),Ye.timelines=my,i.append(vt,Ye.timelines);let tM={instruction:Ye,player:De,element:vt};s.push(tM),Ye.queriedElements.forEach(Ct=>tn(a,Ct,[]).push(De)),Ye.preStyleProps.forEach((Ct,Mr)=>{if(Ct.size){let nn=l.get(Mr);nn||l.set(Mr,nn=new Set),Ct.forEach((wl,Rf)=>nn.add(Rf))}}),Ye.postStyleProps.forEach((Ct,Mr)=>{let nn=c.get(Mr);nn||c.set(Mr,nn=new Set),Ct.forEach((wl,Rf)=>nn.add(Rf))})});if(ke.length){let j=[];ke.forEach(G=>{j.push(Kj(G.triggerName,G.errors))}),et.forEach(G=>G.destroy()),this.reportError(j)}let Ue=new Map,gt=new Map;s.forEach(j=>{let G=j.element;i.has(G)&&(gt.set(G,G),this._beforeAnimationBuild(j.player.namespaceId,j.instruction,Ue))}),r.forEach(j=>{let G=j.element;this._getPreviousPlayers(G,!1,j.namespaceId,j.triggerName,null).forEach(De=>{tn(Ue,G,[]).push(De),De.destroy()})});let ui=I.filter(j=>kI(j,l,c)),go=new Map;TI(go,this.driver,ee,c,ai).forEach(j=>{kI(j,l,c)&&ui.push(j)});let Ir=new Map;m.forEach((j,G)=>{TI(Ir,this.driver,new Set(j),l,Fu)}),ui.forEach(j=>{let G=go.get(j),te=Ir.get(j);go.set(j,new Map([...G?.entries()??[],...te?.entries()??[]]))});let Of=[],fy=[],hy={};s.forEach(j=>{let{element:G,player:te,instruction:De}=j;if(i.has(G)){if(d.has(G)){te.onDestroy(()=>di(G,De.toStyles)),te.disabled=!0,te.overrideTotalTime(De.totalTime),r.push(te);return}let vt=hy;if(gt.size>1){let Wt=G,zi=[];for(;Wt=Wt.parentNode;){let Ye=gt.get(Wt);if(Ye){vt=Ye;break}zi.push(Wt)}zi.forEach(Ye=>gt.set(Ye,vt))}let Ln=this._buildAnimation(te.namespaceId,De,Ue,o,Ir,go);if(te.setRealPlayer(Ln),vt===hy)Of.push(te);else{let Wt=this.playersByElement.get(vt);Wt&&Wt.length&&(te.parentPlayer=Er(Wt)),r.push(te)}}else ho(G,De.fromStyles),te.onDestroy(()=>di(G,De.toStyles)),fy.push(te),d.has(G)&&r.push(te)}),fy.forEach(j=>{let G=o.get(j.element);if(G&&G.length){let te=Er(G);j.setRealPlayer(te)}}),r.forEach(j=>{j.parentPlayer?j.syncPlayerEvents(j.parentPlayer):j.destroy()});for(let j=0;j!Ln.destroyed);vt.length?VB(this,G,vt):this.processLeaveNode(G)}return I.length=0,Of.forEach(j=>{this.players.push(j),j.onDone(()=>{j.destroy();let G=this.players.indexOf(j);this.players.splice(G,1)}),j.play()}),Of}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,r,o){let s=[];if(e){let a=this.playersByQueriedElement.get(n);a&&(s=a)}else{let a=this.playersByElement.get(n);if(a){let l=!o||o==gl;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(n,e,i){let r=e.triggerName,o=e.element,s=e.isRemovalTransition?void 0:n,a=e.isRemovalTransition?void 0:r;for(let l of e.timelines){let c=l.element,d=c!==o,f=tn(i,c,[]);this._getPreviousPlayers(c,d,s,a,e.toState).forEach(m=>{let v=m.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),m.destroy(),f.push(m)})}ho(o,e.fromStyles)}_buildAnimation(n,e,i,r,o,s){let a=e.triggerName,l=e.element,c=[],d=new Set,f=new Set,g=e.timelines.map(v=>{let y=v.element;d.add(y);let I=y[Fn];if(I&&I.removedBeforeQueried)return new yr(v.duration,v.delay);let N=y!==l,ee=jB((i.get(y)||RB).map(Ue=>Ue.getRealPlayer())).filter(Ue=>{let gt=Ue;return gt.element?gt.element===y:!1}),Y=o.get(y),be=s.get(y),et=OI(this._normalizer,v.keyframes,Y,be),ke=this._buildPlayer(v,et,ee);if(v.subTimeline&&r&&f.add(y),N){let Ue=new bl(n,a,y);Ue.setRealPlayer(ke),c.push(Ue)}return ke});c.forEach(v=>{tn(this.playersByQueriedElement,v.element,[]).push(v),v.onDone(()=>PB(this.playersByQueriedElement,v.element,v))}),d.forEach(v=>yn(v,wI));let m=Er(g);return m.onDestroy(()=>{d.forEach(v=>As(v,wI)),di(l,e.toStyles)}),f.forEach(v=>{tn(r,v,[]).push(m)}),m}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new yr(n.duration,n.delay)}},bl=class{namespaceId;triggerName;element;_player=new yr;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>ry(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){let e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){tn(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}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(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){let e=this._player;e.triggerCallback&&e.triggerCallback(n)}};function PB(t,n,e){let i=t.get(n);if(i){if(i.length){let r=i.indexOf(e);i.splice(r,1)}i.length==0&&t.delete(n)}return i}function FB(t){return t??null}function _f(t){return t&&t.nodeType===1}function LB(t){return t=="start"||t=="done"}function SI(t,n){let e=t.style.display;return t.style.display=n??"none",e}function TI(t,n,e,i,r){let o=[];e.forEach(l=>o.push(SI(l)));let s=[];i.forEach((l,c)=>{let d=new Map;l.forEach(f=>{let g=n.computeStyle(c,f,r);d.set(f,g),(!g||g.length==0)&&(c[Fn]=NB,s.push(c))}),t.set(c,d)});let a=0;return e.forEach(l=>SI(l,o[a++])),s}function AI(t,n){let e=new Map;if(t.forEach(a=>e.set(a,[])),n.length==0)return e;let i=1,r=new Set(n),o=new Map;function s(a){if(!a)return i;let l=o.get(a);if(l)return l;let c=a.parentNode;return e.has(c)?l=c:r.has(c)?l=i:l=s(c),o.set(a,l),l}return n.forEach(a=>{let l=s(a);l!==i&&e.get(l).push(a)}),e}function yn(t,n){t.classList?.add(n)}function As(t,n){t.classList?.remove(n)}function VB(t,n,e){Er(e).onDone(()=>t.processLeaveNode(n))}function jB(t){let n=[];return HI(t,n),n}function HI(t,n){for(let e=0;er.add(o)):n.set(t,i),e.delete(t),!0}var ks=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(n,e)=>{};constructor(n,e,i){this._driver=e,this._normalizer=i,this._transitionEngine=new ny(n.body,e,i),this._timelineEngine=new ey(n.body,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(n,e,i,r,o){let s=n+"-"+r,a=this._triggerCache[s];if(!a){let l=[],c=[],d=jI(this._driver,o,l,c);if(l.length)throw Bj(r,l);c.length&&void 0,a=IB(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,r,a)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,r){this._transitionEngine.insertNode(n,e,i,r)}onRemove(n,e,i){this._transitionEngine.removeNode(n,e,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,r){if(i.charAt(0)=="@"){let[o,s]=_I(i),a=r;this._timelineEngine.command(o,e,s,a)}else this._transitionEngine.trigger(n,e,i,r)}listen(n,e,i,r,o){if(i.charAt(0)=="@"){let[s,a]=_I(i);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(n,e,i,r,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}};function zB(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=Uv(n[0]),n.length>1&&(i=Uv(n[n.length-1]))):n instanceof Map&&(e=Uv(n)),e||i?new UB(t,e,i):null}var UB=(()=>{class t{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r;let o=t.initialStylesByElement.get(e);o||t.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&di(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(di(this._element,this._initialStyles),this._endStyles&&(di(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(ho(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ho(this._element,this._endStyles),this._endStyles=null),di(this._element,this._initialStyles),this._state=3)}}return t})();function Uv(t){let n=null;return t.forEach((e,i)=>{HB(i)&&(n=n||new Map,n.set(i,e))}),n}function HB(t){return t==="display"||t==="position"}var Sf=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(n,e,i,r){this.element=n,this.keyframes=e,this.options=i,this._specialStyles=r,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map;let e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",e)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){let e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){return n.animate(this._convertKeyframesToObject(e),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),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(n=>n()),this._onDestroyFns=[])}setPosition(n){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{r!=="offset"&&n.set(r,this._finished?i:cy(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){let e=n==="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Tf=class{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,e){return RI(n,e)}getParentElement(n){return sy(n)}query(n,e,i){return NI(n,e,i)}computeStyle(n,e,i){return cy(n,e)}animate(n,e,i,r,o,s=[]){let a=r==0?"both":"forwards",l={duration:i,delay:r,fill:a};o&&(l.easing=o);let c=new Map,d=s.filter(m=>m instanceof Sf);lB(i,r)&&d.forEach(m=>{m.currentSnapshot.forEach((v,y)=>c.set(y,v))});let f=oB(e).map(m=>new Map(m));f=cB(n,f,c);let g=zB(n,f);return new Sf(n,f,l,g)}};var bf="@",$I="@.disabled",Af=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(n,e,i,r){this.namespaceId=n,this.delegate=e,this.engine=i,this._onDestroy=r}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,r=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,r)}removeChild(n,e,i){this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,r){this.delegate.setAttribute(n,e,i,r)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,r){this.delegate.setStyle(n,e,i,r)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){e.charAt(0)==bf&&e==$I?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i){return this.delegate.listen(n,e,i)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}},iy=class extends Af{factory;constructor(n,e,i,r,o){super(e,i,r,o),this.factory=n,this.namespaceId=e}setProperty(n,e,i){e.charAt(0)==bf?e.charAt(1)=="."&&e==$I?(i=i===void 0?!0:!!i,this.disableAnimations(n,i)):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i){if(e.charAt(0)==bf){let r=$B(n),o=e.slice(1),s="";return o.charAt(0)!=bf&&([o,s]=GB(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,i,a)})}return this.delegate.listen(n,e,i)}};function $B(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function GB(t){let n=t.indexOf("."),e=t.substring(0,n),i=t.slice(n+1);return[e,i]}var kf=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(n,e,i){this.delegate=n,this.engine=e,this._zone=i,e.onRemovalComplete=(r,o)=>{o?.removeChild(null,r)}}createRenderer(n,e){let i="",r=this.delegate.createRenderer(n,e);if(!n||!e?.data?.animation){let c=this._rendererCache,d=c.get(r);if(!d){let f=()=>c.delete(r);d=new Af(i,r,this.engine,f),c.set(r,d)}return d}let o=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,n);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,n,c.name,c)};return e.data.animation.forEach(a),new iy(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,e,i){if(n>=0&&ne(i));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),r.push([e,i])}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()}};var qB=(()=>{class t extends ks{constructor(e,i,r){super(e,i,r)}ngOnDestroy(){this.flush()}static \u0275fac=function(i){return new(i||t)(k(X),k(mo),k(po))};static \u0275prov=C({token:t,factory:t.\u0275fac})}return t})();function YB(){return new Cf}function QB(t,n,e){return new kf(t,n,e)}var WI=[{provide:po,useFactory:YB},{provide:ks,useClass:qB},{provide:er,useFactory:QB,deps:[$d,ks,O]}],GI=[{provide:mo,useFactory:()=>new Tf},{provide:Je,useValue:"BrowserAnimations"},...WI],ZB=[{provide:mo,useClass:ay},{provide:Je,useValue:"NoopAnimations"},...WI],qI=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?ZB:GI}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({providers:GI,imports:[Wd]})}return t})();var KB=["*",[["mat-toolbar-row"]]],XB=["*","mat-toolbar-row"],JB=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return t})(),YI=(()=>{class t{_elementRef=u(U);_platform=u(Te);_document=u(X);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["mat-toolbar"]],contentQueries:function(i,r,o){if(i&1&&at(o,JB,5),i&2){let s;se(s=ae())&&(r._toolbarRows=s)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(i,r){i&2&&($t(r.color?"mat-"+r.color:""),ce("mat-toolbar-multiple-rows",r._toolbarRows.length>0)("mat-toolbar-single-row",r._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:XB,decls:2,vars:0,template:function(i,r){i&1&&(Ze(KB),he(0),he(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-sys-surface));color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-sys-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-sys-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-sys-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-sys-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-sys-title-large-tracking));margin:0}@media(forced-colors: active){.mat-toolbar{outline:solid 1px}}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface));--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height, 56px)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height, 56px)}}"],encapsulation:2,changeDetection:0})}return t})();var QI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=V({type:t});static \u0275inj=L({imports:[Me,Me]})}return t})();var ZI=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275mod=V({type:n}),n.\u0275inj=L({providers:[{provide:Mv,useValue:{floatLabel:"always"}}],imports:[pE,QI,UD,ZE,iI,qE,PD,lo,AE,FE,pI]});let t=n;return t})();function tz(t,n){if(t&1){let e=Ce();h(0,"button",10),B("click",function(){let r=re(e).$implicit,o=R(2);return oe(o.changeLang(r))}),b(1),p()}if(t&2){let e=n.$implicit;_(),lt(e.name)}}function nz(t,n){if(t&1){let e=Ce();h(0,"button",10),B("click",function(){re(e);let r=R(2);return oe(r.admin())}),h(1,"i",24),b(2,"dashboard"),p(),h(3,"uds-translate"),b(4,"Dashboard"),p()()}}function iz(t,n){t&1&&(h(0,"button",29)(1,"i",24),b(2,"file_download"),p(),h(3,"uds-translate"),b(4,"Downloads"),p()())}function rz(t,n){if(t&1&&(h(0,"button",14),b(1),p()),t&2){R();let e=St(8),i=R();D("matMenuTriggerFor",e),_(),lt(i.api.user.user)}}function oz(t,n){if(t&1&&(h(0,"button",26),b(1),h(2,"i",24),b(3,"arrow_drop_down"),p()()),t&2){R();let e=St(8),i=R();D("matMenuTriggerFor",e),_(),Ie("",i.api.user.user," ")}}function sz(t,n){if(t&1){let e=Ce();hp(0),h(1,"form",4),T(2,"input",5)(3,"input",6),p(),h(4,"mat-menu",null,0),F(6,tz,2,1,"button",7),p(),h(7,"mat-menu",null,1),F(9,nz,5,0,"button",8)(10,iz,5,0,"button",9),h(11,"button",10),B("click",function(){re(e);let r=R();return oe(r.logout())}),h(12,"i",11),b(13,"exit_to_app"),p(),h(14,"uds-translate"),b(15,"Logout"),p()()(),h(16,"mat-menu",12,2),F(18,rz,2,2,"button",13),h(19,"button",14),b(20),p(),h(21,"button",15)(22,"uds-translate"),b(23,"UDS Client"),p()(),h(24,"button",16)(25,"uds-translate"),b(26,"About"),p()()(),h(27,"mat-toolbar",17)(28,"button",18)(29,"div",19),T(30,"img",20),b(31),p()(),T(32,"span",21),h(33,"div",22)(34,"button",23)(35,"i",24),b(36,"file_download"),p(),h(37,"uds-translate"),b(38,"UDS Client"),p()(),h(39,"button",25)(40,"i",24),b(41,"info"),p(),h(42,"uds-translate"),b(43,"About"),p()(),h(44,"button",26),b(45),h(46,"i",24),b(47,"arrow_drop_down"),p()(),F(48,oz,4,2,"button",27),p(),h(49,"div",28)(50,"button",26)(51,"i",24),b(52,"menu"),p()()()(),mp()}if(t&2){let e=St(5),i=St(17),r=R();_(),Zo("action",r.api.config.urls.change_language,mt),_(),Zo("name",r.api.csrfField),Zo("value",r.api.csrfToken),_(),Zo("value",r.lang.id),_(3),D("ngForOf",r.langs),_(3),D("ngIf",r.api.user.isStaff),_(),D("ngIf",r.api.user.isStaff),_(8),D("ngIf",r.api.user.isLogged),_(),D("matMenuTriggerFor",e),_(),Ie("",r.lang.name," "),_(10),D("src",r.api.staticURL("modern/img/udsicon.png"),mt),_(),Ie(" ",r.api.config.site_logo_name," "),_(13),D("matMenuTriggerFor",e),_(),Ie("",r.lang.name," "),_(3),D("ngIf",r.api.user.isLogged),_(2),D("matMenuTriggerFor",i)}}var KI=(()=>{let n=class n{constructor(i){this.api=i,this.lang={},this.langs=[],this.style="";let r=i.config.language;this.langs=[];for(let o of i.config.available_languages)o.id===r?this.lang=o:this.langs.push(o)}ngOnInit(){}changeLang(i){this.lang=i;let r=document.getElementById("id_language");r&&r.setAttribute("value",i.id);let o=document.getElementById("form_language");o&&o.submit()}admin(){this.api.gotoAdmin()}logout(){this.api.logout()}};n.\u0275fac=function(r){return new(r||n)(S(Ae))},n.\u0275cmp=A({type:n,selectors:[["uds-navbar"]],standalone:!1,decls:1,vars:1,consts:[["appMenu","matMenu"],["userMenu","matMenu"],["shrink","matMenu"],[4,"ngIf"],["id","form_language","method","post",3,"action"],["type","hidden",3,"name","value"],["id","id_language","type","hidden","name","language",3,"value"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","","routerLink","/downloads",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"material-icons","highlight"],["x-position","before"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","","routerLink","/client-download"],["mat-menu-item","","routerLink","/about"],["color","primary",1,"uds-nav"],["mat-button","","routerLink","/"],[1,"logo"],["alt","Universal Desktop Services",3,"src"],[1,"fill-remaining-space"],[1,"expanded"],["mat-button","","routerLink","/client-download"],[1,"material-icons"],["mat-button","","routerLink","/about"],["mat-button","",3,"matMenuTriggerFor"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],[1,"shrinked"],["mat-menu-item","","routerLink","/downloads"]],template:function(r,o){r&1&&F(0,sz,53,16,"ng-container",3),r&2&&D("ngIf",o.api.config.urls.launch==="")},dependencies:[Tt,At,hs,Ts,Ss,Pn,YI,li,ji,co,mf,ze],styles:[".mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}html[_ngcontent-%COMP%]{--mat-sys-on-surface: initial}.mat-app-background[_ngcontent-%COMP%]{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}.uds-nav[_ngcontent-%COMP%]{position:fixed;top:0;z-index:1000;background-image:linear-gradient(60deg,#4b5266,#465d9c)}.fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}.material-icons[_ngcontent-%COMP%]{margin-right:.3rem}.logo[_ngcontent-%COMP%]{display:flex;align-items:center}.logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2rem;margin-right:.5rem}@media only screen and (max-width: 744px){.expanded[_ngcontent-%COMP%]{display:none;visibility:hidden}.shrinked[_ngcontent-%COMP%]{visibility:visible}}@media only screen and (min-width: 745px){.expanded[_ngcontent-%COMP%]{visibility:visible}.shrinked[_ngcontent-%COMP%]{display:none;visibility:hidden}}"]});let t=n;return t})();var XI=(()=>{let n=class n{constructor(i){this.api=i}ngOnInit(){}};n.\u0275fac=function(r){return new(r||n)(S(Ae))},n.\u0275cmp=A({type:n,selectors:[["uds-footer"]],standalone:!1,decls:3,vars:2,consts:[[3,"href"]],template:function(r,o){r&1&&(h(0,"div")(1,"a",0),b(2),p()()),r&2&&(_(),D("href",o.api.config.site_copyright_link,mt),_(),lt(o.api.config.site_copyright_info))},encapsulation:2});let t=n;return t})();var JI=(()=>{let n=class n{constructor(i){this.api=i,this.title="UDS"}get blackTheme(){return this.api.getFromStorage("blackTheme")==="true"}set blackTheme(i){this.api.putOnStorage("blackTheme",i.toString())}handleKeyboardEvent(i){i.altKey&&i.ctrlKey&&i.key==="b"&&(this.blackTheme=!this.blackTheme,this.api.switchTheme(this.blackTheme))}ngOnInit(){this.api.switchTheme(this.blackTheme);let i=this.api.config.cookies_consent.text||django.gettext("We use cookies to authenticate users and remember preferences.")+"
"+django.gettext("If you do not agree, please")+' '+django.gettext("leave this site")+".";cookieconsent.initialise({palette:{popup:{background:"#343c66",text:"#dfdfe8"},button:{background:"#f71559"}},enabled:this.api.config.cookies_consent.enabled,layout:"basic",position:"bottom-right",theme:"classic",type:"info",content:{message:i,dismiss:django.gettext("I Accept"),link:django.gettext("Learn more"),href:this.api.config.cookies_consent.urls.more||"https://www.cookiesandyou.com",policy:django.gettext("Cookie Policy"),close:"❌",target:"_blank"}})}};n.\u0275fac=function(r){return new(r||n)(S(Ae))},n.\u0275cmp=A({type:n,selectors:[["uds-root"]],hostBindings:function(r,o){r&1&&B("keydown",function(a){return o.handleKeyboardEvent(a)},!1,k0)},standalone:!1,decls:6,vars:0,consts:[[1,"page"],[1,"content"],[1,"footer"]],template:function(r,o){r&1&&(T(0,"uds-navbar"),h(1,"div",0)(2,"div",1),T(3,"router-outlet"),p(),h(4,"div",2),T(5,"uds-footer"),p()())},dependencies:[Sg,KI,XI],styles:[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.footer[_ngcontent-%COMP%]{flex-shrink:0;margin:1em;height:1em;display:flex;flex-direction:row;justify-content:flex-end}.content[_ngcontent-%COMP%]{flex:1 0 auto;width:80%;margin:64px auto 0}@media only screen and (max-width: 744px){.content[_ngcontent-%COMP%]{width:100%}}"]});let t=n;return t})();var eM=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275mod=V({type:n,bootstrap:[JI]}),n.\u0275inj=L({providers:[Ae,cf,Nx(Px())],imports:[Wd,Zx,vI,qI,ZI]});let t=n;return t})();gu.production&&void 0;$x().bootstrapModule(eM).catch(t=>console.log(t)); + `)}`:"",this.name="UnsubscriptionError",this.errors=e});function ao(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var me=class t{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let o of e)o.remove(this);else e.remove(this);let{initialTeardown:i}=this;if(Y(i))try{i()}catch(o){n=o instanceof od?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{o0(o)}catch(s){n=n??[],s instanceof od?n=[...n,...s.errors]:n.push(s)}}if(n)throw new od(n)}}add(n){var e;if(n&&n!==this)if(this.closed)o0(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&ao(e,n)}remove(n){let{_finalizers:e}=this;e&&ao(e,n),n instanceof t&&n._removeParent(this)}};me.EMPTY=(()=>{let t=new me;return t.closed=!0,t})();var kp=me.EMPTY;function sd(t){return t instanceof me||t&&"closed"in t&&Y(t.remove)&&Y(t.add)&&Y(t.unsubscribe)}function o0(t){Y(t)?t():t.unsubscribe()}var On={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ss={setTimeout(t,n,...e){let{delegate:i}=ss;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=ss;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function ad(t){ss.setTimeout(()=>{let{onUnhandledError:n}=On;if(n)n(t);else throw t})}function Va(){}var s0=Rp("C",void 0,void 0);function a0(t){return Rp("E",void 0,t)}function l0(t){return Rp("N",t,void 0)}function Rp(t,n,e){return{kind:t,value:n,error:e}}var lo=null;function as(t){if(On.useDeprecatedSynchronousErrorHandling){let n=!lo;if(n&&(lo={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:i}=lo;if(lo=null,e)throw i}}else t()}function c0(t){On.useDeprecatedSynchronousErrorHandling&&lo&&(lo.errorThrown=!0,lo.error=t)}var co=class extends me{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,sd(n)&&n.add(this)):this.destination=vA}static create(n,e,i){return new Nn(n,e,i)}next(n){this.isStopped?Np(l0(n),this):this._next(n)}error(n){this.isStopped?Np(a0(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Np(s0,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},mA=Function.prototype.bind;function Op(t,n){return mA.call(t,n)}var Pp=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){ld(i)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){ld(i)}else ld(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){ld(e)}}},Nn=class extends co{constructor(n,e,i){super();let r;if(Y(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&On.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Op(n.next,o),error:n.error&&Op(n.error,o),complete:n.complete&&Op(n.complete,o)}):r=n}this.destination=new Pp(r)}};function ld(t){On.useDeprecatedSynchronousErrorHandling?c0(t):ad(t)}function gA(t){throw t}function Np(t,n){let{onStoppedNotification:e}=On;e&&ss.setTimeout(()=>e(t,n))}var vA={closed:!0,next:Va,error:gA,complete:Va};var ls=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Ht(t){return t}function Fp(...t){return Lp(t)}function Lp(t){return t.length===0?Ht:t.length===1?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}var ae=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,r){let o=yA(e)?e:new Nn(e,i,r);return as(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return i=d0(i),new i((r,o)=>{let s=new Nn({next:a=>{try{e(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(e){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(e)}[ls](){return this}pipe(...e){return Lp(e)(this)}toPromise(e){return e=d0(e),new e((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return t.create=n=>new t(n),t})();function d0(t){var n;return(n=t??On.Promise)!==null&&n!==void 0?n:Promise}function _A(t){return t&&Y(t.next)&&Y(t.error)&&Y(t.complete)}function yA(t){return t&&t instanceof co||_A(t)&&sd(t)}function Vp(t){return Y(t?.lift)}function ie(t){return n=>{if(Vp(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function ee(t,n,e,i,r){return new jp(t,n,e,i,r)}var jp=class extends co{constructor(n,e,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function cs(){return ie((t,n)=>{let e=null;t._refCount++;let i=ee(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let r=t._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}var ds=class extends ae{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Vp(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new me;let e=this.getSubject();n.add(this.source.subscribe(ee(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=me.EMPTY)}return n}refCount(){return cs()(this)}};var u0=lr(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var M=(()=>{class t extends ae{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let i=new cd(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new u0}next(e){as(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(e)}})}error(e){as(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){as(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:i,isStopped:r,observers:o}=this;return i||r?kp:(this.currentObservers=null,o.push(e),new me(()=>{this.currentObservers=null,ao(o,e)}))}_checkFinalizedStatuses(e){let{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){let e=new ae;return e.source=this,e}}return t.create=(n,e)=>new cd(n,e),t})(),cd=class extends M{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.next)===null||i===void 0||i.call(e,n)}error(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.error)===null||i===void 0||i.call(e,n)}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n)}_subscribe(n){var e,i;return(i=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&i!==void 0?i:kp}};var gt=class extends M{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){let{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}};var ja={now(){return(ja.delegate||Date).now()},delegate:void 0};var dd=class extends M{constructor(n=1/0,e=1/0,i=ja){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){let{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;e||(i.push(n),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;st.complete());function pd(t){return t&&Y(t.schedule)}function Bp(t){return t[t.length-1]}function md(t){return Y(Bp(t))?t.pop():void 0}function pi(t){return pd(Bp(t))?t.pop():void 0}function h0(t,n){return typeof Bp(t)=="number"?t.pop():n}function m0(t,n,e,i){function r(o){return o instanceof e?o:new e(function(s){s(o)})}return new(e||(e=Promise))(function(o,s){function a(d){try{c(i.next(d))}catch(f){s(f)}}function l(d){try{c(i.throw(d))}catch(f){s(f)}}function c(d){d.done?o(d.value):r(d.value).then(a,l)}c((i=i.apply(t,n||[])).next())})}function p0(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function uo(t){return this instanceof uo?(this.v=t,this):new uo(t)}function g0(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e.apply(t,n||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),r[Symbol.asyncIterator]=function(){return this},r;function s(h){return function(v){return Promise.resolve(v).then(h,f)}}function a(h,v){i[h]&&(r[h]=function(E){return new Promise(function(S,I){o.push([h,E,S,I])>1||l(h,E)})},v&&(r[h]=v(r[h])))}function l(h,v){try{c(i[h](v))}catch(E){m(o[0][3],E)}}function c(h){h.value instanceof uo?Promise.resolve(h.value.v).then(d,f):m(o[0][2],h)}function d(h){l("next",h)}function f(h){l("throw",h)}function m(h,v){h(v),o.shift(),o.length&&l(o[0][0],o[0][1])}}function v0(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof p0=="function"?p0(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=t[o]&&function(s){return new Promise(function(a,l){s=t[o](s),r(a,l,s.done,s.value)})}}function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}}var fs=t=>t&&typeof t.length=="number"&&typeof t!="function";function gd(t){return Y(t?.then)}function vd(t){return Y(t[ls])}function _d(t){return Symbol.asyncIterator&&Y(t?.[Symbol.asyncIterator])}function yd(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function bA(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var bd=bA();function Cd(t){return Y(t?.[bd])}function wd(t){return g0(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:i,done:r}=yield uo(e.read());if(r)return yield uo(void 0);yield yield uo(i)}}finally{e.releaseLock()}})}function Ed(t){return Y(t?.getReader)}function Ae(t){if(t instanceof ae)return t;if(t!=null){if(vd(t))return CA(t);if(fs(t))return wA(t);if(gd(t))return EA(t);if(_d(t))return _0(t);if(Cd(t))return xA(t);if(Ed(t))return DA(t)}throw yd(t)}function CA(t){return new ae(n=>{let e=t[ls]();if(Y(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function wA(t){return new ae(n=>{for(let e=0;e{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,ad)})}function xA(t){return new ae(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function _0(t){return new ae(n=>{SA(t,n).catch(e=>n.error(e))})}function DA(t){return _0(wd(t))}function SA(t,n){var e,i,r,o;return m0(this,void 0,void 0,function*(){try{for(e=v0(t);i=yield e.next(),!i.done;){let s=i.value;if(n.next(s),n.closed)return}}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}n.complete()})}function Pt(t,n,e,i=0,r=!1){let o=n.schedule(function(){e(),r?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(o),!r)return o}function xd(t,n=0){return ie((e,i)=>{e.subscribe(ee(i,r=>Pt(i,t,()=>i.next(r),n),()=>Pt(i,t,()=>i.complete(),n),r=>Pt(i,t,()=>i.error(r),n)))})}function Dd(t,n=0){return ie((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function y0(t,n){return Ae(t).pipe(Dd(n),xd(n))}function b0(t,n){return Ae(t).pipe(Dd(n),xd(n))}function C0(t,n){return new ae(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}function w0(t,n){return new ae(e=>{let i;return Pt(e,n,()=>{i=t[bd](),Pt(e,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){e.error(s);return}o?e.complete():e.next(r)},0,!0)}),()=>Y(i?.return)&&i.return()})}function Sd(t,n){if(!t)throw new Error("Iterable cannot be null");return new ae(e=>{Pt(e,n,()=>{let i=t[Symbol.asyncIterator]();Pt(e,n,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function E0(t,n){return Sd(wd(t),n)}function x0(t,n){if(t!=null){if(vd(t))return y0(t,n);if(fs(t))return C0(t,n);if(gd(t))return b0(t,n);if(_d(t))return Sd(t,n);if(Cd(t))return w0(t,n);if(Ed(t))return E0(t,n)}throw yd(t)}function Ue(t,n){return n?x0(t,n):Ae(t)}function z(...t){let n=pi(t);return Ue(t,n)}function hs(t,n){let e=Y(t)?t:()=>t,i=r=>r.error(e());return new ae(n?r=>n.schedule(i,0,r):i)}function Id(t){return!!t&&(t instanceof ae||Y(t.lift)&&Y(t.subscribe))}var Pn=lr(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function Md(t,n){let e=typeof n=="object";return new Promise((i,r)=>{let o=new Nn({next:s=>{i(s),o.unsubscribe()},error:r,complete:()=>{e?i(n.defaultValue):r(new Pn)}});t.subscribe(o)})}function Td(t){return t instanceof Date&&!isNaN(t)}var IA=lr(t=>function(e=null){t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=e});function Up(t,n){let{first:e,each:i,with:r=MA,scheduler:o=n??Fi,meta:s=null}=Td(t)?{first:t}:typeof t=="number"?{each:t}:t;if(e==null&&i==null)throw new TypeError("No timeout provided.");return ie((a,l)=>{let c,d,f=null,m=0,h=v=>{d=Pt(l,o,()=>{try{c.unsubscribe(),Ae(r({meta:s,lastValue:f,seen:m})).subscribe(l)}catch(E){l.error(E)}},v)};c=a.subscribe(ee(l,v=>{d?.unsubscribe(),m++,l.next(f=v),i>0&&h(i)},void 0,void 0,()=>{d?.closed||d?.unsubscribe(),f=null})),!m&&h(e!=null?typeof e=="number"?e:+e-o.now():i)})}function MA(t){throw new IA(t)}function X(t,n){return ie((e,i)=>{let r=0;e.subscribe(ee(i,o=>{i.next(t.call(n,o,r++))}))})}var{isArray:TA}=Array;function AA(t,n){return TA(n)?t(...n):t(n)}function ps(t){return X(n=>AA(t,n))}var{isArray:kA}=Array,{getPrototypeOf:RA,prototype:OA,keys:NA}=Object;function Ad(t){if(t.length===1){let n=t[0];if(kA(n))return{args:n,keys:null};if(PA(n)){let e=NA(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}function PA(t){return t&&typeof t=="object"&&RA(t)===OA}function kd(t,n){return t.reduce((e,i,r)=>(e[i]=n[r],e),{})}function fo(...t){let n=pi(t),e=md(t),{args:i,keys:r}=Ad(t);if(i.length===0)return Ue([],n);let o=new ae(FA(i,n,r?s=>kd(r,s):Ht));return e?o.pipe(ps(e)):o}function FA(t,n,e=Ht){return i=>{D0(n,()=>{let{length:r}=t,o=new Array(r),s=r,a=r;for(let l=0;l{let c=Ue(t[l],n),d=!1;c.subscribe(ee(i,f=>{o[l]=f,d||(d=!0,a--),a||i.next(e(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}function D0(t,n,e){t?Pt(e,t,n):n()}function S0(t,n,e,i,r,o,s,a){let l=[],c=0,d=0,f=!1,m=()=>{f&&!l.length&&!c&&n.complete()},h=E=>c{o&&n.next(E),c++;let S=!1;Ae(e(E,d++)).subscribe(ee(n,I=>{r?.(I),o?h(I):n.next(I)},()=>{S=!0},void 0,()=>{if(S)try{for(c--;l.length&&cv(I)):v(I)}m()}catch(I){n.error(I)}}))};return t.subscribe(ee(n,h,()=>{f=!0,m()})),()=>{a?.()}}function Je(t,n,e=1/0){return Y(n)?Je((i,r)=>X((o,s)=>n(i,o,r,s))(Ae(t(i,r))),e):(typeof n=="number"&&(e=n),ie((i,r)=>S0(i,r,t,e)))}function cr(t=1/0){return Je(Ht,t)}function I0(){return cr(1)}function dr(...t){return I0()(Ue(t,pi(t)))}function Fn(t){return new ae(n=>{Ae(t()).subscribe(n)})}function Hp(...t){let n=md(t),{args:e,keys:i}=Ad(t),r=new ae(o=>{let{length:s}=e;if(!s){o.complete();return}let a=new Array(s),l=s,c=s;for(let d=0;d{f||(f=!0,c--),a[d]=m},()=>l--,void 0,()=>{(!l||!f)&&(c||o.next(i?kd(i,a):a),o.complete())}))}});return n?r.pipe(ps(n)):r}var LA=["addListener","removeListener"],VA=["addEventListener","removeEventListener"],jA=["on","off"];function Ua(t,n,e,i){if(Y(e)&&(i=e,e=void 0),i)return Ua(t,n,e).pipe(ps(i));let[r,o]=HA(t)?VA.map(s=>a=>t[s](n,a,e)):BA(t)?LA.map(M0(t,n)):UA(t)?jA.map(M0(t,n)):[];if(!r&&fs(t))return Je(s=>Ua(s,n,e))(Ae(t));if(!r)throw new TypeError("Invalid event target");return new ae(s=>{let a=(...l)=>s.next(1o(a)})}function M0(t,n){return e=>i=>t[e](n,i)}function BA(t){return Y(t.addListener)&&Y(t.removeListener)}function UA(t){return Y(t.on)&&Y(t.off)}function HA(t){return Y(t.addEventListener)&&Y(t.removeEventListener)}function Rd(t=0,n,e=f0){let i=-1;return n!=null&&(pd(n)?e=n:i=n),new ae(r=>{let o=Td(t)?+t-e.now():t;o<0&&(o=0);let s=0;return e.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function zp(t=0,n=Fi){return t<0&&(t=0),Rd(t,t,n)}function zt(...t){let n=pi(t),e=h0(t,1/0),i=t;return i.length?i.length===1?Ae(i[0]):cr(e)(Ue(i,n)):dt}function de(t,n){return ie((e,i)=>{let r=0;e.subscribe(ee(i,o=>t.call(n,o,r++)&&i.next(o)))})}function T0(t){return ie((n,e)=>{let i=!1,r=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;let c=r;r=null,e.next(c)}s&&e.complete()},l=()=>{o=null,s&&e.complete()};n.subscribe(ee(e,c=>{i=!0,r=c,o||Ae(t(c)).subscribe(o=ee(e,a,l))},()=>{s=!0,(!i||!o||o.closed)&&e.complete()}))})}function Od(t,n=Fi){return T0(()=>Rd(t,n))}function Li(t){return ie((n,e)=>{let i=null,r=!1,o;i=n.subscribe(ee(e,void 0,void 0,s=>{o=Ae(t(s,Li(t)(n))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}function A0(t,n,e,i,r){return(o,s)=>{let a=e,l=n,c=0;o.subscribe(ee(s,d=>{let f=c++;l=a?t(l,d,f):(a=!0,d),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}function mi(t,n){return Y(n)?Je(t,n,1):Je(t,1)}function ho(t,n=Fi){return ie((e,i)=>{let r=null,o=null,s=null,a=()=>{if(r){r.unsubscribe(),r=null;let c=o;o=null,i.next(c)}};function l(){let c=s+t,d=n.now();if(d{o=c,s=n.now(),r||(r=n.schedule(l,t),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}function ur(t){return ie((n,e)=>{let i=!1;n.subscribe(ee(e,r=>{i=!0,e.next(r)},()=>{i||e.next(t),e.complete()}))})}function et(t){return t<=0?()=>dt:ie((n,e)=>{let i=0;n.subscribe(ee(e,r=>{++i<=t&&(e.next(r),t<=i&&e.complete())}))})}function ms(t,n=Ht){return t=t??zA,ie((e,i)=>{let r,o=!0;e.subscribe(ee(i,s=>{let a=n(s);(o||!t(r,a))&&(o=!1,r=a,i.next(s))}))})}function zA(t,n){return t===n}function Nd(t=$A){return ie((n,e)=>{let i=!1;n.subscribe(ee(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(t())))})}function $A(){return new Pn}function fr(t){return ie((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function Vi(t,n){let e=arguments.length>=2;return i=>i.pipe(t?de((r,o)=>t(r,o,i)):Ht,et(1),e?ur(n):Nd(()=>new Pn))}function gs(t){return t<=0?()=>dt:ie((n,e)=>{let i=[];n.subscribe(ee(e,r=>{i.push(r),t{for(let r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}function $p(t,n){let e=arguments.length>=2;return i=>i.pipe(t?de((r,o)=>t(r,o,i)):Ht,gs(1),e?ur(n):Nd(()=>new Pn))}function Pd(){return ie((t,n)=>{let e,i=!1;t.subscribe(ee(n,r=>{let o=e;e=r,i&&n.next([o,r]),i=!0}))})}function Gp(t,n){return ie(A0(t,n,arguments.length>=2,!0))}function k0(t={}){let{connector:n=()=>new M,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return o=>{let s,a,l,c=0,d=!1,f=!1,m=()=>{a?.unsubscribe(),a=void 0},h=()=>{m(),s=l=void 0,d=f=!1},v=()=>{let E=s;h(),E?.unsubscribe()};return ie((E,S)=>{c++,!f&&!d&&m();let I=l=l??n();S.add(()=>{c--,c===0&&!f&&!d&&(a=Wp(v,r))}),I.subscribe(S),!s&&c>0&&(s=new Nn({next:le=>I.next(le),error:le=>{f=!0,m(),a=Wp(h,e,le),I.error(le)},complete:()=>{d=!0,m(),a=Wp(h,i),I.complete()}}),Ae(E).subscribe(s))})(o)}}function Wp(t,n,...e){if(n===!0){t();return}if(n===!1)return;let i=new Nn({next:()=>{i.unsubscribe(),t()}});return Ae(n(...e)).subscribe(i)}function Fd(t,n,e){let i,r=!1;return t&&typeof t=="object"?{bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:e}=t:i=t??1/0,k0({connector:()=>new dd(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function Ha(t){return de((n,e)=>t<=e)}function nt(...t){let n=pi(t);return ie((e,i)=>{(n?dr(t,e,n):dr(t,e)).subscribe(i)})}function qe(t,n){return ie((e,i)=>{let r=null,o=0,s=!1,a=()=>s&&!r&&i.complete();e.subscribe(ee(i,l=>{r?.unsubscribe();let c=0,d=o++;Ae(t(l,d)).subscribe(r=ee(i,f=>i.next(n?n(l,f,d,c++):f),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function Oe(t){return ie((n,e)=>{Ae(t).subscribe(ee(e,()=>e.complete(),Va)),!e.closed&&n.subscribe(e)})}function qp(t,n=!1){return ie((e,i)=>{let r=0;e.subscribe(ee(i,o=>{let s=t(o,r++);(s||n)&&i.next(o),!s&&i.complete()}))})}function it(t,n,e){let i=Y(t)||n||e?{next:t,error:n,complete:e}:t;return i?ie((r,o)=>{var s;(s=i.subscribe)===null||s===void 0||s.call(i);let a=!0;r.subscribe(ee(o,l=>{var c;(c=i.next)===null||c===void 0||c.call(i,l),o.next(l)},()=>{var l;a=!1,(l=i.complete)===null||l===void 0||l.call(i),o.complete()},l=>{var c;a=!1,(c=i.error)===null||c===void 0||c.call(i,l),o.error(l)},()=>{var l,c;a&&((l=i.unsubscribe)===null||l===void 0||l.call(i)),(c=i.finalize)===null||c===void 0||c.call(i)}))}):Ht}function R0(t){let n=ce(null);try{return t()}finally{ce(n)}}var O0=Z(b({},io),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function N0(t){if(t.dirty=!1,t.version>0&&!so(t))return;t.version++;let n=sr(t);try{t.cleanup(),t.fn()}finally{oo(t,n)}}var Ud="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",x=class extends Error{code;constructor(n,e){super(Ln(n,e)),this.code=n}};function GA(t){return`NG0${Math.abs(t)}`}function Ln(t,n){return`${GA(t)}${n?": "+n:""}`}var Lt=globalThis;function Re(t){for(let n in t)if(t[n]===Re)return n;throw Error("")}function L0(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function Bi(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(Bi).join(", ")}]`;if(t==null)return""+t;let n=t.overriddenName||t.name;if(n)return`${n}`;let e=t.toString();if(e==null)return""+e;let i=e.indexOf(` +`);return i>=0?e.slice(0,i):e}function Hd(t,n){return t?n?`${t} ${n}`:t:n||""}var WA=Re({__forward_ref__:Re});function Cn(t){return t.__forward_ref__=Cn,t.toString=function(){return Bi(this())},t}function vt(t){return rm(t)?t():t}function rm(t){return typeof t=="function"&&t.hasOwnProperty(WA)&&t.__forward_ref__===Cn}function w(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function N(t){return{providers:t.providers||[],imports:t.imports||[]}}function Ya(t){return qA(t,zd)}function om(t){return Ya(t)!==null}function qA(t,n){return t.hasOwnProperty(n)&&t[n]||null}function YA(t){let n=t?.[zd]??null;return n||null}function Kp(t){return t&&t.hasOwnProperty(jd)?t[jd]:null}var zd=Re({\u0275prov:Re}),jd=Re({\u0275inj:Re}),y=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,e){this._desc=n,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=w({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function sm(t){return t&&!!t.\u0275providers}var am=Re({\u0275cmp:Re}),lm=Re({\u0275dir:Re}),cm=Re({\u0275pipe:Re}),dm=Re({\u0275mod:Re}),$a=Re({\u0275fac:Re}),_o=Re({__NG_ELEMENT_ID__:Re}),P0=Re({__NG_ENV_ID__:Re});function wn(t){return typeof t=="string"?t:t==null?"":String(t)}function V0(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():wn(t)}var j0=Re({ngErrorCode:Re}),KA=Re({ngErrorMessage:Re}),QA=Re({ngTokenPath:Re});function um(t,n){return B0("",-200,n)}function $d(t,n){throw new x(-201,!1)}function B0(t,n,e){let i=new x(n,t);return i[j0]=n,i[KA]=t,e&&(i[QA]=e),i}function ZA(t){return t[j0]}var Qp;function U0(){return Qp}function $t(t){let n=Qp;return Qp=t,n}function fm(t,n,e){let i=Ya(t);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(e&8)return null;if(n!==void 0)return n;$d(t,"Injector")}var XA={},po=XA,JA="__NG_DI_FLAG__",Zp=class{injector;constructor(n){this.injector=n}retrieve(n,e){let i=mo(e)||0;try{return this.injector.get(n,i&8?null:po,i)}catch(r){if(is(r))return r;throw r}}};function ek(t,n=0){let e=Qc();if(e===void 0)throw new x(-203,!1);if(e===null)return fm(t,void 0,n);{let i=tk(n),r=e.retrieve(t,i);if(is(r)){if(i.optional)return null;throw r}return r}}function O(t,n=0){return(U0()||ek)(vt(t),n)}function u(t,n){return O(t,mo(n))}function mo(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function tk(t){return{optional:!!(t&8),host:!!(t&1),self:!!(t&2),skipSelf:!!(t&4)}}function Xp(t){let n=[];for(let e=0;eArray.isArray(e)?Gd(e,n):n(e))}function hm(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function Ka(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function $0(t,n){let e=[];for(let i=0;in;){let o=r-2;t[r]=t[o],r--}t[n]=e,t[n+1]=i}}function Wd(t,n,e){let i=_s(t,n);return i>=0?t[i|1]=e:(i=~i,G0(t,i,n,e)),i}function qd(t,n){let e=_s(t,n);if(e>=0)return t[e|1]}function _s(t,n){return ik(t,n,1)}function ik(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){let o=i+(r-i>>1),s=t[o<n?r=o:i=o+1}return~(r<{e.push(s)};return Gd(n,s=>{let a=s;Bd(a,o,[],i)&&(r||=[],r.push(a))}),r!==void 0&&Y0(r,o),e}function Y0(t,n){for(let e=0;e{n(o,i)})}}function Bd(t,n,e,i){if(t=vt(t),!t)return!1;let r=null,o=Kp(t),s=!o&&gi(t);if(!o&&!s){let l=t.ngModule;if(o=Kp(l),o)r=l;else return!1}else{if(s&&!s.standalone)return!1;r=t}let a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)Bd(c,n,e,i)}}else if(o){if(o.imports!=null&&!a){i.add(r);let c;Gd(o.imports,d=>{Bd(d,n,e,i)&&(c||=[],c.push(d))}),c!==void 0&&Y0(c,n)}if(!a){let c=pr(r)||(()=>new r);n({provide:r,useFactory:c,deps:Ft},r),n({provide:mm,useValue:r,multi:!0},r),n({provide:Ui,useValue:()=>O(r),multi:!0},r)}let l=o.providers;if(l!=null&&!a){let c=t;_m(l,d=>{n(d,c)})}}else return!1;return r!==t&&t.providers!==void 0}function _m(t,n){for(let e of t)sm(e)&&(e=e.\u0275providers),Array.isArray(e)?_m(e,n):n(e)}var rk=Re({provide:String,useValue:Re});function K0(t){return t!==null&&typeof t=="object"&&rk in t}function ok(t){return!!(t&&t.useExisting)}function sk(t){return!!(t&&t.useFactory)}function go(t){return typeof t=="function"}function Q0(t){return!!t.useClass}var Qa=new y(""),Ld={},F0={},Yp;function ys(){return Yp===void 0&&(Yp=new Ga),Yp}var Le=class{},vo=class extends Le{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,em(n,s=>this.processProvider(s)),this.records.set(pm,vs(void 0,this)),r.has("environment")&&this.records.set(Le,vs(void 0,this));let o=this.records.get(Qa);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(mm,Ft,{self:!0}))}retrieve(n,e){let i=mo(e)||0;try{return this.get(n,po,i)}catch(r){if(is(r))return r;throw r}}destroy(){za(this),this._destroyed=!0;let n=ce(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ce(n)}}onDestroy(n){return za(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){za(this);let e=hi(this),i=$t(void 0),r;try{return n()}finally{hi(e),$t(i)}}get(n,e=po,i){if(za(this),n.hasOwnProperty(P0))return n[P0](this);let r=mo(i),o,s=hi(this),a=$t(void 0);try{if(!(r&4)){let c=this.records.get(n);if(c===void 0){let d=uk(n)&&Ya(n);d&&this.injectableDefInScope(d)?c=vs(Jp(n),Ld):c=null,this.records.set(n,c)}if(c!=null)return this.hydrate(n,c,r)}let l=r&2?ys():this.parent;return e=r&8&&e===po?null:e,l.get(n,e)}catch(l){let c=ZA(l);throw c===-200||c===-201?new x(c,null):l}finally{$t(a),hi(s)}}resolveInjectorInitializers(){let n=ce(null),e=hi(this),i=$t(void 0),r;try{let o=this.get(Ui,Ft,{self:!0});for(let s of o)s()}finally{hi(e),$t(i),ce(n)}}toString(){let n=[],e=this.records;for(let i of e.keys())n.push(Bi(i));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=vt(n);let e=go(n)?n:vt(n&&n.provide),i=lk(n);if(!go(n)&&n.multi===!0){let r=this.records.get(e);r||(r=vs(void 0,Ld,!0),r.factory=()=>Xp(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e,i){let r=ce(null);try{if(e.value===F0)throw um(Bi(n));return e.value===Ld&&(e.value=F0,e.value=e.factory(void 0,i)),typeof e.value=="object"&&e.value&&dk(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{ce(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=vt(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};function Jp(t){let n=Ya(t),e=n!==null?n.factory:pr(t);if(e!==null)return e;if(t instanceof y)throw new x(204,!1);if(t instanceof Function)return ak(t);throw new x(204,!1)}function ak(t){if(t.length>0)throw new x(204,!1);let e=YA(t);return e!==null?()=>e.factory(t):()=>new t}function lk(t){if(K0(t))return vs(void 0,t.useValue);{let n=ym(t);return vs(n,Ld)}}function ym(t,n,e){let i;if(go(t)){let r=vt(t);return pr(r)||Jp(r)}else if(K0(t))i=()=>vt(t.useValue);else if(sk(t))i=()=>t.useFactory(...Xp(t.deps||[]));else if(ok(t))i=(r,o)=>O(vt(t.useExisting),o!==void 0&&o&8?8:void 0);else{let r=vt(t&&(t.useClass||t.provide));if(ck(t))i=()=>new r(...Xp(t.deps));else return pr(r)||Jp(r)}return i}function za(t){if(t.destroyed)throw new x(205,!1)}function vs(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function ck(t){return!!t.deps}function dk(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function uk(t){return typeof t=="function"||typeof t=="object"&&t.ngMetadataName==="InjectionToken"}function em(t,n){for(let e of t)Array.isArray(e)?em(e,n):e&&sm(e)?em(e.\u0275providers,n):n(e)}function wt(t,n){let e;t instanceof vo?(za(t),e=t):e=new Zp(t);let i,r=hi(e),o=$t(void 0);try{return n()}finally{hi(r),$t(o)}}function bm(){return U0()!==void 0||Qc()!=null}var jn=0,K=1,re=2,Ct=3,En=4,Gt=5,bs=6,Cs=7,St=8,gr=9,vi=10,Ve=11,ws=12,Cm=13,bo=14,tn=15,vr=16,Co=17,_i=18,Za=19,wm=20,ji=21,Kd=22,Hi=23,dn=24,wo=25,Xa=26,tt=27,Z0=1;var _r=7,Ja=8,Eo=9,Vt=10;function yi(t){return Array.isArray(t)&&typeof t[Z0]=="object"}function Bn(t){return Array.isArray(t)&&t[Z0]===!0}function Em(t){return(t.flags&4)!==0}function yr(t){return t.componentOffset>-1}function Es(t){return(t.flags&1)===1}function Un(t){return!!t.template}function xs(t){return(t[re]&512)!==0}function xo(t){return(t[re]&256)===256}var Ye=(function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t[t.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",t})(Ye||{}),Vd,Wa="svg",xm="math";function X0(){return Vd||(Vd={},hr(Ye.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),hr(Ye.STYLE,void 0,[["*",["style"]]]),hr(Ye.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),hr(Ye.URL,xm,[["*",["href","xlink:href"]],["annotation",["href","xlink:href"]],["annotation-xml",["href","xlink:href"]],["maction",["href","xlink:href"]],["malignmark",["href","xlink:href"]],["math",["href","xlink:href"]],["mroot",["href","xlink:href"]],["msqrt",["href","xlink:href"]],["merror",["href","xlink:href"]],["mfrac",["href","xlink:href"]],["mglyph",["href","xlink:href"]],["msub",["href","xlink:href"]],["msup",["href","xlink:href"]],["msubsup",["href","xlink:href"]],["mmultiscripts",["href","xlink:href"]],["mprescripts",["href","xlink:href"]],["mi",["href","xlink:href"]],["mn",["href","xlink:href"]],["mo",["href","xlink:href"]],["mpadded",["href","xlink:href"]],["mphantom",["href","xlink:href"]],["mrow",["href","xlink:href"]],["ms",["href","xlink:href"]],["mspace",["href","xlink:href"]],["mstyle",["href","xlink:href"]],["mtable",["href","xlink:href"]],["mtd",["href","xlink:href"]],["mtr",["href","xlink:href"]],["mtext",["href","xlink:href"]],["mover",["href","xlink:href"]],["munder",["href","xlink:href"]],["munderover",["href","xlink:href"]],["semantics",["href","xlink:href"]],["none",["href","xlink:href"]]]),hr(Ye.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),hr(Ye.URL,Wa,[["a",["href","xlink:href"]]]),hr(Ye.ATTRIBUTE_NO_BINDING,Wa,[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),hr(Ye.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]]])),Vd}function hr(t,n,e){for(let[i,r]of e){let o=n&&i!=="unknown"?`:${n}:${i}`:i;o=o.toLowerCase();for(let s of r)Vd[`${o}|${s.toLowerCase()}`]=t}}function J0(t,n,e){let i=X0(),r=t.toLowerCase(),o=n.toLowerCase(),s=e&&r!=="*"&&r!=="unknown"?i[`:${e}:${r}|${o}`]:void 0,a=e?i[`:${e}:*|${o}`]:void 0;return s??a??i[`${r}|${o}`]??i[`*|${o}`]??Ye.NONE}function xn(t){for(;Array.isArray(t);)t=t[jn];return t}function Dm(t,n){return xn(n[t])}function Dn(t,n){return xn(n[t.index])}function el(t,n){return t.data[n]}function Sm(t,n){return t[n]}function Im(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}function Sn(t,n){let e=n[t];return yi(e)?e:e[jn]}function eC(t){return(t[re]&4)===4}function Qd(t){return(t[re]&128)===128}function tC(t){return Bn(t[Ct])}function Hn(t,n){return n==null?null:t[n]}function Mm(t){t[Co]=0}function Tm(t){t[re]&1024||(t[re]|=1024,Qd(t)&&br(t))}function nC(t,n){for(;t>0;)n=n[bo],t--;return n}function tl(t){return!!(t[re]&9216||t[dn]?.dirty)}function Zd(t){t[vi].changeDetectionScheduler?.notify(8),t[re]&64&&(t[re]|=1024),tl(t)&&br(t)}function br(t){t[vi].changeDetectionScheduler?.notify(0);let n=mr(t);for(;n!==null&&!(n[re]&8192||(n[re]|=8192,!Qd(n)));)n=mr(n)}function Am(t,n){if(xo(t))throw new x(911,!1);t[ji]===null&&(t[ji]=[]),t[ji].push(n)}function iC(t,n){if(t[ji]===null)return;let e=t[ji].indexOf(n);e!==-1&&t[ji].splice(e,1)}function mr(t){let n=t[Ct];return Bn(n)?n[Ct]:n}function km(t){return t[Cs]??=[]}function Rm(t){return t.cleanup??=[]}function rC(t,n,e,i){let r=km(n);r.push(e),t.firstCreatePass&&Rm(t).push(i,r.length-1)}var ge={lFrame:mC(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var tm=!1;function oC(){return ge.lFrame.elementDepthCount}function sC(){ge.lFrame.elementDepthCount++}function Om(){ge.lFrame.elementDepthCount--}function Xd(){return ge.bindingsEnabled}function Nm(){return ge.skipHydrationRootTNode!==null}function Pm(t){return ge.skipHydrationRootTNode===t}function Fm(){ge.skipHydrationRootTNode=null}function Q(){return ge.lFrame.lView}function Ke(){return ge.lFrame.tView}function ue(t){return ge.lFrame.contextLView=t,t[St]}function fe(t){return ge.lFrame.contextLView=null,t}function ut(){let t=Lm();for(;t!==null&&t.type===64;)t=t.parent;return t}function Lm(){return ge.lFrame.currentTNode}function aC(){let t=ge.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function Ds(t,n){let e=ge.lFrame;e.currentTNode=t,e.isParent=n}function Vm(){return ge.lFrame.isParent}function jm(){ge.lFrame.isParent=!1}function lC(){return ge.lFrame.contextLView}function Bm(){return tm}function Ss(t){let n=tm;return tm=t,n}function Um(){let t=ge.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function Hm(){return ge.lFrame.bindingIndex}function cC(t){return ge.lFrame.bindingIndex=t}function Cr(){return ge.lFrame.bindingIndex++}function nl(t){let n=ge.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function dC(){return ge.lFrame.inI18n}function uC(t,n){let e=ge.lFrame;e.bindingIndex=e.bindingRootIndex=t,Jd(n)}function fC(){return ge.lFrame.currentDirectiveIndex}function Jd(t){ge.lFrame.currentDirectiveIndex=t}function hC(t){let n=ge.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function eu(){return ge.lFrame.currentQueryIndex}function il(t){ge.lFrame.currentQueryIndex=t}function fk(t){let n=t[K];return n.type===2?n.declTNode:n.type===1?t[Gt]:null}function zm(t,n,e){if(e&4){let r=n,o=t;for(;r=r.parent,r===null&&!(e&1);)if(r=fk(o),r===null||(o=o[bo],r.type&10))break;if(r===null)return!1;n=r,t=o}let i=ge.lFrame=pC();return i.currentTNode=n,i.lView=t,!0}function tu(t){let n=pC(),e=t[K];ge.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function pC(){let t=ge.lFrame,n=t===null?null:t.child;return n===null?mC(t):n}function mC(t){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=n),n}function gC(){let t=ge.lFrame;return ge.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var $m=gC;function nu(){let t=gC();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function vC(t){return(ge.lFrame.contextLView=nC(t,ge.lFrame.contextLView))[St]}function zn(){return ge.lFrame.selectedIndex}function wr(t){ge.lFrame.selectedIndex=t}function Is(){let t=ge.lFrame;return el(t.tView,t.selectedIndex)}function In(){ge.lFrame.currentNamespace=Wa}function Ms(){hk()}function hk(){ge.lFrame.currentNamespace=null}function Gm(){return ge.lFrame.currentNamespace}var _C=!0;function iu(){return _C}function rl(t){_C=t}function nm(t,n=null,e=null,i){let r=Wm(t,n,e,i);return r.resolveInjectorInitializers(),r}function Wm(t,n=null,e=null,i,r=new Set){let o=[e||Ft,q0(t)];return i=i||(typeof t=="object"?void 0:Bi(t)),new vo(o,n||ys(),i||null,r)}var $=class t{static THROW_IF_NOT_FOUND=po;static NULL=new Ga;static create(n,e){if(Array.isArray(n))return nm({name:""},e,n,"");{let i=n.name??"";return nm({name:i},n.parent,n.providers,i)}}static \u0275prov=w({token:t,providedIn:"any",factory:()=>O(pm)});static __NG_ELEMENT_ID__=-1},G=new y(""),Wt=(()=>{class t{static __NG_ELEMENT_ID__=pk;static __NG_ENV_ID__=e=>e}return t})(),qa=class extends Wt{_lView;constructor(n){super(),this._lView=n}get destroyed(){return xo(this._lView)}onDestroy(n){let e=this._lView;return Am(e,n),()=>iC(e,n)}};function pk(){return new qa(Q())}var yn=class{_console=console;handleError(n){this._console.error("ERROR",n)}},nn=new y("",{providedIn:"root",factory:()=>{let t=u(Le),n;return e=>{t.destroyed&&!n?setTimeout(()=>{throw e}):(n??=t.get(yn),n.handleError(e))}}}),yC={provide:Ui,useValue:()=>{u(yn)},multi:!0};function bi(t){return typeof t=="function"&&t[mt]!==void 0}function Ce(t,n){let[e,i,r]=Tp(t,n?.equal),o=e,s=o[mt];return o.set=i,o.update=r,o.asReadonly=qm.bind(o),o}function qm(){let t=this[mt];if(t.readonlyFn===void 0){let n=()=>this();n[mt]=t,t.readonlyFn=n}return t.readonlyFn}function Ym(t){return bi(t)&&typeof t.set=="function"}var Do=(()=>{class t{view;node;constructor(e,i){this.view=e,this.node=i}static __NG_ELEMENT_ID__=mk}return t})();function mk(){return new Do(Q(),ut())}var bn=class{},ol=new y("",{providedIn:"root",factory:()=>!1});var Km=new y(""),Qm=new y(""),Ci=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new gt(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new ae(e=>{e.next(!1),e.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=w({token:t,providedIn:"root",factory:()=>new t})}return t})(),Ts=(()=>{class t{internalPendingTasks=u(Ci);scheduler=u(bn);errorHandler=u(nn);add(){let e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}run(e){let i=this.add();e().catch(this.errorHandler).finally(i)}static \u0275prov=w({token:t,providedIn:"root",factory:()=>new t})}return t})();function So(...t){}var sl=(()=>{class t{static \u0275prov=w({token:t,providedIn:"root",factory:()=>new im})}return t})(),im=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let e=n.zone,i=this.queues.get(e);i.has(n)&&(i.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let e=n.zone;this.queues.has(e)||this.queues.set(e,new Set);let i=this.queues.get(e);i.has(n)||i.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[e,i]of this.queues)e===null?n||=this.flushQueue(i):n||=e.run(()=>this.flushQueue(i));n||(this.dirtyEffectCount=0)}}flushQueue(n){let e=!1;for(let i of n)i.dirty&&(this.dirtyEffectCount--,e=!0,i.run());return e}};function gl(t){return{toString:t}.toString()}function tw(t){let n=Lt.ng;if(n&&n.\u0275compilerFacade)return n.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function Ck(t){return typeof t=="function"}var pu=class{previousValue;currentValue;firstChange;constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};function nw(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}var He=(()=>{let t=()=>iw;return t.ngInherit=!0,t})();function iw(t){return t.type.prototype.ngOnChanges&&(t.setInput=Ek),wk}function wk(){let t=ow(this),n=t?.current;if(n){let e=t.previous;if(e===Vn)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function Ek(t,n,e,i,r){let o=this.declaredInputs[i],s=ow(t)||xk(t,{previous:Vn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new pu(c&&c.currentValue,e,l===Vn),nw(t,n,r,e)}var rw="__ngSimpleChanges__";function ow(t){return t[rw]||null}function xk(t,n){return t[rw]=n}var bC=[];var je=function(t,n=null,e){for(let i=0;i=i)break}else n[l]<0&&(t[Co]+=65536),(a>14>16&&(t[re]&3)===n&&(t[re]+=16384,CC(a,o)):CC(a,o)}var ks=-1,Mo=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,e,i,r){this.factory=n,this.name=r,this.canSeeViewProviders=e,this.injectImpl=i}};function Ik(t){return(t.flags&8)!==0}function Mk(t){return(t.flags&16)!==0}function Tk(t,n,e){let i=0;for(;in){s=o-1;break}}}for(;o>16}function gu(t,n){let e=kk(t),i=n;for(;e>0;)i=i[bo],e--;return i}var sg=!0;function vu(t){let n=sg;return sg=t,n}var Rk=256,dw=Rk-1,uw=5,Ok=0,wi={};function Nk(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(_o)&&(i=e[_o]),i==null&&(i=e[_o]=Ok++);let r=i&dw,o=1<>uw)]|=o}function _u(t,n){let e=fw(t,n);if(e!==-1)return e;let i=n[K];i.firstCreatePass&&(t.injectorIndex=n.length,Xm(i.data,t),Xm(n,null),Xm(i.blueprint,null));let r=Bg(t,n),o=t.injectorIndex;if(cw(r)){let s=mu(r),a=gu(r,n),l=a[K].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function Xm(t,n){t.push(0,0,0,0,0,0,0,0,n)}function fw(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function Bg(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;r!==null;){if(i=vw(r),i===null)return ks;if(e++,r=r[bo],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return ks}function ag(t,n,e){Nk(t,n,e)}function Pk(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let i=e.length,r=0;for(;r>20,f=i?a:a+d,m=r?a+d:c;for(let h=f;h=l&&v.type===e)return h}if(r){let h=s[l];if(h&&Un(h)&&h.type===e)return l}return null}function cl(t,n,e,i,r){let o=t[e],s=n.data;if(o instanceof Mo){let a=o;if(a.resolving){let h=V0(s[e]);throw um(h)}let l=vu(a.canSeeViewProviders);a.resolving=!0;let c=s[e].type||s[e],d,f=a.injectImpl?$t(a.injectImpl):null,m=zm(t,i,0);try{o=t[e]=a.factory(void 0,r,s,t,i),n.firstCreatePass&&e>=i.directiveStart&&Dk(e,s[e],n)}finally{f!==null&&$t(f),vu(l),a.resolving=!1,$m()}}return o}function Lk(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(_o)?t[_o]:void 0;return typeof n=="number"?n>=0?n&dw:Vk:n}function EC(t,n,e){let i=1<>uw)]&i)}function xC(t,n){return!(t&2)&&!(t&1&&n)}var Io=class{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return mw(this._tNode,this._lView,n,mo(i),e)}};function Vk(){return new Io(ut(),Q())}function jt(t){return gl(()=>{let n=t.prototype.constructor,e=n[$a]||lg(n),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){let o=r[$a]||lg(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function lg(t){return rm(t)?()=>{let n=lg(vt(t));return n&&n()}:pr(t)}function jk(t,n,e,i,r){let o=t,s=n;for(;o!==null&&s!==null&&s[re]&2048&&!xs(s);){let a=gw(o,s,e,i|2,wi);if(a!==wi)return a;let l=o.parent;if(!l){let c=s[wm];if(c){let d=c.get(e,wi,i);if(d!==wi)return d}l=vw(s),s=s[bo]}o=l}return r}function vw(t){let n=t[K],e=n.type;return e===2?n.declTNode:e===1?t[Gt]:null}function vl(t){return Pk(ut(),t)}function Bk(){return Fs(ut(),Q())}function Fs(t,n){return new j(Dn(t,n))}var j=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=Bk}return t})();function _w(t){return t instanceof j?t.nativeElement:t}function Uk(){return this._results[Symbol.iterator]()}var Wn=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new M}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;let i=z0(n);(this._changesDetected=!H0(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Uk};function yw(t){return(t.flags&128)===128}var Ug=(function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t})(Ug||{}),bw=new Map,Hk=0;function zk(){return Hk++}function $k(t){bw.set(t[Za],t)}function cg(t){bw.delete(t[Za])}var DC="__ngContext__";function Os(t,n){yi(n)?(t[DC]=n[Za],$k(n)):t[DC]=n}function Cw(t){return Ew(t[ws])}function ww(t){return Ew(t[En])}function Ew(t){for(;t!==null&&!Bn(t);)t=t[En];return t}var dg;function Hg(t){dg=t}function zg(){if(dg!==void 0)return dg;if(typeof document<"u")return document;throw new x(210,!1)}var Dr=new y("",{providedIn:"root",factory:()=>Gk}),Gk="ng",ku=new y(""),Ao=new y("",{providedIn:"platform",factory:()=>"unknown"});var Sr=new y(""),Ls=new y("",{providedIn:"root",factory:()=>zg().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Wk="h",qk="b";var xw=!1,Dw=new y("",{providedIn:"root",factory:()=>xw});var Ru=new y("");var Yk=(t,n,e,i)=>{};function Kk(t,n,e,i){Yk(t,n,e,i)}function Ou(t){return(t.flags&32)===32}var Qk=()=>null;function Sw(t,n,e=!1){return Qk(t,n,e)}function Iw(t,n){let e=t.contentQueries;if(e!==null){let i=ce(null);try{for(let r=0;rt,createScript:t=>t,createScriptURL:t=>t})}catch{}return ru}function Nu(t){return eR()?.createHTML(t)||t}var ou;function Mw(){if(ou===void 0&&(ou=null,Lt.trustedTypes))try{ou=Lt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return ou}function SC(t){return Mw()?.createHTML(t)||t}function IC(t){return Mw()?.createScriptURL(t)||t}var $i=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ud})`}},fg=class extends $i{getTypeName(){return"HTML"}},hg=class extends $i{getTypeName(){return"Style"}},pg=class extends $i{getTypeName(){return"Script"}},mg=class extends $i{getTypeName(){return"URL"}},gg=class extends $i{getTypeName(){return"ResourceURL"}};function fn(t){return t instanceof $i?t.changingThisBreaksApplicationSecurity:t}function Di(t,n){let e=Tw(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${Ud})`)}return e===n}function Tw(t){return t instanceof $i&&t.getTypeName()||null}function Gg(t){return new fg(t)}function Wg(t){return new hg(t)}function qg(t){return new pg(t)}function Yg(t){return new mg(t)}function Kg(t){return new gg(t)}function tR(t){let n=new _g(t);return nR()?new vg(n):n}var vg=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{let e=new window.DOMParser().parseFromString(Nu(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},_g=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=Nu(n),e}};function nR(){try{return!!new window.DOMParser().parseFromString(Nu(""),"text/html")}catch{return!1}}var iR=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function _l(t){return t=String(t),t.match(iR)?t:"unsafe:"+t}function Gi(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function yl(...t){let n={};for(let e of t)for(let i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}var Aw=Gi("area,br,col,hr,img,wbr"),kw=Gi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Rw=Gi("rp,rt"),rR=yl(Rw,kw),oR=yl(kw,Gi("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),sR=yl(Rw,Gi("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),MC=yl(Aw,oR,sR,rR),Ow=Gi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),aR=Gi("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),lR=Gi("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),cR=yl(Ow,aR,lR),dR=Gi("script,style,template"),yg=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let e=n.firstChild,i=!0,r=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild){r.push(e),e=hR(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=fR(e);if(o){e=o;break}e=r.pop()}}return this.buf.join("")}startElement(n){let e=TC(n).toLowerCase();if(!MC.hasOwnProperty(e))return this.sanitizedSomething=!0,!dR.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=n.attributes;for(let r=0;r"),!0}endElement(n){let e=TC(n).toLowerCase();MC.hasOwnProperty(e)&&!Aw.hasOwnProperty(e)&&(this.buf.push(""))}chars(n){this.buf.push(AC(n))}};function uR(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function fR(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw Nw(n);return n}function hR(t){let n=t.firstChild;if(n&&uR(t,n))throw Nw(n);return n}function TC(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function Nw(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var pR=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,mR=/([^\#-~ |!])/g;function AC(t){return t.replace(/&/g,"&").replace(pR,function(n){let e=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace(mR,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}var su;function Pu(t,n){let e=null;try{su=su||tR(t);let i=n?String(n):"";e=su.getInertBodyElement(i);let r=5,o=i;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=su.getInertBodyElement(i)}while(i!==o);let a=new yg().sanitizeChildren(kC(e)||e);return Nu(a)}finally{if(e){let i=kC(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function kC(t){return"content"in t&&gR(t)?t.content:null}function gR(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var vR=/^>|^->||--!>|)/g,yR="\u200B$1\u200B";function bR(t){return t.replace(vR,n=>n.replace(_R,yR))}function CR(t,n){return t.createText(n)}function wR(t,n,e){t.setValue(n,e)}function ER(t,n){return t.createComment(bR(n))}function Pw(t,n,e){return t.createElement(n,e)}function yu(t,n,e,i,r){t.insertBefore(n,e,i,r)}function Fw(t,n,e){t.appendChild(n,e)}function RC(t,n,e,i,r){i!==null?yu(t,n,e,i,r):Fw(t,n,e)}function xR(t,n,e,i){t.removeChild(null,n,e,i)}function DR(t,n,e){t.setAttribute(n,"style",e)}function SR(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function Lw(t,n,e){let{mergedAttrs:i,classes:r,styles:o}=e;i!==null&&Tk(t,n,i),r!==null&&SR(t,n,r),o!==null&&DR(t,n,o)}function IR(t,n=!0){if(t[0]!=":")return[null,t];let e=t.indexOf(":",1);if(e===-1){if(n)throw new Error(`Unsupported format "${t}" expecting ":namespace:name"`);return[null,t]}return[t.slice(1,e),t.slice(e+1)]}function qn(t,n,e){if(n!==void 0&&e!==void 0&&jw(n,e)!==Ye.HTML)return t;let i=Zg();return i?SC(i.sanitize(Ye.HTML,t)||""):Di(t,"HTML")?SC(fn(t)):Pu(zg(),wn(t))}function ft(t){let n=Zg();return n?n.sanitize(Ye.URL,t)||"":Di(t,"URL")?fn(t):_l(wn(t))}function Vw(t){let n=Zg();if(n)return IC(n.sanitize(Ye.RESOURCE_URL,t)||"");if(Di(t,"ResourceURL"))return IC(fn(t));throw new x(904,!1)}function MR(t,n){switch(jw(t,n)){case Ye.RESOURCE_URL:return Vw;case Ye.URL:return ft;default:return null}}function Qg(t,n,e){return MR(n,e)?.(t)??t}function Zg(){let t=Q();return t&&t[vi].sanitizer}function jw(t,n){let[e,i]=TR(t);return J0(i,n,e)}function TR(t){t=t.toLowerCase();let n=IR(t,!1);if(n[0])return n;let i=zn()===-1?null:Is(),r=i?.namespace;if(t==="#host"&&i?.type===2){let o=Dn(i,Q());if(o.tagName&&(t=o.tagName.toLowerCase()),r==null){let s=o.namespaceURI;r=s&&Jk[s]}}return[r,t]}function Xg(t){return t.ownerDocument}function Bw(t){return t instanceof Function?t():t}function AR(t,n,e){let i=t.length;for(;;){let r=t.indexOf(n,e);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let o=n.length;if(r+o===i||t.charCodeAt(r+o)<=32)return r}e=r+1}}var Uw="ng-template";function kR(t,n,e,i){let r=0;if(i){for(;r-1){let o;for(;++ro?f="":f=r[d+1].toLowerCase(),i&2&&c!==f){if($n(i))return!1;s=!0}}}}return $n(i)||s}function $n(t){return(t&1)===0}function NR(t,n,e,i){if(n===null)return-1;let r=0;if(i||!e){let o=!1;for(;r-1)for(e++;e0?'="'+a+'"':"")+"]"}else i&8?r+="."+s:i&4&&(r+=" "+s);else r!==""&&!$n(s)&&(n+=OC(o,r),r=""),i=s,o=o||!$n(i);e++}return r!==""&&(n+=OC(o,r)),n}function BR(t){return t.map(jR).join(",")}function UR(t){let n=[],e=[],i=1,r=2;for(;inull),s=i;if(n&&typeof n=="object"){let l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:r,error:o,complete:s});return n instanceof me&&n.add(a),a}wrapInTimeout(n){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{try{n(e)}finally{i!==void 0&&this.pendingTasks?.remove(i)}})}}},U=Cg;function qw(t){let n,e;function i(){t=So;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function PC(t){return queueMicrotask(()=>t()),()=>{t=So}}var rv="isAngularZone",bu=rv+"_ID",WR=0,R=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new U(!1);onMicrotaskEmpty=new U(!1);onStable=new U(!1);onError=new U(!1);constructor(n){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=Ww}=n;if(typeof Zone>"u")throw new x(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&i,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=o,KR(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(rv)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new x(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new x(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,r){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,qR,So,So);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}},qR={};function ov(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function YR(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){qw(()=>{t.callbackScheduled=!1,wg(t),t.isCheckStableRunning=!0,ov(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),wg(t)}function KR(t){let n=()=>{YR(t)},e=WR++;t._inner=t._inner.fork({name:"angular",properties:{[rv]:!0,[bu]:e,[bu+e]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(QR(l))return i.invokeTask(o,s,a,l);try{return FC(t),i.invokeTask(o,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),LC(t)}},onInvoke:(i,r,o,s,a,l,c)=>{try{return FC(t),i.invoke(o,s,a,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!ZR(l)&&n(),LC(t)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,wg(t),ov(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,r,o,s)=>(i.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function wg(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function FC(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function LC(t){t._nesting--,ov(t)}var dl=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new U;onMicrotaskEmpty=new U;onStable=new U;onError=new U;run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,r){return n.apply(e,i)}};function QR(t){return Yw(t,"__ignore_ng_zone__")}function ZR(t){return Yw(t,"__scheduler_tick__")}function Yw(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}function Kw(t="zone.js",n){return t==="noop"?new dl:t==="zone.js"?new R(n):t}var Vu=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=w({token:t,providedIn:"root",factory:()=>new t})}return t})(),sv=[0,1,2,3],av=(()=>{class t{ngZone=u(R);scheduler=u(bn);errorHandler=u(yn,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){u(Ir,{optional:!0})}execute(){let e=this.sequences.size>0;e&&je(16),this.executing=!0;for(let i of sv)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[i]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=r.hooks[i];return o(r.pipelinedValue)},r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(let i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&je(17)}register(e){let{view:i}=e;i!==void 0?((i[wo]??=[]).push(e),br(i),i[re]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,i){return i?i.run(Lu.AFTER_NEXT_RENDER,e):e()}static \u0275prov=w({token:t,providedIn:"root",factory:()=>new t})}return t})(),ul=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,e,i,r,o,s=null){this.impl=n,this.hooks=e,this.view=i,this.once=r,this.snapshot=s,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[wo];n&&(this.view[wo]=n.filter(e=>e!==this))}};function Mt(t,n){let e=n?.injector??u($);return Si("NgAfterNextRender"),JR(t,e,n,!0)}function XR(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function JR(t,n,e,i){let r=n.get(Vu);r.impl??=n.get(av);let o=n.get(Ir,null,{optional:!0}),s=e?.manualCleanup!==!0?n.get(Wt):null,a=n.get(Do,null,{optional:!0}),l=new ul(r.impl,XR(t),a?.view,i,s,o?.snapshot(null));return r.impl.register(l),l}var eO=new y("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function Qw(t,n,e){let i=t.get(eO);if(Array.isArray(n))for(let r of n)i.queue.add(r),e?.detachedLeaveAnimationFns?.push(r);else i.queue.add(n),e?.detachedLeaveAnimationFns?.push(n);i.scheduler&&i.scheduler(t)}function tO(t,n){for(let[e,i]of n)Qw(t,i.animateFns)}function VC(t,n,e,i){let r=t?.[Xa]?.enter;n!==null&&r&&r.has(e.index)&&tO(i,r)}function As(t,n,e,i,r,o,s,a){if(r!=null){let l,c=!1;Bn(r)?l=r:yi(r)&&(c=!0,r=r[jn]);let d=xn(r);t===0&&i!==null?(VC(a,i,o,e),s==null?Fw(n,i,d):yu(n,i,d,s||null,!0)):t===1&&i!==null?(VC(a,i,o,e),yu(n,i,d,s||null,!0)):t===2?jC(a,o,e,f=>{xR(n,d,c,f)}):t===3&&jC(a,o,e,()=>{n.destroyNode(d)}),l!=null&&fO(n,t,e,l,o,i,s)}}function nO(t,n){Zw(t,n),n[jn]=null,n[Gt]=null}function iO(t,n,e,i,r,o){i[jn]=r,i[Gt]=n,ju(t,i,e,1,r,o)}function Zw(t,n){n[vi].changeDetectionScheduler?.notify(9),ju(t,n,n[Ve],2,null,null)}function rO(t){let n=t[ws];if(!n)return Jm(t[K],t);for(;n;){let e=null;if(yi(n))e=n[ws];else{let i=n[Vt];i&&(e=i)}if(!e){for(;n&&!n[En]&&n!==t;)yi(n)&&Jm(n[K],n),n=n[Ct];n===null&&(n=t),yi(n)&&Jm(n[K],n),e=n&&n[En]}n=e}}function lv(t,n){let e=t[Eo],i=e.indexOf(n);e.splice(i,1)}function cv(t,n){if(xo(n))return;let e=n[Ve];e.destroyNode&&ju(t,n,e,3,null,null),rO(n)}function Jm(t,n){if(xo(n))return;let e=ce(null);try{n[re]&=-129,n[re]|=256,n[dn]&&ar(n[dn]),aO(t,n),sO(t,n),n[K].type===1&&n[Ve].destroy();let i=n[vr];if(i!==null&&Bn(n[Ct])){i!==n[Ct]&&lv(i,n);let r=n[_i];r!==null&&r.detachView(t)}cg(n)}finally{ce(e)}}function jC(t,n,e,i){let r=t?.[Xa];if(r==null||r.leave==null||!r.leave.has(n.index))return i(!1);t&&Ns.add(t),Qw(e,()=>{if(r.leave&&r.leave.has(n.index)){let s=r.leave.get(n.index),a=[];if(s){for(let l=0;l{t[Xa].running=void 0,Ns.delete(t),n(!0)});return}n(!1)}function sO(t,n){let e=t.cleanup,i=n[Cs];if(e!==null)for(let s=0;s=0?i[a]():i[-a].unsubscribe(),s+=2}else{let a=i[e[s+1]];e[s].call(a)}i!==null&&(n[Cs]=null);let r=n[ji];if(r!==null){n[ji]=null;for(let s=0;stt&&Gw(t,n,tt,!1),je(s?2:0,r,e),e(i,r)}finally{wr(o),je(s?3:1,r,e)}}function Bu(t,n,e){yO(t,n,e),(e.flags&64)===64&&bO(t,n,e)}function bl(t,n,e=Dn){let i=n.localNames;if(i!==null){let r=n.index+1;for(let o=0;onull;function vO(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function iE(t,n,e,i,r,o){let s=n[K];if(mv(t,s,n,e,i)){yr(t)&&_O(n,t.index);return}t.type&3&&(e=vO(e)),rE(t,n,e,i,r,o)}function rE(t,n,e,i,r,o){if(t.type&3){let s=Dn(t,n);i=o!=null?o(i,t.value||"",e):i,r.setProperty(s,e,i)}else t.type&12}function _O(t,n){let e=Sn(n,t);e[re]&16||(e[re]|=64)}function yO(t,n,e){let i=e.directiveStart,r=e.directiveEnd;yr(e)&&$R(n,e,t.data[i+e.componentOffset]),t.firstCreatePass||_u(e,n);let o=e.initialInputs;for(let s=i;s{br(t.lView)},consumerOnSignalRead(){this.lView[dn]=this}});function OO(t){let n=t[dn]??Object.create(NO);return n.lView=t,n}var NO=Z(b({},io),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=mr(t.lView);for(;n&&!lE(n[K]);)n=mr(n);n&&Tm(n)},consumerOnSignalRead(){this.lView[dn]=this}});function lE(t){return t.type!==2}function cE(t){if(t[Hi]===null)return;let n=!0;for(;n;){let e=!1;for(let i of t[Hi])i.dirty&&(e=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));n=e&&!!(t[re]&8192)}}var PO=100;function dE(t,n=0){let i=t[vi].rendererFactory,r=!1;r||i.begin?.();try{FO(t,n)}finally{r||i.end?.()}}function FO(t,n){let e=Bm();try{Ss(!0),xg(t,n);let i=0;for(;tl(t);){if(i===PO)throw new x(103,!1);i++,xg(t,1)}}finally{Ss(e)}}function LO(t,n,e,i){if(xo(n))return;let r=n[re],o=!1,s=!1;tu(n);let a=!0,l=null,c=null;o||(lE(t)?(c=TO(n),l=sr(c)):td()===null?(a=!1,c=OO(n),l=sr(c)):n[dn]&&(ar(n[dn]),n[dn]=null));try{Mm(n),cC(t.bindingStartIndex),e!==null&&nE(t,n,e,2,i);let d=(r&3)===3;if(!o)if(d){let h=t.preOrderCheckHooks;h!==null&&cu(n,h,null)}else{let h=t.preOrderHooks;h!==null&&du(n,h,0,null),Zm(n,0)}if(s||VO(n),cE(n),uE(n,0),t.contentQueries!==null&&Iw(t,n),!o)if(d){let h=t.contentCheckHooks;h!==null&&cu(n,h)}else{let h=t.contentHooks;h!==null&&du(n,h,1),Zm(n,1)}BO(t,n);let f=t.components;f!==null&&hE(n,f,0);let m=t.viewQuery;if(m!==null&&ug(2,m,i),!o)if(d){let h=t.viewCheckHooks;h!==null&&cu(n,h)}else{let h=t.viewHooks;h!==null&&du(n,h,2),Zm(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[Kd]){for(let h of n[Kd])h();n[Kd]=null}o||(sE(n),n[re]&=-73)}catch(d){throw o||br(n),d}finally{c!==null&&(oo(c,l),a&&kO(c)),nu()}}function uE(t,n){for(let e=Cw(t);e!==null;e=ww(e))for(let i=Vt;i0&&(t[e-1][En]=i[En]);let o=Ka(t,Vt+n);nO(i[K],i);let s=o[_i];s!==null&&s.detachView(o[K]),i[Ct]=null,i[En]=null,i[re]&=-129}return i}function zO(t,n,e,i){let r=Vt+i,o=e.length;i>0&&(e[r-1][En]=n),i-1&&(wu(n,i),Ka(e,i))}this._attachedToViewContainer=!1}cv(this._lView[K],this._lView)}onDestroy(n){Am(this._lView,n)}markForCheck(){_v(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[re]&=-129}reattach(){Zd(this._lView),this._lView[re]|=128}detectChanges(){this._lView[re]|=1024,dE(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new x(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=xs(this._lView),e=this._lView[vr];e!==null&&!n&&lv(e,this._lView),Zw(this._lView[K],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new x(902,!1);this._appRef=n;let e=xs(this._lView),i=this._lView[vr];i!==null&&!e&&mE(i,this._lView),Zd(this._lView)}};var Et=(()=>{class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=$O;constructor(e,i,r){this._declarationLView=e,this._declarationTContainer=i,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,i){return this.createEmbeddedViewImpl(e,i)}createEmbeddedViewImpl(e,i,r){let o=vv(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:i,dehydratedView:r});return new Er(o)}}return t})();function $O(){return Uu(ut(),Q())}function Uu(t,n){return t.type&4?new Et(n,t,Fs(t,n)):null}function Vs(t,n,e,i,r){let o=t.data[n];if(o===null)o=GO(t,n,e,i,r),dC()&&(o.flags|=32);else if(o.type&64){o.type=e,o.value=i,o.attrs=r;let s=aC();o.injectorIndex=s===null?-1:s.injectorIndex}return Ds(o,!0),o}function GO(t,n,e,i,r){let o=Lm(),s=Vm(),a=s?o:o&&o.parent,l=t.data[n]=qO(t,a,e,n,i,r);return WO(t,l,o,s),l}function WO(t,n,e,i){t.firstChild===null&&(t.firstChild=n),e!==null&&(i?e.child==null&&n.parent!==null&&(e.child=n):e.next===null&&(e.next=n,n.prev=e))}function qO(t,n,e,i,r,o){let s=n?n.injectorIndex:-1,a=0;return Nm()&&(a|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,namespace:Gm(),attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var zW=new RegExp(`^(\\d+)*(${qk}|${Wk})*(.*)`);var YO=()=>null,KO=()=>null;function Dg(t,n){return YO(t,n)}function QO(t,n,e){return KO(t,n,e)}var gE=class{},Hu=class{},Sg=class{resolveComponentFactory(n){throw new x(917,!1)}},Cl=class{static NULL=new Sg},rt=class{},Ne=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>ZO()}return t})();function ZO(){let t=Q(),n=ut(),e=Sn(n.index,t);return(yi(e)?e:t)[Ve]}var vE=(()=>{class t{static \u0275prov=w({token:t,providedIn:"root",factory:()=>null})}return t})();var fu={},Ig=class{injector;parentInjector;constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){let r=this.injector.get(n,fu,i);return r!==fu||e===fu?r:this.parentInjector.get(n,e,i)}};function Eu(t,n,e){let i=e?t.styles:null,r=e?t.classes:null,o=0;if(n!==null)for(let s=0;s0&&(e.directiveToIndex=new Map);for(let m=0;m0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function oN(t,n,e){if(e){if(n.exportAs)for(let i=0;ii(xn(E[t.index])):t.index;SE(v,n,e,o,a,h,!1)}}return c}function lN(t){return t.startsWith("animation")||t.startsWith("transition")}function cN(t,n,e,i){let r=t.cleanup;if(r!=null)for(let o=0;ol?a[l]:null}typeof s=="string"&&(o+=2)}return null}function SE(t,n,e,i,r,o,s){let a=n.firstCreatePass?Rm(n):null,l=km(e),c=l.length;l.push(r,o),a&&a.push(i,t,c,(c+1)*(s?-1:1))}function GC(t,n,e,i,r,o){let s=n[e],a=n[K],c=a.data[e].outputs[i],f=s[c].subscribe(o);SE(t.index,a,n,r,o,f,!0)}var Mg=Symbol("BINDING");var xu=class extends Cl{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=gi(n);return new xr(e,this.ngModule)}};function dN(t){return Object.keys(t).map(n=>{let[e,i,r]=t[n],o={propName:e,templateName:n,isSignal:(i&Fu.SignalBased)!==0};return r&&(o.transform=r),o})}function uN(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}))}function fN(t,n,e){let i=n instanceof Le?n:n?.injector;return i&&t.getStandaloneInjector!==null&&(i=t.getStandaloneInjector(i)||i),i?new Ig(e,i):e}function hN(t){let n=t.get(rt,null);if(n===null)throw new x(407,!1);let e=t.get(vE,null),i=t.get(bn,null);return{rendererFactory:n,sanitizer:e,changeDetectionScheduler:i,ngReflect:!1}}function pN(t,n){let e=IE(t);return Pw(n,e,e==="svg"?Wa:e==="math"?xm:null)}function mN(t){if(t?.toLowerCase()==="script")throw new x(905,!1)}function IE(t){return(t.selectors[0][0]||"div").toLowerCase()}var xr=class extends Hu{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=dN(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=uN(this.componentDef.outputs),this.cachedOutputs}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=BR(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!e}create(n,e,i,r,o,s){je(22);let a=ce(null);try{let l=this.componentDef,c=gN(i,l,s,o),d=fN(l,r||this.ngModule,n),f=hN(d),m=f.rendererFactory.createRenderer(null,l),h=i?pO(m,i,l.encapsulation,d):pN(l,m);mN(h?.tagName);let v=s?.some(WC)||o?.some(I=>typeof I!="function"&&I.bindings.some(WC)),E=tv(null,c,null,512|zw(l),null,null,f,m,d,null,Sw(h,d,!0));E[tt]=h,tu(E);let S=null;try{let I=bv(tt,E,2,"#host",()=>c.directiveRegistry,!0,0);Lw(m,h,I),Os(h,E),Bu(c,E,I),$g(c,I,E),Cv(c,I),e!==void 0&&_N(I,this.ngContentSelectors,e),S=Sn(I.index,E),E[St]=S[St],gv(c,E,null)}catch(I){throw S!==null&&cg(S),cg(E),I}finally{je(23),nu()}return new Du(this.componentType,E,!!v)}finally{ce(a)}}};function gN(t,n,e,i){let r=t?["ng-version","20.3.34"]:UR(n.selectors[0]),o=null,s=null,a=0;if(e)for(let d of e)a+=d[Mg].requiredVars,d.create&&(d.targetIdx=0,(o??=[]).push(d)),d.update&&(d.targetIdx=0,(s??=[]).push(d));if(i)for(let d=0;d{if(e&1&&t)for(let i of t)i.create();if(e&2&&n)for(let i of n)i.update()}}function WC(t){let n=t[Mg].kind;return n==="input"||n==="twoWay"}var Du=class extends gE{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,e,i){super(),this._rootLView=e,this._hasInputBindings=i,this._tNode=el(e[K],tt),this.location=Fs(this._tNode,e),this.instance=Sn(this._tNode.index,e)[St],this.hostView=this.changeDetectorRef=new Er(e,void 0),this.componentType=n}setInput(n,e){this._hasInputBindings;let i=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let r=this._rootLView,o=mv(i,r[K],r,n,e);this.previousInputValues.set(n,e);let s=Sn(i.index,r);_v(s,1)}get injector(){return new Io(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function _N(t,n,e){let i=t.projection=[];for(let r=0;r{class t{static __NG_ELEMENT_ID__=yN}return t})();function yN(){let t=ut();return TE(t,Q())}var bN=st,ME=class extends bN{_lContainer;_hostTNode;_hostLView;constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return Fs(this._hostTNode,this._hostLView)}get injector(){return new Io(this._hostTNode,this._hostLView)}get parentInjector(){let n=Bg(this._hostTNode,this._hostLView);if(cw(n)){let e=gu(n,this._hostLView),i=mu(n),r=e[K].data[i+8];return new Io(r,e)}else return new Io(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=qC(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-Vt}createEmbeddedView(n,e,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let s=Dg(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},o,s);return this.insertImpl(a,r,Cu(this._hostTNode,s)),a}createComponent(n,e,i,r,o,s,a){let l=n&&!Ck(n),c;if(l)c=e;else{let S=e||{};c=S.index,i=S.injector,r=S.projectableNodes,o=S.environmentInjector||S.ngModuleRef,s=S.directives,a=S.bindings}let d=l?n:new xr(gi(n)),f=i||this.parentInjector;if(!o&&d.ngModule==null){let I=(l?f:this.parentInjector).get(Le,null);I&&(o=I)}let m=gi(d.componentType??{}),h=Dg(this._lContainer,m?.id??null),v=h?.firstChild??null,E=d.create(f,r,v,o,s,a);return this.insertImpl(E.hostView,c,Cu(this._hostTNode,h)),E}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let r=n._lView;if(tC(r)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let l=r[Ct],c=new ME(l,l[Gt],l[Ct]);c.detach(c.indexOf(n))}}let o=this._adjustIndex(e),s=this._lContainer;return yv(s,r,o,i),n.attachToViewContainerRef(),hm(eg(s),o,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=qC(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=wu(this._lContainer,e);i&&(Ka(eg(this._lContainer),e),cv(i[K],i))}detach(n){let e=this._adjustIndex(n,-1),i=wu(this._lContainer,e);return i&&Ka(eg(this._lContainer),e)!=null?new Er(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function qC(t){return t[Ja]}function eg(t){return t[Ja]||(t[Ja]=[])}function TE(t,n){let e,i=n[t.index];return Bn(i)?e=i:(e=pE(i,n,null,t),n[t.index]=e,nv(n,e)),wN(e,n,t,i),new ME(e,t,n)}function CN(t,n){let e=t[Ve],i=e.createComment(""),r=Dn(n,t),o=e.parentNode(r);return yu(e,o,i,e.nextSibling(r),!1),i}var wN=DN,EN=()=>!1;function xN(t,n,e){return EN(t,n,e)}function DN(t,n,e,i){if(t[_r])return;let r;e.type&8?r=xn(i):r=CN(n,e),t[_r]=r}var Tg=class t{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Ag=class t{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let i=n.contentQueries!==null?n.contentQueries[0]:e.length,r=[];for(let o=0;o0)i.push(s[a/2]);else{let c=o[a+1],d=n[-l];for(let f=Vt;fn.trim())}function NE(t,n,e){t.queries===null&&(t.queries=new kg),t.queries.track(new Rg(n,e))}function kN(t,n){let e=t.contentQueries||(t.contentQueries=[]),i=e.length?e[e.length-1]:-1;n!==i&&e.push(t.queries.length-1,n)}function xv(t,n){return t.queries.getByIndex(n)}function PE(t,n){let e=t[K],i=xv(e,n);return i.crossesNgTemplate?Og(e,t,n,[]):AE(e,t,i,n)}function FE(t,n,e){let i,r=Fa(()=>{i._dirtyCounter();let o=RN(i,t);if(n&&o===void 0)throw new x(-951,!1);return o});return i=r[mt],i._dirtyCounter=Ce(0),i._flatValue=void 0,r}function Dv(t){return FE(!0,!1,t)}function Sv(t){return FE(!0,!0,t)}function LE(t,n){let e=t[mt];e._lView=Q(),e._queryIndex=n,e._queryList=Ev(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(i=>i+1))}function RN(t,n){let e=t._lView,i=t._queryIndex;if(e===void 0||i===void 0||e[re]&4)return n?void 0:Ft;let r=Ev(e,i),o=PE(e,i);return r.reset(o,_w),n?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue}function VE(t){let n=[],e=new Map;function i(r){let o=e.get(r);if(!o){let s=t(r);e.set(r,o=s.then(a=>NN(r,a)))}return o}return Iu.forEach((r,o)=>{let s=[];r.templateUrl&&s.push(i(r.templateUrl).then(c=>{r.template=c}));let a=typeof r.styles=="string"?[r.styles]:r.styles||[];if(r.styles=a,r.styleUrl&&r.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(r.styleUrls?.length){let c=r.styles.length,d=r.styleUrls;r.styleUrls.forEach((f,m)=>{a.push(""),s.push(i(f).then(h=>{a[c+m]=h,d.splice(d.indexOf(f),1),d.length==0&&(r.styleUrls=void 0)}))})}else r.styleUrl&&s.push(i(r.styleUrl).then(c=>{a.push(c),r.styleUrl=void 0}));let l=Promise.all(s).then(()=>PN(o));n.push(l)}),jE(),Promise.all(n).then(()=>{})}var Iu=new Map,ON=new Set;function jE(){let t=Iu;return Iu=new Map,t}function BE(){return Iu.size===0}function NN(t,n){return typeof n=="string"?n:n.status!==void 0&&n.status!==200?Promise.reject(new x(918,!1)):n.text()}function PN(t){ON.delete(t)}var xi=class{},zu=class{};var hl=class extends xi{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new xu(this);constructor(n,e,i,r=!0){super(),this.ngModuleType=n,this._parent=e;let o=gm(n);this._bootstrapComponents=Bw(o.bootstrap),this._r3Injector=Wm(n,e,[{provide:xi,useValue:this},{provide:Cl,useValue:this.componentFactoryResolver},...i],Bi(n),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},pl=class extends zu{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new hl(this.moduleType,n,[])}};function UE(t,n,e){return new hl(t,n,e,!1)}var Mu=class extends xi{injector;componentFactoryResolver=new xu(this);instance=null;constructor(n){super();let e=new vo([...n.providers,{provide:xi,useValue:this},{provide:Cl,useValue:this.componentFactoryResolver}],n.parent||ys(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function js(t,n,e=null){return new Mu({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}var FN=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=vm(!1,e.type),r=i.length>0?js([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=w({token:t,providedIn:"environment",factory:()=>new t(O(Le))})}return t})();function A(t){return gl(()=>{let n=HE(t),e=Z(b({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Ug.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?r=>r.get(FN).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||zi.Emulated,styles:t.styles||Ft,_:null,schemas:t.schemas||null,tView:null,id:""});n.standalone&&Si("NgStandalone"),zE(e);let i=t.dependencies;return e.directiveDefs=YC(i,LN),e.pipeDefs=YC(i,W0),e.id=BN(e),e})}function LN(t){return gi(t)||Yd(t)}function P(t){return gl(()=>({type:t.type,bootstrap:t.bootstrap||Ft,declarations:t.declarations||Ft,imports:t.imports||Ft,exports:t.exports||Ft,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function VN(t,n){if(t==null)return Vn;let e={};for(let i in t)if(t.hasOwnProperty(i)){let r=t[i],o,s,a,l;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o,l=r[3]||null):(o=r,s=r,a=Fu.None,l=null),e[o]=[i,a,l],n[o]=s}return e}function jN(t){if(t==null)return Vn;let n={};for(let e in t)t.hasOwnProperty(e)&&(n[t[e]]=e);return n}function F(t){return gl(()=>{let n=HE(t);return zE(n),n})}function $u(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function HE(t){let n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputConfig:t.inputs||Vn,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Ft,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:VN(t.inputs,n),outputs:jN(t.outputs),debugInfo:null}}function zE(t){t.features?.forEach(n=>n(t))}function YC(t,n){return t?()=>{let e=typeof t=="function"?t():t,i=[];for(let r of e){let o=n(r);o!==null&&i.push(o)}return i}:null}function BN(t){let n=0,e=typeof t.consts=="function"?"":t.consts,i=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,e,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let o of i.join("|"))n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function UN(t){return Object.getPrototypeOf(t.prototype).constructor}function Pe(t){let n=UN(t.type),e=!0,i=[t];for(;n;){let r;if(Un(t))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new x(903,!1);r=n.\u0275dir}if(r){if(e){i.push(r);let s=t;s.inputs=tg(t.inputs),s.declaredInputs=tg(t.declaredInputs),s.outputs=tg(t.outputs);let a=r.hostBindings;a&&WN(t,a);let l=r.viewQuery,c=r.contentQueries;if(l&&$N(t,l),c&&GN(t,c),HN(t,r),L0(t.outputs,r.outputs),Un(r)&&r.data.animation){let d=t.data;d.animation=(d.animation||[]).concat(r.data.animation)}}let o=r.features;if(o)for(let s=0;s=0;i--){let r=t[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Rs(r.hostAttrs,e=Rs(e,r.hostAttrs))}}function tg(t){return t===Vn?{}:t===Ft?[]:t}function $N(t,n){let e=t.viewQuery;e?t.viewQuery=(i,r)=>{n(i,r),e(i,r)}:t.viewQuery=n}function GN(t,n){let e=t.contentQueries;e?t.contentQueries=(i,r,o)=>{n(i,r,o),e(i,r,o)}:t.contentQueries=n}function WN(t,n){let e=t.hostBindings;e?t.hostBindings=(i,r)=>{n(i,r),e(i,r)}:t.hostBindings=n}function Iv(t){let n=e=>{let i=Array.isArray(t);e.hostDirectives===null?(e.resolveHostDirectives=qN,e.hostDirectives=i?t.map(Ng):[t]):i?e.hostDirectives.unshift(...t.map(Ng)):e.hostDirectives.unshift(t)};return n.ngInherit=!0,n}function qN(t){let n=[],e=!1,i=null,r=null;for(let o=0;o{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();var Yu=new y(""),Bs=new y(""),El=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(e,i,r){this._ngZone=e,this.registry=i,bm()&&(this._destroyRef=u(Wt,{optional:!0})??void 0),Mv||(WE(r),r.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let e=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),i=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{R.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{e.unsubscribe(),i.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(e)?(clearTimeout(i.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),e()},i)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:r})}whenStable(e,i,r){if(r&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,r),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,r){return[]}static \u0275fac=function(i){return new(i||t)(O(R),O(xl),O(Bs))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),xl=(()=>{class t{_applications=new Map;registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return Mv?.findTestabilityInTree(this,e,i)??null}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function WE(t){Mv=t}var Mv;function Mr(t){return!!t&&typeof t.then=="function"}function Tv(t){return!!t&&typeof t.subscribe=="function"}var Av=new y("");function Ku(t){return yo([{provide:Av,multi:!0,useValue:t}])}var kv=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i});appInits=u(Av,{optional:!0})??[];injector=u($);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let o=wt(this.injector,r);if(Mr(o))e.push(o);else if(Tv(o)){let s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});e.push(s)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),e.length===0&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Qu=new y("");function qE(){Mp(()=>{let t="";throw new x(600,t)})}function YE(t){return t.isBoundToModule}var XN=10;function Rv(t,n){return Array.isArray(n)?n.reduce(Rv,t):b(b({},t),n)}var Tt=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=u(nn);afterRenderManager=u(Vu);zonelessEnabled=u(ol);rootEffectScheduler=u(sl);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new M;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=u(Ci);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(X(e=>!e))}constructor(){u(Ir,{optional:!0})}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{e.unsubscribe()})}_injector=u(Le);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,i){return this.bootstrapImpl(e,i)}bootstrapImpl(e,i,r=$.NULL){return this._injector.get(R).run(()=>{je(10);let s=e instanceof Hu;if(!this._injector.get(kv).done){let v="";throw new x(405,v)}let l;s?l=e:l=this._injector.get(Cl).resolveComponentFactory(e),this.componentTypes.push(l.componentType);let c=YE(l)?void 0:this._injector.get(xi),d=i||l.selector,f=l.create(r,[],d,c),m=f.location.nativeElement,h=f.injector.get(Yu,null);return h?.registerApplication(m),f.onDestroy(()=>{this.detachView(f.hostView),ll(this.components,f),h?.unregisterApplication(m)}),this._loadComponent(f),je(11,f),f})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){je(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Lu.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new x(101,!1);let e=ce(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,ce(e),this.afterTick.next(),je(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(rt,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++tl(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){let i=e;ll(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(r){this.internalErrorHandler(r)}this.components.push(e),this._injector.get(Qu,[]).forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>ll(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new x(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ll(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function _e(t,n,e,i){let r=Q(),o=Cr();if(un(r,o,n)){let s=Ke(),a=Is();wO(a,r,t,n,e,i)}return _e}var QW=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function ze(t,n,e,i,r,o,s,a){Si("NgControlFlow");let l=Q(),c=Ke(),d=Hn(c.consts,o);return Gu(l,c,t,n,e,i,r,d,256,s,a),Ov}function Ov(t,n,e,i,r,o,s,a){Si("NgControlFlow");let l=Q(),c=Ke(),d=Hn(c.consts,o);return Gu(l,c,t,n,e,i,r,d,512,s,a),Ov}function $e(t,n){Si("NgControlFlow");let e=Q(),i=Cr(),r=e[i]!==It?e[i]:-1,o=r!==-1?ZC(e,tt+r):void 0,s=0;if(un(e,i,t)){let a=ce(null);try{if(o!==void 0&&HO(o,s),t!==-1){let l=tt+t,c=ZC(e,l),d=JN(e[K],l),f=QO(c,d,e),m=vv(e,d,n,{dehydratedView:f});yv(c,m,s,Cu(d,f))}}finally{ce(a)}}else if(o!==void 0){let a=UO(o,s);a!==void 0&&(a[St]=n)}}function ZC(t,n){return t[n]}function JN(t,n){return el(t,n)}function D(t,n,e){let i=Q(),r=Cr();if(un(i,r,n)){let o=Ke(),s=Is();iE(s,i,t,n,i[Ve],e)}return D}function Pg(t,n,e,i,r){mv(n,t,e,r?"class":"style",i)}function p(t,n,e,i){let r=Q(),o=r[K],s=t+tt,a=o.firstCreatePass?bv(s,r,2,n,fv,Xd(),e,i):o.data[s];if(hv(a,r,t,n,KE),Es(a)){let l=r[K];Bu(l,r,a),$g(l,a,r)}return i!=null&&bl(r,a),p}function g(){let t=Ke(),n=ut(),e=pv(n);return t.firstCreatePass&&Cv(t,e),Pm(e)&&Fm(),Om(),e.classesWithoutHost!=null&&Ik(e)&&Pg(t,e,Q(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&Mk(e)&&Pg(t,e,Q(),e.stylesWithoutHost,!1),g}function V(t,n,e,i){return p(t,n,e,i),g(),V}function Bt(t,n,e,i){let r=Q(),o=r[K],s=t+tt,a=o.firstCreatePass?aN(s,o,2,n,e,i):o.data[s];return hv(a,r,t,n,KE),i!=null&&bl(r,a),Bt}function rn(){let t=ut(),n=pv(t);return Pm(n)&&Fm(),Om(),rn}function on(t,n,e,i){return Bt(t,n,e,i),rn(),on}var KE=(t,n,e,i,r)=>(rl(!0),Pw(n[Ve],i,Gm()));function Zu(t,n,e){let i=Q(),r=i[K],o=t+tt,s=r.firstCreatePass?bv(o,i,8,"ng-container",fv,Xd(),n,e):r.data[o];if(hv(s,i,t,"ng-container",e1),Es(s)){let a=i[K];Bu(a,i,s),$g(a,s,i)}return e!=null&&bl(i,s),Zu}function Xu(){let t=Ke(),n=ut(),e=pv(n);return t.firstCreatePass&&Cv(t,e),Xu}var e1=(t,n,e,i,r)=>(rl(!0),ER(n[Ve],""));function we(){return Q()}function qt(t,n,e){let i=Q(),r=Cr();if(un(i,r,n)){let o=Ke(),s=Is();rE(s,i,t,n,i[Ve],e)}return qt}var Dl="en-US";var t1=Dl;function QE(t){typeof t=="string"&&(t1=t.toLowerCase().replace(/_/g,"-"))}function H(t,n,e){let i=Q(),r=Ke(),o=ut();return ZE(r,i,i[Ve],o,t,n,e),H}function Ju(t,n,e){let i=Q(),r=Ke(),o=ut();return(o.type&3||e)&&DE(o,r,i,e,i[Ve],t,n,hu(o,i,n)),Ju}function ZE(t,n,e,i,r,o,s){let a=!0,l=null;if((i.type&3||s)&&(l??=hu(i,n,o),DE(i,t,n,s,e,r,o,l)&&(a=!1)),a){let c=i.outputs?.[r],d=i.hostDirectiveOutputs?.[r];if(d&&d.length)for(let f=0;f>17&32767}function r1(t){return(t&2)==2}function o1(t,n){return t&131071|n<<17}function Fg(t){return t|2}function Ps(t){return(t&131068)>>2}function ng(t,n){return t&-131069|n<<2}function s1(t){return(t&1)===1}function Lg(t){return t|1}function a1(t,n,e,i,r,o){let s=o?n.classBindings:n.styleBindings,a=To(s),l=Ps(s);t[i]=e;let c=!1,d;if(Array.isArray(e)){let f=e;d=f[1],(d===null||_s(f,d)>0)&&(c=!0)}else d=e;if(r)if(l!==0){let m=To(t[a+1]);t[i+1]=au(m,a),m!==0&&(t[m+1]=ng(t[m+1],i)),t[a+1]=o1(t[a+1],i)}else t[i+1]=au(a,0),a!==0&&(t[a+1]=ng(t[a+1],i)),a=i;else t[i+1]=au(l,0),a===0?a=i:t[l+1]=ng(t[l+1],i),l=i;c&&(t[i+1]=Fg(t[i+1])),XC(t,d,i,!0),XC(t,d,i,!1),l1(n,d,t,i,o),s=au(a,l),o?n.classBindings=s:n.styleBindings=s}function l1(t,n,e,i,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof n=="string"&&_s(o,n)>=0&&(e[i+1]=Lg(e[i+1]))}function XC(t,n,e,i){let r=t[e+1],o=n===null,s=i?To(r):Ps(r),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],c=t[s+1];c1(l,n)&&(a=!0,t[s+1]=i?Lg(c):Fg(c)),s=i?To(c):Ps(c)}a&&(t[e+1]=i?Fg(r):Lg(r))}function c1(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?_s(t,n)>=0:!1}var Gn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function d1(t){return t.substring(Gn.key,Gn.keyEnd)}function u1(t){return f1(t),XE(t,JE(t,0,Gn.textEnd))}function XE(t,n){let e=Gn.textEnd;return e===n?-1:(n=Gn.keyEnd=h1(t,Gn.key=n,e),JE(t,n,e))}function f1(t){Gn.key=0,Gn.keyEnd=0,Gn.value=0,Gn.valueEnd=0,Gn.textEnd=t.length}function JE(t,n,e){for(;n32;)n++;return n}function Sl(t,n,e){return ex(t,n,e,!1),Sl}function ne(t,n){return ex(t,n,null,!0),ne}function Yt(t){m1(C1,p1,t,!0)}function p1(t,n){for(let e=u1(n);e>=0;e=XE(n,e))Wd(t,d1(n),!0)}function ex(t,n,e,i){let r=Q(),o=Ke(),s=nl(2);if(o.firstUpdatePass&&nx(o,t,s,i),n!==It&&un(r,s,n)){let a=o.data[zn()];ix(o,a,r,r[Ve],t,r[s+1]=E1(n,e),i,s)}}function m1(t,n,e,i){let r=Ke(),o=nl(2);r.firstUpdatePass&&nx(r,null,o,i);let s=Q();if(e!==It&&un(s,o,e)){let a=r.data[zn()];if(rx(a,i)&&!tx(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(e=Hd(l,e||"")),Pg(r,a,s,e,i)}else w1(r,a,s,s[Ve],s[o+1],s[o+1]=b1(t,n,e),i,o)}}function tx(t,n){return n>=t.expandoStartIndex}function nx(t,n,e,i){let r=t.data;if(r[e+1]===null){let o=r[zn()],s=tx(t,e);rx(o,i)&&n===null&&!s&&(n=!1),n=g1(r,o,n,i),a1(r,o,n,e,s,i)}}function g1(t,n,e,i){let r=hC(t),o=i?n.residualClasses:n.residualStyles;if(r===null)(i?n.classBindings:n.styleBindings)===0&&(e=ig(null,t,n,e,i),e=ml(e,n.attrs,i),o=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==r)if(e=ig(r,t,n,e,i),o===null){let l=v1(t,n,i);l!==void 0&&Array.isArray(l)&&(l=ig(null,t,n,l[1],i),l=ml(l,n.attrs,i),_1(t,n,i,l))}else o=y1(t,n,i)}return o!==void 0&&(i?n.residualClasses=o:n.residualStyles=o),e}function v1(t,n,e){let i=e?n.classBindings:n.styleBindings;if(Ps(i)!==0)return t[To(i)]}function _1(t,n,e,i){let r=e?n.classBindings:n.styleBindings;t[To(r)]=i}function y1(t,n,e){let i,r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0;){let l=t[r],c=Array.isArray(l),d=c?l[1]:l,f=d===null,m=e[r+1];m===It&&(m=f?Ft:void 0);let h=f?qd(m,i):d===i?m:void 0;if(c&&!Tu(h)&&(h=qd(l,i)),Tu(h)&&(a=h,s))return a;let v=t[r+1];r=s?To(v):Ps(v)}if(n!==null){let l=o?n.residualClasses:n.residualStyles;l!=null&&(a=qd(l,i))}return a}function Tu(t){return t!==void 0}function E1(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=Bi(fn(t)))),t}function rx(t,n){return(t.flags&(n?8:16))!==0}function C(t,n=""){let e=Q(),i=Ke(),r=t+tt,o=i.firstCreatePass?Vs(i,r,1,n,null):i.data[r],s=x1(i,e,o,n,t);e[r]=s,iu()&&dv(i,e,s,o),Ds(o,!1)}var x1=(t,n,e,i,r)=>(rl(!0),CR(n[Ve],i));function ox(t,n,e,i=""){return un(t,Cr(),e)?n+wn(e)+i:It}function D1(t,n,e,i,r,o=""){let s=Hm(),a=EE(t,s,e,r);return nl(2),a?n+wn(e)+i+wn(r)+o:It}function S1(t,n,e,i,r,o,s,a=""){let l=Hm(),c=xE(t,l,e,r,s);return nl(3),c?n+wn(e)+i+wn(r)+o+wn(s)+a:It}function lt(t){return Ee("",t),lt}function Ee(t,n,e){let i=Q(),r=ox(i,t,n,e);return r!==It&&Pv(i,zn(),r),Ee}function tf(t,n,e,i,r){let o=Q(),s=D1(o,t,n,e,i,r);return s!==It&&Pv(o,zn(),s),tf}function nf(t,n,e,i,r,o,s){let a=Q(),l=S1(a,t,n,e,i,r,o,s);return l!==It&&Pv(a,zn(),l),nf}function Pv(t,n,e){let i=Dm(n,t);wR(t[Ve],i,e)}function Hs(t,n,e){Ym(n)&&(n=n());let i=Q(),r=Cr();if(un(i,r,n)){let o=Ke(),s=Is();iE(s,i,t,n,i[Ve],e)}return Hs}function Il(t,n){let e=Ym(t);return e&&t.set(n),e}function zs(t,n){let e=Q(),i=Ke(),r=ut();return ZE(i,e,e[Ve],r,t,n),zs}function $s(t){return un(Q(),Cr(),t)?wn(t):It}function Fv(t,n,e=""){return ox(Q(),t,n,e)}function I1(t,n,e){let i=Ke();if(i.firstCreatePass){let r=Un(t);Vg(e,i.data,i.blueprint,r,!0),Vg(n,i.data,i.blueprint,r,!1)}}function Vg(t,n,e,i,r){if(t=vt(t),Array.isArray(t))for(let o=0;o>20;if(go(t)||!t.multi){let h=new Mo(c,r,k,null),v=og(l,n,r?d:d+m,f);v===-1?(ag(_u(a,s),o,l),rg(o,t,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(h),s.push(h)):(e[v]=h,s[v]=h)}else{let h=og(l,n,d+m,f),v=og(l,n,d,d+m),E=h>=0&&e[h],S=v>=0&&e[v];if(r&&!S||!r&&!E){ag(_u(a,s),o,l);let I=A1(r?T1:M1,e.length,r,i,c,t);!r&&S&&(e[v].providerFactory=I),rg(o,t,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(I),s.push(I)}else{let I=sx(e[r?v:h],c,!r&&i);rg(o,t,h>-1?h:v,I)}!r&&i&&S&&e[v].componentProviders++}}}function rg(t,n,e,i){let r=go(n),o=Q0(n);if(r||o){let l=(o?vt(n.useClass):n).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&n.multi){let d=c.indexOf(e);d===-1?c.push(e,[i,l]):c[d+1].push(i,l)}else c.push(e,l)}}}function sx(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function og(t,n,e,i){for(let r=e;r{e.providersResolver=(i,r)=>I1(i,r?r(t):t,n)}}function rf(t,n,e,i,r,o){return R1(Q(),Um(),t,n,e,i,r,o)}function ax(t,n){let e=t[n];return e===It?void 0:e}function k1(t,n,e,i,r,o){let s=n+e;return un(t,s,r)?wE(t,s+1,o?i.call(o,r):i(r)):ax(t,s+1)}function R1(t,n,e,i,r,o,s,a){let l=n+e;return xE(t,l,r,o,s)?wE(t,l+3,a?i.call(a,r,o,s):i(r,o,s)):ax(t,l+3)}function Yn(t,n){let e=Ke(),i,r=t+tt;e.firstCreatePass?(i=O1(n,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks??=[]).push(r,i.onDestroy)):i=e.data[r];let o=i.factory||(i.factory=pr(i.type,!0)),s,a=$t(k);try{let l=vu(!1),c=o();return vu(l),Im(e,Q(),r,c),c}finally{$t(a)}}function O1(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function Kn(t,n,e){let i=t+tt,r=Q(),o=Sm(r,i);return N1(r,i)?k1(r,Um(),n,o.transform,e,o):o.transform(e)}function N1(t,n){return t[K].data[n].pure}function Lv(t,n){return Uu(t,n)}var lu=null;function lx(t){lu!==null&&(t.defaultEncapsulation!==lu.defaultEncapsulation||t.preserveWhitespaces!==lu.preserveWhitespaces)||(lu=t)}var Au=class{ngModuleFactory;componentFactories;constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}},Vv=(()=>{class t{compileModuleSync(e){return new pl(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let i=this.compileModuleSync(e),r=gm(e),o=Bw(r.declarations).reduce((s,a)=>{let l=gi(a);return l&&s.push(new xr(l)),s},[]);return new Au(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),cx=new y("");var P1=(()=>{class t{zone=u(R);changeDetectionScheduler=u(bn);applicationRef=u(Tt);applicationErrorHandler=u(nn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(e){this.applicationErrorHandler(e)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function dx({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:e}){return t??=()=>new R(Z(b({},jv()),{scheduleInRootZone:e})),[{provide:R,useFactory:t},{provide:Ui,multi:!0,useFactory:()=>{let i=u(P1,{optional:!0});return()=>i.initialize()}},{provide:Ui,multi:!0,useFactory:()=>{let i=u(F1);return()=>{i.initialize()}}},n===!0?{provide:Km,useValue:!0}:[],{provide:Qm,useValue:e??Ww},{provide:nn,useFactory:()=>{let i=u(R),r=u(Le),o;return s=>{i.runOutsideAngular(()=>{r.destroyed&&!o?setTimeout(()=>{throw s}):(o??=r.get(yn),o.handleError(s))})}}}]}function jv(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var F1=(()=>{class t{subscription=new me;initialized=!1;zone=u(R);pendingTasks=u(Ci);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{R.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{R.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ux=(()=>{class t{applicationErrorHandler=u(nn);appRef=u(Tt);taskService=u(Ci);ngZone=u(R);zonelessEnabled=u(ol);tracing=u(Ir,{optional:!0});disableScheduling=u(Km,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new me;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(bu):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(u(Qm,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof dl||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;let i=!1;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,i=!0;break}case 12:{this.appRef.dirtyFlags|=16,i=!0;break}case 13:{this.appRef.dirtyFlags|=2,i=!0;break}case 11:{i=!0;break}default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(i))return;let r=this.useMicrotaskScheduler?PC:qw;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(e){return!(this.disableScheduling&&!e||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(bu+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){this.taskService.remove(e),this.applicationErrorHandler(i)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,PC(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function L1(){return typeof $localize<"u"&&$localize.locale||Dl}var of=new y("",{providedIn:"root",factory:()=>u(of,{optional:!0,skipSelf:!0})||L1()});function ht(t){return R0(t)}function Qn(t,n){return Fa(t,n?.equal)}var Bv=class{[mt];constructor(n){this[mt]=n}destroy(){this[mt].destroy()}};function Tr(t,n){let e=n?.injector??u($),i=n?.manualCleanup!==!0?e.get(Wt):null,r,o=e.get(Do,null,{optional:!0}),s=e.get(bn);return o!==null?(r=B1(o.view,s,t),i instanceof qa&&i._lView===o.view&&(i=null)):r=U1(t,e.get(sl),s),r.injector=e,i!==null&&(r.onDestroyFn=i.onDestroy(()=>r.destroy())),new Bv(r)}var fx=Z(b({},O0),{cleanupFns:void 0,zone:null,onDestroyFn:So,run(){let t=Ss(!1);try{N0(this)}finally{Ss(t)}},cleanup(){if(!this.cleanupFns?.length)return;let t=ce(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],ce(t)}}}),V1=Z(b({},fx),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){ar(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}}),j1=Z(b({},fx),{consumerMarkedDirty(){this.view[re]|=8192,br(this.view),this.notifier.notify(13)},destroy(){ar(this),this.onDestroyFn(),this.cleanup(),this.view[Hi]?.delete(this)}});function B1(t,n,e){let i=Object.create(j1);return i.view=t,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=n,i.fn=hx(i,e),t[Hi]??=new Set,t[Hi].add(i),i.consumerMarkedDirty(i),i}function U1(t,n,e){let i=Object.create(V1);return i.fn=hx(i,t),i.scheduler=n,i.notifier=e,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.add(i),i.notifier.notify(12),i}function hx(t,n){return()=>{n(e=>(t.cleanupFns??=[]).push(e))}}var Ex=Symbol("InputSignalNode#UNSET"),J1=Z(b({},La),{transformFn:void 0,applyValueToInputSignal(t,n){os(t,n)}});function xx(t,n){let e=Object.create(J1);e.value=t,e.transformFn=n?.transform;function i(){if(ro(e),e.value===Ex){let r=null;throw new x(-950,r)}return e.value}return i[mt]=e,i}var Ii=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>vl(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},eP=new y("");eP.__NG_ELEMENT_ID__=t=>{let n=ut();if(n===null)throw new x(204,!1);if(n.type&2)return n.value;if(t&8)return null;throw new x(204,!1)};function px(t,n){return xx(t,n)}function tP(t){return xx(Ex,t)}var Dx=(px.required=tP,px);function mx(t,n){return Dv(n)}function nP(t,n){return Sv(n)}var Tl=(mx.required=nP,mx);function gx(t,n){return Dv(n)}function iP(t,n){return Sv(n)}var Sx=(gx.required=iP,gx);function rP(t,n,e){let i=new pl(e);return Promise.resolve(i)}function vx(t){for(let n=t.length-1;n>=0;n--)if(t[n]!==void 0)return t[n]}var sf=new y(""),oP=new y("");function Ml(t){return!t.moduleRef}function sP(t){let n=Ml(t)?t.r3Injector:t.moduleRef.injector,e=n.get(R);return e.run(()=>{Ml(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(nn),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:i})}),Ml(t)){let o=()=>n.destroy(),s=t.platformInjector.get(sf);s.add(o),n.onDestroy(()=>{r.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(sf);s.add(o),t.moduleRef.onDestroy(()=>{ll(t.allPlatformModules,t.moduleRef),r.unsubscribe(),s.delete(o)})}return lP(i,e,()=>{let o=n.get(Ci),s=o.add(),a=n.get(kv);return a.runInitializers(),a.donePromise.then(()=>{let l=n.get(of,Dl);if(QE(l||Dl),!n.get(oP,!0))return Ml(t)?n.get(Tt):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(Ml(t)){let d=n.get(Tt);return t.rootComponent!==void 0&&d.bootstrap(t.rootComponent),d}else return Ix?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>{o.remove(s)})})})}var Ix;function _x(){Ix=aP}function aP(t,n){let e=t.injector.get(Tt);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>e.bootstrap(i));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new x(-403,!1);n.push(t)}function lP(t,n,e){try{let i=e();return Mr(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>t(i)),i}}var Mx=(()=>{class t{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(e){this._injector=e}bootstrapModuleFactory(e,i){let r=i?.scheduleInRootZone,o=()=>Kw(i?.ngZone,Z(b({},jv({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing})),{scheduleInRootZone:r})),s=i?.ignoreChangesOutsideZone,a=[dx({ngZoneFactory:o,ignoreChangesOutsideZone:s}),{provide:bn,useExisting:ux},yC],l=UE(e.moduleType,this.injector,a);return _x(),sP({moduleRef:l,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,i=[]){let r=Rv({},i);return _x(),rP(this.injector,r,e).then(o=>this.bootstrapModuleFactory(o,r))}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new x(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());let e=this._injector.get(sf,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(i){return new(i||t)(O($))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),Yv=null;function cP(t){if(Qv())throw new x(400,!1);qE(),Yv=t;let n=t.get(Mx);return fP(t),n}function Kv(t,n,e=[]){let i=`Platform: ${n}`,r=new y(i);return(o=[])=>{let s=Qv();if(!s){let a=[...e,...o,{provide:r,useValue:!0}];s=t?.(a)??cP(dP(a,i))}return uP(r)}}function dP(t=[],n){return $.create({name:n,providers:[{provide:Qa,useValue:"platform"},{provide:sf,useValue:new Set([()=>Yv=null])},...t]})}function uP(t){let n=Qv();if(!n)throw new x(-401,!1);return n}function Qv(){return Yv?.get(Mx)??null}function fP(t){let n=t.get(ku,null);wt(t,()=>{n?.forEach(e=>e())})}var Fe=(()=>{class t{static __NG_ELEMENT_ID__=hP}return t})();function hP(t){return pP(ut(),Q(),(t&16)===16)}function pP(t,n,e){if(yr(t)&&!e){let i=Sn(t.index,n);return new Er(i,i)}else if(t.type&175){let i=n[tn];return new Er(i,n)}return null}var Hv=class{constructor(){}supports(n){return wv(n)}create(n){return new zv(n)}},mP=(t,n)=>n,zv=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||mP}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){let s=!i||e&&e.currentIndex{s=this._trackByFn(r,a),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,a,s,r),i=!0):(i&&(e=this._verifyReinsertion(e,a,s,r)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,r){let o;return n===null?o=this._itTail:(o=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,r)):(n=this._linkedRecords===null?null:this._linkedRecords.get(i,r),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,r)):n=this._addAfter(new $v(e,i),o,r)),n}_verifyReinsertion(n,e,i,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return o!==null?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let r=n._prevRemoved,o=n._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){let r=e===null?this._itHead:e._next;return n._next=r,n._prev=e,r===null?this._itTail=n:r._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new af),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,i=n._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new af),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},$v=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,e){this.item=n,this.trackById=e}},Gv=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){let e=n._prevDup,i=n._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null}},af=class{map=new Map;put(n){let e=n.trackById,i=this.map.get(e);i||(i=new Gv,this.map.set(e,i)),i.add(n)}get(n,e){let i=n,r=this.map.get(i);return r?r.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function yx(t,n,e){let i=t.previousIndex;if(i===null)return i;let r=0;return e&&i{class t{factories;static \u0275prov=w({token:t,providedIn:"root",factory:bx});constructor(e){this.factories=e}static create(e,i){if(i!=null){let r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{let i=u(t,{optional:!0,skipSelf:!0});return t.create(e,i||bx())}}}find(e){let i=this.factories.find(r=>r.supports(e));if(i!=null)return i;throw new x(901,!1)}}return t})();var Tx=Kv(null,"core",[]),Ax=(()=>{class t{constructor(e){}static \u0275fac=function(i){return new(i||t)(O(Tt))};static \u0275mod=P({type:t});static \u0275inj=N({})}return t})();function W(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Mi(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}var Uv=Symbol("NOT_SET"),kx=new Set,gP=Z(b({},La),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Uv,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase(ro(c),c.value),c.signal[mt]=c,c.registerCleanupFn=d=>(c.cleanup??=new Set).add(d),this.nodes[a]=c,this.hooks[a]=d=>c.phaseFn(d)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(let n of this.nodes)if(n)try{for(let e of n.cleanup??kx)e()}finally{ar(n)}}};function Rx(t,n){let e=n?.injector??u($),i=e.get(bn),r=e.get(Vu),o=e.get(Ir,null,{optional:!0});r.impl??=e.get(av);let s=t;typeof s=="function"&&(s={mixedReadWrite:t});let a=e.get(Do,null,{optional:!0}),l=new Wv(r.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,i,e,o?.snapshot(null));return r.impl.register(l),l}function cf(t,n){let e=gi(t),i=n.elementInjector||ys();return new xr(e).create(i,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}function Ox(t){let n=gi(t);if(!n)return null;let e=new xr(n);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var Nx=null;function hn(){return Nx}function Zv(t){Nx??=t}var Al=class{},Ar=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:()=>u(Px),providedIn:"platform"})}return t})(),Xv=new y(""),Px=(()=>{class t extends Ar{_location;_history;_doc=u(G);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return hn().getBaseHref(this._doc)}onPopState(e){let i=hn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){let i=hn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,r){this._history.pushState(e,i,r)}replaceState(e,i,r){this._history.replaceState(e,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function df(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function Fx(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function Zn(t){return t&&t[0]!=="?"?`?${t}`:t}var Xn=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:()=>u(ff),providedIn:"root"})}return t})(),uf=new y(""),ff=(()=>{class t extends Xn{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??u(G).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return df(this._baseHref,e)}path(e=!1){let i=this._platformLocation.pathname+Zn(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+Zn(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+Zn(o));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||t)(O(Ar),O(uf,8))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ti=(()=>{class t{_subject=new M;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let i=this._locationStrategy.getBaseHref();this._basePath=yP(Fx(Lx(i))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Zn(i))}normalize(e){return t.stripTrailingSlash(_P(this._basePath,Lx(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Zn(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Zn(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i??void 0,complete:r??void 0})}static normalizeQueryParams=Zn;static joinWithSlash=df;static stripTrailingSlash=Fx;static \u0275fac=function(i){return new(i||t)(O(Xn))};static \u0275prov=w({token:t,factory:()=>vP(),providedIn:"root"})}return t})();function vP(){return new Ti(O(Xn))}function _P(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function Lx(t){return t.replace(/\/index.html$/,"")}function yP(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var e_=(()=>{class t extends Xn{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(e){let i=df(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+Zn(o))||this._platformLocation.pathname;this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+Zn(o))||this._platformLocation.pathname;this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||t)(O(Ar),O(uf,8))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})();var Jv=/\s+/,Vx=[],ko=(()=>{class t{_ngEl;_renderer;initialClasses=Vx;rawClass;stateMap=new Map;constructor(e,i){this._ngEl=e,this._renderer=i}set klass(e){this.initialClasses=e!=null?e.trim().split(Jv):Vx}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(Jv):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){let r=this.stateMap.get(e);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(Jv).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||t)(k(j),k(Ne))};static \u0275dir=F({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var hf=class{$implicit;ngForOf;index;count;constructor(n,e,i,r){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},xt=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let i=this._viewContainer;e.forEachOperation((r,o,s)=>{if(r.previousIndex==null)i.createEmbeddedView(this._template,new hf(r.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)i.remove(o===null?void 0:o);else if(o!==null){let a=i.get(o);i.move(a,s),jx(a,r)}});for(let r=0,o=i.length;r{let o=i.get(r.currentIndex);jx(o,r)})}static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||t)(k(st),k(Et),k(lf))};static \u0275dir=F({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function jx(t,n){t.context.$implicit=n.item}var kt=(()=>{class t{_viewContainer;_context=new pf;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,i){this._viewContainer=e,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Bx(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Bx(e,!1),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||t)(k(st),k(Et))};static \u0275dir=F({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),pf=class{$implicit=null;ngIf=null};function Bx(t,n){if(t&&!t.createEmbeddedView)throw new x(2020,!1)}var t_=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(e,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||t)(k(st))};static \u0275dir=F({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[He]})}return t})();var n_=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({})}return t})();function kl(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[r,o]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}var Ro=class{};var r_="browser";function Ux(t){return t===r_}var Hx=(()=>{class t{static \u0275prov=w({token:t,providedIn:"root",factory:()=>new i_(u(G),window)})}return t})(),i_=class{document;window;offset=()=>[0,0];constructor(n,e){this.document=n,this.window=e}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n,e){this.window.scrollTo(Z(b({},e),{left:n[0],top:n[1]}))}scrollToAnchor(n,e){let i=bP(this.document,n);i&&(this.scrollToElement(i,e),i.focus())}setHistoryScrollRestoration(n){try{this.window.history.scrollRestoration=n}catch{console.warn(Ln(2400,!1))}}scrollToElement(n,e){let i=n.getBoundingClientRect(),r=i.left+this.window.pageXOffset,o=i.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(Z(b({},e),{left:r-s[0],top:o-s[1]}))}};function bP(t,n){let e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;for(;r;){let o=r.shadowRoot;if(o){let s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}r=i.nextNode()}}return null}var Rl=class{_doc;constructor(n){this._doc=n}manager},mf=(()=>{class t extends Rl{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r,o){return e.addEventListener(i,r,o),()=>this.removeEventListener(e,i,r,o)}removeEventListener(e,i,r,o){return e.removeEventListener(i,r,o)}static \u0275fac=function(i){return new(i||t)(O(G))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),vf=new y(""),c_=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,i){this._zone=i,e.forEach(s=>{s.manager=this});let r=e.filter(s=>!(s instanceof mf));this._plugins=r.slice().reverse();let o=e.find(s=>s instanceof mf);o&&this._plugins.push(o)}addEventListener(e,i,r,o){return this._findPluginFor(i).addEventListener(e,i,r,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(o=>o.supports(e)),!i)throw new x(5101,!1);return this._eventNameToPlugin.set(e,i),i}static \u0275fac=function(i){return new(i||t)(O(vf),O(R))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),o_="ng-app-id";function zx(t){for(let n of t)n.remove()}function $x(t,n){let e=n.createElement("style");return e.textContent=t,e}function CP(t,n,e,i){let r=t.head?.querySelectorAll(`style[${o_}="${n}"],link[${o_}="${n}"]`);if(r)for(let o of r)o.removeAttribute(o_),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function a_(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var d_=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,i,r,o={}){this.doc=e,this.appId=i,this.nonce=r,CP(e,i,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,i){for(let r of e)this.addUsage(r,this.inline,$x);i?.forEach(r=>this.addUsage(r,this.external,a_))}removeStyles(e,i){for(let r of e)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,i,r){let o=i.get(e);o?o.usage++:i.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,r(e,this.doc)))})}removeUsage(e,i){let r=i.get(e);r&&(r.usage--,r.usage<=0&&(zx(r.elements),i.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])zx(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(e,$x(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(e,a_(i,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,i){return this.nonce&&i.setAttribute("nonce",this.nonce),e.appendChild(i)}static \u0275fac=function(i){return new(i||t)(O(G),O(Dr),O(Ls,8),O(Ao))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),s_={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},u_=/%COMP%/g;var Wx="%COMP%",wP=`_nghost-${Wx}`,EP=`_ngcontent-${Wx}`,xP=!0,DP=new y("",{providedIn:"root",factory:()=>xP});function SP(t){return EP.replace(u_,t)}function IP(t){return wP.replace(u_,t)}function qx(t,n){return n.map(e=>e.replace(u_,t))}var Pl=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,i,r,o,s,a,l=null,c=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=a,this.nonce=l,this.tracingService=c,this.platformIsServer=!1,this.defaultRenderer=new Ol(e,s,a,this.platformIsServer,this.tracingService)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;let r=this.getOrCreateRenderer(e,i);return r instanceof gf?r.applyToHost(e):r instanceof Nl&&r.applyStyles(),r}getOrCreateRenderer(e,i){let r=this.rendererByCompId,o=r.get(i.id);if(!o){let s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer,m=this.tracingService;switch(i.encapsulation){case zi.Emulated:o=new gf(l,c,i,this.appId,d,s,a,f,m);break;case zi.ShadowDom:return new l_(l,c,e,i,s,a,this.nonce,f,m);default:o=new Nl(l,c,i,d,s,a,f,m);break}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(i){return new(i||t)(O(c_),O(d_),O(Dr),O(DP),O(G),O(R),O(Ls),O(Ir,8))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),Ol=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,i,r,o){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(s_[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(Gx(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(Gx(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){e.remove()}selectRootElement(n,e){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new x(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,r){if(r){e=r+":"+e;let o=s_[r];o?n.setAttributeNS(o,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let r=s_[i];r?n.removeAttributeNS(r,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,r){r&(Ei.DashCase|Ei.Important)?n.style.setProperty(e,i,r&Ei.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&Ei.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n!=null&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i,r){if(typeof n=="string"&&(n=hn().getGlobalEventTarget(this.doc,n),!n))throw new x(5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,e,o)),this.eventManager.addEventListener(n,e,o,r)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;n(e)===!1&&e.preventDefault()}}};function Gx(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var l_=class extends Ol{sharedStylesHost;hostEl;shadowRoot;constructor(n,e,i,r,o,s,a,l,c){super(n,o,s,l,c),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=r.styles;d=qx(r.id,d);for(let m of d){let h=document.createElement("style");a&&h.setAttribute("nonce",a),h.textContent=m,this.shadowRoot.appendChild(h)}let f=r.getExternalStyles?.();if(f)for(let m of f){let h=a_(m,o);a&&h.setAttribute("nonce",a),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Nl=class extends Ol{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,i,r,o,s,a,l,c){super(n,o,s,a,l),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let d=i.styles;this.styles=c?qx(c,d):d,this.styleUrls=i.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Ns.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},gf=class extends Nl{contentAttr;hostAttr;constructor(n,e,i,r,o,s,a,l,c){let d=r+"-"+i.id;super(n,e,i,o,s,a,l,c,d),this.contentAttr=SP(d),this.hostAttr=IP(d)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}};var _f=class t extends Al{supportsDOMEvents=!0;static makeCurrent(){Zv(new t)}onAndCancel(n,e,i,r){return n.addEventListener(e,i,r),()=>{n.removeEventListener(e,i,r)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=MP();return e==null?null:TP(e)}resetBaseElement(){Fl=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return kl(document.cookie,n)}},Fl=null;function MP(){return Fl=Fl||document.head.querySelector("base"),Fl?Fl.getAttribute("href"):null}function TP(t){return new URL(t,document.baseURI).pathname}var yf=class{addToWindow(n){Lt.getAngularTestability=(i,r=!0)=>{let o=n.findTestabilityInTree(i,r);if(o==null)throw new x(5103,!1);return o},Lt.getAllAngularTestabilities=()=>n.getAllTestabilities(),Lt.getAllAngularRootElements=()=>n.getAllRootElements();let e=i=>{let r=Lt.getAllAngularTestabilities(),o=r.length,s=function(){o--,o==0&&i()};r.forEach(a=>{a.whenStable(s)})};Lt.frameworkStabilizers||(Lt.frameworkStabilizers=[]),Lt.frameworkStabilizers.push(e)}findTestabilityInTree(n,e,i){if(e==null)return null;let r=n.getTestability(e);return r??(i?hn().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},AP=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),Yx=["alt","control","meta","shift"],kP={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},RP={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Kx=(()=>{class t extends Rl{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,r,o){let s=t.parseEventName(i),a=t.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>hn().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let i=e.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=t._normalizeKey(i.pop()),s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),Yx.forEach(c=>{let d=i.indexOf(c);d>-1&&(i.splice(d,1),s+=c+".")}),s+=o,i.length!=0||o.length===0)return null;let l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let r=kP[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),Yx.forEach(s=>{if(s!==r){let a=RP[s];a(e)&&(o+=s+".")}}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{t.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(i){return new(i||t)(O(G))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})();function OP(){_f.makeCurrent()}function NP(){return new yn}function PP(){return Hg(document),document}var FP=[{provide:Ao,useValue:r_},{provide:ku,useValue:OP,multi:!0},{provide:G,useFactory:PP}],f_=Kv(Tx,"browser",FP);var LP=[{provide:Bs,useClass:yf},{provide:Yu,useClass:El,deps:[R,xl,Bs]},{provide:El,useClass:El,deps:[R,xl,Bs]}],VP=[{provide:Qa,useValue:"root"},{provide:yn,useFactory:NP},{provide:vf,useClass:mf,multi:!0,deps:[G]},{provide:vf,useClass:Kx,multi:!0,deps:[G]},Pl,d_,c_,{provide:rt,useExisting:Pl},{provide:Ro,useClass:AP},[]],Ll=(()=>{class t{constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({providers:[...VP,...LP],imports:[n_,Ax]})}return t})();var No=class{},Vl=class{},kr=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(` +`).forEach(e=>{let i=e.indexOf(":");if(i>0){let r=e.slice(0,i),o=e.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,i)=>{this.addHeaderEntry(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init();for(let[e,i]of n.headers.entries())this.headers.set(e,i),this.normalizedNames.set(e,n.normalizedNames.get(e))}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(n.name,e);let r=n.op==="a"?(this.headers.get(e)||[]).slice():[];r.push(...i),this.headers.set(e,r);break;case"d":let o=n.value;if(o===void 0)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=Array.isArray(o)?o:[o],a=this.headers.get(e);if(!a)return;a=a.filter(l=>s.indexOf(l)===-1),a.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}break}}addHeaderEntry(n,e){let i=n.toLowerCase();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(e):this.headers.set(i,[e])}setHeaderEntries(n,e){let i=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var Cf=class{encodeKey(n){return Qx(n)}encodeValue(n){return Qx(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function jP(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[s,a]=o==-1?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}var BP=/%(\d[a-f0-9])/gi,UP={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Qx(t){return encodeURIComponent(t).replace(BP,(n,e)=>UP[e]??n)}function bf(t){return`${t}`}var Wi=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Cf,n.fromString){if(n.fromObject)throw new x(2805,!1);this.map=jP(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let i=n.fromObject[e],r=Array.isArray(i)?i.map(bf):[bf(i)];this.map.set(e,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(i=>{let r=n[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[n,e]of this.cloneFrom.map.entries())this.map.set(n,e);this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=n.op==="a"?(this.map.get(n.param)||[]).slice():[];e.push(bf(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let i=(this.map.get(n.param)||[]).slice(),r=i.indexOf(bf(n.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null}}};var wf=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function HP(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Zx(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Xx(t){return typeof Blob<"u"&&t instanceof Blob}function Jx(t){return typeof FormData<"u"&&t instanceof FormData}function zP(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var eD="Content-Type",tD="Accept",iD="X-Request-URL",rD="text/plain",oD="application/json",$P=`${oD}, ${rD}, */*`,Gs=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,e,i,r){this.url=e,this.method=n.toUpperCase();let o;if(HP(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new x(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer!==void 0&&(this.referrer=o.referrer),this.transferCache=o.transferCache}if(this.headers??=new kr,this.context??=new wf,!this.params)this.params=new Wi,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),l=a===-1?"?":aJt.set(yt,n.setHeaders[yt]),le)),n.setParams&&(Te=Object.keys(n.setParams).reduce((Jt,yt)=>Jt.set(yt,n.setParams[yt]),Te)),new t(e,i,E,{params:Te,headers:le,context:be,reportProgress:I,responseType:r,withCredentials:S,transferCache:h,keepalive:o,cache:a,priority:s,timeout:v,mode:l,redirect:c,credentials:d,referrer:f,integrity:m})}},Oo=(function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t})(Oo||{}),qs=class{headers;status;statusText;url;ok;type;redirected;constructor(n,e=200,i="OK"){this.headers=n.headers||new kr,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.redirected=n.redirected,this.ok=this.status>=200&&this.status<300}},Ef=class t extends qs{constructor(n={}){super(n)}type=Oo.ResponseHeader;clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},jl=class t extends qs{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Oo.Response;clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected})}},Ws=class extends qs{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},GP=200,WP=204;function h_(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,credentials:t.credentials,transferCache:t.transferCache,timeout:t.timeout,keepalive:t.keepalive,priority:t.priority,cache:t.cache,mode:t.mode,redirect:t.redirect,integrity:t.integrity,referrer:t.referrer}}var Df=(()=>{class t{handler;constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof Gs)o=e;else{let l;r.headers instanceof kr?l=r.headers:l=new kr(r.headers);let c;r.params&&(r.params instanceof Wi?c=r.params:c=new Wi({fromObject:r.params})),o=new Gs(e,i,r.body!==void 0?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,credentials:r.credentials,referrer:r.referrer,integrity:r.integrity,timeout:r.timeout})}let s=z(o).pipe(mi(l=>this.handler.handle(l)));if(e instanceof Gs||r.observe==="events")return s;let a=s.pipe(de(l=>l instanceof jl));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(X(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new x(2806,!1);return l.body}));case"blob":return a.pipe(X(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new x(2807,!1);return l.body}));case"text":return a.pipe(X(l=>{if(l.body!==null&&typeof l.body!="string")throw new x(2808,!1);return l.body}));default:return a.pipe(X(l=>l.body))}case"response":return a;default:throw new x(2809,!1)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new Wi().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,h_(r,i))}post(e,i,r={}){return this.request("POST",e,h_(r,i))}put(e,i,r={}){return this.request("PUT",e,h_(r,i))}static \u0275fac=function(i){return new(i||t)(O(No))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})();var qP=new y("");function sD(t,n){return n(t)}function YP(t,n){return(e,i)=>n.intercept(e,{handle:r=>t(r,i)})}function KP(t,n,e){return(i,r)=>wt(e,()=>n(i,o=>t(o,r)))}var aD=new y(""),m_=new y(""),lD=new y(""),g_=new y("",{providedIn:"root",factory:()=>!0});function QP(){let t=null;return(n,e)=>{t===null&&(t=(u(aD,{optional:!0})??[]).reduceRight(YP,sD));let i=u(Ts);if(u(g_)){let o=i.add();return t(n,e).pipe(fr(o))}else return t(n,e)}}var xf=(()=>{class t extends No{backend;injector;chain=null;pendingTasks=u(Ts);contributeToStability=u(g_);constructor(e,i){super(),this.backend=e,this.injector=i}handle(e){if(this.chain===null){let i=this.injector.get(No,null,{skipSelf:!0}),r=i!==null&&this.backend===i,o=this.injector.get(lD,[],r?{self:!0}:void 0),s=Array.from(new Set([...this.injector.get(m_),...o]));this.chain=s.reduceRight((a,l)=>KP(a,l,this.injector),sD)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(fr(i))}else return this.chain(e,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||t)(O(Vl),O(Le))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})();var ZP=/^\)\]\}',?\n/,XP=RegExp(`^${iD}:`,"m");function JP(t){return"responseURL"in t&&t.responseURL?t.responseURL:XP.test(t.getAllResponseHeaders())?t.getResponseHeader(iD):null}var p_=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new x(-2800,!1);let i=this.xhrFactory;return z(null).pipe(qe(()=>new ae(o=>{let s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((S,I)=>s.setRequestHeader(S,I.join(","))),e.headers.has(tD)||s.setRequestHeader(tD,$P),!e.headers.has(eD)){let S=e.detectContentTypeHeader();S!==null&&s.setRequestHeader(eD,S)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let S=e.responseType.toLowerCase();s.responseType=S!=="json"?S:"text"}let a=e.serializeBody(),l=null,c=()=>{if(l!==null)return l;let S=s.statusText||"OK",I=new kr(s.getAllResponseHeaders()),le=JP(s)||e.url;return l=new Ef({headers:I,status:s.status,statusText:S,url:le}),l},d=()=>{let{headers:S,status:I,statusText:le,url:Te}=c(),be=null;I!==WP&&(be=typeof s.response>"u"?s.responseText:s.response),I===0&&(I=be?GP:0);let Jt=I>=200&&I<300;if(e.responseType==="json"&&typeof be=="string"){let yt=be;be=be.replace(ZP,"");try{be=be!==""?JSON.parse(be):null}catch(Dt){be=yt,Jt&&(Jt=!1,be={error:Dt,text:be})}}Jt?(o.next(new jl({body:be,headers:S,status:I,statusText:le,url:Te||void 0})),o.complete()):o.error(new Ws({error:be,headers:S,status:I,statusText:le,url:Te||void 0}))},f=S=>{let{url:I}=c(),le=new Ws({error:S,status:s.status||0,statusText:s.statusText||"Unknown Error",url:I||void 0});o.error(le)},m=f;e.timeout&&(m=S=>{let{url:I}=c(),le=new Ws({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:I||void 0});o.error(le)});let h=!1,v=S=>{h||(o.next(c()),h=!0);let I={type:Oo.DownloadProgress,loaded:S.loaded};S.lengthComputable&&(I.total=S.total),e.responseType==="text"&&s.responseText&&(I.partialText=s.responseText),o.next(I)},E=S=>{let I={type:Oo.UploadProgress,loaded:S.loaded};S.lengthComputable&&(I.total=S.total),o.next(I)};return s.addEventListener("load",d),s.addEventListener("error",f),s.addEventListener("timeout",m),s.addEventListener("abort",f),e.reportProgress&&(s.addEventListener("progress",v),a!==null&&s.upload&&s.upload.addEventListener("progress",E)),s.send(a),o.next({type:Oo.Sent}),()=>{s.removeEventListener("error",f),s.removeEventListener("abort",f),s.removeEventListener("load",d),s.removeEventListener("timeout",m),e.reportProgress&&(s.removeEventListener("progress",v),a!==null&&s.upload&&s.upload.removeEventListener("progress",E)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(i){return new(i||t)(O(Ro))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),cD=new y(""),eF="XSRF-TOKEN",tF=new y("",{providedIn:"root",factory:()=>eF}),nF="X-XSRF-TOKEN",iF=new y("",{providedIn:"root",factory:()=>nF}),Bl=class{},rF=(()=>{class t{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,i){this.doc=e,this.cookieName=i}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=kl(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(i){return new(i||t)(O(G),O(tF))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})();function oF(t,n){if(!u(cD)||t.method==="GET"||t.method==="HEAD")return n(t);try{let r=u(Ar).href,{origin:o}=new URL(r),{origin:s}=new URL(t.url,o);if(o!==s)return n(t)}catch{return n(t)}let e=u(Bl).getToken(),i=u(iF);return e!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,e)})),n(t)}var v_=(function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t})(v_||{});function sF(t,n){return{\u0275kind:t,\u0275providers:n}}function __(...t){let n=[Df,p_,xf,{provide:No,useExisting:xf},{provide:Vl,useFactory:()=>u(qP,{optional:!0})??u(p_)},{provide:m_,useValue:oF,multi:!0},{provide:cD,useValue:!0},{provide:Bl,useClass:rF}];for(let e of t)n.push(...e.\u0275providers);return yo(n)}var nD=new y("");function y_(){return sF(v_.LegacyInterceptors,[{provide:nD,useFactory:QP},{provide:m_,useExisting:nD,multi:!0}])}var dD=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(i){return new(i||t)(O(G))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var b_=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=O(lF),r},providedIn:"root"})}return t})(),lF=(()=>{class t extends b_{_doc;constructor(e){super(),this._doc=e}sanitize(e,i){if(i==null)return null;switch(e){case Ye.NONE:return i;case Ye.HTML:return Di(i,"HTML")?fn(i):Pu(this._doc,String(i)).toString();case Ye.STYLE:return Di(i,"Style")?fn(i):i;case Ye.SCRIPT:if(Di(i,"Script"))return fn(i);throw new x(5200,!1);case Ye.URL:return Di(i,"URL")?fn(i):_l(String(i));case Ye.RESOURCE_URL:if(Di(i,"ResourceURL"))return fn(i);throw new x(5201,!1);default:throw new x(5202,!1)}}bypassSecurityTrustHtml(e){return Gg(e)}bypassSecurityTrustStyle(e){return Wg(e)}bypassSecurityTrustScript(e){return qg(e)}bypassSecurityTrustUrl(e){return Yg(e)}bypassSecurityTrustResourceUrl(e){return Kg(e)}static \u0275fac=function(i){return new(i||t)(O(G))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var w_;try{w_=typeof Intl<"u"&&Intl.v8BreakIterator}catch{w_=!1}var xe=(()=>{class t{_platformId=u(Ao);isBrowser=this._platformId?Ux(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||w_)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ys(t){return Array.isArray(t)?t:[t]}var uD=new Set,Po,Sf=(()=>{class t{_platform=u(xe);_nonce=u(Ls,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):dF}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&cF(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function cF(t,n){if(!uD.has(t))try{Po||(Po=document.createElement("style"),n&&Po.setAttribute("nonce",n),Po.setAttribute("type","text/css"),document.head.appendChild(Po)),Po.sheet&&(Po.sheet.insertRule(`@media ${t} {body{ }}`,0),uD.add(t))}catch(e){console.error(e)}}function dF(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var E_=(()=>{class t{_mediaMatcher=u(Sf);_zone=u(R);_queries=new Map;_destroySubject=new M;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return fD(Ys(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=fD(Ys(e)).map(s=>this._registerQuery(s).observable),o=fo(r);return o=dr(o.pipe(et(1)),o.pipe(Ha(1),ho(0))),o.pipe(X(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),o={observable:new ae(s=>{let a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(nt(i),X(({matches:s})=>({query:e,matches:s})),Oe(this._destroySubject)),mql:i};return this._queries.set(e,o),o}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function fD(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}var hD=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({})}return t})();var he="primary",Jl=Symbol("RouteTitle"),T_=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function jo(t){return new T_(t)}function CD(t,n,e){let i=e.path.split("/");if(i.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||i.lengthi[o]===r)}else return t===n}function ED(t){return t.length>0?t[t.length-1]:null}function qi(t){return Id(t)?t:Mr(t)?Ue(Promise.resolve(t)):z(t)}var fF={exact:DD,subset:SD},xD={exact:hF,subset:pF,ignored:()=>!0};function pD(t,n,e){return fF[e.paths](t.root,n.root,e.matrixParams)&&xD[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function hF(t,n){return Ai(t,n)}function DD(t,n,e){if(!Lo(t.segments,n.segments)||!Tf(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let i in n.children)if(!t.children[i]||!DD(t.children[i],n.children[i],e))return!1;return!0}function pF(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>wD(t[e],n[e]))}function SD(t,n,e){return ID(t,n,n.segments,e)}function ID(t,n,e,i){if(t.segments.length>e.length){let r=t.segments.slice(0,e.length);return!(!Lo(r,e)||n.hasChildren()||!Tf(r,e,i))}else if(t.segments.length===e.length){if(!Lo(t.segments,e)||!Tf(t.segments,e,i))return!1;for(let r in n.children)if(!t.children[r]||!SD(t.children[r],n.children[r],i))return!1;return!0}else{let r=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!Lo(t.segments,r)||!Tf(t.segments,r,i)||!t.children[he]?!1:ID(t.children[he],n,o,i)}}function Tf(t,n,e){return n.every((i,r)=>xD[e](t[r].parameters,i.parameters))}var Ri=class{root;queryParams;fragment;_queryParamMap;constructor(n=new ke([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap??=jo(this.queryParams),this._queryParamMap}toString(){return vF.serialize(this)}},ke=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Af(this)}},Rr=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=jo(this.parameters),this._parameterMap}toString(){return TD(this)}};function mF(t,n){return Lo(t,n)&&t.every((e,i)=>Ai(e.parameters,n[i].parameters))}function Lo(t,n){return t.length!==n.length?!1:t.every((e,i)=>e.path===n[i].path)}function gF(t,n){let e=[];return Object.entries(t.children).forEach(([i,r])=>{i===he&&(e=e.concat(n(r,i)))}),Object.entries(t.children).forEach(([i,r])=>{i!==he&&(e=e.concat(n(r,i)))}),e}var Bo=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:()=>new Or,providedIn:"root"})}return t})(),Or=class{parse(n){let e=new R_(n);return new Ri(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${Ul(n.root,!0)}`,i=bF(n.queryParams),r=typeof n.fragment=="string"?`#${_F(n.fragment)}`:"";return`${e}${i}${r}`}},vF=new Or;function Af(t){return t.segments.map(n=>TD(n)).join("/")}function Ul(t,n){if(!t.hasChildren())return Af(t);if(n){let e=t.children[he]?Ul(t.children[he],!1):"",i=[];return Object.entries(t.children).forEach(([r,o])=>{r!==he&&i.push(`${r}:${Ul(o,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}else{let e=gF(t,(i,r)=>r===he?[Ul(t.children[he],!1)]:[`${r}:${Ul(i,!1)}`]);return Object.keys(t.children).length===1&&t.children[he]!=null?`${Af(t)}/${e[0]}`:`${Af(t)}/(${e.join("//")})`}}function MD(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function If(t){return MD(t).replace(/%3B/gi,";")}function _F(t){return encodeURI(t)}function k_(t){return MD(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function kf(t){return decodeURIComponent(t)}function mD(t){return kf(t.replace(/\+/g,"%20"))}function TD(t){return`${k_(t.path)}${yF(t.parameters)}`}function yF(t){return Object.entries(t).map(([n,e])=>`;${k_(n)}=${k_(e)}`).join("")}function bF(t){let n=Object.entries(t).map(([e,i])=>Array.isArray(i)?i.map(r=>`${If(e)}=${If(r)}`).join("&"):`${If(e)}=${If(i)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var x_=1073741824;function Rf(t,n,e){Number(n)>=32&&!Object.hasOwn(t,x_)&&(t[x_]=e,delete t[x_]),t[n]=e}var CF=/^[^\/()?;#]+/;function D_(t){let n=t.match(CF);return n?n[0]:""}var wF=/^[^\/()?;=#]+/;function EF(t){let n=t.match(wF);return n?n[0]:""}var xF=/^[^=?&#]+/;function DF(t){let n=t.match(xF);return n?n[0]:""}var SF=/^[^&#]+/;function IF(t){let n=t.match(SF);return n?n[0]:""}var R_=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new ke([],{}):new ke([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[he]=new ke(n,e)),i}parseSegment(){let n=D_(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new x(4009,!1);return this.capture(n),new Rr(kf(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=EF(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let r=D_(this.remaining);r&&(i=r,this.capture(i))}Rf(n,kf(e),kf(i))}parseQueryParam(n){let e=DF(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let s=IF(this.remaining);s&&(i=s,this.capture(i))}let r=mD(e),o=mD(i);if(n.hasOwnProperty(r)){let s=n[r];Array.isArray(s)||(s=[s],n[r]=s),s.push(o)}else n[r]=o}parseParens(n){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=D_(this.remaining),r=this.remaining[i.length];if(r!=="/"&&r!==")"&&r!==";")throw new x(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=he);let s=this.parseChildren(),a=Object.keys(s).length===1&&s[he]?s[he]:new ke([],s);Rf(e,o??he,a),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new x(4011,!1)}};function AD(t){return t.segments.length>0?new ke([],{[he]:t}):t}function kD(t){let n={};for(let[i,r]of Object.entries(t.children)){let o=kD(r);if(i===he&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))Rf(n,s,a);else(o.segments.length>0||o.hasChildren())&&Rf(n,i,o)}let e=new ke(t.segments,n);return MF(e)}function MF(t){if(t.numberOfChildren===1&&t.children[he]){let n=t.children[he];return new ke(t.segments.concat(n.segments),n.children)}return t}function Nr(t){return t instanceof Ri}function RD(t,n,e=null,i=null){let r=OD(t);return ND(r,n,e,i)}function OD(t){let n;function e(o){let s={};for(let l of o.children){let c=e(l);s[l.outlet]=c}let a=new ke(o.url,s);return o===t&&(n=a),a}let i=e(t.root),r=AD(i);return n??r}function ND(t,n,e,i){let r=t;for(;r.parent;)r=r.parent;if(n.length===0)return S_(r,r,r,e,i);let o=TF(n);if(o.toRoot())return S_(r,r,new ke([],{}),e,i);let s=AF(o,r,t),a=s.processChildren?zl(s.segmentGroup,s.index,o.commands):FD(s.segmentGroup,s.index,o.commands);return S_(r,s.segmentGroup,a,e,i)}function Of(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Gl(t){return typeof t=="object"&&t!=null&&t.outlets}function S_(t,n,e,i,r){let o={};i&&Object.entries(i).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`});let s;t===n?s=e:s=PD(t,n,e);let a=AD(kD(s));return new Ri(a,o,r)}function PD(t,n,e){let i={};return Object.entries(t.children).forEach(([r,o])=>{o===n?i[r]=e:i[r]=PD(o,n,e)}),new ke(t.segments,i)}var Nf=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&Of(i[0]))throw new x(4003,!1);let r=i.find(Gl);if(r&&r!==ED(i))throw new x(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function TF(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Nf(!0,0,t);let n=0,e=!1,i=t.reduce((r,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return typeof o!="string"?[...r,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?e=!0:a===".."?n++:a!=""&&r.push(a))}),r):[...r,o]},[]);return new Nf(e,n,i)}var Qs=class{segmentGroup;processChildren;index;constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}};function AF(t,n,e){if(t.isAbsolute)return new Qs(n,!0,0);if(!e)return new Qs(n,!1,NaN);if(e.parent===null)return new Qs(e,!0,0);let i=Of(t.commands[0])?0:1,r=e.segments.length-1+i;return kF(e,r,t.numberOfDoubleDots)}function kF(t,n,e){let i=t,r=n,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new x(4005,!1);r=i.segments.length}return new Qs(i,!1,r-o)}function RF(t){return Gl(t[0])?t[0].outlets:{[he]:t}}function FD(t,n,e){if(t??=new ke([],{}),t.segments.length===0&&t.hasChildren())return zl(t,n,e);let i=OF(t,n,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndexo!==he)&&t.children[he]&&t.numberOfChildren===1&&t.children[he].segments.length===0){let o=zl(t.children[he],n,e);return new ke(t.segments,o.children)}return Object.entries(i).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(r[o]=FD(t.children[o],n,s))}),Object.entries(t.children).forEach(([o,s])=>{i[o]===void 0&&(r[o]=s)}),new ke(t.segments,r)}}function OF(t,n,e){let i=0,r=n,o={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return o;let s=t.segments[r],a=e[i];if(Gl(a))break;let l=`${a}`,c=i0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!vD(l,c,s))return o;i+=2}else{if(!vD(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}function O_(t,n,e){let i=t.segments.slice(0,n),r=0;for(;r{typeof i=="string"&&(i=[i]),i!==null&&(n[e]=O_(new ke([],{}),0,i))}),n}function gD(t){let n={};return Object.entries(t).forEach(([e,i])=>n[e]=`${i}`),n}function vD(t,n,e){return t==e.path&&Ai(n,e.parameters)}var Zs="imperative",_t=(function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t})(_t||{}),pn=class{id;url;constructor(n,e){this.id=n,this.url=e}},Pr=class extends pn{type=_t.NavigationStart;navigationTrigger;restoredState;constructor(n,e,i="imperative",r=null){super(n,e),this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Mn=class extends pn{urlAfterRedirects;type=_t.NavigationEnd;constructor(n,e,i){super(n,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Qt=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t})(Qt||{}),Js=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(Js||{}),ki=class extends pn{reason;code;type=_t.NavigationCancel;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Oi=class extends pn{reason;code;type=_t.NavigationSkipped;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r}},ea=class extends pn{error;target;type=_t.NavigationError;constructor(n,e,i,r){super(n,e),this.error=i,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Wl=class extends pn{urlAfterRedirects;state;type=_t.RoutesRecognized;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Pf=class extends pn{urlAfterRedirects;state;type=_t.GuardsCheckStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ff=class extends pn{urlAfterRedirects;state;shouldActivate;type=_t.GuardsCheckEnd;constructor(n,e,i,r,o){super(n,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Lf=class extends pn{urlAfterRedirects;state;type=_t.ResolveStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Vf=class extends pn{urlAfterRedirects;state;type=_t.ResolveEnd;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},jf=class{route;type=_t.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Bf=class{route;type=_t.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Uf=class{snapshot;type=_t.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Hf=class{snapshot;type=_t.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},zf=class{snapshot;type=_t.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},$f=class{snapshot;type=_t.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ta=class{routerEvent;position;anchor;type=_t.Scroll;constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},ql=class{},na=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function PF(t){return!(t instanceof ql)&&!(t instanceof na)}function FF(t,n){return t.providers&&!t._injector&&(t._injector=js(t.providers,n,`Route: ${t.path}`)),t._injector??n}function ei(t){return t.outlet||he}function LF(t,n){let e=t.filter(i=>ei(i)===n);return e.push(...t.filter(i=>ei(i)!==n)),e}function oa(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){let e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var Gf=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return oa(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new Uo(this.rootInjector)}},Uo=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,i){let r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new Gf(this.rootInjector),this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(i){return new(i||t)(O(Le))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Wf=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=N_(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){let e=N_(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=P_(n,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return P_(n,this._root).map(e=>e.value)}};function N_(t,n){if(t===n.value)return n;for(let e of n.children){let i=N_(t,e);if(i)return i}return null}function P_(t,n){if(t===n.value)return[n];for(let e of n.children){let i=P_(t,e);if(i.length)return i.unshift(n),i}return[]}var Kt=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function Ks(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var Yl=class extends Wf{snapshot;constructor(n,e){super(n),this.snapshot=e,z_(this,n)}toString(){return this.snapshot.toString()}};function LD(t){let n=VF(t),e=new gt([new Rr("",{})]),i=new gt({}),r=new gt({}),o=new gt({}),s=new gt(""),a=new ti(e,i,o,s,r,he,t,n.root);return a.snapshot=n.root,new Yl(new Kt(a,[]),n)}function VF(t){let n={},e={},i={},o=new Vo([],n,i,"",e,he,t,null,{});return new Kl("",new Kt(o,[]))}var ti=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,i,r,o,s,a,l){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(X(c=>c[Jl]))??z(void 0),this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(X(n=>jo(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(X(n=>jo(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function qf(t,n,e="emptyOnly"){let i,{routeConfig:r}=t;return n!==null&&(e==="always"||r?.path===""||!n.component&&!n.routeConfig?.loadComponent)?i={params:Object.keys(t.params).length===0?n.params:Object.freeze(b(b({},n.params),t.params)),data:Object.freeze(b(b({},n.data),t.data)),resolve:b(b(b(b({},t.data),n.data),r?.data),t._resolvedData)}:i={params:Object.freeze(b({},t.params)),data:Object.freeze(b({},t.data)),resolve:b(b({},t.data),t._resolvedData??{})},r&&jD(r)&&(i.resolve[Jl]=r.title),i}var Vo=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Jl]}constructor(n,e,i,r,o,s,a,l,c){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=jo(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=jo(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(i=>i.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},Kl=class extends Wf{url;constructor(n,e){super(e),this.url=n,z_(this,e)}toString(){return VD(this._root)}};function z_(t,n){n.value._routerState=t,n.children.forEach(e=>z_(t,e))}function VD(t){let n=t.children.length>0?` { ${t.children.map(VD).join(", ")} } `:"";return`${t.value}${n}`}function I_(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Ai(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),Ai(n.params,e.params)||t.paramsSubject.next(e.params),uF(n.url,e.url)||t.urlSubject.next(e.url),Ai(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function F_(t,n){let e=Ai(t.params,n.params)&&mF(t.url,n.url),i=!t.parent!=!n.parent;return e&&!i&&(!t.parent||F_(t.parent,n.parent))}function jD(t){return typeof t.title=="string"||t.title===null}var BD=new y(""),ec=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=he;activateEvents=new U;deactivateEvents=new U;attachEvents=new U;detachEvents=new U;routerOutletData=Dx();parentContexts=u(Uo);location=u(st);changeDetector=u(Fe);inputBinder=u(tc,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new x(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new x(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new x(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new x(4013,!1);this._activatedRoute=e;let r=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new L_(e,a,r.injector,this.routerOutletData);this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=F({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[He]})}return t})(),L_=class{route;childContexts;parent;outletData;constructor(n,e,i,r){this.route=n,this.childContexts=e,this.parent=i,this.outletData=r}get(n,e){return n===ti?this.route:n===Uo?this.childContexts:n===BD?this.outletData:this.parent.get(n,e)}},tc=new y(""),$_=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:i}=e,r=fo([i.queryParams,i.params,i.data]).pipe(qe(([o,s,a],l)=>(a=b(b(b({},o),s),a),l===0?z(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(e);return}let s=Ox(i.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(e,r)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),G_=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(i,r){i&1&&V(0,"router-outlet")},dependencies:[ec],encapsulation:2})}return t})();function W_(t){let n=t.children&&t.children.map(W_),e=n?Z(b({},t),{children:n}):b({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==he&&(e.component=G_),e}function jF(t,n,e){let i=Ql(t,n._root,e?e._root:void 0);return new Yl(i,n)}function Ql(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=n.value;let r=BF(t,n,e);return new Kt(i,r)}else{if(t.shouldAttach(n.value)){let o=t.retrieve(n.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Ql(t,a)),s}}let i=UF(n.value),r=n.children.map(o=>Ql(t,o));return new Kt(i,r)}}function BF(t,n,e){return n.children.map(i=>{for(let r of e.children)if(t.shouldReuseRoute(i.value,r.value.snapshot))return Ql(t,i,r);return Ql(t,i)})}function UF(t){return new ti(new gt(t.url),new gt(t.params),new gt(t.queryParams),new gt(t.fragment),new gt(t.data),t.outlet,t.component,t)}var ia=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},UD="ngNavigationCancelingError";function Yf(t,n){let{redirectTo:e,navigationBehaviorOptions:i}=Nr(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=HD(!1,Qt.Redirect);return r.url=e,r.navigationBehaviorOptions=i,r}function HD(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[UD]=!0,e.cancellationCode=n,e}function HF(t){return zD(t)&&Nr(t.url)}function zD(t){return!!t&&t[UD]}var zF=(t,n,e,i)=>X(r=>(new V_(n,r.targetRouterState,r.currentRouterState,e,i).activate(t),r)),V_=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,i,r,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(n){let e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),I_(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){let r=Ks(e);n.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(n,e,i){let r=n.value,o=e?e.value:null;if(r===o)if(r.component){let s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=Ks(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);if(i&&i.outlet){let s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=Ks(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,e,i){let r=Ks(e);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new $f(o.value.snapshot))}),n.children.length&&this.forwardEvent(new Hf(n.value.snapshot))}activateRoutes(n,e,i){let r=n.value,o=e?e.value:null;if(I_(r),r===o)if(r.component){let s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,i);else if(r.component){let s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),I_(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=r,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,i)}},Kf=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Xs=class{component;route;constructor(n,e){this.component=n,this.route=e}};function $F(t,n,e){let i=t._root,r=n?n._root:null;return Hl(i,r,e,[i.value])}function GF(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function sa(t,n){let e=Symbol(),i=n.get(t,e);return i===e?typeof t=="function"&&!om(t)?t:n.get(t):i}function Hl(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=Ks(n);return t.children.forEach(s=>{WF(s,o[s.value.outlet],e,i.concat([s.value]),r),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>$l(a,e.getContext(s),r)),r}function WF(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=qF(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Kf(i)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Hl(t,n,a?a.children:null,i,r):Hl(t,n,e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Xs(a.outlet.component,s))}else s&&$l(n,a,r),r.canActivateChecks.push(new Kf(i)),o.component?Hl(t,null,a?a.children:null,i,r):Hl(t,null,e,i,r);return r}function qF(t,n,e){if(typeof e=="function")return e(t,n);switch(e){case"pathParamsChange":return!Lo(t.url,n.url);case"pathParamsOrQueryParamsChange":return!Lo(t.url,n.url)||!Ai(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!F_(t,n)||!Ai(t.queryParams,n.queryParams);default:return!F_(t,n)}}function $l(t,n,e){let i=Ks(t),r=t.value;Object.entries(i).forEach(([o,s])=>{r.component?n?$l(s,n.children.getContext(o),e):$l(s,null,e):$l(s,n,e)}),r.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new Xs(n.outlet.component,r)):e.canDeactivateChecks.push(new Xs(null,r)):e.canDeactivateChecks.push(new Xs(null,r))}function nc(t){return typeof t=="function"}function YF(t){return typeof t=="boolean"}function KF(t){return t&&nc(t.canLoad)}function QF(t){return t&&nc(t.canActivate)}function ZF(t){return t&&nc(t.canActivateChild)}function XF(t){return t&&nc(t.canDeactivate)}function JF(t){return t&&nc(t.canMatch)}function $D(t){return t instanceof Pn||t?.name==="EmptyError"}var Mf=Symbol("INITIAL_VALUE");function ra(){return qe(t=>fo(t.map(n=>n.pipe(et(1),nt(Mf)))).pipe(X(n=>{for(let e of n)if(e!==!0){if(e===Mf)return Mf;if(e===!1||eL(e))return e}return!0}),de(n=>n!==Mf),et(1)))}function eL(t){return Nr(t)||t instanceof ia}function tL(t,n){return Je(e=>{let{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?z(Z(b({},e),{guardsResult:!0})):nL(s,i,r,t).pipe(Je(a=>a&&YF(a)?iL(i,o,t,n):z(a)),X(a=>Z(b({},e),{guardsResult:a})))})}function nL(t,n,e,i){return Ue(t).pipe(Je(r=>lL(r.component,r.route,e,n,i)),Vi(r=>r!==!0,!0))}function iL(t,n,e,i){return Ue(n).pipe(mi(r=>dr(oL(r.route.parent,i),rL(r.route,i),aL(t,r.path,e),sL(t,r.route,e))),Vi(r=>r!==!0,!0))}function rL(t,n){return t!==null&&n&&n(new zf(t)),z(!0)}function oL(t,n){return t!==null&&n&&n(new Uf(t)),z(!0)}function sL(t,n,e){let i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||i.length===0)return z(!0);let r=i.map(o=>Fn(()=>{let s=oa(n)??e,a=sa(o,s),l=QF(a)?a.canActivate(n,t):wt(s,()=>a(n,t));return qi(l).pipe(Vi())}));return z(r).pipe(ra())}function aL(t,n,e){let i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>GF(s)).filter(s=>s!==null).map(s=>Fn(()=>{let a=s.guards.map(l=>{let c=oa(s.node)??e,d=sa(l,c),f=ZF(d)?d.canActivateChild(i,t):wt(c,()=>d(i,t));return qi(f).pipe(Vi())});return z(a).pipe(ra())}));return z(o).pipe(ra())}function lL(t,n,e,i,r){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return z(!0);let s=o.map(a=>{let l=oa(n)??r,c=sa(a,l),d=XF(c)?c.canDeactivate(t,n,e,i):wt(l,()=>c(t,n,e,i));return qi(d).pipe(Vi())});return z(s).pipe(ra())}function cL(t,n,e,i){let r=n.canLoad;if(r===void 0||r.length===0)return z(!0);let o=r.map(s=>{let a=sa(s,t),l=KF(a)?a.canLoad(n,e):wt(t,()=>a(n,e));return qi(l)});return z(o).pipe(ra(),GD(i))}function GD(t){return Fp(it(n=>{if(typeof n!="boolean")throw Yf(t,n)}),X(n=>n===!0))}function dL(t,n,e,i){let r=n.canMatch;if(!r||r.length===0)return z(!0);let o=r.map(s=>{let a=sa(s,t),l=JF(a)?a.canMatch(n,e):wt(t,()=>a(n,e));return qi(l)});return z(o).pipe(ra(),GD(i))}var Zl=class{segmentGroup;constructor(n){this.segmentGroup=n||null}},Xl=class extends Error{urlTree;constructor(n){super(),this.urlTree=n}};function Fo(t){return hs(new Zl(t))}function uL(t){return hs(new x(4e3,!1))}function fL(t){return hs(HD(!1,Qt.GuardRejected))}var j_=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),r.numberOfChildren===0)return z(i);if(r.numberOfChildren>1||!r.children[he])return uL(`${n.redirectTo}`);r=r.children[he]}}applyRedirectCommands(n,e,i,r,o){return hL(e,r,o).pipe(X(s=>{if(s instanceof Ri)throw new Xl(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,i);if(s[0]==="/")throw new Xl(a);return a}))}applyRedirectCreateUrlTree(n,e,i,r){let o=this.createSegmentGroup(n,e.root,i,r);return new Ri(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let i={};return Object.entries(n).forEach(([r,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);i[r]=e[a]}else i[r]=o}),i}createSegmentGroup(n,e,i,r){let o=this.createSegments(n,e.segments,i,r),s={};return Object.entries(e.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,i,r)}),new ke(o,s)}createSegments(n,e,i,r){return e.map(o=>o.path[0]===":"?this.findPosParam(n,o,r):this.findOrReturn(o,i))}findPosParam(n,e,i){let r=i[e.path.substring(1)];if(!r)throw new x(4001,!1);return r}findOrReturn(n,e){let i=0;for(let r of e){if(r.path===n.path)return e.splice(i),r;i++}return n}};function hL(t,n,e){if(typeof t=="string")return z(t);let i=t,{queryParams:r,fragment:o,routeConfig:s,url:a,outlet:l,params:c,data:d,title:f}=n;return qi(wt(e,()=>i({params:c,data:d,queryParams:r,fragment:o,routeConfig:s,url:a,outlet:l,title:f})))}var B_={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function pL(t,n,e,i,r){let o=WD(t,n,e);return o.matched?(i=FF(n,i),dL(i,n,e,r).pipe(X(s=>s===!0?o:b({},B_)))):z(o)}function WD(t,n,e){if(n.path==="**")return mL(e);if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?b({},B_):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let r=(n.matcher||CD)(e,t,n);if(!r)return b({},B_);let o={};Object.entries(r.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=r.consumed.length>0?b(b({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function mL(t){return{matched:!0,parameters:t.length>0?ED(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function _D(t,n,e,i){return e.length>0&&_L(t,e,i)?{segmentGroup:new ke(n,vL(i,new ke(e,t.children))),slicedSegments:[]}:e.length===0&&yL(t,e,i)?{segmentGroup:new ke(t.segments,gL(t,e,i,t.children)),slicedSegments:e}:{segmentGroup:new ke(t.segments,t.children),slicedSegments:e}}function gL(t,n,e,i){let r={};for(let o of e)if(Zf(t,n,o)&&!i[ei(o)]){let s=new ke([],{});r[ei(o)]=s}return b(b({},i),r)}function vL(t,n){let e={};e[he]=n;for(let i of t)if(i.path===""&&ei(i)!==he){let r=new ke([],{});e[ei(i)]=r}return e}function _L(t,n,e){return e.some(i=>Zf(t,n,i)&&ei(i)!==he)}function yL(t,n,e){return e.some(i=>Zf(t,n,i))}function Zf(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function bL(t,n,e){return n.length===0&&!t.hasChildren()}var U_=class{};function CL(t,n,e,i,r,o,s="emptyOnly"){return new H_(t,n,e,i,r,s,o).recognize()}var wL=31,H_=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;queryParams;constructor(n,e,i,r,o,s,a){this.injector=n,this.configLoader=e,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new j_(this.urlSerializer,this.urlTree),this.queryParams=Object.freeze(b({},this.urlTree.queryParams))}noMatchError(n){return new x(4002,`'${n.segmentGroup}'`)}recognize(){let n=_D(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(X(({children:e,rootSnapshot:i})=>{let r=new Kt(i,e),o=new Kl("",r),s=RD(i,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(n){let e=new Vo([],Object.freeze({}),this.queryParams,this.urlTree.fragment,Object.freeze({}),he,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,he,e).pipe(X(i=>({children:i,rootSnapshot:e})),Li(i=>{if(i instanceof Xl)return this.urlTree=i.urlTree,this.queryParams=Object.freeze(b({},this.urlTree.queryParams)),this.match(i.urlTree.root);throw i instanceof Zl?this.noMatchError(i):i}))}processSegmentGroup(n,e,i,r,o){return i.segments.length===0&&i.hasChildren()?this.processChildren(n,e,i,o):this.processSegment(n,e,i,i.segments,r,!0,o).pipe(X(s=>s instanceof Kt?[s]:[]))}processChildren(n,e,i,r){let o=[];for(let s of Object.keys(i.children))s==="primary"?o.unshift(s):o.push(s);return Ue(o).pipe(mi(s=>{let a=i.children[s],l=LF(e,s);return this.processSegment(n,l,a,a.segments,s,!0,r)}),Gp((s,a)=>(a instanceof Kt&&s.push(a),s),[]),ur(null),$p(),Je(s=>{if(s===null)return Fo(i);let a=qD(s);return EL(a),z(a)}))}processSegment(n,e,i,r,o,s,a){return Ue(e).pipe(mi(l=>this.processSegmentAgainstRoute(l._injector??n,e,l,i,r,o,s,a).pipe(Li(c=>{if(c instanceof Zl)return z(null);throw c}))),Vi(l=>!!l),Li(l=>{if($D(l))return bL(i,r)?z(new U_):Fo(i);throw l}))}processSegmentAgainstRoute(n,e,i,r,o,s,a,l){return ei(i)!==s&&(s===he||!Zf(r,o,i)||!i.children?.length&&!i.loadChildren||o.length===0&&!r.hasChildren())?Fo(r):i.redirectTo===void 0?this.matchSegmentAgainstRoute(n,r,i,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,r,e,i,o,s,l):Fo(r)}expandSegmentAgainstRouteUsingRedirect(n,e,i,r,o,s,a){let{matched:l,parameters:c,consumedSegments:d,positionalParamSegments:f,remainingSegments:m}=WD(e,r,o);if(!l)return Fo(e);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>wL&&(this.allowRedirects=!1));let h=new Vo(o,c,this.queryParams,this.urlTree.fragment,yD(r),ei(r),r.component??r._loadedComponent??null,r,bD(r)),v=qf(h,a,this.paramsInheritanceStrategy);return h.params=v.params,h.data=v.data,this.applyRedirects.applyRedirectCommands(d,r.redirectTo,f,h,n).pipe(qe(S=>this.applyRedirects.lineralizeSegments(r,S)),Je(S=>this.processSegment(n,i,e,S.concat(m),s,!1,a)))}matchSegmentAgainstRoute(n,e,i,r,o,s){let a=pL(e,i,r,n,this.urlSerializer);return i.path==="**"&&(e.children={}),a.pipe(qe(l=>l.matched?(n=i._injector??n,this.getChildConfig(n,i,r).pipe(qe(({routes:c})=>{let d=i._loadedInjector??n,{parameters:f,consumedSegments:m,remainingSegments:h}=l,v=new Vo(m,f,this.queryParams,this.urlTree.fragment,yD(i),ei(i),i.component??i._loadedComponent??null,i,bD(i)),E=qf(v,s,this.paramsInheritanceStrategy);v.params=E.params,v.data=E.data;let{segmentGroup:S,slicedSegments:I}=_D(e,m,h,c),le=ei(i)===o;return le&&I.length===0&&S.hasChildren()?this.processChildren(d,c,S,v).pipe(X(Te=>new Kt(v,Te))):le&&c.length===0&&I.length===0?z(new Kt(v,[])):this.processSegment(d,c,S,I,le?he:o,!0,v).pipe(qe(Te=>!le&&!(Te instanceof Kt)?Fo(e):z(new Kt(v,Te instanceof Kt?[Te]:[]))))}))):Fo(e)))}getChildConfig(n,e,i){return e.children?z({routes:e.children,injector:n}):e.loadChildren?e._loadedRoutes!==void 0?z({routes:e._loadedRoutes,injector:e._loadedInjector}):cL(n,e,i,this.urlSerializer).pipe(Je(r=>r?this.configLoader.loadChildren(n,e).pipe(it(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):fL(e))):z({routes:[],injector:n})}};function EL(t){t.sort((n,e)=>n.value.outlet===he?-1:e.value.outlet===he?1:n.value.outlet.localeCompare(e.value.outlet))}function xL(t){let n=t.value.routeConfig;return n&&n.path===""}function qD(t){let n=[],e=new Set;for(let r of t){if(!xL(r)){n.push(r);continue}let o=n.find(s=>r.value.routeConfig===s.value.routeConfig);o!==void 0?(o.children.push(...r.children),e.add(o)):n.push(r)}for(let r of e){let o=qD(r.children);n.push(new Kt(r.value,o))}let i=n.filter(r=>!e.has(r));return DL(i),i}function DL(t){let n=Object.create(null);t.forEach(e=>{let i=n[e.value.outlet];if(i){let r=i.url.map(s=>s.toString()).join("/"),o=e.value.url.map(s=>s.toString()).join("/");throw new x(4006,!1)}n[e.value.outlet]=e.value})}function yD(t){return t.data||{}}function bD(t){return t.resolve||{}}function SL(t,n,e,i,r,o){return Je(s=>CL(t,n,e,i,s.extractedUrl,r,o).pipe(X(({state:a,tree:l})=>Z(b({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function IL(t,n){return Je(e=>{let{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return z(e);let o=new Set(r.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let c of YD(l))s.add(c);let a=0;return Ue(s).pipe(mi(l=>o.has(l)?ML(l,i,t,n):(l.data=qf(l,l.parent,t).resolve,z(void 0))),it(()=>a++),gs(1),Je(l=>a===s.size?z(e):dt))})}function YD(t){let n=t.children.map(e=>YD(e)).flat();return[t,...n]}function ML(t,n,e,i){let r=t.routeConfig,o=t._resolve;return r?.title!==void 0&&!jD(r)&&(o[Jl]=r.title),Fn(()=>(t.data=qf(t,t.parent,e).resolve,TL(o,t,n,i).pipe(X(s=>(t._resolvedData=s,t.data=b(b({},t.data),s),null)))))}function TL(t,n,e,i){let r=A_(t);if(r.length===0)return z({});let o={};return Ue(r).pipe(Je(s=>AL(t[s],n,e,i).pipe(Vi(),it(a=>{if(a instanceof ia)throw Yf(new Or,a);o[s]=a}))),gs(1),X(()=>o),Li(s=>$D(s)?dt:hs(s)))}function AL(t,n,e,i){let r=oa(n)??i,o=sa(t,r),s=o.resolve?o.resolve(n,e):wt(r,()=>o(n,e));return qi(s)}function M_(t){return qe(n=>{let e=t(n);return e?Ue(e).pipe(X(()=>n)):z(n)})}var q_=(()=>{class t{buildTitle(e){let i,r=e.root;for(;r!==void 0;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===he);return i}getResolvedTitleForRoute(e){return e.data[Jl]}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:()=>u(KD),providedIn:"root"})}return t})(),KD=(()=>{class t extends q_{title;constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}static \u0275fac=function(i){return new(i||t)(O(dD))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Fr=new y("",{providedIn:"root",factory:()=>({})}),aa=new y(""),Xf=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=u(Vv);loadComponent(e,i){if(this.componentLoaders.get(i))return this.componentLoaders.get(i);if(i._loadedComponent)return z(i._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(i);let r=qi(wt(e,()=>i.loadComponent())).pipe(X(ZD),qe(XD),it(s=>{this.onLoadEndListener&&this.onLoadEndListener(i),i._loadedComponent=s}),fr(()=>{this.componentLoaders.delete(i)})),o=new ds(r,()=>new M).pipe(cs());return this.componentLoaders.set(i,o),o}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return z({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let o=QD(i,this.compiler,e,this.onLoadEndListener).pipe(fr(()=>{this.childrenLoaders.delete(i)})),s=new ds(o,()=>new M).pipe(cs());return this.childrenLoaders.set(i,s),s}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function QD(t,n,e,i){return qi(wt(e,()=>t.loadChildren())).pipe(X(ZD),qe(XD),Je(r=>r instanceof zu||Array.isArray(r)?z(r):Ue(n.compileModuleAsync(r))),X(r=>{i&&i(t);let o,s,a=!1;return Array.isArray(r)?(s=r,a=!0):(o=r.create(e).injector,s=o.get(aa,[],{optional:!0,self:!0}).flat()),{routes:s.map(W_),injector:o}}))}function kL(t){return t&&typeof t=="object"&&"default"in t}function ZD(t){return kL(t)?t.default:t}function XD(t){return z(t)}var Jf=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:()=>u(RL),providedIn:"root"})}return t})(),RL=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Y_=new y(""),K_=new y("");function JD(t,n,e){let i=t.get(K_),r=t.get(G);if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=r.startViewTransition(()=>(o(),OL(t)));a.ready.catch(c=>{});let{onViewTransitionCreated:l}=i;return l&&wt(t,()=>l({transition:a,from:n,to:e})),s}function OL(t){return new Promise(n=>{Mt({read:()=>setTimeout(n)},{injector:t})})}var Q_=new y(""),eh=(()=>{class t{currentNavigation=Ce(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new M;transitionAbortWithErrorSubject=new M;configLoader=u(Xf);environmentInjector=u(Le);destroyRef=u(Wt);urlSerializer=u(Bo);rootContexts=u(Uo);location=u(Ti);inputBindingEnabled=u(tc,{optional:!0})!==null;titleStrategy=u(q_);options=u(Fr,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=u(Jf);createViewTransition=u(Y_,{optional:!0});navigationErrorHandler=u(Q_,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>z(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=r=>this.events.next(new jf(r)),i=r=>this.events.next(new Bf(r));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;ht(()=>{this.transitions?.next(Z(b({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:i}))})}setupNavigations(e){return this.transitions=new gt(null),this.transitions.pipe(de(i=>i!==null),qe(i=>{let r=!1;return z(i).pipe(qe(o=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",Qt.SupersededByNewNavigation),dt;this.currentTransition=i,this.currentNavigation.set({id:o.id,initialUrl:o.rawUrl,extractedUrl:o.extractedUrl,targetBrowserUrl:typeof o.extras.browserUrl=="string"?this.urlSerializer.parse(o.extras.browserUrl):o.extras.browserUrl,trigger:o.source,extras:o.extras,previousNavigation:this.lastSuccessfulNavigation?Z(b({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>o.abortController.abort()});let s=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),a=o.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!s&&a!=="reload")return this.events.next(new Oi(o.id,this.urlSerializer.serialize(o.rawUrl),"",Js.IgnoredSameUrlNavigation)),o.resolve(!1),dt;if(this.urlHandlingStrategy.shouldProcessUrl(o.rawUrl))return z(o).pipe(qe(l=>(this.events.next(new Pr(l.id,this.urlSerializer.serialize(l.extractedUrl),l.source,l.restoredState)),l.id!==this.navigationId?dt:Promise.resolve(l))),SL(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),it(l=>{i.targetSnapshot=l.targetSnapshot,i.urlAfterRedirects=l.urlAfterRedirects,this.currentNavigation.update(d=>(d.finalUrl=l.urlAfterRedirects,d));let c=new Wl(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(o.currentRawUrl)){let{id:l,extractedUrl:c,source:d,restoredState:f,extras:m}=o,h=new Pr(l,this.urlSerializer.serialize(c),d,f);this.events.next(h);let v=LD(this.rootComponentType).snapshot;return this.currentTransition=i=Z(b({},o),{targetSnapshot:v,urlAfterRedirects:c,extras:Z(b({},m),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(E=>(E.finalUrl=c,E)),z(i)}else return this.events.next(new Oi(o.id,this.urlSerializer.serialize(o.extractedUrl),"",Js.IgnoredByUrlHandlingStrategy)),o.resolve(!1),dt}),it(o=>{let s=new Pf(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(s)}),X(o=>(this.currentTransition=i=Z(b({},o),{guards:$F(o.targetSnapshot,o.currentSnapshot,this.rootContexts)}),i)),tL(this.environmentInjector,o=>this.events.next(o)),it(o=>{if(i.guardsResult=o.guardsResult,o.guardsResult&&typeof o.guardsResult!="boolean")throw Yf(this.urlSerializer,o.guardsResult);let s=new Ff(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot,!!o.guardsResult);this.events.next(s)}),de(o=>o.guardsResult?!0:(this.cancelNavigationTransition(o,"",Qt.GuardRejected),!1)),M_(o=>{if(o.guards.canActivateChecks.length!==0)return z(o).pipe(it(s=>{let a=new Lf(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),qe(s=>{let a=!1;return z(s).pipe(IL(this.paramsInheritanceStrategy,this.environmentInjector),it({next:()=>a=!0,complete:()=>{a||this.cancelNavigationTransition(s,"",Qt.NoDataFromResolver)}}))}),it(s=>{let a=new Vf(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),M_(o=>{let s=a=>{let l=[];if(a.routeConfig?.loadComponent){let c=oa(a)??this.environmentInjector;l.push(this.configLoader.loadComponent(c,a.routeConfig).pipe(it(d=>{a.component=d}),X(()=>{})))}for(let c of a.children)l.push(...s(c));return l};return fo(s(o.targetSnapshot.root)).pipe(ur(null),et(1))}),M_(()=>this.afterPreactivation()),qe(()=>{let{currentSnapshot:o,targetSnapshot:s}=i,a=this.createViewTransition?.(this.environmentInjector,o.root,s.root);return a?Ue(a).pipe(X(()=>i)):z(i)}),X(o=>{let s=jF(e.routeReuseStrategy,o.targetSnapshot,o.currentRouterState);return this.currentTransition=i=Z(b({},o),{targetRouterState:s}),this.currentNavigation.update(a=>(a.targetRouterState=s,a)),i}),it(()=>{this.events.next(new ql)}),zF(this.rootContexts,e.routeReuseStrategy,o=>this.events.next(o),this.inputBindingEnabled),et(1),Oe(new ae(o=>{let s=i.abortController.signal,a=()=>o.next();return s.addEventListener("abort",a),()=>s.removeEventListener("abort",a)}).pipe(de(()=>!r&&!i.targetRouterState),it(()=>{this.cancelNavigationTransition(i,i.abortController.signal.reason+"",Qt.Aborted)}))),it({next:o=>{r=!0,this.lastSuccessfulNavigation=ht(this.currentNavigation),this.events.next(new Mn(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects))),this.titleStrategy?.updateTitle(o.targetRouterState.snapshot),o.resolve(!0)},complete:()=>{r=!0}}),Oe(this.transitionAbortWithErrorSubject.pipe(it(o=>{throw o}))),fr(()=>{r||this.cancelNavigationTransition(i,"",Qt.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),Li(o=>{if(this.destroyed)return i.resolve(!1),dt;if(r=!0,zD(o))this.events.next(new ki(i.id,this.urlSerializer.serialize(i.extractedUrl),o.message,o.cancellationCode)),HF(o)?this.events.next(new na(o.url,o.navigationBehaviorOptions)):i.resolve(!1);else{let s=new ea(i.id,this.urlSerializer.serialize(i.extractedUrl),o,i.targetSnapshot??void 0);try{let a=wt(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof ia){let{message:l,cancellationCode:c}=Yf(this.urlSerializer,a);this.events.next(new ki(i.id,this.urlSerializer.serialize(i.extractedUrl),l,c)),this.events.next(new na(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),o}catch(a){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(a)}}return dt}))}))}cancelNavigationTransition(e,i,r){let o=new ki(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=ht(this.currentNavigation),r=i?.targetBrowserUrl??i?.extractedUrl;return e.toString()!==r?.toString()&&!i?.extras.skipLocationChange}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function NL(t){return t!==Zs}var eS=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:()=>u(PL),providedIn:"root"})}return t})(),Qf=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}},PL=(()=>{class t extends Qf{static \u0275fac=(()=>{let e;return function(r){return(e||(e=jt(t)))(r||t)}})();static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),tS=(()=>{class t{urlSerializer=u(Bo);options=u(Fr,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=u(Ti);urlHandlingStrategy=u(Jf);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Ri;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:i,targetBrowserUrl:r}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,i):i,s=r??o;return s instanceof Ri?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:e,finalUrl:i,initialUrl:r}){i&&e?(this.currentUrlTree=i,this.rawUrlTree=this.urlHandlingStrategy.merge(i,r),this.routerState=e):this.rawUrlTree=r}routerState=LD(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:()=>u(FL),providedIn:"root"})}return t})(),FL=(()=>{class t extends tS{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&setTimeout(()=>{e(i.url,i.state,"popstate")})})}handleRouterEvent(e,i){e instanceof Pr?this.updateStateMemento():e instanceof Oi?this.commitTransition(i):e instanceof Wl?this.urlUpdateStrategy==="eager"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof ql?(this.commitTransition(i),this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof ki&&e.code!==Qt.SupersededByNewNavigation&&e.code!==Qt.Redirect?this.restoreHistory(i):e instanceof ea?this.restoreHistory(i,!0):e instanceof Mn&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:i,id:r}){let{replaceUrl:o,state:s}=i;if(this.location.isCurrentPathEqualTo(e)||o){let a=this.browserPageId,l=b(b({},s),this.generateNgRouterState(r,a));this.location.replaceState(e,"",l)}else{let a=b(b({},s),this.generateNgRouterState(r,this.browserPageId+1));this.location.go(e,"",a)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,o=this.currentPageId-r;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=jt(t)))(r||t)}})();static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function th(t,n){t.events.pipe(de(e=>e instanceof Mn||e instanceof ki||e instanceof ea||e instanceof Oi),X(e=>e instanceof Mn||e instanceof Oi?0:(e instanceof ki?e.code===Qt.Redirect||e.code===Qt.SupersededByNewNavigation:!1)?2:1),de(e=>e!==2),et(1)).subscribe(()=>{n()})}var LL={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},VL={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},ni=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=u(qu);stateManager=u(tS);options=u(Fr,{optional:!0})||{};pendingTasks=u(Ci);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=u(eh);urlSerializer=u(Bo);location=u(Ti);urlHandlingStrategy=u(Jf);injector=u(Le);_events=new M;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=u(eS);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=u(aa,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!u(tc,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new me;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let r=this.navigationTransitions.currentTransition,o=ht(this.navigationTransitions.currentNavigation);if(r!==null&&o!==null){if(this.stateManager.handleRouterEvent(i,o),i instanceof ki&&i.code!==Qt.Redirect&&i.code!==Qt.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Mn)this.navigated=!0;else if(i instanceof na){let s=i.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),l=b({browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||NL(r.source)},s);this.scheduleNavigation(a,Zs,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}PF(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortWithErrorSubject.next(r)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Zs,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i,r)=>{this.navigateToSyncWithBrowser(e,r,i)})}navigateToSyncWithBrowser(e,i,r){let o={replaceUrl:!0},s=r?.navigationId?r:null;if(r){let l=b({},r);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(o.state=l)}let a=this.parseUrl(e);this.scheduleNavigation(a,i,s,o).catch(l=>{this.disposed||this.injector.get(nn)(l)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return ht(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(W_),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){let{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:s,d=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":d=b(b({},this.currentUrlTree.queryParams),o);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let m=r?r.snapshot:this.routerState.snapshot.root;f=OD(m)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),f=this.currentUrlTree.root}return ND(f,e,d,c??null)}navigateByUrl(e,i={skipLocationChange:!1}){let r=Nr(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,Zs,null,i)}navigate(e,i={skipLocationChange:!1}){return jL(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.console.warn(Ln(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,i){let r;if(i===!0?r=b({},LL):i===!1?r=b({},VL):r=i,Nr(e))return pD(this.currentUrlTree,e,r);let o=this.parseUrl(e);return pD(this.currentUrlTree,o,r)}removeEmptyProps(e){return Object.entries(e).reduce((i,[r,o])=>(o!=null&&(i[r]=o),i),{})}scheduleNavigation(e,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((f,m)=>{a=f,l=m});let d=this.pendingTasks.add();return th(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(f=>Promise.reject(f))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function jL(t){for(let n=0;n{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=Ce(null);get href(){return ht(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new M;applicationErrorHandler=u(nn);options=u(Fr,{optional:!0});constructor(e,i,r,o,s,a){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=s,this.locationStrategy=a,this.reactiveHref.set(u(new Ii("href"),{optional:!0}));let l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area"||!!(typeof customElements=="object"&&customElements.get(l)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(this.subscription!==void 0||!this.isAnchorElement)return;let e=this.preserveFragment,i=r=>r==="merge"||r==="preserve";e||=i(this.queryParamsHandling),e||=!this.queryParamsHandling&&!i(this.options?.defaultQueryParamsHandling),e&&(this.subscription=this.router.events.subscribe(r=>{r instanceof Mn&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Nr(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,i,r,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||i||r||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,l)?.catch(c=>{this.applicationErrorHandler(c)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.reactiveHref.set(e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null)}applyAttributeValue(e,i){let r=this.renderer,o=this.el.nativeElement;i!==null?r.setAttribute(o,e,i):r.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:Nr(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(i){return new(i||t)(k(ni),k(ti),vl("tabindex"),k(Ne),k(j),k(Xn))};static \u0275dir=F({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(i,r){i&1&&H("click",function(s){return r.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),i&2&&_e("href",r.reactiveHref(),Qg)("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",W],skipLocationChange:[2,"skipLocationChange","skipLocationChange",W],replaceUrl:[2,"replaceUrl","replaceUrl",W],routerLink:"routerLink"},features:[He]})}return t})();var ic=class{};var nS=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,i,r,o){this.router=e,this.injector=i,this.preloadingStrategy=r,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(de(e=>e instanceof Mn),mi(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){let r=[];for(let o of i){o.providers&&!o._injector&&(o._injector=js(o.providers,e,`Route: ${o.path}`));let s=o._injector??e,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&r.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&r.push(this.processRoutes(a,o.children??o._loadedRoutes))}return Ue(r).pipe(cr())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;i.loadChildren&&i.canLoad===void 0?r=this.loader.loadChildren(e,i):r=z(null);let o=r.pipe(Je(s=>s===null?z(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));if(i.loadComponent&&!i._loadedComponent){let s=this.loader.loadComponent(e,i);return Ue([o,s]).pipe(cr())}else return o})}static \u0275fac=function(i){return new(i||t)(O(ni),O(Le),O(ic),O(Xf))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),iS=new y(""),BL=(()=>{class t{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=Zs;restoredId=0;store={};constructor(e,i,r,o,s={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=r,this.zone=o,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Pr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Mn?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof Oi&&e.code===Js.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof ta))return;let i={behavior:"instant"};e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],i):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position,i):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,i){this.zone.runOutsideAngular(()=>Se(this,null,function*(){yield new Promise(r=>{setTimeout(r),typeof requestAnimationFrame<"u"&&requestAnimationFrame(r)}),this.zone.run(()=>{this.transitions.events.next(new ta(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(i){wl()};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})();function UL(t){return t.routerState.root}function rc(t,n){return{\u0275kind:t,\u0275providers:n}}function HL(){let t=u($);return n=>{let e=t.get(Tt);if(n!==e.components[0])return;let i=t.get(ni),r=t.get(rS);t.get(X_)===1&&i.initialNavigation(),t.get(aS,null,{optional:!0})?.setUpPreloading(),t.get(iS,null,{optional:!0})?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var rS=new y("",{factory:()=>new M}),X_=new y("",{providedIn:"root",factory:()=>1});function oS(){let t=[{provide:Ru,useValue:!0},{provide:X_,useValue:0},Ku(()=>{let n=u($);return n.get(Xv,Promise.resolve()).then(()=>new Promise(i=>{let r=n.get(ni),o=n.get(rS);th(r,()=>{i(!0)}),n.get(eh).afterPreactivation=()=>(i(!0),o.closed?z(void 0):o),r.initialNavigation()}))})];return rc(2,t)}function sS(){let t=[Ku(()=>{u(ni).setUpLocationChangeListener()}),{provide:X_,useValue:2}];return rc(3,t)}var aS=new y("");function lS(t){return rc(0,[{provide:aS,useExisting:nS},{provide:ic,useExisting:t}])}function cS(){return rc(8,[$_,{provide:tc,useExisting:$_}])}function dS(t){Si("NgRouterViewTransitions");let n=[{provide:Y_,useValue:JD},{provide:K_,useValue:b({skipNextTransition:!!t?.skipInitialTransition},t)}];return rc(9,n)}var uS=[Ti,{provide:Bo,useClass:Or},ni,Uo,{provide:ti,useFactory:UL,deps:[ni]},Xf,[]],nh=(()=>{class t{constructor(){}static forRoot(e,i){return{ngModule:t,providers:[uS,[],{provide:aa,multi:!0,useValue:e},[],i?.errorHandler?{provide:Q_,useValue:i.errorHandler}:[],{provide:Fr,useValue:i||{}},i?.useHash?$L():GL(),zL(),i?.preloadingStrategy?lS(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?WL(i):[],i?.bindToComponentInputs?cS().\u0275providers:[],i?.enableViewTransitions?dS().\u0275providers:[],qL()]}}static forChild(e){return{ngModule:t,providers:[{provide:aa,multi:!0,useValue:e}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({})}return t})();function zL(){return{provide:iS,useFactory:()=>{let t=u(Hx),n=u(R),e=u(Fr),i=u(eh),r=u(Bo);return e.scrollOffset&&t.setOffset(e.scrollOffset),new BL(r,i,t,n,e)}}}function $L(){return{provide:Xn,useClass:e_}}function GL(){return{provide:Xn,useClass:ff}}function WL(t){return[t.initialNavigation==="disabled"?sS().\u0275providers:[],t.initialNavigation==="enabledBlocking"?oS().\u0275providers:[]]}var Z_=new y("");function qL(){return[{provide:Z_,useFactory:HL},{provide:Qu,multi:!0,useExisting:Z_}]}var ih=class{constructor(n){this.user=n.user,this.role=n.role,this.admin=n.admin}get isStaff(){return this.role==="staff"||this.role==="admin"}get isAdmin(){return this.role==="admin"}get isLogged(){return this.user!=null}get isRestricted(){return this.role==="restricted"}};var fS;var sn=(t,n)=>{let e;if(t instanceof Promise)e=t;else if(t instanceof sc)e=t;else{if(n)return Md(t.pipe(Up(n)));e=Md(t)}return e},sc=class{static{fS=Symbol.toStringTag}constructor(){this[fS]="Future",this.resolve=()=>{},this.reject=()=>{},this.promise=new Promise((n,e)=>{this.resolve=n,this.reject=e})}then(n,e){return this.promise.then(n,e)}catch(n){return this.promise.catch(n)}finally(n){return this.promise.finally(n)}};var hS=(()=>{class t{static{this.transportsWindow={}}constructor(e){this.api=e,this.delay=e.config.launcher_wait_time}launchURL(e){return Se(this,null,function*(){e.substring(0,7)==="udsa://"?yield this.processUDSUrl(e):yield this.processExternalUrl(e)})}showAlert(e,i,r){return Se(this,null,function*(){return this.api.gui.alert(django.gettext("Launching service"),'

'+e+'

'+i+"

",r)})}launchUDSUrl(e){this.api.download(e)}processUDSUrl(e){return Se(this,null,function*(){let i=e.split("//")[1].split("/");if(i.length!==2){yield this.notifyError(django.gettext("Invalid UDS URL"));return}let r=i[0],o=i[1],s=yield this.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Remember that you will need the UDS client on your platform to access the service."),0),a=!1;sn(s.afterClosed()).then(()=>a=!0);let l=-1;try{let c=yield this.api.enabler(r,o);if(c.error)throw c.error;if(c.url.startsWith("/")){s.close(),yield this.launchURL(c.url);return}for(window.location.protocol==="https:"&&(c.url=c.url.replace("uds://","udss://")),this.launchUDSUrl(c.url);!a;){let d=yield this.api.status(r,o);if(l>0&&Date.now()-l>this.delay*5&&(s.componentInstance.data.title=django.gettext("Service ready")+" - "+django.gettext("UDS Client not launching"),s.componentInstance.data.body=''+django.gettext("It seems that you don't have UDS Client installed. Please, install it from here:")+' '+django.gettext("UDS Client Download")+""),d.status==="ready")l===-1&&(l=Date.now(),s.componentInstance.data.title=django.gettext("Service ready"),s.componentInstance.data.body=django.gettext("Launching UDS Client, almost done."));else if(d.status==="accessed"){s.close(),a=!0;continue}else if(d.status!=="running"){s.close(),yield this.notifyError(d.status),a=!0;continue}yield this.api.sleep(1e3)}}catch(c){s.close(),yield this.notifyError(c)}})}processExternalUrl(e){return Se(this,null,function*(){let i=yield this.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Remember that you will need the UDS client on your platform to access the service."),0),r=!1;sn(i.afterClosed()).then(()=>r=!0);try{for(;!r;){let o=yield this.api.transportUrl(e);if(o.url){i.close();let s=yield this.processCredentials(o);s!==null&&(yield this.api.updateTransportTicket(s.ticket,s.scrambler,s.username,s.password,s.domain)),this.openWindow(o.url),r=!0}else o.error&&(i.close(),yield this.notifyError(o.error),r=!0)}yield this.api.sleep(1e3)}catch(o){i.close(),yield this.notifyError(o)}})}processCredentials(e){return Se(this,null,function*(){let i=e.url||"";if(i.indexOf("&creds=")!==-1){let r=i.split("&creds=")[1],o="",s="";e.url=i.split("&creds=")[0];let a=i.split("data=")[1].split("&")[0].split("."),l=a[0],c=a[1];r.indexOf("@")!==-1?(o=r.split("@")[0],s=r.split("@")[1]):o=r;let d=yield this.api.gui.askCredentials(o,s);if(d.success===!1)throw new Error("User canceled credentials dialog");return{ticket:l,scrambler:c,username:d.username,password:d.password,domain:d.domain}}return null})}openWindow(e){let i="__global__";if(e.indexOf("o_s_w=")!==-1){let r=/(.*)[&?]o_s_w=.*/.exec(e);i="__same__",e=r[1]}else if(e.indexOf("o_n_w=")!==-1){let r=/(.*)[&?]o_n_w=([a-zA-Z0-9._-]*)/.exec(e);r&&(i=r[2],e=r[1])}if(i==="__same__")window.location.href=e;else{t.transportsWindow[i]&&t.transportsWindow[i].close();let r=window.open(e,"uds_trans_"+i);r&&(t.transportsWindow[i]=r)}}notifyError(e){return Se(this,null,function*(){let i=django.gettext("Error communicating with your service. Please, retry again.");typeof e=="string"?i=e:e instanceof Error?i=e.message:e.status===403&&(i=django.gettext("Your session has expired. Please, login again")),yield this.showAlert(django.gettext("Error"),i,5e3),e.status===403&&this.api.logout()})}}return t})();var rh={production:!0};var ac=class{_attachedHost;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},Vr=class extends ac{component;viewContainerRef;injector;projectableNodes;constructor(n,e,i,r){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.projectableNodes=r}},ii=class extends ac{templateRef;viewContainerRef;context;injector;constructor(n,e,i,r){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},J_=class extends ac{element;constructor(n){super(),this.element=n instanceof j?n.nativeElement:n}},la=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof Vr)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof ii)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof J_)return this._attachedPortal=n,this.attachDomPortal(n)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},lc=class extends la{outletElement;_appRef;_defaultInjector;constructor(n,e,i){super(),this.outletElement=n,this._appRef=e,this._defaultInjector=i}attachComponentPortal(n){let e;if(n.viewContainerRef){let i=n.injector||n.viewContainerRef.injector,r=i.get(xi,null,{optional:!0})||void 0;e=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:i,ngModuleRef:r,projectableNodes:n.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else{let i=this._appRef,r=n.injector||this._defaultInjector||$.NULL,o=r.get(Le,i.injector);e=cf(n.component,{elementInjector:r,environmentInjector:o,projectableNodes:n.projectableNodes||void 0}),i.attachView(e.hostView),this.setDisposeFn(()=>{i.viewCount>0&&i.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=n,e}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);r!==-1&&e.remove(r)}),this._attachedPortal=n,i}attachDomPortal=n=>{let e=n.element;e.parentNode;let i=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=n,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}};var Ho=(()=>{class t extends la{_moduleRef=u(xi,{optional:!0});_document=u(G);_viewContainerRef=u(st);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new U;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,r=i.createComponent(e.component,{index:i.length,injector:e.injector||i.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return i!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachDomPortal=e=>{let i=e.element;i.parentNode;let r=this._document.createComment("dom-portal");e.setAttachedHost(this),i.parentNode.insertBefore(r,i),this._getRootNode().appendChild(i),this._attachedPortal=e,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(i,r)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(i){return new(i||t)};static \u0275dir=F({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Pe]})}return t})();var Yi=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({})}return t})();function zo(t){return t.buttons===0||t.detail===0}function $o(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var ey;function pS(){if(ey==null){let t=typeof document<"u"?document.head:null;ey=!!(t&&(t.createShadowRoot||t.attachShadow))}return ey}function ty(t){if(pS()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function cc(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function Zt(t){return t.composedPath?t.composedPath()[0]:t.target}var dc;function mS(){if(dc==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>dc=!0}))}finally{dc=dc||!1}return dc}function jr(t){return mS()?t:!!t.capture}function Ki(t,n=0){return gS(t)?Number(t):arguments.length===2?n:0}function gS(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function mn(t){return t instanceof j?t.nativeElement:t}var vS=new y("cdk-input-modality-detector-options"),_S={ignoreKeys:[18,17,224,91,16]},yS=650,ny={passive:!0,capture:!0},bS=(()=>{class t{_platform=u(xe);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new gt(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(i=>i===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Zt(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs{if($o(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Zt(e)};constructor(){let e=u(R),i=u(G),r=u(vS,{optional:!0});if(this._options=b(b({},_S),r),this.modalityDetected=this._modality.pipe(Ha(1)),this.modalityChanged=this.modalityDetected.pipe(ms()),this._platform.isBrowser){let o=u(rt).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[o.listen(i,"keydown",this._onKeydown,ny),o.listen(i,"mousedown",this._onMousedown,ny),o.listen(i,"touchstart",this._onTouchstart,ny)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),uc=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})(uc||{}),CS=new y("cdk-focus-monitor-default-options"),oh=jr({passive:!0,capture:!0}),Tn=(()=>{class t{_ngZone=u(R);_platform=u(xe);_inputModalityDetector=u(bS);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=u(G);_stopInputModalityDetector=new M;constructor(){let e=u(CS,{optional:!0});this._detectionMode=e?.detectionMode||uc.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let i=Zt(e);for(let r=i;r;r=r.parentElement)e.type==="focus"?this._onFocus(e,r):this._onBlur(e,r)};monitor(e,i=!1){let r=mn(e);if(!this._platform.isBrowser||r.nodeType!==1)return z();let o=ty(r)||this._document,s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;let a={checkChildren:i,subject:new M,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let i=mn(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){let o=mn(e),s=this._document.activeElement;o===s?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===uc.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===uc.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?yS:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,i){let r=this._elementInfo.get(i),o=Zt(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){let r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,oh),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,oh)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Oe(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,oh),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,oh),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let s=0;s{class t{_appRef;_injector=u($);_environmentInjector=u(Le);load(e){let i=this._appRef=this._appRef||this._injector.get(Tt),r=sh.get(i);r||(r={loaders:new Set,refs:[]},sh.set(i,r),i.onDestroy(()=>{sh.get(i)?.refs.forEach(o=>o.destroy()),sh.delete(i)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(cf(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ca=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(i,r){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0} +`],encapsulation:2,changeDetection:0})}return t})();var YL=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ah=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({providers:[YL]})}return t})();var oy=(()=>{class t{_platform=u(xe);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return QL(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=KL(r2(e));if(i&&(wS(i)===-1||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=wS(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!n2(e)?!1:r==="audio"?e.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,i){return i2(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function KL(t){try{return t.frameElement}catch{return null}}function QL(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function ZL(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function XL(t){return e2(t)&&t.type=="hidden"}function JL(t){return t2(t)&&t.hasAttribute("href")}function e2(t){return t.nodeName.toLowerCase()=="input"}function t2(t){return t.nodeName.toLowerCase()=="a"}function DS(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function wS(t){if(!DS(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function n2(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function i2(t){return XL(t)?!1:ZL(t)||JL(t)||t.hasAttribute("contenteditable")||DS(t)}function r2(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var ry=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_enabled=!0;constructor(n,e,i,r,o=!1,s){this._element=n,this._checker=e,this._ngZone=i,this._document=r,this._injector=s,o||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let i=0;i=0;i--){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?Mt(n,{injector:this._injector}):setTimeout(n)}},sy=(()=>{class t{_checker=u(oy);_ngZone=u(R);_document=u(G);_injector=u($);constructor(){u(ot).load(ca)}create(e,i=!1){return new ry(e,this._checker,this._ngZone,this._document,i,this._injector)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var SS=new y("liveAnnouncerElement",{providedIn:"root",factory:IS});function IS(){return null}var MS=new y("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),o2=0,ay=(()=>{class t{_ngZone=u(R);_defaultOptions=u(MS,{optional:!0});_liveElement;_document=u(G);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=u(SS,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...i){let r=this._defaultOptions,o,s;return i.length===1&&typeof i[0]=="number"?s=i[0]:[o,s]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),s==null&&r&&(s=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{class t{_platform=u(xe);_hasCheckedHighContrastMode;_document=u(G);_breakpointSubscription;constructor(){this._breakpointSubscription=u(E_).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Br.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Br.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Br.BLACK_ON_WHITE}return Br.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(iy,ES,xS),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Br.BLACK_ON_WHITE?e.add(iy,ES):i===Br.WHITE_ON_BLACK&&e.add(iy,xS)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),fc=(()=>{class t{constructor(){u(lh)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({imports:[ah]})}return t})();function pt(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}function ly(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function ct(t){return t==null?"":typeof t=="string"?t:`${t}px`}var s2=new y("cdk-dir-doc",{providedIn:"root",factory:a2});function a2(){return u(G)}var l2=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function TS(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?l2.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var Rt=(()=>{class t{get value(){return this.valueSignal()}valueSignal=Ce("ltr");change=new U;constructor(){let e=u(s2,{optional:!0});if(e){let i=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(TS(i||r||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ri=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(ri||{}),ch,Go;function dh(){if(Go==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Go=!1,Go;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)Go=!0;else{let t=Element.prototype.scrollTo;t?Go=!/\{\s*\[native code\]\s*\}/.test(t.toString()):Go=!1}}return Go}function da(){if(typeof document!="object"||!document)return ri.NORMAL;if(ch==null){let t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",t.appendChild(e),document.body.appendChild(t),ch=ri.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,ch=t.scrollLeft===0?ri.NEGATED:ri.INVERTED),t.remove()}return ch}var Ur=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({})}return t})();var c2=20,Hr=(()=>{class t{_ngZone=u(R);_platform=u(xe);_renderer=u(rt).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new M;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=c2){return this._platform.isBrowser?new ae(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=e>0?this._scrolled.pipe(Od(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):z()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(de(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_scrollableContainsElement(e,i){let r=mn(i),o=e.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),cy=(()=>{class t{elementRef=u(j);scrollDispatcher=u(Hr);ngZone=u(R);dir=u(Rt,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new M;_renderer=u(Ne);_cleanupScroll;_elementScrolled=new M;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let i=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&da()!=ri.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),da()==ri.INVERTED?e.left=e.right:da()==ri.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;dh()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left))}measureScrollOffset(e){let i="left",r="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let s=this.dir&&this.dir.value=="rtl";return e=="start"?e=s?r:i:e=="end"&&(e=s?i:r),s&&da()==ri.INVERTED?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:s&&da()==ri.NEGATED?e==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static \u0275fac=function(i){return new(i||t)};static \u0275dir=F({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return t})(),d2=20,Zi=(()=>{class t{_platform=u(xe);_listeners;_viewportSize;_change=new M;_document=u(G);constructor(){let e=u(R),i=u(rt).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let r=o=>this._change.next(o);this._listeners=[i.listen("window","resize",r),i.listen("window","orientationchange",r)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect(),s=-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,a=-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:s,left:a}}change(e=d2){return e>0?this._change.pipe(Od(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Qi=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({})}return t})(),dy=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({imports:[Ur,Qi,Ur,Qi]})}return t})();var uy={},Ge=(()=>{class t{_appId=u(Dr);getId(e){return this._appId!=="ng"&&(e+=this._appId),uy.hasOwnProperty(e)||(uy[e]=0),`${e}${uy[e]++}`}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var AS=dh();function ha(t){return new uh(t.get(Zi),t.get(G))}var uh=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,e){this._viewportRuler=n,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=ct(-this._previousScrollPosition.left),n.style.top=ct(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,i=n.style,r=e.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),AS&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),AS&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}};function LS(t,n){return new fh(t.get(Hr),t.get(R),t.get(Zi),n)}var fh=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,e,i,r){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=r}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(de(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};var hc=class{enable(){}disable(){}attach(){}};function fy(t,n){return n.some(e=>{let i=t.bottome.bottom,o=t.righte.right;return i||r||o||s})}function kS(t,n){return n.some(e=>{let i=t.tope.bottom,o=t.lefte.right;return i||r||o||s})}function gn(t,n){return new hh(t.get(Hr),t.get(Zi),t.get(R),n)}var hh=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,e,i,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=r}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();fy(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},VS=(()=>{class t{_injector=u($);constructor(){}noop=()=>new hc;close=e=>LS(this._injector,e);block=()=>ha(this._injector);reposition=e=>gn(this._injector,e);static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Xi=class{positionStrategy;scrollStrategy=new hc;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(n){if(n){let e=Object.keys(n);for(let i of e)n[i]!==void 0&&(this[i]=n[i])}}};var ph=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var jS=(()=>{class t{_attachedOverlays=[];_document=u(G);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),BS=(()=>{class t extends jS{_ngZone=u(R);_renderer=u(rt).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let i=this._attachedOverlays;for(let r=i.length-1;r>-1;r--)if(i[r]._keydownEvents.observers.length>0){this._ngZone.run(()=>i[r]._keydownEvents.next(e));break}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=jt(t)))(r||t)}})();static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),US=(()=>{class t extends jS{_platform=u(xe);_ngZone=u(R);_renderer=u(rt).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){let i=this._document.body,r={capture:!0},o=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[o.listen(i,"pointerdown",this._pointerDownListener,r),o.listen(i,"click",this._clickListener,r),o.listen(i,"auxclick",this._clickListener,r),o.listen(i,"contextmenu",this._clickListener,r)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=Zt(e)};_clickListener=e=>{let i=Zt(e),r=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let o=this._attachedOverlays.slice();for(let s=o.length-1;s>-1;s--){let a=o[s];if(a._outsidePointerEvents.observers.length<1||!a.hasAttached())continue;if(RS(a.overlayElement,i)||RS(a.overlayElement,r))break;let l=a._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(e)):l.next(e)}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=jt(t)))(r||t)}})();static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function RS(t,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,i=n;for(;i;){if(i===t)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}var HS=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll} +`],encapsulation:2,changeDetection:0})}return t})(),vh=(()=>{class t{_platform=u(xe);_containerElement;_document=u(G);_styleLoader=u(ot);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||ly()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o{let n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}},ua=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new M;_attachments=new M;_detachments=new M;_positionStrategy;_scrollStrategy;_locationChanges=me.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new M;_outsidePointerEvents=new M;_afterNextRenderRef;constructor(n,e,i,r,o,s,a,l,c,d=!1,f,m){this._portalOutlet=n,this._host=e,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._injector=f,this._renderer=m,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Mt(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,n&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=b(b({},this._config),n),this._updateElementSize()}setDirection(n){this._config=Z(b({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=ct(this._config.width),n.height=ct(this._config.height),n.minWidth=ct(this._config.minWidth),n.minHeight=ct(this._config.minHeight),n.maxWidth=ct(this._config.maxWidth),n.maxHeight=ct(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new hy(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,e,i){let r=Ys(e||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=Mt(()=>{n=!0,this._detachContent()},{injector:this._injector})}catch(e){if(n)throw e;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let n=this._scrollStrategy;n?.disable(),n?.detach?.()}},OS="cdk-overlay-connected-position-bounding-box",f2=/([A-Za-z%]+)$/;function qo(t,n){return new mh(n,t.get(Zi),t.get(G),t.get(xe),t.get(vh))}var mh=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new M;_resizeSubscription=me.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(OS),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let n=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,r,a),c=this._getOverlayPoint(l,e,a),d=this._getOverlayFit(c,e,i,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(d,c,i)){o.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!s||s.overlayFit.visibleAreal&&(l=d,a=c)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Wo(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(OS),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let r;if(i.originX=="center")r=n.left+n.width/2;else{let s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;r=i.originX=="start"?s:a}e.left<0&&(r-=e.left);let o;return i.originY=="center"?o=n.top+n.height/2:o=i.originY=="top"?n.top:n.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(n,e,i){let r;i.overlayX=="center"?r=-e.width/2:i.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let o;return i.overlayY=="center"?o=-e.height/2:o=i.overlayY=="top"?0:-e.height,{x:n.x+r,y:n.y+o}}_getOverlayFit(n,e,i,r){let o=PS(e),{x:s,y:a}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let d=0-s,f=s+o.width-i.width,m=0-a,h=a+o.height-i.height,v=this._subtractOverflows(o.width,d,f),E=this._subtractOverflows(o.height,m,h),S=v*E;return{visibleArea:S,isCompletelyWithinViewport:o.width*o.height===S,fitsInViewportVertically:E===o.height,fitsInViewportHorizontally:v==o.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){let r=i.bottom-e.y,o=i.right-e.x,s=NS(this._overlayRef.getConfig().minHeight),a=NS(this._overlayRef.getConfig().minWidth),l=n.fitsInViewportVertically||s!=null&&s<=r,c=n.fitsInViewportHorizontally||a!=null&&a<=o;return l&&c}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let r=PS(e),o=this._viewportRect,s=Math.max(n.x+r.width-o.width,0),a=Math.max(n.y+r.height-o.height,0),l=Math.max(o.top-i.top-n.y,0),c=Math.max(o.left-i.left-n.x,0),d=0,f=0;return r.width<=o.width?d=c||-s:d=n.xv&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-v/2)}let l=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,c=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,d,f,m;if(c)m=i.width-n.x+this._viewportMargin*2,d=n.x-this._viewportMargin;else if(l)f=n.x,d=i.right-n.x;else{let h=Math.min(i.right-n.x+i.left,n.x),v=this._lastBoundingBoxSize.width;d=h*2,f=n.x-h,d>v&&!this._isInitialRender&&!this._growAfterOpen&&(f=n.x-v/2)}return{top:s,left:f,bottom:a,right:m,width:d,height:o}}_setBoundingBoxStyles(n,e){let i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=ct(i.height),r.top=ct(i.top),r.bottom=ct(i.bottom),r.width=ct(i.width),r.left=ct(i.left),r.right=ct(i.right),e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=ct(o)),s&&(r.maxWidth=ct(s))}this._lastBoundingBoxSize=i,Wo(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Wo(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Wo(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();Wo(i,this._getExactOverlayY(e,n,d)),Wo(i,this._getExactOverlayX(e,n,d))}else i.position="static";let a="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=ct(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=ct(s.maxWidth):o&&(i.maxWidth="")),Wo(this._pane.style,i)}_getExactOverlayY(n,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),n.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;r.bottom=`${s-(o.y+this._overlayRect.height)}px`}else r.top=ct(o.y);return r}_getExactOverlayX(n,e,i){let r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i));let s;if(this._isRtl()?s=n.overlayX==="end"?"left":"right":s=n.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;r.right=`${a-(o.x+this._overlayRect.width)}px`}else r.left=ct(o.x);return r}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:kS(n,i),isOriginOutsideView:fy(n,i),isOverlayClipped:kS(e,i),isOverlayOutsideView:fy(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Ys(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){let n=this._origin;if(n instanceof j)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}};function Wo(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function NS(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(f2);return!e||e==="px"?parseFloat(n):null}return t||null}function PS(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function h2(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}var FS="cdk-global-overlay-wrapper";function pa(t){return new gh}var gh=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(FS),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=(r==="100%"||r==="100vw")&&(!s||s==="100%"||s==="100vw"),c=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,f=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",h="",v="",E="";l?E="flex-start":d==="center"?(E="center",m?v=f:h=f):m?d==="left"||d==="end"?(E="flex-end",h=f):(d==="right"||d==="start")&&(E="flex-start",v=f):d==="left"||d==="start"?(E="flex-start",h=f):(d==="right"||d==="end")&&(E="flex-end",v=f),n.position=this._cssPosition,n.marginLeft=l?"0":h,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":v,e.justifyContent=E,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(FS),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},zS=(()=>{class t{_injector=u($);constructor(){}global(){return pa()}flexibleConnectedTo(e){return qo(this._injector,e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function er(t,n){t.get(ot).load(HS);let e=t.get(vh),i=t.get(G),r=t.get(Ge),o=t.get(Tt),s=t.get(Rt),a=i.createElement("div"),l=i.createElement("div");l.id=r.getId("cdk-overlay-"),l.classList.add("cdk-overlay-pane"),a.appendChild(l),e.getContainerElement().appendChild(a);let c=new lc(l,o,t),d=new Xi(n),f=t.get(Ne,null,{optional:!0})||t.get(rt).createRenderer(null,null);return d.direction=d.direction||s.value,new ua(c,a,l,d,t.get(R),t.get(BS),i,t.get(Ti),t.get(US),n?.disableAnimations??t.get(Sr,null,{optional:!0})==="NoopAnimations",t.get(Le),f)}var $S=(()=>{class t{scrollStrategies=u(VS);_positionBuilder=u(zS);_injector=u($);constructor(){}create(e){return er(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),p2=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],GS=new y("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=u($);return()=>gn(t)}}),fa=(()=>{class t{elementRef=u(j);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=F({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),_h=(()=>{class t{_dir=u(Rt,{optional:!0});_injector=u($);_overlayRef;_templatePortal;_backdropSubscription=me.EMPTY;_attachSubscription=me.EMPTY;_detachSubscription=me.EMPTY;_positionSubscription=me.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=u(GS);_disposeOnNavigation=!1;_ngZone=u(R);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}backdropClick=new U;positionChange=new U;attach=new U;detach=new U;overlayKeydown=new U;overlayOutsideClick=new U;constructor(){let e=u(Et),i=u(st);this._templatePortal=new ii(e,i),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=p2);let e=this._overlayRef=er(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!pt(i)&&(i.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let r=this._getOriginElement(),o=Zt(i);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new Xi({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=qo(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof fa?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof fa?this.origin.elementRef.nativeElement:this.origin instanceof j?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(qp(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(i){return new(i||t)};static \u0275dir=F({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",W],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",W],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",W],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",W],push:[2,"cdkConnectedOverlayPush","push",W],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",W]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[He]})}return t})();function m2(t){let n=u($);return()=>gn(n)}var g2={provide:GS,useFactory:m2},oi=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({providers:[$S,g2],imports:[Ur,Yi,dy,dy]})}return t})();function v2(t,n){}var zr=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext};var my=(()=>{class t extends la{_elementRef=u(j);_focusTrapFactory=u(sy);_config;_interactivityChecker=u(oy);_ngZone=u(R);_focusMonitor=u(Tn);_renderer=u(Ne);_changeDetectorRef=u(Fe);_injector=u($);_platform=u(xe);_document=u(G);_portalOutlet;_focusTrapped=new M;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=u(zr,{optional:!0})||new zr,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let i=this._ariaLabelledByQueue.indexOf(e);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}attachDomPortal=e=>{this._portalOutlet.hasAttached();let i=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),i};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{o(),s(),e.removeAttribute("tabindex")},o=this._renderer.listen(e,"blur",r),s=this._renderer.listen(e,"mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_trapFocus(e){this._isDestroyed||Mt(()=>{let i=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||i.focus(e);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,i=null;if(typeof e=="string"?i=this._document.querySelector(e):typeof e=="boolean"?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&typeof i.focus=="function"){let r=cc(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(e){this._elementRef.nativeElement.focus?.(e)}_containsFocus(){let e=this._elementRef.nativeElement,i=cc();return e===i||e.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=cc()))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,r){if(i&1&&Ie(Ho,7),i&2){let o;oe(o=se())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,r){i&2&&_e("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},features:[Pe],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,r){i&1&&te(0,v2,0,0,"ng-template",0)},dependencies:[Ho],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit} +`],encapsulation:2})}return t})(),pc=class{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new M;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(n,e){this.overlayRef=n,this.config=e,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{i.keyCode===27&&!this.disableClose&&!pt(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=n.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(n,e){if(this._canClose(n)){let i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}_canClose(n){let e=this.config;return!!this.containerInstance&&(!e.closePredicate||e.closePredicate(n,e,this.componentInstance))}},_2=new y("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=u($);return()=>ha(t)}}),y2=new y("DialogData"),b2=new y("DefaultDialogConfig");function C2(t){let n=Ce(t),e=new U;return{valueSignal:n,get value(){return n()},change:e,ngOnDestroy(){e.complete()}}}var gy=(()=>{class t{_injector=u($);_defaultOptions=u(b2,{optional:!0});_parentDialog=u(t,{optional:!0,skipSelf:!0});_overlayContainer=u(vh);_idGenerator=u(Ge);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new M;_afterOpenedAtThisLevel=new M;_ariaHiddenElements=new Map;_scrollStrategy=u(_2);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=Fn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(nt(void 0)));constructor(){}open(e,i){let r=this._defaultOptions||new zr;i=b(b({},r),i),i.id=i.id||this._idGenerator.getId("cdk-dialog-"),i.id&&this.getDialogById(i.id);let o=this._getOverlayConfig(i),s=er(this._injector,o),a=new pc(s,i),l=this._attachContainer(s,a,i);if(a.containerInstance=l,!this.openDialogs.length){let c=this._overlayContainer.getContainerElement();l._focusTrapped?l._focusTrapped.pipe(et(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(c)}):this._hideNonDialogContentFromAssistiveTechnology(c)}return this._attachDialogContent(e,a,l,i),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){py(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){py(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),py(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let i=new Xi({positionStrategy:e.positionStrategy||pa().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation,disableAnimations:e.disableAnimations});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,r){let o=r.injector||r.viewContainerRef?.injector,s=[{provide:zr,useValue:r},{provide:pc,useValue:i},{provide:ua,useValue:e}],a;r.container?typeof r.container=="function"?a=r.container:(a=r.container.type,s.push(...r.container.providers(r))):a=my;let l=new Vr(a,r.viewContainerRef,$.create({parent:o||this._injector,providers:s}));return e.attach(l).instance}_attachDialogContent(e,i,r,o){if(e instanceof Et){let s=this._createInjector(o,i,r,void 0),a={$implicit:o.data,dialogRef:i};o.templateContext&&(a=b(b({},a),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),r.attachTemplatePortal(new ii(e,null,a,s))}else{let s=this._createInjector(o,i,r,this._injector),a=r.attachComponentPortal(new Vr(e,o.viewContainerRef,s));i.componentRef=a,i.componentInstance=a.instance}}_createInjector(e,i,r,o){let s=e.injector||e.viewContainerRef?.injector,a=[{provide:y2,useValue:e.data},{provide:pc,useValue:i}];return e.providers&&(typeof e.providers=="function"?a.push(...e.providers(i,e,r)):a.push(...e.providers)),e.direction&&(!s||!s.get(Rt,null,{optional:!0}))&&a.push({provide:Rt,useValue:C2(e.direction)}),$.create({parent:s||o,providers:a})}_removeOpenDialog(e,i){let r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,s)=>{o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let i=e.parentElement.children;for(let r=i.length-1;r>-1;r--){let o=i[r];o!==e&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function py(t,n){let e=t.length;for(;e--;)n(t[e])}var WS=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({providers:[gy],imports:[oi,Yi,fc,Yi]})}return t})();function tr(t){return t!=null&&`${t}`!="false"}var w2=new y("MATERIAL_ANIMATIONS");var qS=null;function E2(){return u(w2,{optional:!0})?.animationsDisabled||u(Sr,{optional:!0})==="NoopAnimations"?"di-disabled":(qS??=u(Sf).matchMedia("(prefers-reduced-motion)").matches,qS?"reduced-motion":"enabled")}function Ze(){return E2()!=="enabled"}var x2=200,yh=class{_letterKeyStream=new M;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new M;selectedItem=this._selectedItem;constructor(n,e){let i=typeof e?.debounceInterval=="number"?e.debounceInterval:x2;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(it(e=>this._pressedLetters.push(e)),ho(n),de(()=>this._pressedLetters.length>0),X(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let i=1;in.disabled;constructor(n,e){this._items=n,n instanceof Wn?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):bi(n)&&(this._effectRef=Tr(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new M;change=new M;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new yh(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex())}onKeydown(n){let e=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex()+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o-1&&i!==this._activeItemIndex()&&(this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i))}}};var yc=class extends ma{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}};var Yo=class extends ma{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};var QS=" ";function yy(t,n,e){let i=Ch(t,n);e=e.trim(),!i.some(r=>r.trim()===e)&&(i.push(e),t.setAttribute(n,i.join(QS)))}function wh(t,n,e){let i=Ch(t,n);e=e.trim();let r=i.filter(o=>o!==e);r.length?t.setAttribute(n,r.join(QS)):t.removeAttribute(n)}function Ch(t,n){return t.getAttribute(n)?.match(/\S+/g)??[]}var ZS="cdk-describedby-message",bh="cdk-describedby-host",_y=0,XS=(()=>{class t{_platform=u(xe);_document=u(G);_messageRegistry=new Map;_messagesContainer=null;_id=`${_y++}`;constructor(){u(ot).load(ca),this._id=u(Dr)+"-"+_y++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;let o=vy(i,r);typeof i!="string"?(KS(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;let o=vy(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),typeof i=="string"){let s=this._messageRegistry.get(o);s&&s.referenceCount===0&&this._deleteMessageElement(o)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${bh}="${this._id}"]`);for(let i=0;ir.indexOf(ZS)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let r=this._messageRegistry.get(i);yy(e,"aria-describedby",r.messageElement.id),e.setAttribute(bh,this._id),r.referenceCount++}_removeMessageReference(e,i){let r=this._messageRegistry.get(i);r.referenceCount--,wh(e,"aria-describedby",r.messageElement.id),e.removeAttribute(bh)}_isElementDescribedByMessage(e,i){let r=Ch(e,"aria-describedby"),o=this._messageRegistry.get(i),s=o&&o.messageElement.id;return!!s&&r.indexOf(s)!=-1}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let r=i==null?"":`${i}`.trim(),o=e.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function vy(t,n){return typeof t=="string"?`${n||""}/${t}`:t}function KS(t,n){t.id||(t.id=`${ZS}-${n}-${_y++}`)}var ye=(()=>{class t{constructor(){u(lh)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({imports:[Ur,Ur]})}return t})();function D2(t,n){}var Cc=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration},by="mdc-dialog--open",JS="mdc-dialog--opening",eI="mdc-dialog--closing",S2=150,I2=75,iI=(()=>{class t extends my{_animationStateChanged=new U;_animationsEnabled=!Ze();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?nI(this._config.enterAnimationDuration)??S2:0;_exitAnimationDuration=this._animationsEnabled?nI(this._config.exitAnimationDuration)??I2:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(tI,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(JS,by)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(by),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(by),this._animationsEnabled?(this._hostElement.style.setProperty(tI,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(eI)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(JS,eI)}_waitForAnimationToComplete(e,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let i=super.attachComponentPortal(e);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}static \u0275fac=(()=>{let e;return function(r){return(e||(e=jt(t)))(r||t)}})();static \u0275cmp=A({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,r){i&2&&(qt("id",r._config.id),_e("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),ne("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},features:[Pe],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,r){i&1&&(p(0,"div",0)(1,"div",1),te(2,D2,0,0,"ng-template",2),g()())},dependencies:[Ho],styles:[`.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mat-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;box-sizing:border-box;min-height:52px;margin:0;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents} +`],encapsulation:2})}return t})(),tI="--mat-dialog-transition-duration";function nI(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?Ki(t.substring(0,t.length-2)):t.endsWith("s")?Ki(t.substring(0,t.length-1))*1e3:t==="0"?0:null}var bc=(function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t})(bc||{}),$r=class{_ref;_config;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new M;_beforeClosed=new M;_result;_closeFallbackTimeout;_state=bc.OPEN;_closeInteractionType;constructor(n,e,i){this._ref=n,this._config=e,this._containerInstance=i,this.disableClose=e.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),i._animationStateChanged.pipe(de(r=>r.state==="opened"),et(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(de(r=>r.state==="closed"),et(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),zt(this.backdropClick(),this.keydownEvents().pipe(de(r=>r.keyCode===27&&!this.disableClose&&!pt(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),Cy(this,r.type==="keydown"?"keyboard":"mouse"))})}close(n){let e=this._config.closePredicate;e&&!e(n,this._config,this.componentInstance)||(this._result=n,this._containerInstance._animationStateChanged.pipe(de(i=>i.state==="closing"),et(1)).subscribe(i=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),i.totalTime+100)}),this._state=bc.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=bc.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function Cy(t,n,e){return t._closeInteractionType=n,t.close(e)}var ga=new y("MatMdcDialogData"),rI=new y("mat-mdc-dialog-default-options"),oI=new y("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=u($);return()=>ha(t)}}),va=(()=>{class t{_defaultOptions=u(rI,{optional:!0});_scrollStrategy=u(oI);_parentDialog=u(t,{optional:!0,skipSelf:!0});_idGenerator=u(Ge);_injector=u($);_dialog=u(gy);_animationsDisabled=Ze();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new M;_afterOpenedAtThisLevel=new M;dialogConfigClass=Cc;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=Fn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(nt(void 0)));constructor(){this._dialogRefConstructor=$r,this._dialogContainerType=iI,this._dialogDataToken=ga}open(e,i){let r;i=b(b({},this._defaultOptions||new Cc),i),i.id=i.id||this._idGenerator.getId("mat-mdc-dialog-"),i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(e,Z(b({},i),{positionStrategy:pa(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||i.enterAnimationDuration?.toLocaleString()==="0"||i.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:zr,useValue:i}]},templateContext:()=>({dialogRef:r}),providers:(s,a,l)=>(r=new this._dialogRefConstructor(s,i,l),r.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=o.componentRef,r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(r);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),wc=(()=>{class t{dialogRef=u($r,{optional:!0});_elementRef=u(j);_dialog=u(va);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=aI(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){Cy(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=F({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,r){i&1&&H("click",function(s){return r._onButtonClick(s)}),i&2&&_e("aria-label",r.ariaLabel||null)("type",r.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[He]})}return t})(),sI=(()=>{class t{_dialogRef=u($r,{optional:!0});_elementRef=u(j);_dialog=u(va);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=aI(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=F({type:t})}return t})(),Ec=(()=>{class t extends sI{id=u(Ge).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=jt(t)))(r||t)}})();static \u0275dir=F({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,r){i&2&&qt("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[Pe]})}return t})(),xc=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=F({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[Iv([cy])]})}return t})(),Dc=(()=>{class t extends sI{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=jt(t)))(r||t)}})();static \u0275dir=F({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(i,r){i&2&&ne("mat-mdc-dialog-actions-align-start",r.align==="start")("mat-mdc-dialog-actions-align-center",r.align==="center")("mat-mdc-dialog-actions-align-end",r.align==="end")},inputs:{align:"align"},features:[Pe]})}return t})();function aI(t,n){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(i=>i.id===e.id):null}var wy=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({providers:[va],imports:[WS,oi,Yi,ye,ye]})}return t})();var _a,lI=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function xy(){if(_a)return _a;if(typeof document!="object"||!document)return _a=new Set(lI),_a;let t=document.createElement("input");return _a=new Set(lI.filter(n=>(t.setAttribute("type",n),t.type===n))),_a}var An=(function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t})(An||{}),Dy=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=An.HIDDEN;constructor(n,e,i,r=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r}fadeOut(){this._renderer.fadeOutRipple(this)}},cI=jr({passive:!0,capture:!0}),Sy=class{_events=new Map;addHandler(n,e,i,r){let o=this._events.get(e);if(o){let s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,cI)})}removeHandler(n,e,i){let r=this._events.get(n);if(!r)return;let o=r.get(e);o&&(o.delete(i),o.size===0&&r.delete(e),r.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,cI)))}_delegateEventHandler=n=>{let e=Zt(n);e&&this._events.get(n.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(n))})}},Sc={enterDuration:225,exitDuration:150},M2=800,dI=jr({passive:!0,capture:!0}),uI=["mousedown","touchstart"],fI=["mouseup","mouseleave","touchend","touchcancel"],T2=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none} +`],encapsulation:2,changeDetection:0})}return t})(),Ic=class t{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new Sy;constructor(n,e,i,r,o){this._target=n,this._ngZone=e,this._platform=r,r.isBrowser&&(this._containerElement=mn(i)),o&&o.get(ot).load(T2)}fadeInRipple(n,e,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=b(b({},Sc),i.animation);i.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);let s=i.radius||A2(n,e,r),a=n-r.left,l=e-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${a-s}px`,d.style.top=`${l-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,i.color!=null&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let f=window.getComputedStyle(d),m=f.transitionProperty,h=f.transitionDuration,v=m==="none"||h==="0s"||h==="0s, 0s"||r.width===0&&r.height===0,E=new Dy(this,d,i,v);d.style.transform="scale3d(1, 1, 1)",E.state=An.FADING_IN,i.persistent||(this._mostRecentTransientRipple=E);let S=null;return!v&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let I=()=>{S&&(S.fallbackTimer=null),clearTimeout(Te),this._finishRippleTransition(E)},le=()=>this._destroyRipple(E),Te=setTimeout(le,c+100);d.addEventListener("transitionend",I),d.addEventListener("transitioncancel",le),S={onTransitionEnd:I,onTransitionCancel:le,fallbackTimer:Te}}),this._activeRipples.set(E,S),(v||!c)&&this._finishRippleTransition(E),E}fadeOutRipple(n){if(n.state===An.FADING_OUT||n.state===An.HIDDEN)return;let e=n.element,i=b(b({},Sc),n.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=An.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=mn(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,uI.forEach(i=>{t._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{fI.forEach(e=>{this._triggerElement.addEventListener(e,this,dI)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===An.FADING_IN?this._startFadeOutTransition(n):n.state===An.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=An.VISIBLE,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=An.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=zo(n),i=this._lastTouchStartEvent&&Date.now(){let e=n.state===An.VISIBLE||n.config.terminateOnPointerUp&&n.state===An.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(uI.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(fI.forEach(e=>n.removeEventListener(e,this,dI)),this._pointerUpEventsRegistered=!1))}};function A2(t,n,e){let i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),r=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+r*r)}var Iy=new y("mat-ripple-global-options"),ya=(()=>{class t{_elementRef=u(j);_animationsDisabled=Ze();color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=u(R),i=u(xe),r=u(Iy,{optional:!0}),o=u($);this._globalOptions=r||{},this._rippleRenderer=new Ic(this,e,this._elementRef,i,o)}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:b(b(b({},this._globalOptions.animation),this._animationsDisabled?{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,b(b({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,b(b({},this.rippleConfig),e))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=F({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){i&2&&ne("mat-ripple-unbounded",r.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return t})();var k2={capture:!0},R2=["focus","mousedown","mouseenter","touchstart"],My="mat-ripple-loader-uninitialized",Ty="mat-ripple-loader-class-name",hI="mat-ripple-loader-centered",Eh="mat-ripple-loader-disabled",pI=(()=>{class t{_document=u(G);_animationsDisabled=Ze();_globalRippleOptions=u(Iy,{optional:!0});_platform=u(xe);_ngZone=u(R);_injector=u($);_eventCleanups;_hosts=new Map;constructor(){let e=u(rt).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>R2.map(i=>e.listen(this._document,i,this._onInteraction,k2)))}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);this._eventCleanups.forEach(i=>i())}configureRipple(e,i){e.setAttribute(My,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(Ty))&&e.setAttribute(Ty,i.className||""),i.centered&&e.setAttribute(hI,""),i.disabled&&e.setAttribute(Eh,"")}setDisabled(e,i){let r=this._hosts.get(e);r?(r.target.rippleDisabled=i,!i&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(e))):i?e.setAttribute(Eh,""):e.removeAttribute(Eh)}_onInteraction=e=>{let i=Zt(e);if(i instanceof HTMLElement){let r=i.closest(`[${My}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let i=this._document.createElement("span");i.classList.add("mat-ripple",e.getAttribute(Ty)),e.append(i);let r=this._globalRippleOptions,o=this._animationsDisabled?0:r?.animation?.enterDuration??Sc.enterDuration,s=this._animationsDisabled?0:r?.animation?.exitDuration??Sc.exitDuration,a={rippleDisabled:this._animationsDisabled||r?.disabled||e.hasAttribute(Eh),rippleConfig:{centered:e.hasAttribute(hI),terminateOnPointerUp:r?.terminateOnPointerUp,animation:{enterDuration:o,exitDuration:s}}},l=new Ic(a,this._ngZone,i,this._platform,this._injector),c=!a.rippleDisabled;c&&l.setupTriggerEvents(e),this._hosts.set(e,{target:a,renderer:l,hasSetUpEvents:c}),e.removeAttribute(My)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ni=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,r){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}} +`],encapsulation:2,changeDetection:0})}return t})();var O2=["mat-icon-button",""],N2=["*"],P2=new y("MAT_BUTTON_CONFIG");function mI(t){return t==null?void 0:Mi(t)}var Ay=(()=>{class t{_elementRef=u(j);_ngZone=u(R);_animationsDisabled=Ze();_config=u(P2,{optional:!0});_focusMonitor=u(Tn);_cleanupClick;_renderer=u(Ne);_rippleLoader=u(pI);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(e){this.tabIndex=e}constructor(){u(ot).load(Ni);let e=this._elementRef.nativeElement;this._isAnchor=e.tagName==="A",this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(e,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this._isAnchor?this.disabled||null:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor?this.disabled&&!this.disabledInteractive?-1:this.tabIndex:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=F({type:t,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(i,r){i&2&&(_e("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled())("tabindex",r._getTabIndex()),Yt(r.color?"mat-"+r.color:""),ne("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("mat-unthemed",!r.color)("_mat-animation-noopable",r._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",W],disabled:[2,"disabled","disabled",W],ariaDisabled:[2,"aria-disabled","ariaDisabled",W],disabledInteractive:[2,"disabledInteractive","disabledInteractive",W],tabIndex:[2,"tabIndex","tabIndex",mI],_tabindex:[2,"tabindex","_tabindex",mI]}})}return t})(),ky=(()=>{class t extends Ay{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[Pe],attrs:O2,ngContentSelectors:N2,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(Qe(),on(0,"span",0),pe(1),on(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));flex-shrink:0;text-align:center;width:var(--mat-icon-button-state-layer-size, 40px);height:var(--mat-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2);font-size:var(--mat-icon-button-icon-size, 24px);color:var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-icon-button-touch-target-size, 48px);display:var(--mat-icon-button-touch-target-display, block);left:50%;width:var(--mat-icon-button-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mat-icon-button-icon-size, 24px);height:var(--mat-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%))}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1} +`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}} +`],encapsulation:2,changeDetection:0})}return t})();var ba=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({imports:[ye,ye]})}return t})();var F2=["matButton",""],L2=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],V2=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var gI=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]),kn=(()=>{class t extends Ay{get appearance(){return this._appearance}set appearance(e){this.setAppearance(e||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let e=j2(this._elementRef.nativeElement);e&&this.setAppearance(e)}setAppearance(e){if(e===this._appearance)return;let i=this._elementRef.nativeElement.classList,r=this._appearance?gI.get(this._appearance):null,o=gI.get(e);r&&i.remove(...r),i.add(...o),this._appearance=e}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[Pe],attrs:F2,ngContentSelectors:V2,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(Qe(L2),on(0,"span",0),pe(1),Bt(2,"span",1),pe(3,1),rn(),pe(4,2),on(5,"span",2)(6,"span",3)),i&2&&ne("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[`.mat-mdc-button-base{text-decoration:none}.mat-mdc-button-base .mat-icon{min-height:fit-content;flex-shrink:0}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-button-text-horizontal-padding, 12px);height:var(--mat-button-text-container-height, 40px);font-family:var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-text-label-text-transform);font-weight:var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mat-button-text-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mat-button-text-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-button-text-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-text-touch-target-size, 48px);display:var(--mat-button-text-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-filled-container-height, 40px);font-family:var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-filled-label-text-transform);font-weight:var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-filled-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-filled-touch-target-size, 48px);display:var(--mat-button-filled-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary));background-color:var(--mat-button-filled-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mat-button-filled-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1));height:var(--mat-button-protected-container-height, 40px);font-family:var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-protected-label-text-transform);font-weight:var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-protected-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-protected-touch-target-size, 48px);display:var(--mat-button-protected-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-raised-button:not(:disabled){color:var(--mat-button-protected-label-text-color, var(--mat-sys-primary));background-color:var(--mat-button-protected-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mat-button-protected-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-outlined-container-height, 40px);font-family:var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-outlined-label-text-transform);font-weight:var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full));border-width:var(--mat-button-outlined-outline-width, 1px);padding:0 var(--mat-button-outlined-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-outlined-touch-target-size, 48px);display:var(--mat-button-outlined-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-outlined-button:not(:disabled){color:var(--mat-button-outlined-label-text-color, var(--mat-sys-primary));border-color:var(--mat-button-outlined-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-tonal-container-height, 40px);font-family:var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-tonal-label-text-transform);font-weight:var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-tonal-horizontal-padding, 24px)}.mat-tonal-button:not(:disabled){color:var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container))}.mat-tonal-button,.mat-tonal-button .mdc-button__ripple{border-radius:var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full))}.mat-tonal-button[disabled],.mat-tonal-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-tonal-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}[dir=rtl] .mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}.mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}[dir=rtl] .mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}.mat-tonal-button .mat-ripple-element{background-color:var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-tonal-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-tonal-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-tonal-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-tonal-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-tonal-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-tonal-touch-target-size, 48px);display:var(--mat-button-tonal-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button,.mat-tonal-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon,.mat-tonal-button .mdc-button__label,.mat-tonal-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator,.mat-tonal-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before,.mat-tonal-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable,.mat-tonal-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon,.mat-tonal-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-tonal-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)} +`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}} +`],encapsulation:2,changeDetection:0})}return t})();function j2(t){return t.hasAttribute("mat-raised-button")?"elevated":t.hasAttribute("mat-stroked-button")?"outlined":t.hasAttribute("mat-flat-button")?"filled":t.hasAttribute("mat-button")?"text":null}var vI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({imports:[ye,ba,ye]})}return t})();var We=(()=>{class t{constructor(e){this.el=e}ngOnInit(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim())}static{this.\u0275fac=function(i){return new(i||t)(k(j))}}static{this.\u0275dir=F({type:t,selectors:[["uds-translate"]],standalone:!1})}}return t})();var Gr=(()=>{class t{constructor(e){this.sanitizer=e}transform(e,i){return e=e.replace(/<\s*script\s*/gi,""),e=e.replace(/(on|(on\w+\s*))=\s*['"]?[^'"]*['"]?/gi,""),e=e.replace(/javascript\s*\:/gi,""),this.sanitizer.bypassSecurityTrustHtml(e)}static{this.\u0275fac=function(i){return new(i||t)(k(b_,16))}}static{this.\u0275pipe=$u({name:"safeHtml",type:t,pure:!0,standalone:!1})}}return t})();function B2(t,n){if(t&1){let e=we();p(0,"button",3),H("click",function(){ue(e);let r=L();return fe(r.resolveAndClose(!1))}),p(1,"uds-translate"),C(2,"Close"),g(),C(3),g()}if(t&2){let e=L();_(3),lt(e.extra)}}function U2(t,n){if(t&1){let e=we();p(0,"button",3),H("click",function(){ue(e);let r=L();return fe(r.resolveAndClose(!0))}),p(1,"uds-translate"),C(2,"Yes"),g()()}}function H2(t,n){if(t&1){let e=we();p(0,"button",3),H("click",function(){ue(e);let r=L();return fe(r.resolveAndClose(!1))}),p(1,"uds-translate"),C(2,"No"),g()()}}var Mc=(function(t){return t[t.alert=0]="alert",t[t.yesno=1]="yesno",t[t.credentials=2]="credentials",t})(Mc||{}),Ry=(()=>{class t{constructor(e,i){this.dialogRef=e,this.data=i,this.extra="",this.yesno=new sc}resolveAndClose(e){this.yesno.resolve(e),this.close()}close(){this.dialogRef.close()}setExtra(e){this.extra=" ("+Math.floor(e/1e3)+" "+django.gettext("seconds")+") "}initAlert(){return Se(this,null,function*(){let e=this.data.autoclose||0;e>0&&(this.dialogRef.afterClosed().subscribe(i=>{this.close()}),this.setExtra(e),zp(1e3).subscribe(i=>{let r=e-(i+1)*1e3;this.setExtra(r),r<=0&&this.close()}))})}ngOnInit(){this.data.type===Mc.alert&&this.initAlert()}static{this.\u0275fac=function(i){return new(i||t)(k($r),k(ga))}}static{this.\u0275cmp=A({type:t,selectors:[["uds-modal"]],standalone:!1,decls:8,vars:9,consts:[["mat-dialog-title","",3,"innerHtml"],[3,"innerHTML"],["mat-raised-button","","mat-dialog-close","",3,"click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","",3,"click"]],template:function(i,r){i&1&&(V(0,"h4",0),Yn(1,"safeHtml"),V(2,"mat-dialog-content",1),Yn(3,"safeHtml"),p(4,"mat-dialog-actions"),te(5,B2,4,1,"button",2)(6,U2,3,0,"button",2)(7,H2,3,0,"button",2),g()),i&2&&(D("innerHtml",Kn(1,5,r.data.title),qn),_(2),D("innerHTML",Kn(3,7,r.data.body),qn),_(3),D("ngIf",r.data.type===0),_(),D("ngIf",r.data.type===1),_(),D("ngIf",r.data.type===1))},dependencies:[kt,kn,wc,Ec,Dc,xc,We,Gr],styles:[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]})}}return t})();var DI=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,i){this._renderer=e,this._elementRef=i}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(i){return new(i||t)(k(Ne),k(j))};static \u0275dir=F({type:t})}return t})(),z2=(()=>{class t extends DI{static \u0275fac=(()=>{let e;return function(r){return(e||(e=jt(t)))(r||t)}})();static \u0275dir=F({type:t,features:[Pe]})}return t})(),Lh=new y("");var $2={provide:Lh,useExisting:Cn(()=>Vh),multi:!0};function G2(){let t=hn()?hn().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var W2=new y(""),Vh=(()=>{class t extends DI{_compositionMode;_composing=!1;constructor(e,i,r){super(e,i),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!G2())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(i){return new(i||t)(k(Ne),k(j),k(W2,8))};static \u0275dir=F({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){i&1&&H("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},standalone:!1,features:[Be([$2]),Pe]})}return t})();function Ny(t){return t==null||Py(t)===0}function Py(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var Nc=new y(""),Fy=new y(""),q2=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Ea=class{static min(n){return Y2(n)}static max(n){return K2(n)}static required(n){return Q2(n)}static requiredTrue(n){return Z2(n)}static email(n){return X2(n)}static minLength(n){return J2(n)}static maxLength(n){return eV(n)}static pattern(n){return tV(n)}static nullValidator(n){return SI()}static compose(n){return RI(n)}static composeAsync(n){return OI(n)}};function Y2(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}function Q2(t){return Ny(t.value)?{required:!0}:null}function Z2(t){return t.value===!0?null:{required:!0}}function X2(t){return Ny(t.value)||q2.test(t.value)?null:{email:!0}}function J2(t){return n=>{let e=n.value?.length??Py(n.value);return e===null||e===0?null:e{let e=n.value?.length??Py(n.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function tV(t){if(!t)return SI;let n,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(Ny(i.value))return null;let r=i.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function SI(t){return null}function II(t){return t!=null}function MI(t){return Mr(t)?Ue(t):t}function TI(t){let n={};return t.forEach(e=>{n=e!=null?b(b({},n),e):n}),Object.keys(n).length===0?null:n}function AI(t,n){return n.map(e=>e(t))}function nV(t){return!t.validate}function kI(t){return t.map(n=>nV(n)?n:e=>n.validate(e))}function RI(t){if(!t)return null;let n=t.filter(II);return n.length==0?null:function(e){return TI(AI(e,n))}}function Ly(t){return t!=null?RI(kI(t)):null}function OI(t){if(!t)return null;let n=t.filter(II);return n.length==0?null:function(e){let i=AI(e,n).map(MI);return Hp(i).pipe(X(TI))}}function Vy(t){return t!=null?OI(kI(t)):null}function _I(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function NI(t){return t._rawValidators}function PI(t){return t._rawAsyncValidators}function Oy(t){return t?Array.isArray(t)?t:[t]:[]}function Sh(t,n){return Array.isArray(t)?t.includes(n):t===n}function yI(t,n){let e=Oy(n);return Oy(t).forEach(r=>{Sh(e,r)||e.push(r)}),e}function bI(t,n){return Oy(n).filter(e=>!Sh(t,e))}var Ih=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=Ly(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Vy(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},Wr=class extends Ih{name;get formDirective(){return null}get path(){return null}},nr=class extends Ih{_parent=null;name=null;valueAccessor=null},Mh=class{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},iV={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},Hre=Z(b({},iV),{"[class.ng-submitted]":"isSubmitted"}),FI=(()=>{class t extends Mh{constructor(e){super(e)}static \u0275fac=function(i){return new(i||t)(k(nr,2))};static \u0275dir=F({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&ne("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[Pe]})}return t})(),xa=(()=>{class t extends Mh{constructor(e){super(e)}static \u0275fac=function(i){return new(i||t)(k(Wr,10))};static \u0275dir=F({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){i&2&&ne("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},standalone:!1,features:[Pe]})}return t})();var Tc="VALID",Dh="INVALID",Ca="PENDING",Ac="DISABLED",qr=class{},Th=class extends qr{value;source;constructor(n,e){super(),this.value=n,this.source=e}},Rc=class extends qr{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},Oc=class extends qr{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},wa=class extends qr{status;source;constructor(n,e){super(),this.status=n,this.source=e}},Ah=class extends qr{source;constructor(n){super(),this.source=n}},kh=class extends qr{source;constructor(n){super(),this.source=n}};function LI(t){return(jh(t)?t.validators:t)||null}function rV(t){return Array.isArray(t)?Ly(t):t||null}function VI(t,n){return(jh(n)?n.asyncValidators:t)||null}function oV(t){return Array.isArray(t)?Vy(t):t||null}function jh(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function sV(t,n,e){let i=t.controls;if(!(n?Object.keys(i):i).length)throw new x(1e3,"");if(!i[e])throw new x(1001,"")}function aV(t,n,e){t._forEachChild((i,r)=>{if(e[r]===void 0)throw new x(1002,"")})}var Rh=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,e){this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return ht(this.statusReactive)}set status(n){ht(()=>this.statusReactive.set(n))}_status=Qn(()=>this.statusReactive());statusReactive=Ce(void 0);get valid(){return this.status===Tc}get invalid(){return this.status===Dh}get pending(){return this.status==Ca}get disabled(){return this.status===Ac}get enabled(){return this.status!==Ac}errors;get pristine(){return ht(this.pristineReactive)}set pristine(n){ht(()=>this.pristineReactive.set(n))}_pristine=Qn(()=>this.pristineReactive());pristineReactive=Ce(!0);get dirty(){return!this.pristine}get touched(){return ht(this.touchedReactive)}set touched(n){ht(()=>this.touchedReactive.set(n))}_touched=Qn(()=>this.touchedReactive());touchedReactive=Ce(!1);get untouched(){return!this.touched}_events=new M;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(yI(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(yI(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(bI(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(bI(n,this._rawAsyncValidators))}hasValidator(n){return Sh(this._rawValidators,n)}hasAsyncValidator(n){return Sh(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(Z(b({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new Oc(!0,i))}markAllAsDirty(n={}){this.markAsDirty({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(n))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),e&&n.emitEvent!==!1&&this._events.next(new Oc(!1,i))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(Z(b({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new Rc(!1,i))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),e&&n.emitEvent!==!1&&this._events.next(new Rc(!0,i))}markAsPending(n={}){this.status=Ca;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new wa(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(Z(b({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Ac,this.errors=null,this._forEachChild(r=>{r.disable(Z(b({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Th(this.value,i)),this._events.next(new wa(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Z(b({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Tc,this._forEachChild(i=>{i.enable(Z(b({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(Z(b({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Tc||this.status===Ca)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Th(this.value,e)),this._events.next(new wa(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(Z(b({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ac:Tc}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=Ca,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:n!==!1};let i=MI(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(n,e){let i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new wa(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new U,this.statusChanges=new U}_calculateStatus(){return this._allControlsDisabled()?Ac:this.errors?Dh:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ca)?Ca:this._anyControlsHaveStatus(Dh)?Dh:Tc}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),r&&this._events.next(new Rc(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new Oc(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){jh(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=rV(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=oV(this._rawAsyncValidators)}},Oh=class extends Rh{constructor(n,e,i){super(LI(e),VI(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){aV(this,!0,n),Object.keys(n).forEach(i=>{sV(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(i=>{let r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,r)=>{i.reset(n?n[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new kh(this))}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var Bh=new y("",{providedIn:"root",factory:()=>jy}),jy="always";function lV(t,n){return[...n.path,t]}function Nh(t,n,e=jy){By(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),dV(t,n),fV(t,n),uV(t,n),cV(t,n)}function CI(t,n,e=!0){let i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),Fh(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Ph(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function cV(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function By(t,n){let e=NI(t);n.validator!==null?t.setValidators(_I(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=PI(t);n.asyncValidator!==null?t.setAsyncValidators(_I(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();Ph(n._rawValidators,r),Ph(n._rawAsyncValidators,r)}function Fh(t,n){let e=!1;if(t!==null){if(n.validator!==null){let r=NI(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==n.validator);o.length!==r.length&&(e=!0,t.setValidators(o))}}if(n.asyncValidator!==null){let r=PI(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==n.asyncValidator);o.length!==r.length&&(e=!0,t.setAsyncValidators(o))}}}let i=()=>{};return Ph(n._rawValidators,i),Ph(n._rawAsyncValidators,i),e}function dV(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&jI(t,n)})}function uV(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&jI(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function jI(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function fV(t,n){let e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function BI(t,n){t==null,By(t,n)}function hV(t,n){return Fh(t,n)}function pV(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function mV(t){return Object.getPrototypeOf(t.constructor)===z2}function UI(t,n){t._syncPendingControls(),n.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function gV(t,n){if(!n)return null;Array.isArray(n);let e,i,r;return n.forEach(o=>{o.constructor===Vh?e=o:mV(o)?i=o:r=o}),r||i||e||null}function vV(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}var _V={provide:Wr,useExisting:Cn(()=>si)},kc=Promise.resolve(),si=(()=>{class t extends Wr{callSetDisabledState;get submitted(){return ht(this.submittedReactive)}_submitted=Qn(()=>this.submittedReactive());submittedReactive=Ce(!1);_directives=new Set;form;ngSubmit=new U;options;constructor(e,i,r){super(),this.callSetDisabledState=r,this.form=new Oh({},Ly(e),Vy(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){kc.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Nh(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){kc.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){kc.then(()=>{let i=this._findContainer(e.path),r=new Oh({});BI(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){kc.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){kc.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),UI(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new Ah(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(i){return new(i||t)(k(Nc,10),k(Fy,10),k(Bh,8))};static \u0275dir=F({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&H("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Be([_V]),Pe]})}return t})();function wI(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function EI(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var HI=class extends Rh{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,i){super(LI(e),VI(i,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),jh(e)&&(e.nonNullable||e.initialValueIsDefault)&&(EI(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1,e?.emitEvent!==!1&&this._events.next(new kh(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){wI(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){wI(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){EI(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var yV=t=>t instanceof HI;var bV={provide:nr,useExisting:Cn(()=>Uy)},xI=Promise.resolve(),Uy=(()=>{class t extends nr{_changeDetectorRef;callSetDisabledState;control=new HI;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new U;constructor(e,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=gV(this,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),pV(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Nh(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){xI.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,r=i!==0&&W(i);xI.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?lV(e,this._parent):[e]}static \u0275fac=function(i){return new(i||t)(k(Wr,9),k(Nc,10),k(Fy,10),k(Lh,10),k(Fe,8),k(Bh,8))};static \u0275dir=F({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[Be([bV]),Pe,He]})}return t})();var Da=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=F({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})();var CV={provide:Wr,useExisting:Cn(()=>Pc)},Pc=(()=>{class t extends Wr{callSetDisabledState;get submitted(){return ht(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Qn(()=>this._submittedReactive());_submittedReactive=Ce(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new U;constructor(e,i,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Fh(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let i=this.form.get(e.path);return Nh(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){CI(e.control||null,e,!1),vV(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this._submittedReactive.set(!0),UI(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Ah(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0,i={}){this.form.reset(e,i),this._submittedReactive.set(!1)}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&(CI(i||null,e),yV(r)&&(Nh(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);BI(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&hV(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){By(this.form,this),this._oldForm&&Fh(this._oldForm,this)}static \u0275fac=function(i){return new(i||t)(k(Nc,10),k(Fy,10),k(Bh,8))};static \u0275dir=F({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&H("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Be([CV]),Pe,He]})}return t})();var wV=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({})}return t})();var zI=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Bh,useValue:e.callSetDisabledState??jy}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({imports:[wV]})}return t})();var Hy=class{_box;_destroyed=new M;_resizeSubject=new M;_resizeObserver;_elementObservables=new Map;constructor(n){this._box=n,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new ae(e=>{let i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),i.unsubscribe(),this._elementObservables.delete(n)}}).pipe(de(e=>e.some(i=>i.target===n)),Fd({bufferSize:1,refCount:!0}),Oe(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},$I=(()=>{class t{_cleanupErrorListener;_observers=new Map;_ngZone=u(R);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,i){let r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new Hy(r)),this._observers.get(r).observe(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var EV=["notch"],xV=["matFormFieldNotchedOutline",""],DV=["*"],GI=["iconPrefixContainer"],WI=["textPrefixContainer"],qI=["iconSuffixContainer"],YI=["textSuffixContainer"],SV=["textField"],IV=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],MV=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function TV(t,n){t&1&&V(0,"span",21)}function AV(t,n){if(t&1&&(p(0,"label",20),pe(1,1),ze(2,TV,1,0,"span",21),g()),t&2){let e=L(2);D("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),_e("for",e._control.disableAutomaticLabeling?null:e._control.id),_(2),$e(!e.hideRequiredMarker&&e._control.required?2:-1)}}function kV(t,n){if(t&1&&ze(0,AV,3,5,"label",20),t&2){let e=L();$e(e._hasFloatingLabel()?0:-1)}}function RV(t,n){t&1&&V(0,"div",7)}function OV(t,n){}function NV(t,n){if(t&1&&te(0,OV,0,0,"ng-template",13),t&2){L(2);let e=At(1);D("ngTemplateOutlet",e)}}function PV(t,n){if(t&1&&(p(0,"div",9),ze(1,NV,1,1,null,13),g()),t&2){let e=L();D("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),_(),$e(e._forceDisplayInfixLabel()?-1:1)}}function FV(t,n){t&1&&(p(0,"div",10,2),pe(2,2),g())}function LV(t,n){t&1&&(p(0,"div",11,3),pe(2,3),g())}function VV(t,n){}function jV(t,n){if(t&1&&te(0,VV,0,0,"ng-template",13),t&2){L();let e=At(1);D("ngTemplateOutlet",e)}}function BV(t,n){t&1&&(p(0,"div",14,4),pe(2,4),g())}function UV(t,n){t&1&&(p(0,"div",15,5),pe(2,5),g())}function HV(t,n){t&1&&V(0,"div",16)}function zV(t,n){t&1&&(p(0,"div",18),pe(1,6),g())}function $V(t,n){if(t&1&&(p(0,"mat-hint",22),C(1),g()),t&2){let e=L(2);D("id",e._hintLabelId),_(),lt(e.hintLabel)}}function GV(t,n){if(t&1&&(p(0,"div",19),ze(1,$V,2,2,"mat-hint",22),pe(2,7),V(3,"div",23),pe(4,8),g()),t&2){let e=L();_(),$e(e.hintLabel?1:-1)}}var ai=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=F({type:t,selectors:[["mat-label"]]})}return t})(),tM=new y("MatError");var zy=(()=>{class t{align="start";id=u(Ge).getId("mat-mdc-hint-");static \u0275fac=function(i){return new(i||t)};static \u0275dir=F({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,r){i&2&&(qt("id",r.id),_e("align",null),ne("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"}})}return t})(),nM=new y("MatPrefix");var $y=new y("MatSuffix"),Gy=(()=>{class t{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(i){return new(i||t)};static \u0275dir=F({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[Be([{provide:$y,useExisting:t}])]})}return t})(),iM=new y("FloatingLabelParent"),KI=(()=>{class t{_elementRef=u(j);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=u($I);_ngZone=u(R);_parent=u(iM);_resizeSubscription=new me;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return WV(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=F({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){i&2&&ne("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return t})();function WV(t){let n=t;if(n.offsetParent!==null)return n.scrollWidth;let e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let i=e.scrollWidth;return e.remove(),i}var QI="mdc-line-ripple--active",Hh="mdc-line-ripple--deactivating",ZI=(()=>{class t{_elementRef=u(j);_cleanupTransitionEnd;constructor(){let e=u(R),i=u(Ne);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=i.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Hh),e.add(QI)}deactivate(){this._elementRef.nativeElement.classList.add(Hh)}_handleTransitionEnd=e=>{let i=this._elementRef.nativeElement.classList,r=i.contains(Hh);e.propertyName==="opacity"&&r&&i.remove(QI,Hh)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=F({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return t})(),XI=(()=>{class t{_elementRef=u(j);_ngZone=u(R);open=!1;_notch;ngAfterViewInit(){let e=this._elementRef.nativeElement,i=e.querySelector(".mdc-floating-label");i?(e.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(i.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>i.style.transitionDuration="")}))):e.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){let i=this._notch.nativeElement;!this.open||!e?i.style.width="":i.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}_setMaxWidth(e){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${e}px)`)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,r){if(i&1&&Ie(EV,5),i&2){let o;oe(o=se())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,r){i&2&&ne("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:xV,ngContentSelectors:DV,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(i,r){i&1&&(Qe(),on(0,"div",1),Bt(1,"div",2,0),pe(3),rn(),on(4,"div",3))},encapsulation:2,changeDetection:0})}return t})(),Sa=(()=>{class t{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(i){return new(i||t)};static \u0275dir=F({type:t})}return t})();var Ia=new y("MatFormField"),zh=new y("MAT_FORM_FIELD_DEFAULT_OPTIONS"),JI="fill",qV="auto",eM="fixed",YV="translateY(-50%)",li=(()=>{class t{_elementRef=u(j);_changeDetectorRef=u(Fe);_platform=u(xe);_idGenerator=u(Ge);_ngZone=u(R);_defaults=u(zh,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=Tl("iconPrefixContainer");_textPrefixContainerSignal=Tl("textPrefixContainer");_iconSuffixContainerSignal=Tl("iconSuffixContainer");_textSuffixContainerSignal=Tl("textSuffixContainer");_prefixSuffixContainers=Qn(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=Sx(ai);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=tr(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||qV}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(e){let i=e||this._defaults?.appearance||JI;this._appearanceSignal.set(i)}_appearanceSignal=Ce(JI);get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||eM}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||eM}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new M;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=Ze();constructor(){let e=this._defaults,i=u(Rt);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),Tr(()=>this._currentDirection=i.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=Qn(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let i=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(r+i.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=i.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=i.stateChanges.pipe(nt([void 0,void 0]),X(()=>[i.errorState,i.userAriaDescribedBy]),Pd(),de(([[o,s],[a,l]])=>o!==a||s!==l)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(Oe(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),zt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){let e=this._control.focused;e&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!e&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",e),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",e)}_syncOutlineLabelOffset(){Rx({earlyRead:()=>{if(this._appearanceSignal()!=="outline")return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(let e of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(e,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:e=>this._writeOutlinedLabelStyles(e())})}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=Qn(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let o=this._hintChildren?this._hintChildren.find(a=>a.align==="start"):null,s=this._hintChildren?this._hintChildren.find(a=>a.align==="end"):null;o?e.push(o.id):this._hintLabel&&e.push(this._hintLabelId),s&&e.push(s.id)}else this._errorChildren&&e.push(...this._errorChildren.map(o=>o.id));let i=this._control.describedByIds,r;if(i){let o=this._describedByIds||e;r=e.concat(i.filter(s=>s&&!o.includes(s)))}else r=e;this._control.setDescribedByIds(r),this._describedByIds=e}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;let e=this._iconPrefixContainer?.nativeElement,i=this._textPrefixContainer?.nativeElement,r=this._iconSuffixContainer?.nativeElement,o=this._textSuffixContainer?.nativeElement,s=e?.getBoundingClientRect().width??0,a=i?.getBoundingClientRect().width??0,l=r?.getBoundingClientRect().width??0,c=o?.getBoundingClientRect().width??0,d=this._currentDirection==="rtl"?"-1":"1",f=`${s+a}px`,h=`calc(${d} * (${f} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,v=`var(--mat-mdc-form-field-label-transform, ${YV} translateX(${h}))`,E=s+a+l+c;return[v,E]}_writeOutlinedLabelStyles(e){if(e!==null){let[i,r]=e;this._floatingLabel&&(this._floatingLabel.element.style.transform=i),r!==null&&this._notchedOutline?._setMaxWidth(r)}}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,r,o){if(i&1&&(Nv(o,r._labelChild,ai,5),at(o,Sa,5),at(o,nM,5),at(o,$y,5),at(o,tM,5),at(o,zy,5)),i&2){ef();let s;oe(s=se())&&(r._formFieldControl=s.first),oe(s=se())&&(r._prefixChildren=s),oe(s=se())&&(r._suffixChildren=s),oe(s=se())&&(r._errorChildren=s),oe(s=se())&&(r._hintChildren=s)}},viewQuery:function(i,r){if(i&1&&(Us(r._iconPrefixContainerSignal,GI,5),Us(r._textPrefixContainerSignal,WI,5),Us(r._iconSuffixContainerSignal,qI,5),Us(r._textSuffixContainerSignal,YI,5),Ie(SV,5),Ie(GI,5),Ie(WI,5),Ie(qI,5),Ie(YI,5),Ie(KI,5),Ie(XI,5),Ie(ZI,5)),i&2){ef(4);let o;oe(o=se())&&(r._textField=o.first),oe(o=se())&&(r._iconPrefixContainer=o.first),oe(o=se())&&(r._textPrefixContainer=o.first),oe(o=se())&&(r._iconSuffixContainer=o.first),oe(o=se())&&(r._textSuffixContainer=o.first),oe(o=se())&&(r._floatingLabel=o.first),oe(o=se())&&(r._notchedOutline=o.first),oe(o=se())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(i,r){i&2&&ne("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Be([{provide:Ia,useExisting:t},{provide:iM,useExisting:t}])],ngContentSelectors:MV,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,r){if(i&1){let o=we();Qe(IV),te(0,kV,1,1,"ng-template",null,0,Lv),p(2,"div",6,1),H("click",function(a){return ue(o),fe(r._control.onContainerClick(a))}),ze(4,RV,1,0,"div",7),p(5,"div",8),ze(6,PV,2,2,"div",9),ze(7,FV,3,0,"div",10),ze(8,LV,3,0,"div",11),p(9,"div",12),ze(10,jV,1,1,null,13),pe(11),g(),ze(12,BV,3,0,"div",14),ze(13,UV,3,0,"div",15),g(),ze(14,HV,1,0,"div",16),g(),p(15,"div",17),ze(16,zV,2,0,"div",18)(17,GV,5,1,"div",19),g()}if(i&2){let o;_(2),ne("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),_(2),$e(!r._hasOutline()&&!r._control.disabled?4:-1),_(2),$e(r._hasOutline()?6:-1),_(),$e(r._hasIconPrefix?7:-1),_(),$e(r._hasTextPrefix?8:-1),_(2),$e(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),_(2),$e(r._hasTextSuffix?12:-1),_(),$e(r._hasIconSuffix?13:-1),_(),$e(r._hasOutline()?-1:14),_(),ne("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic");let s=r._getSubscriptMessageType();_(),$e((o=s)==="error"?16:o==="hint"?17:-1)}},dependencies:[KI,XI,t_,ZI,zy],styles:[`.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator,.mdc-text-field__input::-webkit-search-cancel-button{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-filled-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline));border-width:var(--mat-form-field-outlined-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mat-form-field-outlined-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{max-width:min(100%,calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mat-form-field-filled-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mat-form-field-filled-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)} +`],encapsulation:2,changeDetection:0})}return t})();var Yr=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({imports:[ye,ah,li,ye]})}return t})();var KV=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms} +`],encapsulation:2,changeDetection:0})}return t})(),QV={passive:!0},rM=(()=>{class t{_platform=u(xe);_ngZone=u(R);_renderer=u(rt).createRenderer(null,null);_styleLoader=u(ot);_monitoredElements=new Map;constructor(){}monitor(e){if(!this._platform.isBrowser)return dt;this._styleLoader.load(KV);let i=mn(e),r=this._monitoredElements.get(i);if(r)return r.subject;let o=new M,s="cdk-text-field-autofilled",a=c=>{c.animationName==="cdk-text-field-autofill-start"&&!i.classList.contains(s)?(i.classList.add(s),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!0}))):c.animationName==="cdk-text-field-autofill-end"&&i.classList.contains(s)&&(i.classList.remove(s),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!1})))},l=this._ngZone.runOutsideAngular(()=>(i.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(i,"animationstart",a,QV)));return this._monitoredElements.set(i,{subject:o,unlisten:l}),o}stopMonitoring(e){let i=mn(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var oM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({})}return t})();var sM=new y("MAT_INPUT_VALUE_ACCESSOR");var Gh=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ma=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(n,e,i,r,o){this._defaultMatcher=n,this.ngControl=e,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=o}updateErrorState(){let n=this.errorState,e=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=i?.isErrorState(r,e)??!1;o!==n&&(this.errorState=o,this._stateChanges.next())}};var ZV=["button","checkbox","file","hidden","image","radio","range","reset","submit"],XV=new y("MAT_INPUT_CONFIG"),Kr=(()=>{class t{_elementRef=u(j);_platform=u(xe);ngControl=u(nr,{optional:!0,self:!0});_autofillMonitor=u(rM);_ngZone=u(R);_formField=u(Ia,{optional:!0});_renderer=u(Ne);_uid=u(Ge).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_config=u(XV,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new M;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=tr(e),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(e){this._id=e||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(Ea.required)??!1}set required(e){this._required=tr(e)}_required;get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&xy().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=tr(e)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>xy().has(e));constructor(){let e=u(si,{optional:!0}),i=u(Pc,{optional:!0}),r=u(Gh),o=u(sM,{optional:!0,self:!0}),s=this._elementRef.nativeElement,a=s.nodeName.toLowerCase();o?bi(o.value)?this._signalBasedValueAccessor=o:this._inputValueAccessor=o:this._inputValueAccessor=s,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(s,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Ma(r,this.ngControl,i,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=a==="select",this._isTextarea=a==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=s.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&Tr(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let i=this._elementRef.nativeElement;i.type==="number"?(i.type="text",i.setSelectionRange(0,0),i.type="number"):i.setSelectionRange(0,0)}this.focused=e,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){ZV.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}else return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let i=this._elementRef.nativeElement;e.length?i.setAttribute("aria-describedby",e.join(" ")):i.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let i=e.target;!i.value&&i.selectionStart===0&&i.selectionEnd===0&&(i.setSelectionRange(1,1),i.setSelectionRange(0,0))};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(i){return new(i||t)};static \u0275dir=F({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(i,r){i&1&&H("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),i&2&&(qt("id",r.id)("disabled",r.disabled&&!r.disabledInteractive)("required",r.required),_e("name",r.name||null)("readonly",r._getReadonlyAttribute())("aria-disabled",r.disabled&&r.disabledInteractive?"true":null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required)("id",r.id),ne("mat-input-server",r._isServer)("mat-mdc-form-field-textarea-control",r._isInFormField&&r._isTextarea)("mat-mdc-form-field-input-control",r._isInFormField)("mat-mdc-input-disabled-interactive",r.disabledInteractive)("mdc-text-field__input",r._isInFormField)("mat-mdc-native-select-inline",r._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",W]},exportAs:["matInput"],features:[Be([{provide:Sa,useExisting:t}]),He]})}return t})(),aM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({imports:[ye,Yr,Yr,oM,ye]})}return t})();var JV=(t,n,e)=>({username:t,domain:n,password:e,success:!1}),ej=(t,n,e)=>({username:t,domain:n,password:e,success:!0}),lM=(()=>{class t{constructor(e){this.data=e,this.labels={username:django.gettext("Username"),password:django.gettext("Password"),domain:django.gettext("Domain")},this.username=e.username,this.domain=e.domain,this.password=""}static{this.\u0275fac=function(i){return new(i||t)(k(ga))}}static{this.\u0275cmp=A({type:t,selectors:[["uds-credentials-modal"]],standalone:!1,decls:21,vars:19,consts:[["mat-dialog-title",""],["matInput","",3,"ngModelChange","placeholder","ngModel"],["matInput","","type","password",3,"ngModelChange","placeholder","ngModel"],["mat-button","",3,"mat-dialog-close"]],template:function(i,r){i&1&&(p(0,"h2",0)(1,"uds-translate"),C(2,"Please, enter access credentials"),g()(),p(3,"mat-dialog-content")(4,"mat-form-field")(5,"mat-label"),C(6),g(),p(7,"input",1),zs("ngModelChange",function(s){return Il(r.username,s)||(r.username=s),s}),g()(),p(8,"mat-form-field")(9,"mat-label"),C(10),g(),p(11,"input",2),zs("ngModelChange",function(s){return Il(r.password,s)||(r.password=s),s}),g()(),p(12,"mat-form-field")(13,"mat-label"),C(14),g(),p(15,"input",1),zs("ngModelChange",function(s){return Il(r.domain,s)||(r.domain=s),s}),g()()(),p(16,"mat-dialog-actions")(17,"button",3),C(18,"Cancel"),g(),p(19,"button",3),C(20,"Accept"),g()()),i&2&&(_(6),Ee(" ",r.labels.username," "),_(),D("placeholder",r.labels.username),Hs("ngModel",r.username),_(3),Ee(" ",r.labels.password," "),_(),D("placeholder",r.labels.password),Hs("ngModel",r.password),_(3),Ee(" ",r.labels.domain," "),_(),D("placeholder",r.labels.domain),Hs("ngModel",r.domain),_(2),D("mat-dialog-close",rf(11,JV,r.username,r.domain,r.password)),_(2),D("mat-dialog-close",rf(15,ej,r.username,r.domain,r.password)))},dependencies:[Vh,FI,Uy,kn,wc,Ec,Dc,xc,li,ai,Kr,We],styles:[".mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]})}}return t})();var qh=(()=>{class t{constructor(e){this.dialog=e}alert(e,i,r=0){return Se(this,null,function*(){let o=window.innerWidth<800?"80%":"40%";return this.dialog.open(Ry,{width:o,data:{title:e,body:i,autoclose:r,type:Mc.alert},disableClose:!0})})}yesno(e,i){let r=window.innerWidth<800?"80%":"40%";return this.dialog.open(Ry,{width:r,data:{title:e,body:i,type:Mc.yesno},disableClose:!0}).componentInstance.yesno}askCredentials(e,i){let r=this.dialog.open(lM,{data:{username:e,domain:i}});return sn(r.afterClosed())}static{this.\u0275fac=function(i){return new(i||t)(O(va))}}static{this.\u0275prov=w({token:t,factory:t.\u0275fac})}}return t})();var cM="dark-theme",dM="light-theme";var nj=eval,Me=(()=>{class t{constructor(e,i,r){this.http=e,this.gui=i,this.router=r,this.transportsWindow=null,this.user=new ih(udsData.profile),this.plugin=new hS(this)}get config(){return udsData.config}get csrfField(){return csrf.csrfField}get csrfToken(){return csrf.csrfToken}get staffInfo(){return udsData.info}get plugins(){return udsData.plugins}get actors(){return udsData.actors}get errors(){return udsData.errors}enabler(e,i){return Se(this,null,function*(){let r=this.config.urls.enabler.replace("param1",e).replace("param2",i);return sn(this.http.get(r))})}status(e,i){return Se(this,null,function*(){let r=this.config.urls.status.replace("param1",e).replace("param2",i);return sn(this.http.get(r))})}action(e,i){return Se(this,null,function*(){let r=this.config.urls.action.replace("param1",i).replace("param2",e);return sn(this.http.get(r))})}transportUrl(e){return Se(this,null,function*(){return sn(this.http.get(e))})}updateTransportTicket(e,i,r,o,s){return Se(this,null,function*(){let a=this.config.urls.update_transport_ticket.replace("param1",e).replace("param2",i);return sn(this.http.post(a,{username:r,password:o,domain:s}))})}galleryImageURL(e){return this.config.urls.gallery_image.replace("param1",e)}transportIconURL(e){return this.config.urls.transport_icon.replace("param1",e)}staticURL(e){return rh.production?this.config.urls.static+e:"/static/"+e}getServicesInformation(){return Se(this,null,function*(){return sn(this.http.get(this.config.urls.services))})}getErrorInformation(e){return Se(this,null,function*(){return sn(this.http.get(this.config.urls.error.replace("9999",e)))})}executeCustomJSForServiceLaunch(){udsData.custom_js_for_service_launch!==void 0&&this.eval(udsData.custom_js_for_service_launch)}gotoAdmin(){window.location.href=this.config.urls.admin}logout(){window.location.href=this.config.urls.logout}download(e){return Se(this,null,function*(){let i=document.getElementById("download-frm");i||(i=document.createElement("iframe"),i.id="download-frm",i.style.display="none",document.body.appendChild(i)),i.src=e,i.onload=()=>{alert("Error downloading file. Please try again later.")}})}sleep(e){return new Promise(i=>setTimeout(i,e))}launchURL(e){this.plugin.launchURL(e)}getAuthCustomJavascript(e){return Se(this,null,function*(){return sn(this.http.get(this.config.urls.custom_auth+e,{responseType:"text"}))})}switchTheme(e){let i=document.getElementsByTagName("html")[0];[cM,dM].forEach(r=>{i.classList.contains(r)&&i.classList.remove(r)}),i.classList.add(e?cM:dM)}putOnStorage(e,i){typeof Storage!==void 0&&localStorage.setItem(e,i)}getFromStorage(e){return typeof Storage!==void 0?localStorage.getItem(e):null}eval(e){nj(e)}static{this.\u0275fac=function(i){return new(i||t)(O(Df),O(qh),O(ni))}}static{this.\u0275prov=w({token:t,factory:t.\u0275fac})}}return t})();var Wy=(()=>{class t{constructor(e){this.api=e}canActivate(e,i){return this.api.user.isLogged?!0:(this.api.router.navigate(["login"]),!1)}static{this.\u0275fac=function(i){return new(i||t)(O(Me))}}static{this.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var uM=(()=>{class t{_animationsDisabled=Ze();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,r){i&2&&ne("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(i,r){},styles:[`.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px} +`],encapsulation:2,changeDetection:0})}return t})();var ij=["text"],rj=[[["mat-icon"]],"*"],oj=["mat-icon","*"];function sj(t,n){if(t&1&&V(0,"mat-pseudo-checkbox",1),t&2){let e=L();D("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function aj(t,n){if(t&1&&V(0,"mat-pseudo-checkbox",3),t&2){let e=L();D("disabled",e.disabled)}}function lj(t,n){if(t&1&&(p(0,"span",4),C(1),g()),t&2){let e=L();_(),Ee("(",e.group.label,")")}}var Yy=new y("MAT_OPTION_PARENT_COMPONENT"),Ky=new y("MatOptgroup");var qy=class{source;isUserInput;constructor(n,e=!1){this.source=n,this.isUserInput=e}},Qo=(()=>{class t{_element=u(j);_changeDetectorRef=u(Fe);_parent=u(Yy,{optional:!0});group=u(Ky,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=u(Ge).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=Ce(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new U;_text;_stateChanges=new M;constructor(){let e=u(ot);e.load(Ni),e.load(ca),this._signalDisableRipple=!!this._parent&&bi(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&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)&&!pt(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new qy(this,e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["mat-option"]],viewQuery:function(i,r){if(i&1&&Ie(ij,7),i&2){let o;oe(o=se())&&(r._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,r){i&1&&H("click",function(){return r._selectViaInteraction()})("keydown",function(s){return r._handleKeydown(s)}),i&2&&(qt("id",r.id),_e("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),ne("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",W]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:oj,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,r){i&1&&(Qe(rj),ze(0,sj,1,2,"mat-pseudo-checkbox",1),pe(1),p(2,"span",2,0),pe(4,1),g(),ze(5,aj,1,1,"mat-pseudo-checkbox",3),ze(6,lj,2,1,"span",4),V(7,"div",5)),i&2&&($e(r.multiple?0:-1),_(5),$e(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),_(),$e(r.group&&r.group._inert?6:-1),_(),D("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[uM,ya],styles:[`.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""} +`],encapsulation:2,changeDetection:0})}return t})();function fM(t,n,e){if(e.length){let i=n.toArray(),r=e.toArray(),o=0;for(let s=0;se+i?Math.max(0,t-i+n):e}var Fc=(()=>{class t{_listeners=[];notify(e,i){for(let r of this._listeners)r(e,i)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Lc=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new M;constructor(n=!1,e,i=!0,r){this._multiple=n,this._emitChanges=i,this.compareWith=r,e&&e.length&&(n?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,i=new Set(n.map(o=>this._getConcreteValue(o)));n.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(this._getConcreteValue(o,i))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){n.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(n,e){if(this.compareWith){e=e??this._selection;for(let i of e)if(this.compareWith(n,i))return i;return n}else return n}};var pM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({imports:[ye]})}return t})();var Qy=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({imports:[ba,ye,pM,Qo]})}return t})();var cj=["trigger"],dj=["panel"],uj=[[["mat-select-trigger"]],"*"],fj=["mat-select-trigger","*"];function hj(t,n){if(t&1&&(p(0,"span",4),C(1),g()),t&2){let e=L();_(),lt(e.placeholder)}}function pj(t,n){t&1&&pe(0)}function mj(t,n){if(t&1&&(p(0,"span",11),C(1),g()),t&2){let e=L(2);_(),lt(e.triggerValue)}}function gj(t,n){if(t&1&&(p(0,"span",5),ze(1,pj,1,0)(2,mj,2,1,"span",11),g()),t&2){let e=L();_(),$e(e.customTrigger?1:2)}}function vj(t,n){if(t&1){let e=we();p(0,"div",12,1),H("keydown",function(r){ue(e);let o=L();return fe(o._handleKeydown(r))}),pe(2,1),g()}if(t&2){let e=L();Yt(Fv("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme())),ne("mat-select-panel-animations-enabled",!e._animationsDisabled),D("ngClass",e.panelClass),_e("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var Zy=new y("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=u($);return()=>gn(t)}});function mM(t){let n=u($);return()=>gn(n)}var gM=new y("MAT_SELECT_CONFIG"),vM={provide:Zy,deps:[],useFactory:mM},_M=new y("MatSelectTrigger"),Yh=class{source;value;constructor(n,e){this.source=n,this.value=e}},Xy=(()=>{class t{_viewportRuler=u(Zi);_changeDetectorRef=u(Fe);_elementRef=u(j);_dir=u(Rt,{optional:!0});_idGenerator=u(Ge);_renderer=u(Ne);_parentFormField=u(Ia,{optional:!0});ngControl=u(nr,{self:!0,optional:!0});_liveAnnouncer=u(ay);_defaultOptions=u(gM,{optional:!0});_animationsDisabled=Ze();_initialized=new M;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let i=this.options.toArray()[e];if(i){let r=this.panel.nativeElement,o=fM(e,this.options,this.optionGroups),s=i._getHostElement();e===0&&o===1?r.scrollTop=0:r.scrollTop=hM(s.offsetTop,s.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new Yh(this,e)}_scrollStrategyFactory=u(Zy);_panelOpen=!1;_compareWith=(e,i)=>e===i;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new M;_errorStateTracker;stateChanges=new M;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(e){this._disableRipple.set(e)}_disableRipple=Ce(!1);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(Ea.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;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)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=Fn(()=>{let e=this.options;return e?e.changes.pipe(nt(e),qe(()=>zt(...e.map(i=>i.onSelectionChange)))):this._initialized.pipe(qe(()=>this.optionSelectionChanges))});openedChange=new U;_openedStream=this.openedChange.pipe(de(e=>e),X(()=>{}));_closedStream=this.openedChange.pipe(de(e=>!e),X(()=>{}));selectionChange=new U;valueChange=new U;constructor(){let e=u(Gh),i=u(si,{optional:!0}),r=u(Pc,{optional:!0}),o=u(new Ii("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new Ma(e,this.ngControl,r,i,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=o==null?0:parseInt(o)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Lc(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(Oe(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(Oe(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(nt(null),Oe(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._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe(et(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=`${this.id}-panel`;this._trackedModal&&wh(this._trackedModal,"aria-owns",i),yy(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;wh(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel){this._detachOverlay();return}this._cleanupDetach?.(),this._cleanupDetach=()=>{i(),clearTimeout(r),this._cleanupDetach=void 0};let e=this.panel.nativeElement,i=this._renderer.listen(e,"animationend",o=>{o.animationName==="_mat-select-exit"&&(this._cleanupDetach?.(),this._detachOverlay())}),r=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);e.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}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}updateErrorState(){this._errorStateTracker.updateErrorState()}_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,s=this._keyManager;if(!s.isTyping()&&o&&!pt(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){let a=this.selected;s.onKeydown(e);let l=this.selected;l&&a!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){let i=this._keyManager,r=e.keyCode,o=r===40||r===38,s=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(!s&&(r===13||r===32)&&i.activeItem&&!pt(e))e.preventDefault(),i.activeItem._selectViaInteraction();else if(!s&&this._multiple&&r===65&&e.ctrlKey){e.preventDefault();let a=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(a?l.select():l.deselect())})}else{let a=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==a&&i.activeItem._selectViaInteraction()}}_handleOverlayKeydown(e){e.keyCode===27&&!pt(e)&&(e.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_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.options.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.canSelectNullableOptions)&&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}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof fa?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new yc(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=zt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Oe(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),zt(...this.options.map(i=>i._stateChanges)).pipe(Oe(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){let r=this._selectionModel.isSelected(e);!this.canSelectNullableOptions&&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;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(){if(this._keyManager)if(this.empty){let e=-1;for(let i=0;i0&&!!this._overlayDir}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,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()||"";return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e||(e=this._valueId),e}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}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}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["mat-select"]],contentQueries:function(i,r,o){if(i&1&&(at(o,_M,5),at(o,Qo,5),at(o,Ky,5)),i&2){let s;oe(s=se())&&(r.customTrigger=s.first),oe(s=se())&&(r.options=s),oe(s=se())&&(r.optionGroups=s)}},viewQuery:function(i,r){if(i&1&&(Ie(cj,5),Ie(dj,5),Ie(_h,5)),i&2){let o;oe(o=se())&&(r.trigger=o.first),oe(o=se())&&(r.panel=o.first),oe(o=se())&&(r._overlayDir=o.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:21,hostBindings:function(i,r){i&1&&H("keydown",function(s){return r._handleKeydown(s)})("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()}),i&2&&(_e("id",r.id)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r.panelOpen?r.id+"-panel":null)("aria-expanded",r.panelOpen)("aria-label",r.ariaLabel||null)("aria-required",r.required.toString())("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState)("aria-activedescendant",r._getAriaActiveDescendant()),ne("mat-mdc-select-disabled",r.disabled)("mat-mdc-select-invalid",r.errorState)("mat-mdc-select-required",r.required)("mat-mdc-select-empty",r.empty)("mat-mdc-select-multiple",r.multiple)("mat-select-open",r.panelOpen))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",W],disableRipple:[2,"disableRipple","disableRipple",W],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Mi(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",W],placeholder:"placeholder",required:[2,"required","required",W],multiple:[2,"multiple","multiple",W],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",W],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",Mi],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",W]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[Be([{provide:Sa,useExisting:t},{provide:Yy,useExisting:t}]),He],ngContentSelectors:fj,decls:11,vars:9,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(i,r){if(i&1){let o=we();Qe(uj),p(0,"div",2,0),H("click",function(){return ue(o),fe(r.open())}),p(3,"div",3),ze(4,hj,2,1,"span",4)(5,gj,3,1,"span",5),g(),p(6,"div",6)(7,"div",7),In(),p(8,"svg",8),V(9,"path",9),g()()()(),te(10,vj,3,10,"ng-template",10),H("detach",function(){return ue(o),fe(r.close())})("backdropClick",function(){return ue(o),fe(r.close())})("overlayKeydown",function(a){return ue(o),fe(r._handleOverlayKeydown(a))})}if(i&2){let o=At(1);_(3),_e("id",r._valueId),_(),$e(r.empty?4:5),_(6),D("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||o)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[fa,_h,ko],styles:[`@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-select-open .mat-mdc-select-arrow{transform:rotate(180deg)}.mat-form-field-animations-enabled .mat-mdc-select-arrow{transition:transform 80ms linear}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))} +`],encapsulation:2,changeDetection:0})}return t})();var Jy=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({providers:[vM],imports:[oi,Qy,ye,Qi,Yr,Qy,ye]})}return t})();function yj(t,n){if(t&1&&(p(0,"mat-option",19),C(1),g()),t&2){let e=n.$implicit;D("value",e.id),_(),Ee(" ",e.name," ")}}function bj(t,n){if(t&1){let e=we();p(0,"div",9)(1,"mat-form-field",16)(2,"mat-label")(3,"uds-translate"),C(4,"Authenticator"),g()(),p(5,"mat-select",17),H("selectionChange",function(r){ue(e);let o=L();return fe(o.changeAuth(r.value))}),te(6,yj,2,2,"mat-option",18),g()()()}if(t&2){let e=L();_(5),D("value",e.auths[0].id),_(),D("ngForOf",e.auths)}}var eb=(()=>{class t{constructor(e){this.api=e,this.auth={},this.title="UDS Enterprise",this.title=e.config.site_name,this.auths=e.config.authenticators.slice(0),this.auths.sort((i,r)=>i.priority-r.priority)}ngOnInit(){let e=document.getElementById("loginform");e.action=this.api.config.urls.login;let i=document.getElementById("token");i.name=this.api.csrfField;let r=document.cookie.split(";").find(o=>o.trim().startsWith("csrftoken="))||"=";i.value=r.split("=")[1],this.auth=document.getElementById("authenticator"),this.auths.length>0&&(this.auth.value=this.auths[0].id,this.changeAuth(this.auth.value)),this.api.errors.length>0&&this.api.gui.alert(django.gettext("Errors found"),"
"+this.api.errors.join("
")+"
")}changeAuth(e){this.auth.value=e;let i=r=>{this.api.eval(r)};for(let r of this.auths)r.id===e&&r.is_custom&&(document.getElementsByClassName("login-form")[0].setAttribute("style","display: none;"),this.api.getAuthCustomJavascript(r.id).then(o=>i(o)))}launch(){return document.getElementById("loginform").submit(),!0}static{this.\u0275fac=function(i){return new(i||t)(k(Me))}}static{this.\u0275cmp=A({type:t,selectors:[["uds-login"]],standalone:!1,decls:29,vars:6,consts:[["id","loginform","method","post",3,"ngSubmit"],["name","","id","token","value","","type","hidden"],["name","logouturl","id","id_logouturl","value","","type","hidden"],["name","authenticator","id","authenticator","value","","type","hidden"],[1,"login-container"],[1,"login-brand"],[3,"src"],[1,"login-info"],[1,"login-form"],[1,"login-field"],["matInput","","id","id_user","name","user","value","","required","","autofocus",""],["matInput","","id","id_password","type","password","name","password","data-eye","",1,"form-control"],["class","login-field",4,"ngIf"],[1,"login-button"],["mat-stroked-button","","color","primary","type","submit"],[1,"site-info",3,"innerHTML"],["appaerance","standard"],[3,"selectionChange","value"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(i,r){i&1&&(p(0,"form",0),H("ngSubmit",function(){return r.launch()}),V(1,"input",1)(2,"input",2)(3,"input",3),p(4,"div",4)(5,"div",5),V(6,"img",6),g(),p(7,"div",7),C(8),g(),p(9,"div",8)(10,"div",9)(11,"mat-form-field")(12,"mat-label")(13,"uds-translate"),C(14,"Username"),g()(),V(15,"input",10),g()(),p(16,"div",9)(17,"mat-form-field")(18,"mat-label")(19,"uds-translate"),C(20,"Password"),g()(),V(21,"input",11),g()(),te(22,bj,7,2,"div",12),p(23,"div",13)(24,"button",14)(25,"uds-translate"),C(26,"Login"),g()()()(),V(27,"div",15),Yn(28,"safeHtml"),g()()),i&2&&(_(6),D("src",r.api.staticURL("modern/img/login-img.png"),ft),_(2),Ee(" ",r.title," "),_(14),D("ngIf",r.auths.length>1),_(5),D("innerHTML",Kn(28,4,r.api.config.site_information),qn))},dependencies:[xt,kt,Da,xa,si,kn,li,ai,Kr,Xy,Qo,We,Gr],styles:[".login-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.login-brand[_ngcontent-%COMP%]{margin:1rem 0 0}.login-info[_ngcontent-%COMP%]{margin:1rem 0}.login-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;-moz-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2);box-shadow:0 2px 2px #00000024,0 3px 1px -2px #0000001f,0 1px 5px #0003;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.login-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.login-button[_ngcontent-%COMP%]{margin:2rem}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width:744px){.login-form[_ngcontent-%COMP%]{min-width:80%}}"]})}}return t})();function Cj(t,n){if(t&1){let e=we();p(0,"div",6),H("click",function(){let r=ue(e).$implicit,o=L();return fe(o.api.download(r.url))}),p(1,"div",7),V(2,"img",8),g(),p(3,"div",9),C(4),g(),p(5,"div",10),C(6),g()()}if(t&2){let e=n.$implicit,i=L();Yt(i.css(e)),_(2),D("src",i.img(e.name),ft),_(2),nf(" ",i.legacy(e)," ",e.name," (",e.url.split(".").pop(),") "),_(2),Ee(" ",e.description," ")}}var yM=(()=>{class t{constructor(e){this.api=e}ngOnInit(){}img(e){return this.api.staticURL("modern/img/"+e+".png")}css(e){let i=["plugin"];return e.legacy&&i.push("legacy"),i}legacy(e){return e.legacy?"Legacy":""}static{this.\u0275fac=function(i){return new(i||t)(k(Me))}}static{this.\u0275cmp=A({type:t,selectors:[["uds-client-download"]],standalone:!1,decls:13,vars:1,consts:[[1,"plugins-container"],[1,"banner"],[1,"banner-text"],[1,"plugins"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"platform"],[1,"description"]],template:function(i,r){i&1&&(p(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1")(4,"uds-translate"),C(5,"UDS Client"),g()()()(),p(6,"div",3),te(7,Cj,7,7,"div",4),g(),p(8,"div",5)(9,"ul")(10,"li")(11,"uds-translate"),C(12,"Download UDS client for your platform"),g()()()()()),i&2&&(_(7),D("ngForOf",r.api.plugins))},dependencies:[xt,We],styles:[".plugins-container[_ngcontent-%COMP%]{margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:2rem}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:3rem;text-align:center}.banner-text[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1rem}.plugins[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:center}.plugin[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;padding:1rem;border-radius:1rem;box-shadow:0 1rem 2rem #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 15%}.plugin.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;flex:1 0 19%;max-width:20%}.plugin.legacy[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:5rem}.plugin[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem #00000040,0 10px 10px #00000038;background-color:#0000001a}.image[_ngcontent-%COMP%]{display:flex;justify-content:center}.platform[_ngcontent-%COMP%]{text-align:center;font-size:2rem}.description[_ngcontent-%COMP%]{display:flex;text-align:center;justify-content:center;margin-top:.5rem} .dark-theme uds-client-download{color:#fff!important} .dark-theme .plugin.legacy{background-color:#a9a9a9} .dark-theme .plugin:hover{background-color:#ffffff1a}"]})}}return t})();function wj(t,n){if(t&1){let e=we();p(0,"div",6),H("click",function(){let r=ue(e).$implicit,o=L();return fe(o.api.download(r.url))}),p(1,"div",7),V(2,"img",8),g(),V(3,"div",9),Yn(4,"safeHtml"),V(5,"div",10),Yn(6,"safeHtml"),g()}if(t&2){let e=n.$implicit,i=L();Yt(i.css(e)),_(2),D("src",i.img(e.name),ft),_(),D("innerHTML",Kn(4,5,e.name),qn),_(2),D("innerHTML",Kn(6,7,e.description),qn)}}var bM=(()=>{class t{constructor(e){this.api=e,this.actors=[]}ngOnInit(){this.actors=[];let e=[];for(let i of this.api.actors)i.legacy?e.push(i):this.actors.push(i);for(let i of e)this.actors.push(i)}img(e){let i=(e.split(".").pop()||"").toLowerCase(),r="Linux";return i==="exe"?r="Windows":i==="pkg"&&(r="MacOS"),this.api.staticURL("modern/img/"+r+".png")}css(e){let i=["actor"];return e.legacy&&i.push("legacy"),i}static{this.\u0275fac=function(i){return new(i||t)(k(Me))}}static{this.\u0275cmp=A({type:t,selectors:[["uds-downloads"]],standalone:!1,decls:13,vars:1,consts:[[1,"actors-container"],[1,"banner"],[1,"banner-text"],[1,"actors"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"name",3,"innerHTML"],[1,"description",3,"innerHTML"]],template:function(i,r){i&1&&(p(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1")(4,"uds-translate"),C(5,"Downloads"),g()()()(),p(6,"div",3),te(7,wj,7,9,"div",4),g(),p(8,"div",5)(9,"ul")(10,"li")(11,"uds-translate"),C(12,"Always download the UDS actor matching your platform"),g()()()()()),i&2&&(_(7),D("ngForOf",r.actors))},dependencies:[xt,We,Gr],styles:[".actors-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2em;text-align:center}.actors[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-around;align-content:center;margin:auto}.actor[_ngcontent-%COMP%]{border:1px solid;margin-top:1rem;padding:1em;border-radius:1rem;box-shadow:0 1rem 2rem #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 34%;margin-right:1em}.actor.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;max-width:50%}.actor[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem #00000040,0 10px 10px #00000038;background-color:#0000001a}.image[_ngcontent-%COMP%]{display:block;float:left;padding-right:1rem;height:100%}.image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:4rem}.name[_ngcontent-%COMP%]{font-size:1.5em;margin-bottom:1em;font-weight:700;overflow:hidden} .dark-theme uds-downloads{color:#fff!important} .dark-theme .actor.legacy{background-color:#464646}"]})}}return t})();var tb=new y("CdkAccordion"),CM=(()=>{class t{_stateChanges=new M;_openCloseAllActions=new M;id=u(Ge).getId("cdk-accordion-");multi=!1;openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=F({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",W]},exportAs:["cdkAccordion"],features:[Be([{provide:tb,useExisting:t}]),He]})}return t})(),wM=(()=>{class t{accordion=u(tb,{optional:!0,skipSelf:!0});_changeDetectorRef=u(Fe);_expansionDispatcher=u(Fc);_openCloseAllSubscription=me.EMPTY;closed=new U;opened=new U;destroyed=new U;expandedChange=new U;id=u(Ge).getId("cdk-accordion-child-");get expanded(){return this._expanded}set expanded(e){if(this._expanded!==e){if(this._expanded=e,this.expandedChange.emit(e),e){this.opened.emit();let i=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,i)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}_expanded=!1;get disabled(){return this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=Ce(!1);_removeUniqueSelectionListener=()=>{};constructor(){}ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((e,i)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===i&&this.id!==e&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=F({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",W],disabled:[2,"disabled","disabled",W]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Be([{provide:tb,useValue:void 0}])]})}return t})(),EM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({})}return t})();var Ej=["body"],xj=["bodyWrapper"],Dj=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Sj=["mat-expansion-panel-header","*","mat-action-row"];function Ij(t,n){}var Mj=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Tj=["mat-panel-title","mat-panel-description","*"];function Aj(t,n){t&1&&(Bt(0,"span",1),In(),Bt(1,"svg",2),on(2,"path",3),rn()())}var nb=new y("MAT_ACCORDION"),xM=new y("MAT_EXPANSION_PANEL"),kj=(()=>{class t{_template=u(Et);_expansionPanel=u(xM,{optional:!0});constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=F({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]})}return t})(),DM=new y("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),Vc=(()=>{class t extends wM{_viewContainerRef=u(st);_animationsDisabled=Ze();_document=u(G);_ngZone=u(R);_elementRef=u(j);_renderer=u(Ne);_cleanupTransitionEnd;get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=e}_hideToggle=!1;get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_togglePosition;afterExpand=new U;afterCollapse=new U;_inputChanges=new M;accordion=u(nb,{optional:!0,skipSelf:!0});_lazyContent;_body;_bodyWrapper;_portal;_headerId=u(Ge).getId("mat-expansion-panel-header-");constructor(){super();let e=u(DM,{optional:!0});this._expansionDispatcher=u(Fc),e&&(this.hideToggle=e.hideToggle)}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(nt(null),de(()=>this.expanded&&!this._portal),et(1)).subscribe(()=>{this._portal=new ii(this._lazyContent._template,this._viewContainerRef)}),this._setupAnimationEvents()}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTransitionEnd?.(),this._inputChanges.complete()}_containsFocus(){if(this._body){let e=this._document.activeElement,i=this._body.nativeElement;return e===i||i.contains(e)}return!1}_transitionEndListener=({target:e,propertyName:i})=>{e===this._bodyWrapper?.nativeElement&&i==="grid-template-rows"&&this._ngZone.run(()=>{this.expanded?this.afterExpand.emit():this.afterCollapse.emit()})};_setupAnimationEvents(){this._ngZone.runOutsideAngular(()=>{this._animationsDisabled?(this.opened.subscribe(()=>this._ngZone.run(()=>this.afterExpand.emit())),this.closed.subscribe(()=>this._ngZone.run(()=>this.afterCollapse.emit()))):setTimeout(()=>{let e=this._elementRef.nativeElement;this._cleanupTransitionEnd=this._renderer.listen(e,"transitionend",this._transitionEndListener),e.classList.add("mat-expansion-panel-animations-enabled")},200)})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(i,r,o){if(i&1&&at(o,kj,5),i&2){let s;oe(s=se())&&(r._lazyContent=s.first)}},viewQuery:function(i,r){if(i&1&&(Ie(Ej,5),Ie(xj,5)),i&2){let o;oe(o=se())&&(r._body=o.first),oe(o=se())&&(r._bodyWrapper=o.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:4,hostBindings:function(i,r){i&2&&ne("mat-expanded",r.expanded)("mat-expansion-panel-spacing",r._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",W],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[Be([{provide:nb,useValue:void 0},{provide:xM,useExisting:t}]),Pe,He],ngContentSelectors:Sj,decls:9,vars:4,consts:[["bodyWrapper",""],["body",""],[1,"mat-expansion-panel-content-wrapper"],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(i,r){i&1&&(Qe(Dj),pe(0),p(1,"div",2,0)(3,"div",3,1)(5,"div",4),pe(6,1),te(7,Ij,0,0,"ng-template",5),g(),pe(8,2),g()()),i&2&&(_(),_e("inert",r.expanded?null:""),_(2),D("id",r.id),_e("aria-labelledby",r._headerId),_(4),D("cdkPortalOutlet",r._portal))},dependencies:[Ho],styles:[`.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;position:relative;background:var(--mat-expansion-container-background-color, var(--mat-sys-surface));color:var(--mat-expansion-container-text-color, var(--mat-sys-on-surface));border-radius:var(--mat-expansion-container-shape, 12px)}.mat-expansion-panel.mat-expansion-panel-animations-enabled{transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:var(--mat-expansion-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape, 12px);border-top-left-radius:var(--mat-expansion-container-shape, 12px)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape, 12px);border-bottom-left-radius:var(--mat-expansion-container-shape, 12px)}@media(forced-colors: active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel-content-wrapper{display:grid;grid-template-rows:0fr;grid-template-columns:100%}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content-wrapper{transition:grid-template-rows 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{grid-template-rows:1fr}@supports not (grid-template-rows: 0fr){.mat-expansion-panel-content-wrapper{height:0}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{height:auto}}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;min-height:0;visibility:hidden;font-family:var(--mat-expansion-container-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-sys-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-sys-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-sys-body-large-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content{transition:visibility 190ms linear}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper>.mat-expansion-panel-content{visibility:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color, var(--mat-sys-outline))}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px} +`],encapsulation:2,changeDetection:0})}return t})();var jc=(()=>{class t{panel=u(Vc,{host:!0});_element=u(j);_focusMonitor=u(Tn);_changeDetectorRef=u(Fe);_parentChangeSubscription=me.EMPTY;constructor(){u(ot).load(Ni);let e=this.panel,i=u(DM,{optional:!0}),r=u(new Ii("tabindex"),{optional:!0}),o=e.accordion?e.accordion._stateChanges.pipe(de(s=>!!(s.hideToggle||s.togglePosition))):dt;this.tabIndex=parseInt(r||"")||0,this._parentChangeSubscription=zt(e.opened,e.closed,o,e._inputChanges.pipe(de(s=>!!(s.hideToggle||s.disabled||s.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(de(()=>e._containsFocus())).subscribe(()=>this._focusMonitor.focusVia(this._element,"program")),i&&(this.expandedHeight=i.expandedHeight,this.collapsedHeight=i.collapsedHeight)}expandedHeight;collapsedHeight;tabIndex=0;get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:pt(e)||(e.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e);return}}focus(e,i){e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:13,hostBindings:function(i,r){i&1&&H("click",function(){return r._toggle()})("keydown",function(s){return r._keydown(s)}),i&2&&(_e("id",r.panel._headerId)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r._getPanelId())("aria-expanded",r._isExpanded())("aria-disabled",r.panel.disabled),Sl("height",r._getHeaderHeight()),ne("mat-expanded",r._isExpanded())("mat-expansion-toggle-indicator-after",r._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",r._getTogglePosition()==="before"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Mi(e)]},ngContentSelectors:Tj,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(i,r){i&1&&(Qe(Mj),Bt(0,"span",0),pe(1),pe(2,1),pe(3,2),rn(),ze(4,Aj,3,0,"span",1)),i&2&&(ne("mat-content-hide-toggle",!r._showToggle()),_(4),$e(r._showToggle()?4:-1))},styles:[`.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;height:var(--mat-expansion-header-collapsed-state-height, 48px);font-family:var(--mat-expansion-header-text-font, var(--mat-sys-title-medium-font));font-size:var(--mat-expansion-header-text-size, var(--mat-sys-title-medium-size));font-weight:var(--mat-expansion-header-text-weight, var(--mat-sys-title-medium-weight));line-height:var(--mat-expansion-header-text-line-height, var(--mat-sys-title-medium-line-height));letter-spacing:var(--mat-expansion-header-text-tracking, var(--mat-sys-title-medium-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-header{transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header::before{border-radius:inherit}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height, 64px)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color, var(--mat-sys-surface))}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color, var(--mat-sys-on-surface))}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color, var(--mat-sys-on-surface-variant))}.mat-expansion-panel-animations-enabled .mat-expansion-indicator{transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header.mat-expanded .mat-expansion-indicator{transform:rotate(180deg)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-legacy-header-indicator-display, none)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-header-indicator-display, inline-block)}@media(forced-colors: active){.mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}} +`],encapsulation:2,changeDetection:0})}return t})(),Kh=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=F({type:t,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]})}return t})(),Qh=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=F({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return t})(),Zh=(()=>{class t extends CM{_keyManager;_ownHeaders=new Wn;_headers;hideToggle=!1;displayMode="default";togglePosition="after";ngAfterContentInit(){this._headers.changes.pipe(nt(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(i=>i.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Yo(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static \u0275fac=(()=>{let e;return function(r){return(e||(e=jt(t)))(r||t)}})();static \u0275dir=F({type:t,selectors:[["mat-accordion"]],contentQueries:function(i,r,o){if(i&1&&at(o,jc,5),i&2){let s;oe(s=se())&&(r._headers=s)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(i,r){i&2&&ne("mat-accordion-multi",r.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",W],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[Be([{provide:nb,useExisting:t}]),Pe]})}return t})(),SM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({imports:[ye,EM,Yi]})}return t})();var Rj=["mat-menu-item",""],Oj=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Nj=["mat-icon, [matMenuItemIcon]","*"];function Pj(t,n){t&1&&(In(),p(0,"svg",2),V(1,"polygon",3),g())}var Fj=["*"];function Lj(t,n){if(t&1){let e=we();Bt(0,"div",0),Ju("click",function(){ue(e);let r=L();return fe(r.closed.emit("click"))})("animationstart",function(r){ue(e);let o=L();return fe(o._onAnimationStart(r.animationName))})("animationend",function(r){ue(e);let o=L();return fe(o._onAnimationDone(r.animationName))})("animationcancel",function(r){ue(e);let o=L();return fe(o._onAnimationDone(r.animationName))}),Bt(1,"div",1),pe(2),rn()()}if(t&2){let e=L();Yt(e._classList),ne("mat-menu-panel-animations-disabled",e._animationsDisabled)("mat-menu-panel-exit-animation",e._panelAnimationState==="void")("mat-menu-panel-animating",e._isAnimating()),qt("id",e.panelId),_e("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}var ob=new y("MAT_MENU_PANEL"),Zo=(()=>{class t{_elementRef=u(j);_document=u(G);_focusMonitor=u(Tn);_parentMenu=u(ob,{optional:!0});_changeDetectorRef=u(Fe);role="menuitem";disabled=!1;disableRipple=!1;_hovered=new M;_focused=new M;_highlighted=!1;_triggersSubmenu=!1;constructor(){u(ot).load(Ni),this._parentMenu?.addItem?.(this)}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let e=this._elementRef.nativeElement.cloneNode(!0),i=e.querySelectorAll("mat-icon, .material-icons");for(let r=0;r{class t{_elementRef=u(j);_changeDetectorRef=u(Fe);_injector=u($);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_exitFallbackTimeout;_animationsDisabled=Ze();_allItems;_directDescendantItems=new Wn;_classList={};_panelAnimationState="void";_animationDone=new M;_isAnimating=Ce(!1);parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger;hasBackdrop;set panelClass(e){let i=this._previousPanelClass,r=b({},this._classList);i&&i.length&&i.split(" ").forEach(o=>{r[o]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(o=>{r[o]=!0}),this._elementRef.nativeElement.className=""),this._classList=r}_previousPanelClass;get classList(){return this.panelClass}set classList(e){this.panelClass=e}closed=new U;close=this.closed;panelId=u(Ge).getId("mat-menu-panel-");constructor(){let e=u(jj);this.overlayPanelClass=e.overlayPanelClass||"",this._xPosition=e.xPosition,this._yPosition=e.yPosition,this.backdropClass=e.backdropClass,this.overlapTrigger=e.overlapTrigger,this.hasBackdrop=e.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Yo(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(nt(this._directDescendantItems),qe(e=>zt(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{let i=this._keyManager;if(this._panelAnimationState==="enter"&&i.activeItem?._hasFocus()){let r=e.toArray(),o=Math.max(0,Math.min(r.length-1,i.activeItemIndex||0));r[o]&&!r[o].disabled?i.setActiveItem(o):i.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy(),clearTimeout(this._exitFallbackTimeout)}_hovered(){return this._directDescendantItems.changes.pipe(nt(this._directDescendantItems),qe(i=>zt(...i.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){let i=e.keyCode,r=this._keyManager;switch(i){case 27:pt(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(i===38||i===40)&&r.setFocusOrigin("keyboard"),r.onKeydown(e);return}}focusFirstItem(e="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=Mt(()=>{let i=this._resolvePanel();if(!i||!i.contains(document.activeElement)){let r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&i&&i.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){}setPositionClasses(e=this.xPosition,i=this.yPosition){this._classList=Z(b({},this._classList),{"mat-menu-before":e==="before","mat-menu-after":e==="after","mat-menu-above":i==="above","mat-menu-below":i==="below"}),this._changeDetectorRef.markForCheck()}_onAnimationDone(e){let i=e===Xh;(i||e===rb)&&(i&&(clearTimeout(this._exitFallbackTimeout),this._exitFallbackTimeout=void 0),this._animationDone.next(i?"void":"enter"),this._isAnimating.set(!1))}_onAnimationStart(e){(e===rb||e===Xh)&&this._isAnimating.set(!0)}_setIsOpen(e){if(this._panelAnimationState=e?"enter":"void",e){if(this._keyManager.activeItemIndex===0){let i=this._resolvePanel();i&&(i.scrollTop=0)}}else this._animationsDisabled||(this._exitFallbackTimeout=setTimeout(()=>this._onAnimationDone(Xh),200));this._animationsDisabled&&setTimeout(()=>{this._onAnimationDone(e?rb:Xh)}),this._changeDetectorRef.markForCheck()}_updateDirectDescendants(){this._allItems.changes.pipe(nt(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}_resolvePanel(){let e=null;return this._directDescendantItems.length&&(e=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),e}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["mat-menu"]],contentQueries:function(i,r,o){if(i&1&&(at(o,Vj,5),at(o,Zo,5),at(o,Zo,4)),i&2){let s;oe(s=se())&&(r.lazyContent=s.first),oe(s=se())&&(r._allItems=s),oe(s=se())&&(r.items=s)}},viewQuery:function(i,r){if(i&1&&Ie(Et,5),i&2){let o;oe(o=se())&&(r.templateRef=o.first)}},hostVars:3,hostBindings:function(i,r){i&2&&_e("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",W],hasBackdrop:[2,"hasBackdrop","hasBackdrop",e=>e==null?null:W(e)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[Be([{provide:ob,useExisting:t}])],ngContentSelectors:Fj,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","animationstart","animationend","animationcancel","id"],[1,"mat-mdc-menu-content"]],template:function(i,r){i&1&&(Qe(),Wu(0,Lj,3,12,"ng-template"))},styles:[`mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-sys-label-large-weight))}@keyframes _mat-menu-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-menu-exit{from{opacity:1}to{opacity:0}}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;box-sizing:border-box;outline:0;animation:_mat-menu-enter 120ms cubic-bezier(0, 0, 0.2, 1);border-radius:var(--mat-menu-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-sys-surface-container));box-shadow:var(--mat-menu-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));will-change:transform,opacity}.mat-mdc-menu-panel.mat-menu-panel-exit-animation{animation:_mat-menu-exit 100ms 25ms linear forwards}.mat-mdc-menu-panel.mat-menu-panel-animations-disabled{animation:none}.mat-mdc-menu-panel.mat-menu-panel-animating{pointer-events:none}.mat-mdc-menu-panel.mat-menu-panel-animating:has(.mat-mdc-menu-content:empty){display:none}@media(forced-colors: active){.mat-mdc-menu-panel{outline:solid 1px}}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-sys-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing, 8px);margin-top:var(--mat-menu-divider-top-spacing, 8px)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px;padding-left:var(--mat-menu-item-leading-spacing, 12px);padding-right:var(--mat-menu-item-trailing-spacing, 12px);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-menu-item::-moz-focus-inner{border:0}[dir=rtl] .mat-mdc-menu-item{padding-left:var(--mat-menu-item-trailing-spacing, 12px);padding-right:var(--mat-menu-item-leading-spacing, 12px)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-trailing-spacing, 12px)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-trailing-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-leading-spacing, 12px)}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing, 12px);height:var(--mat-menu-item-icon-size, 24px);width:var(--mat-menu-item-icon-size, 24px)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing, 12px)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(forced-colors: active){.mat-mdc-menu-item{margin-top:1px}}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size, 24px);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing, 12px)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing, 12px);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}@media(forced-colors: active){.mat-mdc-menu-submenu-icon{fill:CanvasText}}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none} +`],encapsulation:2,changeDetection:0})}return t})(),IM=new y("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let t=u($);return()=>gn(t)}});function Uj(t){let n=u($);return()=>gn(n)}var Hj={provide:IM,deps:[],useFactory:Uj};var Ta=new WeakMap,zj=(()=>{class t{_canHaveBackdrop;_element=u(j);_viewContainerRef=u(st);_menuItemInstance=u(Zo,{optional:!0,self:!0});_dir=u(Rt,{optional:!0});_focusMonitor=u(Tn);_ngZone=u(R);_injector=u($);_scrollStrategy=u(IM);_changeDetectorRef=u(Fe);_animationsDisabled=Ze();_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=me.EMPTY;_menuCloseSubscription=me.EMPTY;_pendingRemoval;_parentMaterialMenu;_parentInnerPadding;_openedBy=void 0;get _menu(){return this._menuInternal}set _menu(e){e!==this._menuInternal&&(this._menuInternal=e,this._menuCloseSubscription.unsubscribe(),e&&(this._parentMaterialMenu,this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),(i==="click"||i==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})),this._menuItemInstance?._setTriggersSubmenu(this._triggersSubmenu()))}_menuInternal;constructor(e){this._canHaveBackdrop=e;let i=u(ob,{optional:!0});this._parentMaterialMenu=i instanceof Xr?i:void 0}ngOnDestroy(){this._menu&&this._ownsMenu(this._menu)&&Ta.delete(this._menu),this._pendingRemoval?.unsubscribe(),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this._menu)}_closeMenu(){this._menu?.close.emit()}_openMenu(e){let i=this._menu;if(this._menuOpen||!i)return;this._pendingRemoval?.unsubscribe();let r=Ta.get(i);Ta.set(i,this),r&&r!==this&&r._closeMenu();let o=this._createOverlay(i),s=o.getConfig(),a=s.positionStrategy;this._setPosition(i,a),this._canHaveBackdrop?s.hasBackdrop=i.hasBackdrop==null?!this._triggersSubmenu():i.hasBackdrop:s.hasBackdrop=!1,o.hasAttached()||(o.attach(this._getPortal(i)),i.lazyContent?.attach(this.menuData)),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this._closeMenu()),i.parentMenu=this._triggersSubmenu()?this._parentMaterialMenu:void 0,i.direction=this.dir,e&&i.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0),i instanceof Xr&&(i._setIsOpen(!0),i._directDescendantItems.changes.pipe(Oe(i.close)).subscribe(()=>{a.withLockedPosition(!1).reapplyLastPosition(),a.withLockedPosition(!0)}))}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}_destroyMenu(e){let i=this._overlayRef,r=this._menu;!i||!this.menuOpen||(this._closingActionsSubscription.unsubscribe(),this._pendingRemoval?.unsubscribe(),r instanceof Xr&&this._ownsMenu(r)?(this._pendingRemoval=r._animationDone.pipe(et(1)).subscribe(()=>{i.detach(),Ta.has(r)||r.lazyContent?.detach()}),r._setIsOpen(!1)):(i.detach(),r?.lazyContent?.detach()),r&&this._ownsMenu(r)&&Ta.delete(r),this.restoreFocus&&(e==="keydown"||!this._openedBy||!this._triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,this._setIsMenuOpen(!1))}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this._triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){let i=this._getOverlayConfig(e);this._subscribeToPositions(e,i.positionStrategy),this._overlayRef=er(this._injector,i),this._overlayRef.keydownEvents().subscribe(r=>{this._menu instanceof Xr&&this._menu._handleKeydown(r)})}return this._overlayRef}_getOverlayConfig(e){return new Xi({positionStrategy:qo(this._injector,this._getOverlayOrigin()).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr",disableAnimations:this._animationsDisabled})}_subscribeToPositions(e,i){e.setPositionClasses&&i.positionChanges.subscribe(r=>{this._ngZone.run(()=>{let o=r.connectionPair.overlayX==="start"?"after":"before",s=r.connectionPair.overlayY==="top"?"below":"above";e.setPositionClasses(o,s)})})}_setPosition(e,i){let[r,o]=e.xPosition==="before"?["end","start"]:["start","end"],[s,a]=e.yPosition==="above"?["bottom","top"]:["top","bottom"],[l,c]=[s,a],[d,f]=[r,o],m=0;if(this._triggersSubmenu()){if(f=r=e.xPosition==="before"?"start":"end",o=d=r==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let h=this._parentMaterialMenu.items.first;this._parentInnerPadding=h?h._getHostElement().offsetTop:0}m=s==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(l=s==="top"?"bottom":"top",c=a==="top"?"bottom":"top");i.withPositions([{originX:r,originY:l,overlayX:d,overlayY:s,offsetY:m},{originX:o,originY:l,overlayX:f,overlayY:s,offsetY:m},{originX:r,originY:c,overlayX:d,overlayY:a,offsetY:-m},{originX:o,originY:c,overlayX:f,overlayY:a,offsetY:-m}])}_menuClosingActions(){let e=this._getOutsideClickStream(this._overlayRef),i=this._overlayRef.detachments(),r=this._parentMaterialMenu?this._parentMaterialMenu.closed:z(),o=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(de(s=>this._menuOpen&&s!==this._menuItemInstance)):z();return zt(e,r,o,i)}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new ii(e.templateRef,this._viewContainerRef)),this._portal}_ownsMenu(e){return Ta.get(e)===this}static \u0275fac=function(i){wl()};static \u0275dir=F({type:t})}return t})(),Jh=(()=>{class t extends zj{_cleanupTouchstart;_hoverSubscription=me.EMPTY;get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){this._menu=e}menuData;restoreFocus=!0;menuOpened=new U;onMenuOpen=this.menuOpened;menuClosed=new U;onMenuClose=this.menuClosed;constructor(){super(!0);let e=u(Ne);this._cleanupTouchstart=e.listen(this._element.nativeElement,"touchstart",i=>{$o(i)||(this._openedBy="touch")},{passive:!0})}triggersSubmenu(){return super._triggersSubmenu()}toggleMenu(){return this.menuOpen?this.closeMenu():this.openMenu()}openMenu(){this._openMenu(!0)}closeMenu(){this._closeMenu()}updatePosition(){this._overlayRef?.updatePosition()}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTouchstart(),this._hoverSubscription.unsubscribe()}_getOverlayOrigin(){return this._element}_getOutsideClickStream(e){return e.backdropClick()}_handleMousedown(e){zo(e)||(this._openedBy=e.button===0?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){let i=e.keyCode;(i===13||i===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(i===39&&this.dir==="ltr"||i===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().subscribe(e=>{e===this._menuItemInstance&&!e.disabled&&this._parentMaterialMenu?._panelAnimationState!=="void"&&(this._openedBy="mouse",this._openMenu(!1))}))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=F({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(i,r){i&1&&H("click",function(s){return r._handleClick(s)})("mousedown",function(s){return r._handleMousedown(s)})("keydown",function(s){return r._handleKeydown(s)}),i&2&&_e("aria-haspopup",r.menu?"menu":null)("aria-expanded",r.menuOpen)("aria-controls",r.menuOpen?r.menu==null?null:r.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],features:[Pe]})}return t})();var MM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({providers:[Hj],imports:[ba,ye,oi,Qi,ye]})}return t})(),TM={transformMenu:{type:7,name:"transformMenu",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(0.8)"},offset:null}},{type:1,expr:"void => enter",animation:{type:4,styles:{type:6,styles:{opacity:1,transform:"scale(1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}},fadeInItems:{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null}},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}},Hle=TM.fadeInItems,zle=TM.transformMenu;var $j=["tooltip"],sb=20;var ab=new y("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=u($);return()=>gn(t,{scrollThrottle:sb})}});function OM(t){let n=u($);return()=>gn(n,{scrollThrottle:sb})}var lb={provide:ab,deps:[],useFactory:OM};function NM(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var PM=new y("mat-tooltip-default-options",{providedIn:"root",factory:NM});var kM="tooltip-panel",RM=jr({passive:!0}),Gj=8,Wj=8,qj=24,Yj=200,cb=(()=>{class t{_elementRef=u(j);_ngZone=u(R);_platform=u(xe);_ariaDescriber=u(XS);_focusMonitor=u(Tn);_dir=u(Rt);_injector=u($);_viewContainerRef=u(st);_animationsDisabled=Ze();_defaultOptions=u(PM,{optional:!0});_overlayRef;_tooltipInstance;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=FM;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;_dirSubscribed=!1;get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=tr(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let i=tr(e);this._disabled!==i&&(this._disabled=i,i?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Ki(e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Ki(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(e){let i=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(i)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_touchstartTimeout=null;_destroyed=new M;_isDestroyed=!1;constructor(){let e=this._defaultOptions;e&&(this._showDelay=e.showDelay,this._hideDelay=e.hideDelay,e.position&&(this.position=e.position),e.positionAtOrigin&&(this.positionAtOrigin=e.positionAtOrigin),e.touchGestures&&(this.touchGestures=e.touchGestures),e.tooltipClass&&(this.tooltipClass=e.tooltipClass)),this._viewportMargin=Gj}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Oe(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{e.removeEventListener(i,r,RM)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let r=this._createOverlay(i);this._detach(),this._portal=this._portal||new Vr(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(Oe(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let s=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&s._origin instanceof j)return this._overlayRef;this._detach()}let i=this._injector.get(Hr).getAncestorScrollContainers(this._elementRef),r=`${this._cssClassPrefix}-${kM}`,o=qo(this._injector,this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(Oe(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=er(this._injector,{direction:this._dir,positionStrategy:o,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,r]:r,scrollStrategy:this._injector.get(ab)(),disableAnimations:this._animationsDisabled}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Oe(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Oe(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(Oe(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&s.keyCode===27&&!pt(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(Oe(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let i=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset(b(b({},r.main),o.main)),this._addOffset(b(b({},r.fallback),o.fallback))])}_addOffset(e){let i=Wj,r=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-i:e.originY==="bottom"?e.offsetY=i:e.originX==="start"?e.offsetX=r?-i:i:e.originX==="end"&&(e.offsetX=r?i:-i),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"||i=="below"?r={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={originX:"start",originY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={originX:"end",originY:"center"});let{x:o,y:s}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:s}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"?r={overlayX:"center",overlayY:"bottom"}:i=="below"?r={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={overlayX:"start",overlayY:"center"});let{x:o,y:s}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),Mt(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){let{overlayY:i,originX:r,originY:o}=e,s;if(i==="center"?this._dir&&this._dir.value==="rtl"?s=r==="end"?"left":"right":s=r==="start"?"left":"right":s=i==="bottom"&&o==="top"?"above":"below",s!==this._currentPosition){let a=this._overlayRef;if(a){let l=`${this._cssClassPrefix}-${kM}-`;a.removePanelClass(l+this._currentPosition),a.addPanelClass(l+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let i;e.x!==void 0&&e.y!==void 0&&(i=e),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let i=e.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},this._defaultOptions?.touchLongPressShowDelay??o)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{let r=i.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,RM)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let i=this._injector.get(G).elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let i=this._elementRef.nativeElement,r=i.style;(e==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(e==="on"||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._isDestroyed||Mt({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=F({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){i&2&&ne("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return t})(),FM=(()=>{class t{_changeDetectorRef=u(Fe);_elementRef=u(j);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=Ze();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new M;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>qj&&e.width>=Yj}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:r),i.classList.add(e?r:o),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let s=getComputedStyle(i);(s.getPropertyValue("animation-duration")==="0s"||s.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,r){if(i&1&&Ie($j,7),i&2){let o;oe(o=se())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,r){i&1&&H("mouseleave",function(s){return r._handleMouseLeave(s)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,r){if(i&1){let o=we();p(0,"div",1,0),H("animationend",function(a){return ue(o),fe(r._handleAnimationEnd(a))}),p(2,"div",2),C(3),g()()}i&2&&(ne("mdc-tooltip--multiline",r._isMultiline),D("ngClass",r.tooltipClass),_(3),lt(r.message))},dependencies:[ko],styles:[`.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel{line-height:normal}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards} +`],encapsulation:2,changeDetection:0})}return t})();var db=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({providers:[lb],imports:[fc,oi,ye,ye,Qi]})}return t})();function Qj(t,n){if(t&1){let e=we();p(0,"button",14),H("click",function(){let r=ue(e).$implicit,o=L(2);return fe(o.launch(r))}),p(1,"div",15),V(2,"img",9),C(3),g()()}if(t&2){let e=n.$implicit,i=L(2);_(2),D("src",i.getTransportIcon(e.id),ft),_(),Ee(" ",e.name," ")}}function Zj(t,n){if(t&1){let e=we();p(0,"button",14),H("click",function(){ue(e);let r=L(2);return fe(r.action("release"))}),p(1,"i",16),C(2,"delete"),g(),p(3,"uds-translate"),C(4," Release service"),g()()}}function Xj(t,n){if(t&1){let e=we();p(0,"button",14),H("click",function(){ue(e);let r=L(2);return fe(r.action("reset"))}),p(1,"i",16),C(2,"refresh"),g(),p(3,"uds-translate"),C(4," Reset service"),g()()}}function Jj(t,n){if(t&1&&(p(0,"button",17)(1,"uds-translate"),C(2,"Connections"),g()()),t&2){L();let e=At(2);D("matMenuTriggerFor",e)}}function eB(t,n){if(t&1&&(p(0,"button",17)(1,"uds-translate"),C(2,"Actions"),g()()),t&2){L();let e=At(5);D("matMenuTriggerFor",e)}}function tB(t,n){if(t&1&&(p(0,"button",18)(1,"i",16),C(2,"menu"),g()()),t&2){L();let e=At(9);D("matMenuTriggerFor",e)}}function nB(t,n){if(t&1){let e=we();p(0,"div")(1,"mat-menu",null,0),te(3,Qj,4,2,"button",4),g(),p(4,"mat-menu",null,1),te(6,Zj,5,0,"button",5)(7,Xj,5,0,"button",5),g(),p(8,"mat-menu",null,2),te(10,Jj,3,1,"button",6)(11,eB,3,1,"button",6),g(),p(12,"div",7)(13,"div",8),H("click",function(){ue(e);let r=L();return fe(r.launch(null))}),V(14,"img",9),g(),p(15,"div",10)(16,"span",11),C(17),g()(),p(18,"div",12),te(19,tB,3,1,"button",13),g()()()}if(t&2){let e=L();_(3),D("ngForOf",e.service.transports),_(3),D("ngIf",e.service.allow_users_remove),_(),D("ngIf",e.service.allow_users_reset),_(3),D("ngIf",e.showTransportsMenu()),_(),D("ngIf",e.hasActions()),_(),D("ngClass",e.serviceClass)("matTooltipDisabled",e.serviceTooltip==="")("matTooltip",e.serviceTooltip),_(2),D("src",e.serviceImage,ft),_(2),D("ngClass",e.serviceNameClass),_(),lt(e.serviceName),_(2),D("ngIf",e.hasMenu())}}var LM=32,VM=(()=>{class t{constructor(e){this.api=e,this.service={}}get serviceImage(){return this.api.galleryImageURL(this.service.imageId)}get serviceName(){let e=this.service.visual_name;return e.length>LM&&(e=e.substring(0,LM-3)+"..."),e}get serviceTooltip(){return this.service.to_be_replaced!==null?this.service.to_be_replaced_text:this.service.maintenance?django.gettext("Service is in maintenance"):this.service.not_accesible?this.service.custom_calendar_text:this.serviceName!==this.service.name?this.service.name:""}get serviceClass(){let e=["service"];return this.service.to_be_replaced!=null?e.push("tobereplaced"):this.service.maintenance?e.push("maintenance"):this.service.not_accesible?e.push("forbidden"):this.service.in_use&&e.push("inuse"),e.length>1&&e.push("alert"),e}get serviceNameClass(){let e=[],i=Math.min(Math.floor((this.service.visual_name.length-1)/4)*4,28);return i>=16&&e.push("small-"+i.toString()),e}ngOnInit(){}getTransportIcon(e){return this.api.transportIconURL(e)}hasActions(){return this.service.allow_users_remove||this.service.allow_users_reset}showTransportsMenu(){return this.service.transports.length>1&&this.service.show_transports}hasMenu(){return this.service.maintenance===!1&&this.service.not_accesible===!1&&(this.hasActions()||this.showTransportsMenu())}notifyNotLaunching(e){this.api.gui.alert('

'+django.gettext("Launcher")+"

",e)}launch(e){return Se(this,null,function*(){if(this.service.maintenance)this.notifyNotLaunching(django.gettext("Service is in maintenance and cannot be launched"));else if(this.service.not_accesible){let i=this.service.custom_calendar_text||this.api.config.messages.calendar_denied;this.notifyNotLaunching('

'+django.gettext("This service is currently not accesible due to schedule restrictions.")+'

'+i+'

')}else{if((e===null||this.service.show_transports===!1)&&(e=this.service.transports[0]),this.service.custom_message_text!==null&&this.service.custom_message_text!==void 0){if((yield this.api.gui.yesno(django.gettext("Service message"),this.service.custom_message_text+"

"+django.gettext('Press "Yes" to continue, or "No" to cancel')+"

"))===!1)return;console.debug("Launching service with transport",e)}this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(e.link)}})}action(e){return Se(this,null,function*(){let i=(e==="release"?django.gettext("Release service: "):django.gettext("Reset service: "))+" "+this.serviceName,r=e==="release"?django.gettext("Service released"):django.gettext("Service reseted");(yield this.api.gui.yesno(i,django.gettext("Are you sure?")))!==!1&&this.api.action(e,this.service.id).then(o=>{o&&this.api.gui.alert(i,r)})})}static{this.\u0275fac=function(i){return new(i||t)(k(Me))}}static{this.\u0275cmp=A({type:t,selectors:[["uds-service"]],inputs:{service:"service"},standalone:!1,decls:1,vars:1,consts:[["transports",""],["actions",""],["menu",""],[4,"ngIf"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["matTooltipShowDelay","1000","matTooltipPosition","above",3,"ngClass","matTooltipDisabled","matTooltip"],[1,"icon",3,"click"],[3,"src"],[1,"name"],[3,"ngClass"],[1,"menu"],["mat-icon-button","","class","service-menu",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"transport-item"],[1,"material-icons"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-icon-button","",1,"service-menu",3,"matMenuTriggerFor"]],template:function(i,r){i&1&&te(0,nB,20,12,"div",3),i&2&&D("ngIf",r.service.transports.length>0)},dependencies:[ko,xt,kt,ky,Xr,Zo,Jh,cb,We],styles:['.service[_ngcontent-%COMP%]{width:10rem;margin:0 1rem 2rem 0;padding:.5rem 0 1rem;border-radius:1rem;box-shadow:0 12px 18px #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-color:#00000038;display:flex;flex:1;align-items:center;justify-content:flex-start;flex-flow:column wrap;position:relative}.service-menu[_ngcontent-%COMP%]{border-radius:.6rem!important}.service[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px #00000040,0 10px 10px #00000038}.icon[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:center;transition:all .3s cubic-bezier(.25,.8,.25,1);width:6rem;height:6rem;margin:.5rem}.service[_ngcontent-%COMP%]:not(.forbidden):not(.maintenance):hover .icon[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.25,.8,.25,1);width:7rem;height:7rem;margin:0}.icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden}.forbidden[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .maintenance[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.5;z-index:10}.tobereplaced[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.7;z-index:10}.name[_ngcontent-%COMP%]{margin-top:.5em;font-size:1.05rem;width:calc(100% - 1em);display:flex;flex:1 0 auto;flex-flow:row;align-items:center;justify-content:center;padding:0 .5em;overflow:hidden;height:2.4em;text-align:center}.small-16[_ngcontent-%COMP%]{font-size:1.05rem}.small-20[_ngcontent-%COMP%]{font-size:1rem}.small-24[_ngcontent-%COMP%]{font-size:.95rem}.small-28[_ngcontent-%COMP%]{font-size:.9rem}.menu[_ngcontent-%COMP%]{position:absolute;top:2px;right:2px}.menu[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%]{cursor:pointer;background-color:#fffc}.menu[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1)}.transport-item[_ngcontent-%COMP%]{display:flex;align-items:center}.transport-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2em;margin-right:.4em}.alert[_ngcontent-%COMP%]:before{position:absolute;top:1rem;left:1rem;font-size:8rem;font-weight:500;font-family:Material Icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-moz-font-feature-settings:"liga";font-feature-settings:"liga";text-shadow:0 6px 8px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);z-index:1}.forbidden[_ngcontent-%COMP%]:before{color:#fc0000;content:"update"}.maintenance[_ngcontent-%COMP%]:before{color:#fcb900;content:"build"}.tobereplaced[_ngcontent-%COMP%]:before{color:#fc0000;content:"delete_forever"} .dark-theme .menu .mat-mdc-icon-button{background-color:#0003!important}']})}}return t})();function rB(t,n){if(t&1&&V(0,"uds-service",8),t&2){let e=n.$implicit;D("service",e)}}function oB(t,n){if(t&1&&(p(0,"mat-expansion-panel",1)(1,"mat-expansion-panel-header",2)(2,"mat-panel-title")(3,"div",3),V(4,"img",4),C(5),g()(),p(6,"mat-panel-description",5),C(7),g()(),p(8,"div",6),te(9,rB,1,1,"uds-service",7),g()()),t&2){let e=L();D("expanded",e.expanded),_(),D("collapsedHeight","3rem")("expandedHeight","5rem"),_(3),D("src",e.groupImage,ft),_(),Ee(" ",e.group.name),_(2),Ee(" ",e.group.comments," "),_(2),D("ngForOf",e.sortedServices)}}var jM=(()=>{class t{constructor(e){this.api=e,this.services=[],this.group={},this.expanded=!1}get groupImage(){return this.api.galleryImageURL(this.group.imageUuid)}get hasVisibleServices(){return this.services.length>0}get sortedServices(){return this.services.sort((e,i)=>e.visual_name>i.visual_name?1:e.visual_namei.name?1:e.name{class t{constructor(e){this.api=e}ngOnInit(){}static{this.\u0275fac=function(i){return new(i||t)(k(Me))}}static{this.\u0275cmp=A({type:t,selectors:[["uds-staff-info"]],standalone:!1,decls:1,vars:1,consts:[["class","staff-info",4,"ngIf"],[1,"staff-info"],[1,"staff-panel"],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(i,r){i&1&&te(0,dB,39,4,"div",0),i&2&&D("ngIf",r.api.staffInfo)},dependencies:[xt,kt,Zh,Vc,jc,Qh,Kh,We],styles:[".staff-info[_ngcontent-%COMP%]{margin-top:1rem;padding:1rem;background-color:#ebebeb}.staff-info[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{text-align:center}.staff-panel[_ngcontent-%COMP%]{background-color:#d4d4d4} .dark-theme .staff-info{margin-top:1rem;padding:1rem;background-color:#0f0f0f} .dark-theme .staff-panel{background-color:#2b2b2b}"]})}}return t})();var fB=["input"],UM=(()=>{class t{constructor(){this.updateEvent=new U,this.input=void 0}ngAfterViewInit(){if(this.input===void 0)throw new Error("input atrribute is not provided");let e=this.input;Ua(e.nativeElement,"keyup").pipe(de(Boolean),ho(600),ms(),it(()=>this.update(e.nativeElement.value))).subscribe()}update(e){this.updateEvent.emit(e.toLowerCase())}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["uds-filter"]],viewQuery:function(i,r){if(i&1&&Ie(fB,7),i&2){let o;oe(o=se())&&(r.input=o.first)}},outputs:{updateEvent:"updateEvent"},standalone:!1,decls:9,vars:0,consts:[["input",""],[1,"filter"],["floatLabel","auto",1,"nav-input-field"],["matInput","","type","text"],["matSuffix","",1,"material-icons"]],template:function(i,r){i&1&&(p(0,"div",1)(1,"mat-form-field",2)(2,"mat-label")(3,"uds-translate"),C(4,"Filter"),g()(),V(5,"input",3,0),p(7,"i",4),C(8,"search"),g()()())},dependencies:[li,ai,Gy,Kr,We],styles:[".filter[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;justify-content:flex-end;font-size:.8rem}"]})}}return t})();function pB(t,n){if(t&1){let e=we();p(0,"uds-filter",3),H("updateEvent",function(r){ue(e);let o=L();return fe(o.update(r))}),g()}}function mB(t,n){if(t&1&&V(0,"uds-services-group",4),t&2){let e=n.$implicit,i=n.index;D("services",e.services)("group",e.group)("expanded",i===0)}}function gB(t,n){if(t&1){let e=we();p(0,"uds-filter",3),H("updateEvent",function(r){ue(e);let o=L();return fe(o.update(r))}),g()}}var ub=class{constructor(n){this.group=n,this.services=[]}},HM=(()=>{class t{constructor(e){this.api=e,this.servicesInformation={autorun:!1,ip:"",nets:"",services:[],transports:""},this.group=[]}update(e){this.updateServices(e)}ngOnInit(){this.api.config.urls.launch?this.api.logout():this.loadServices()}autorun(){if(this.servicesInformation.autorun&&this.servicesInformation.services.length===1)if(this.servicesInformation.services[0].maintenance)this.api.gui.alert(django.gettext("Warning"),django.gettext("Service is in maintenance and cannot be executed"));else return this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(this.servicesInformation.services[0].transports[0].link),!0;return!1}loadServices(){this.api.user.isRestricted&&this.api.logout(),this.api.getServicesInformation().then(e=>{this.servicesInformation=e,this.autorun(),this.updateServices()})}updateServices(e=""){this.group=[];let i=null;this.servicesInformation.services.filter(r=>!e||r.visual_name.toLowerCase().includes(e)||r.group.name.toLowerCase().includes(e)).sort((r,o)=>r.group.priority!==o.group.priority?r.group.priority-o.group.priority:r.group.id>o.group.id?1:r.group.id{(i===null||r.group.id!==i.group.id)&&(i!==null&&this.group.push(i),i=new ub(r.group)),i.services.push(r)}),i!==null&&this.group.push(i)}static{this.\u0275fac=function(i){return new(i||t)(k(Me))}}static{this.\u0275cmp=A({type:t,selectors:[["uds-services-page"]],standalone:!1,decls:6,vars:3,consts:[[3,"updateEvent",4,"ngIf"],[1,"services-groups"],[3,"services","group","expanded",4,"ngFor","ngForOf"],[3,"updateEvent"],[3,"services","group","expanded"]],template:function(i,r){i&1&&(te(0,pB,1,0,"uds-filter",0),p(1,"div",1)(2,"mat-accordion"),te(3,mB,1,3,"uds-services-group",2),g()(),te(4,gB,1,0,"uds-filter",0),V(5,"uds-staff-info")),i&2&&(D("ngIf",r.servicesInformation.services.length>=r.api.config.min_for_filter&&r.api.config.site_filter_on_top),_(3),D("ngForOf",r.group),_(),D("ngIf",r.servicesInformation.services.length>=r.api.config.min_for_filter&&!r.api.config.site_filter_on_top))},dependencies:[xt,kt,Zh,jM,BM,UM],styles:[".services-groups[_ngcontent-%COMP%]{padding-top:1rem}"]})}}return t})();var zM=(()=>{class t{constructor(e,i){this.api=e,this.route=i,this.error="",this.returnUrl="/"}ngOnInit(){return Se(this,null,function*(){yield this.getError()})}getError(){return Se(this,null,function*(){let e=this.route.snapshot.paramMap.get("id")||"-1";e==="19"&&(this.returnUrl="/mfa"),this.error=(yield this.api.getErrorInformation(e)).error})}static{this.\u0275fac=function(i){return new(i||t)(k(Me),k(ti))}}static{this.\u0275cmp=A({type:t,selectors:[["uds-error"]],standalone:!1,decls:14,vars:2,consts:[[1,"error-container"],[1,"graph"],["viewBox","0 0 55 41","xmlns","http://www.w3.org/2000/svg",1,"bird"],["d","M35.5 5L54.7.6H32.3L35.5 5zM12.4 40.8l10.3-10.1-6.2-6.7-4.1 16.8zM33.8 5.3L30.5.8l-5.4 4 8.7.5zM20.8 4.6L8.8 0l1.9 4.1 10.1.5zM0 5l15.2 15.4 7.5-14.2L0 5zM34.2 6.8l-9.9-.5-8 15.2 7.4 8.1 8-7.9 2.5-14.9z"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 32 32",1,"gears"],["d","M29.18 19.07c-1.678-2.908-.668-6.634 2.256-8.328L28.29 5.295c-.897.527-1.942.83-3.057.83-3.36 0-6.085-2.743-6.085-6.126h-6.29c.01 1.043-.25 2.102-.81 3.07-1.68 2.907-5.41 3.896-8.34 2.21L.566 10.727c.905.515 1.69 1.268 2.246 2.234 1.677 2.904.673 6.624-2.24 8.32l3.145 5.447c.895-.522 1.935-.82 3.044-.82 3.35 0 6.066 2.725 6.083 6.092h6.29c-.004-1.035.258-2.08.81-3.04 1.676-2.902 5.4-3.893 8.325-2.218l3.145-5.447c-.9-.515-1.678-1.266-2.232-2.226zM16 22.48c-3.578 0-6.48-2.902-6.48-6.48S12.423 9.52 16 9.52c3.578 0 6.48 2.902 6.48 6.48s-2.902 6.48-6.48 6.48z"],[1,"title"],[1,"description"],["mat-raised-button","","color","warn",3,"routerLink"]],template:function(i,r){i&1&&(p(0,"div",0)(1,"div",1),In(),p(2,"svg",2),V(3,"path",3),g(),p(4,"svg",4),V(5,"path",5),g()(),Ms(),p(6,"h1",6)(7,"uds-translate"),C(8,"An error has occurred"),g()(),p(9,"p",7),C(10),g(),p(11,"a",8)(12,"uds-translate"),C(13,"Return"),g()()()),i&2&&(_(10),Ee(" ",r.error," "),_(),D("routerLink",r.returnUrl))},dependencies:[Lr,kn,We],styles:[".error-container[_ngcontent-%COMP%]{margin-top:3rem;text-align:center;position:relative}.title[_ngcontent-%COMP%]{display:block;font-size:2rem;font-weight:lighter;text-align:center}.description[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:lighter}.graph[_ngcontent-%COMP%]{position:relative}.gears[_ngcontent-%COMP%]{width:10rem;height:10rem;fill:#6aafe6;transition:easeInOutQuint();animation:_ngcontent-%COMP%_CogAnimation 5s infinite}.bird[_ngcontent-%COMP%]{position:absolute;width:3rem;height:3rem;fill:#30a9de;left:50%;top:50%;transform:translate(-50%,-50%)}@keyframes _ngcontent-%COMP%_CogAnimation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]})}}return t})();var $M=(()=>{class t{constructor(e){this.api=e,this.year=new Date().getFullYear()}ngOnInit(){this.year<2021&&(this.year=2021)}static{this.\u0275fac=function(i){return new(i||t)(k(Me))}}static{this.\u0275cmp=A({type:t,selectors:[["uds-about"]],standalone:!1,decls:46,vars:3,consts:[[1,"about"],["rel","noopener noreferrer","href","http://www.udsenterprise.com","target","_blank"],["rel","noopener noreferrer","href","https://github.com/dkmstr/openuds","target","_blank"],[1,"components"],["rel","noopener noreferrer","href","https://www.python.org/","target","_blank"],["rel","noopener noreferrer","href","https://www.typescriptlang.org/","target","_blank"],["rel","noopener noreferrer","href","https://www.djangoproject.com/","target","_blank"],["rel","noopener noreferrer","href","https://angular.io","target","_blank"],["rel","noopener noreferrer","href","https://guac-dev.org/","target","_blank"],["rel","noopener noreferrer","href","https://weasyprint.org/","target","_blank"],["rel","noopener noreferrer","href","https://kde-look.org/content/show.php/Crystal+Project?content=60475)","target","_blank"],["rel","noopener noreferrer","href","https://github.com/NitruxSA/flattr-icons","target","_blank"]],template:function(i,r){i&1&&(p(0,"div",0)(1,"h1"),C(2),g(),p(3,"h3")(4,"a",1),C(5),g()(),p(6,"h4")(7,"uds-translate"),C(8,"You can access UDS Open Source code at"),g(),C(9,"\xA0"),p(10,"a",2),C(11,"OpenUDS github repository"),g()(),p(12,"div",3)(13,"h2")(14,"uds-translate"),C(15,"UDS has been developed using these components:"),g()(),p(16,"ul")(17,"li")(18,"a",4),C(19,"Python"),g()(),p(20,"li")(21,"a",5),C(22,"TypeScript"),g()(),p(23,"li")(24,"a",6),C(25,"Django"),g()(),p(26,"li")(27,"a",7),C(28,"Angular"),g()(),p(29,"li")(30,"a",8),C(31,"Guacamole"),g()(),p(32,"li")(33,"a",9),C(34,"weasyprint"),g()(),p(35,"li")(36,"a",10),C(37,"Crystal project icons"),g()(),p(38,"li")(39,"a",11),C(40,"Flattr Icons"),g()()(),p(41,"p")(42,"small"),C(43,"* "),p(44,"uds-translate"),C(45,"If you find that we missed any component, please let us know"),g()()()()()),i&2&&(_(2),tf("Universal Desktop Services ",r.api.config.version," build ",r.api.config.version_stamp),_(3),Ee(" \xA9 2012-",r.year," Virtual Cable S.L.U."))},dependencies:[We],styles:["[_nghost-%COMP%]{display:flex;flex-flow:column;justify-content:center;align-items:center}.about[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{text-align:center}.about[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:center;font-size:1em;font-weight:400}.about[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}ul[_ngcontent-%COMP%]{padding:0}ul[_ngcontent-%COMP%]{list-style:none}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;text-decoration:none;color:#000;background-color:#fff;line-height:30px;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#ccc;padding-left:10px;cursor:pointer}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#3e6b2d}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-right:10px} .dark-theme .about{color:#fff!important} .dark-theme ul li a{color:#fff!important;background-color:inherit!important} .dark-theme ul li a:hover{color:#3e6b2d!important}"]})}}return t})();var GM=(()=>{class t{constructor(e){this.api=e}ngOnInit(){this.api.config.urls.launch&&this.api.launchURL(this.api.config.urls.launch)}static{this.\u0275fac=function(i){return new(i||t)(k(Me))}}static{this.\u0275cmp=A({type:t,selectors:[["uds-launcher"]],standalone:!1,decls:24,vars:0,consts:[[1,"launcher"],[1,"launcher-box"],["routerLink","/client-download"]],template:function(i,r){i&1&&(p(0,"div",0)(1,"div",1)(2,"h1")(3,"uds-translate"),C(4,"UDS Service launcher"),g()(),p(5,"h4")(6,"uds-translate"),C(7,"The service you have requested is being launched."),g()(),p(8,"h5")(9,"uds-translate"),C(10,"Please, note that reloading this page will not work."),g()(),p(11,"h5")(12,"uds-translate"),C(13,"To relaunch service, you will have to do it from origin."),g()(),p(14,"h6")(15,"uds-translate"),C(16,"If the service does not launchs automatically, probably you dont have the UDS Client installed"),g()(),p(17,"h6")(18,"uds-translate"),C(19,"You can obtain it from the"),g(),C(20,"\xA0"),p(21,"a",2)(22,"uds-translate"),C(23,"UDS Client download page"),g()()()()())},dependencies:[Lr,We],styles:[".launcher[_ngcontent-%COMP%]{justify-content:center;display:flex;margin-top:1rem;font-size:larger}.launcher-box[_ngcontent-%COMP%]{box-shadow:0 12px 18px #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-radius:.5rem;border-color:#00000038;padding:1rem}.launcher-box[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{text-align:center}.launcher-box[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{margin-top:.6rem;margin-bottom:.6rem;font-weight:400}"]})}}return t})();var vB=["mat-internal-form-field",""],_B=["*"],WM=(()=>{class t{labelPosition;static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(i,r){i&2&&ne("mdc-form-field--align-end",r.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},attrs:vB,ngContentSelectors:_B,decls:1,vars:0,template:function(i,r){i&1&&(Qe(),pe(0))},styles:[`.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0} +`],encapsulation:2,changeDetection:0})}return t})();var yB=["input"],bB=["label"],CB=["*"],wB=new y("mat-checkbox-default-options",{providedIn:"root",factory:YM});function YM(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var Ut=(function(t){return t[t.Init=0]="Init",t[t.Checked=1]="Checked",t[t.Unchecked=2]="Unchecked",t[t.Indeterminate=3]="Indeterminate",t})(Ut||{}),fb=class{source;checked},qM=YM(),hb=(()=>{class t{_elementRef=u(j);_changeDetectorRef=u(Fe);_ngZone=u(R);_animationsDisabled=Ze();_options=u(wB,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let i=new fb;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required;labelPosition="after";name=null;change=new U;indeterminateChange=new U;value;disableRipple;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=Ut.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){u(ot).load(Ni);let e=u(new Ii("tabindex"),{optional:!0});this._options=this._options||qM,this.color=this._options.color||qM.color,this.tabIndex=e==null?0:parseInt(e)||0,this.id=this._uniqueId=u(Ge).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.disabledInteractive??!1}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this.indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}_checked=!1;get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate()}set indeterminate(e){let i=e!=this._indeterminate();this._indeterminate.set(e),i&&(e?this._transitionCheckState(Ut.Indeterminate):this._transitionCheckState(this.checked?Ut.Checked:Ut.Unchecked),this.indeterminateChange.emit(e)),this._syncIndeterminate(e)}_indeterminate=Ce(!1);_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let i=this._currentCheckState,r=this._getAnimationTargetElement();if(!(i===e||!r)&&(this._currentAnimationClass&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);let o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate.set(!1),this.indeterminateChange.emit(!1)}),this._checked=!this._checked,this._transitionCheckState(this._checked?Ut.Checked:Ut.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&e==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if(this._animationsDisabled)return"";switch(e){case Ut.Init:if(i===Ut.Checked)return this._animationClasses.uncheckedToChecked;if(i==Ut.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case Ut.Unchecked:return i===Ut.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case Ut.Checked:return i===Ut.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case Ut.Indeterminate:return i===Ut.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["mat-checkbox"]],viewQuery:function(i,r){if(i&1&&(Ie(yB,5),Ie(bB,5)),i&2){let o;oe(o=se())&&(r._inputElement=o.first),oe(o=se())&&(r._labelElement=o.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(i,r){i&2&&(qt("id",r.id),_e("tabindex",null)("aria-label",null)("aria-labelledby",null),Yt(r.color?"mat-"+r.color:"mat-accent"),ne("_mat-animation-noopable",r._animationsDisabled)("mdc-checkbox--disabled",r.disabled)("mat-mdc-checkbox-disabled",r.disabled)("mat-mdc-checkbox-checked",r.checked)("mat-mdc-checkbox-disabled-interactive",r.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",W],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",W],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",W],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:Mi(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",W],checked:[2,"checked","checked",W],disabled:[2,"disabled","disabled",W],indeterminate:[2,"indeterminate","indeterminate",W]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[Be([{provide:Lh,useExisting:Cn(()=>t),multi:!0},{provide:Nc,useExisting:t,multi:!0}]),He],ngContentSelectors:CB,decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(i,r){if(i&1){let o=we();Qe(),p(0,"div",3),H("click",function(a){return ue(o),fe(r._preventBubblingFromLabel(a))}),p(1,"div",4,0)(3,"div",5),H("click",function(){return ue(o),fe(r._onTouchTargetClick())}),g(),p(4,"input",6,1),H("blur",function(){return ue(o),fe(r._onBlur())})("click",function(){return ue(o),fe(r._onInputClick())})("change",function(a){return ue(o),fe(r._onInteractionEvent(a))}),g(),V(6,"div",7),p(7,"div",8),In(),p(8,"svg",9),V(9,"path",10),g(),Ms(),V(10,"div",11),g(),V(11,"div",12),g(),p(12,"label",13,2),pe(14),g()()}if(i&2){let o=At(2);D("labelPosition",r.labelPosition),_(4),ne("mdc-checkbox--selected",r.checked),D("checked",r.checked)("indeterminate",r.indeterminate)("disabled",r.disabled&&!r.disabledInteractive)("id",r.inputId)("required",r.required)("tabIndex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex),_e("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby)("aria-describedby",r.ariaDescribedby)("aria-checked",r.indeterminate?"mixed":null)("aria-controls",r.ariaControls)("aria-disabled",r.disabled&&r.disabledInteractive?!0:null)("aria-expanded",r.ariaExpanded)("aria-owns",r.ariaOwns)("name",r.name)("value",r.value),_(7),D("matRippleTrigger",o)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0),_(),D("for",r.inputId)}},dependencies:[ya,WM],styles:[`.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover>.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:hover>.mat-mdc-checkbox-ripple>.mat-ripple-element{background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active>.mdc-checkbox__native-control+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active>.mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control+.mdc-checkbox__ripple{background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1;width:var(--mat-checkbox-state-layer-size, 40px);height:var(--mat-checkbox-state-layer-size, 40px);top:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2);right:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2);left:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mat-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));top:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}@media(forced-colors: active){.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mat-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover>.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mat-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover>.mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover>.mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:GrayText}}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:GrayText}}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-touch-target,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__native-control,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__ripple,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-ripple::before,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__mixedmark{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{color:GrayText}}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox .mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox .mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-checkbox-touch-target-size, 48px);width:var(--mat-checkbox-touch-target-size, 48px);transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display, block)}.mat-mdc-checkbox .mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-focus-indicator::before{content:""} +`],encapsulation:2,changeDetection:0})}return t})(),KM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({imports:[hb,ye,ye]})}return t})();function xB(t,n){if(t&1&&(p(0,"div",6)(1,"mat-checkbox",14)(2,"uds-translate"),C(3,"Remember me for"),g(),C(4),g()()),t&2){let e=L();_(4),Ee(" ",e.api.config.mfa.remember_device," ")}}function DB(t,n){t&1&&V(0,"input",15)}var QM=(()=>{class t{constructor(e){this.api=e}ngOnInit(){let e=document.getElementById("mfaform");e.action=this.api.config.urls.mfa,this.api.user.isLogged&&this.api.router.navigate(["/"]),this.api.errors.length>0&&this.api.gui.alert(django.gettext("Errors found"),"
"+this.api.errors.join("
")+"
")}launch(){return document.getElementById("mfaform").submit(),!0}static{this.\u0275fac=function(i){return new(i||t)(k(Me))}}static{this.\u0275cmp=A({type:t,selectors:[["uds-mfa"]],standalone:!1,decls:22,vars:7,consts:[["id","mfaform","method","post",3,"ngSubmit"],[1,"mfa-container"],[1,"mfa-brand"],[3,"src"],[1,"mfa-info"],[1,"mfa-form"],[1,"mfa-field"],["matInput","","id","code","name","code","value","","required","","autofocus",""],["class","mfa-field",4,"ngIf"],["type","hidden","name","remember","value","0",4,"ngIf"],[1,"mfa-button"],["mat-stroked-button","","color","primary","type","submit"],[1,"mfa-html-container"],[1,"mfa-html",3,"innerHtml"],["id","remember","name","remember"],["type","hidden","name","remember","value","0"]],template:function(i,r){i&1&&(p(0,"form",0),H("ngSubmit",function(){return r.launch()}),p(1,"div",1)(2,"div",2),V(3,"img",3),g(),p(4,"div",4)(5,"uds-translate"),C(6,"Login Verification"),g()(),p(7,"div",5)(8,"div",6)(9,"mat-form-field")(10,"mat-label"),C(11),g(),V(12,"input",7),g()(),te(13,xB,5,1,"div",8)(14,DB,1,0,"input",9),p(15,"div",10)(16,"button",11)(17,"uds-translate"),C(18,"Submit"),g()()()()()(),p(19,"div",12),V(20,"div",13),Yn(21,"safeHtml"),g()),i&2&&(_(3),D("src",r.api.staticURL("modern/img/login-img.png"),ft),_(8),Ee(" ",r.api.config.mfa.label," "),_(2),D("ngIf",r.api.config.mfa.remember_device!==""),_(),D("ngIf",r.api.config.mfa.remember_device===""),_(6),D("innerHtml",Kn(21,5,r.api.config.mfa.html),qn))},dependencies:[kt,Da,xa,si,kn,li,ai,Kr,hb,We,Gr],styles:[".mfa-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.mfa-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;-moz-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2);box-shadow:0 2px 2px #00000024,0 3px 1px -2px #0000001f,0 1px 5px #0003;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.mfa-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.mfa-button[_ngcontent-%COMP%]{margin:2rem}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.mfa-info[_ngcontent-%COMP%]{margin:1rem}.mfa-html-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center;margin:1rem}@media only screen and (max-width:744px){.mfa-form[_ngcontent-%COMP%]{min-width:80%}}"]})}}return t})();var SB=[{path:"",redirectTo:"services",pathMatch:"full"},{path:"services",component:HM,canActivate:[Wy]},{path:"login",component:eb},{path:"login/:id",component:eb},{path:"mfa",component:QM},{path:"client-download",component:yM},{path:"downloads",component:bM,canActivate:[Wy]},{path:"error/:id",component:zM},{path:"about",component:$M},{path:"ticket/launcher",component:GM},{path:"**",redirectTo:"services"}],ZM=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=P({type:t})}static{this.\u0275inj=N({imports:[nh.forRoot(SB,{}),nh]})}}return t})();var ve=(function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t})(ve||{}),ci="*";function XM(t,n=null){return{type:ve.Sequence,steps:t,options:n}}function pb(t){return{type:ve.Style,styles:t,offset:null}}var ir=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(n=0,e=0){this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Aa=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(n){this.players=n;let e=0,i=0,r=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){let e=n*this.totalTime;this.players.forEach(i=>{let r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){let n=this.players.reduce((e,i)=>e===null||i.totalTime>e.totalTime?i:e,null);return n!=null?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Bc="!";function JM(t){return new x(3e3,!1)}function IB(){return new x(3100,!1)}function MB(){return new x(3101,!1)}function TB(t){return new x(3001,!1)}function AB(t){return new x(3003,!1)}function kB(t){return new x(3004,!1)}function tT(t,n){return new x(3005,!1)}function nT(){return new x(3006,!1)}function iT(){return new x(3007,!1)}function rT(t,n){return new x(3008,!1)}function oT(t){return new x(3002,!1)}function sT(t,n,e,i,r){return new x(3010,!1)}function aT(){return new x(3011,!1)}function lT(){return new x(3012,!1)}function cT(){return new x(3200,!1)}function dT(){return new x(3202,!1)}function uT(){return new x(3013,!1)}function fT(t){return new x(3014,!1)}function hT(t){return new x(3015,!1)}function pT(t){return new x(3016,!1)}function mT(t,n){return new x(3404,!1)}function RB(t){return new x(3502,!1)}function gT(t){return new x(3503,!1)}function vT(){return new x(3300,!1)}function _T(t){return new x(3504,!1)}function yT(t){return new x(3301,!1)}function bT(t,n){return new x(3302,!1)}function CT(t){return new x(3303,!1)}function wT(t,n){return new x(3400,!1)}function ET(t){return new x(3401,!1)}function xT(t){return new x(3402,!1)}function DT(t,n){return new x(3505,!1)}function rr(t){switch(t.length){case 0:return new ir;case 1:return t[0];default:return new Aa(t)}}function _b(t,n,e=new Map,i=new Map){let r=[],o=[],s=-1,a=null;if(n.forEach(l=>{let c=l.get("offset"),d=c==s,f=d&&a||new Map;l.forEach((m,h)=>{let v=h,E=m;if(h!=="offset")switch(v=t.normalizePropertyName(v,r),E){case Bc:E=e.get(h);break;case ci:E=i.get(h);break;default:E=t.normalizeStyleValue(h,v,E,r);break}f.set(v,E)}),d||o.push(f),a=f,s=c}),r.length)throw RB(r);return o}function ep(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&mb(e,"start",t)));break;case"done":t.onDone(()=>i(e&&mb(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&mb(e,"destroy",t)));break}}function mb(t,n,e){let i=e.totalTime,r=!!e.disabled,o=tp(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,i??t.totalTime,r),s=t._data;return s!=null&&(o._data=s),o}function tp(t,n,e,i,r="",o=0,s){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function an(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function yb(t){let n=t.indexOf(":"),e=t.substring(1,n),i=t.slice(n+1);return[e,i]}var OB=typeof document>"u"?null:document.documentElement;function np(t){let n=t.parentNode||t.host||null;return n===OB?null:n}function NB(t){return t.substring(1,6)=="ebkit"}var Xo=null,eT=!1;function ST(t){Xo||(Xo=PB()||{},eT=Xo.style?"WebkitAppearance"in Xo.style:!1);let n=!0;return Xo.style&&!NB(t)&&(n=t in Xo.style,!n&&eT&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Xo.style)),n}function PB(){return typeof document<"u"?document.body:null}function bb(t,n){for(;n;){if(n===t)return!0;n=np(n)}return!1}function Cb(t,n,e){if(e)return Array.from(t.querySelectorAll(n));let i=t.querySelector(n);return i?[i]:[]}var FB=1e3,wb="{{",LB="}}",Eb="ng-enter",ip="ng-leave",Uc="ng-trigger",Hc=".ng-trigger",xb="ng-animating",rp=".ng-animating";function Pi(t){if(typeof t=="number")return t;let n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:gb(parseFloat(n[1]),n[2])}function gb(t,n){return n==="s"?t*FB:t}function zc(t,n,e){return t.hasOwnProperty("duration")?t:jB(t,n,e)}var VB=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function jB(t,n,e){let i,r=0,o="";if(typeof t=="string"){let s=t.match(VB);if(s===null)return n.push(JM(t)),{duration:0,delay:0,easing:""};i=gb(parseFloat(s[1]),s[2]);let a=s[3];a!=null&&(r=gb(parseFloat(a),s[4]));let l=s[5];l&&(o=l)}else i=t;if(!e){let s=!1,a=n.length;i<0&&(n.push(IB()),s=!0),r<0&&(n.push(MB()),s=!0),s&&n.splice(a,0,JM(t))}return{duration:i,delay:r,easing:o}}function IT(t){return t.length?t[0]instanceof Map?t:t.map(n=>new Map(Object.entries(n))):[]}function di(t,n,e){n.forEach((i,r)=>{let o=op(r);e&&!e.has(r)&&e.set(r,t.style[o]),t.style[o]=i})}function Jr(t,n){n.forEach((e,i)=>{let r=op(i);t.style[r]=""})}function ka(t){return Array.isArray(t)?t.length==1?t[0]:XM(t):t}function MT(t,n,e){let i=n.params||{},r=Db(t);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(TB(o))})}var vb=new RegExp(`${wb}\\s*(.+?)\\s*${LB}`,"g");function Db(t){let n=[];if(typeof t=="string"){let e;for(;e=vb.exec(t);)n.push(e[1]);vb.lastIndex=0}return n}function Ra(t,n,e){let i=`${t}`,r=i.replace(vb,(o,s)=>{let a=n[s];return a==null&&(e.push(AB(s)),a=""),a.toString()});return r==i?t:r}var BB=/-+([a-z0-9])/g;function op(t){return t.replace(BB,(...n)=>n[1].toUpperCase())}function TT(t,n){return t===0||n===0}function AT(t,n,e){if(e.size&&n.length){let i=n[0],r=[];if(e.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;os.set(a,sp(t,a)))}}return n}function ln(t,n,e){switch(n.type){case ve.Trigger:return t.visitTrigger(n,e);case ve.State:return t.visitState(n,e);case ve.Transition:return t.visitTransition(n,e);case ve.Sequence:return t.visitSequence(n,e);case ve.Group:return t.visitGroup(n,e);case ve.Animate:return t.visitAnimate(n,e);case ve.Keyframes:return t.visitKeyframes(n,e);case ve.Style:return t.visitStyle(n,e);case ve.Reference:return t.visitReference(n,e);case ve.AnimateChild:return t.visitAnimateChild(n,e);case ve.AnimateRef:return t.visitAnimateRef(n,e);case ve.Query:return t.visitQuery(n,e);case ve.Stagger:return t.visitStagger(n,e);default:throw kB(n.type)}}function sp(t,n){return window.getComputedStyle(t)[n]}var Hb=(()=>{class t{validateStyleProperty(e){return ST(e)}containsElement(e,i){return bb(e,i)}getParentElement(e){return np(e)}query(e,i,r){return Cb(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],l){return new ir(r,o)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),es=class{static NOOP=new Hb},ts=class{};var UB=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"]),up=class extends ts{normalizePropertyName(n,e){return op(n)}normalizeStyleValue(n,e,i,r){let o="",s=i.toString().trim();if(UB.has(e)&&i!==0&&i!=="0")if(typeof i=="number")o="px";else{let a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&r.push(tT(n,i))}return s+o}};var fp="*";function HB(t,n){let e=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(i=>zB(i,e,n)):e.push(t),e}function zB(t,n,e){if(t[0]==":"){let l=$B(t,e);if(typeof l=="function"){n.push(l);return}t=l}let i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return e.push(hT(t)),n;let r=i[1],o=i[2],s=i[3];n.push(kT(r,s));let a=r==fp&&s==fp;o[0]=="<"&&!a&&n.push(kT(s,r))}function $B(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}var ap=new Set(["true","1"]),lp=new Set(["false","0"]);function kT(t,n){let e=ap.has(t)||lp.has(t),i=ap.has(n)||lp.has(n);return(r,o)=>{let s=t==fp||t==r,a=n==fp||n==o;return!s&&e&&typeof r=="boolean"&&(s=r?ap.has(t):lp.has(t)),!a&&i&&typeof o=="boolean"&&(a=o?ap.has(n):lp.has(n)),s&&a}}var UT=":self",GB=new RegExp(`s*${UT}s*,?`,"g");function HT(t,n,e,i){return new kb(t).build(n,e,i)}var RT="",kb=class{_driver;constructor(n){this._driver=n}build(n,e,i){let r=new Rb(e);return this._resetContextStyleTimingState(r),ln(this,ka(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector=RT,n.collectedStyles=new Map,n.collectedStyles.set(RT,new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,r=e.depCount=0,o=[],s=[];return n.name.charAt(0)=="@"&&e.errors.push(nT()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),a.type==ve.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,e))}),l.name=c}else if(a.type==ve.Transition){let l=this.visitTransition(a,e);i+=l.queryCount,r+=l.depCount,s.push(l)}else e.errors.push(iT())}),{type:ve.Trigger,name:n.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(n,e){let i=this.visitStyle(n.styles,e),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){let o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{Db(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&e.errors.push(rT(n.name,[...o.values()]))}return{type:ve.State,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;let i=ln(this,ka(n.animation),e),r=HB(n.expr,e.errors);return{type:ve.Transition,matchers:r,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Jo(n.options)}}visitSequence(n,e){return{type:ve.Sequence,steps:n.steps.map(i=>ln(this,i,e)),options:Jo(n.options)}}visitGroup(n,e){let i=e.currentTime,r=0,o=n.steps.map(s=>{e.currentTime=i;let a=ln(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:ve.Group,steps:o,options:Jo(n.options)}}visitAnimate(n,e){let i=KB(n.timings,e.errors);e.currentAnimateTimings=i;let r,o=n.styles?n.styles:pb({});if(o.type==ve.Keyframes)r=this.visitKeyframes(o,e);else{let s=n.styles,a=!1;if(!s){a=!0;let c={};i.easing&&(c.easing=i.easing),s=pb(c)}e.currentTime+=i.duration+i.delay;let l=this.visitStyle(s,e);l.isEmptyStep=a,r=l}return e.currentAnimateTimings=null,{type:ve.Animate,timings:i,style:r,options:null}}visitStyle(n,e){let i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){let i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of r)typeof a=="string"?a===ci?i.push(a):e.errors.push(oT(a)):i.push(new Map(Object.entries(a)));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let l of a.values())if(l.toString().indexOf(wb)>=0){o=!0;break}}}),{type:ve.Style,styles:i,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,e){let i=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=e.collectedStyles.get(e.currentQuerySelector),d=c.get(l),f=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(e.errors.push(sT(l,d.startTime,d.endTime,o,r)),f=!1),o=d.startTime),f&&c.set(l,{startTime:o,endTime:r}),e.options&&MT(a,e.options,e.errors)})})}visitKeyframes(n,e){let i={type:ve.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(aT()),i;let r=1,o=0,s=[],a=!1,l=!1,c=0,d=n.steps.map(I=>{let le=this._makeStyleAst(I,e),Te=le.offset!=null?le.offset:YB(le.styles),be=0;return Te!=null&&(o++,be=le.offset=Te),l=l||be<0||be>1,a=a||be0&&o{let Te=m>0?le==h?1:m*le:s[le],be=Te*S;e.currentTime=v+E.delay+be,E.duration=be,this._validateStyleAst(I,e),I.offset=Te,i.styles.push(I)}),i}visitReference(n,e){return{type:ve.Reference,animation:ln(this,ka(n.animation),e),options:Jo(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:ve.AnimateChild,options:Jo(n.options)}}visitAnimateRef(n,e){return{type:ve.AnimateRef,animation:this.visitReference(n.animation,e),options:Jo(n.options)}}visitQuery(n,e){let i=e.currentQuerySelector,r=n.options||{};e.queryCount++,e.currentQuery=n;let[o,s]=WB(n.selector);e.currentQuerySelector=i.length?i+" "+o:o,an(e.collectedStyles,e.currentQuerySelector,new Map);let a=ln(this,ka(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:ve.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:Jo(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(uT());let i=n.timings==="full"?{duration:0,delay:0,easing:"full"}:zc(n.timings,e.errors,!0);return{type:ve.Stagger,animation:ln(this,ka(n.animation),e),timings:i,options:null}}};function WB(t){let n=!!t.split(/\s*,\s*/).find(e=>e==UT);return n&&(t=t.replace(GB,"")),t=t.replace(/@\*/g,Hc).replace(/@\w+/g,e=>Hc+"-"+e.slice(1)).replace(/:animating/g,rp),[t,n]}function qB(t){return t?b({},t):null}var Rb=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(n){this.errors=n}};function YB(t){if(typeof t=="string")return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){let i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}function KB(t,n){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=zc(t,n).duration;return Sb(o,0,"")}let e=t;if(e.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=Sb(0,0,"");return o.dynamic=!0,o.strValue=e,o}let r=zc(e,n);return Sb(r.duration,r.delay,r.easing)}function Jo(t){return t?(t=b({},t),t.params&&(t.params=qB(t.params))):t={},t}function Sb(t,n,e){return{duration:t,delay:n,easing:e}}function zb(t,n,e,i,r,o,s=null,a=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}var Gc=class{_map=new Map;get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}},QB=1,ZB=":enter",XB=new RegExp(ZB,"g"),JB=":leave",eU=new RegExp(JB,"g");function zT(t,n,e,i,r,o=new Map,s=new Map,a,l,c=[]){return new Ob().buildKeyframes(t,n,e,i,r,o,s,a,l,c)}var Ob=class{buildKeyframes(n,e,i,r,o,s,a,l,c,d=[]){c=c||new Gc;let f=new Nb(n,e,c,r,o,d,[]);f.options=l;let m=l.delay?Pi(l.delay):0;f.currentTimeline.delayNextStep(m),f.currentTimeline.setStyles([s],null,f.errors,l),ln(this,i,f);let h=f.timelines.filter(v=>v.containsAnimation());if(h.length&&a.size){let v;for(let E=h.length-1;E>=0;E--){let S=h[E];if(S.element===e){v=S;break}}v&&!v.allowOnlyTimelineStyles()&&v.setStyles([a],null,f.errors,l)}return h.length?h.map(v=>v.buildKeyframes()):[zb(e,[],[],[],0,m,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){let i=e.subInstructions.get(e.element);if(i){let r=e.createSubContext(n.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=n}visitAnimateRef(n,e){let i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,i),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,i){for(let r of n){let o=r?.delay;if(o){let s=typeof o=="number"?o:Pi(Ra(o,r?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,e,i){let o=e.currentTimeline.currentTime,s=i.duration!=null?Pi(i.duration):null,a=i.delay!=null?Pi(i.delay):null;return s!==0&&n.forEach(l=>{let c=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(n,e){e.updateOptions(n.options,!0),ln(this,n.animation,e),e.previousNode=n}visitSequence(n,e){let i=e.subContextCount,r=e,o=n.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),o.delay!=null)){r.previousNode.type==ve.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=hp);let s=Pi(o.delay);r.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>ln(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){let i=[],r=e.currentTimeline.currentTime,o=n.options&&n.options.delay?Pi(n.options.delay):0;n.steps.forEach(s=>{let a=e.createSubContext(n.options);o&&a.delayNextStep(o),ln(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(r),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){let i=n.strValue,r=e.params?Ra(i,e.params,e.errors):i;return zc(r,e.errors)}else return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){let i=e.currentAnimateTimings=this._visitTiming(n.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());let o=n.style;o.type==ve.Keyframes?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){let i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();let o=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){let i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,n.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+o),e.previousNode=n}visitQuery(n,e){let i=e.currentTimeline.currentTime,r=n.options||{},o=r.delay?Pi(r.delay):0;o&&(e.previousNode.type===ve.Style||i==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=hp);let s=i,a=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{e.currentQueryIndex=d;let f=e.createSubContext(n.options,c);o&&f.delayNextStep(o),c===e.element&&(l=f.currentTimeline),ln(this,n.animation,f),f.currentTimeline.applyStylesToKeyframe();let m=f.currentTimeline.currentTime;s=Math.max(s,m)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){let i=e.parentContext,r=e.currentTimeline,o=n.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1),l=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime;break}let d=e.currentTimeline;l&&d.delayNextStep(l);let f=d.currentTime;ln(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=r.currentTime-f+(r.startTime-i.currentTimeline.startTime)}},hp={},Nb=class t{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=hp;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(n,e,i,r,o,s,a,l){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.currentTimeline=l||new pp(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;let i=n,r=this.options;i.duration!=null&&(r.duration=Pi(i.duration)),i.delay!=null&&(r.delay=Pi(i.delay));let o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=Ra(o[a],s,this.errors))})}}_copyOptions(){let n={};if(this.options){let e=this.options.params;if(e){let i=n.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return n}createSubContext(n=null,e,i){let r=e||this.element,o=new t(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(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=hp,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){let r={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new Pb(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,r,o,s){let a=[];if(r&&a.push(this.element),n.length>0){n=n.replace(XB,"."+this._enterClassName),n=n.replace(eU,"."+this._leaveClassName);let l=i!=1,c=this._driver.query(this.element,n,l);i!==0&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&a.length==0&&s.push(fT(e)),a}},pp=class t{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(n,e,i,r){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,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(n){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new t(this._driver,n,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+=QB,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||ci),this._currentKeyframe.set(e,ci);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,r){e&&this._previousKeyframe.set("easing",e);let o=r&&r.params||{},s=tU(n,this._globalTimelineStyles);for(let[a,l]of s){let c=Ra(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??ci),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{let r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let n=new Set,e=new Set,i=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((d,f)=>{d===Bc?n.add(f):d===ci&&e.add(f)}),i||c.set("offset",l/this.duration),r.push(c)});let o=[...n.values()],s=[...e.values()];if(i){let a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return zb(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}},Pb=class extends pp{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(n,e,i,r,o,s,a=!1){super(n,e,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){let o=[],s=i+e,a=e/s,l=new Map(n[0]);l.set("offset",0),o.push(l);let c=new Map(n[0]);c.set("offset",OT(a)),o.push(c);let d=n.length-1;for(let f=1;f<=d;f++){let m=new Map(n[f]),h=m.get("offset"),v=e+h*i;m.set("offset",OT(v/s)),o.push(m)}i=s,e=0,r="",n=o}return zb(this.element,n,this.preStyleProps,this.postStyleProps,i,e,r,!0)}};function OT(t,n=3){let e=Math.pow(10,n-1);return Math.round(t*e)/e}function tU(t,n){let e=new Map,i;return t.forEach(r=>{if(r==="*"){i??=n.keys();for(let o of i)e.set(o,ci)}else for(let[o,s]of r)e.set(o,s)}),e}function NT(t,n,e,i,r,o,s,a,l,c,d,f,m){return{type:0,element:t,triggerName:n,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:f,errors:m}}var Ib={},mp=class{_triggerName;ast;_stateStyles;constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,r){return nU(this.ast.matchers,n,e,i,r)}buildStyles(n,e,i){let r=this._stateStyles.get("*");return n!==void 0&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(e,i):new Map}build(n,e,i,r,o,s,a,l,c,d){let f=[],m=this.ast.options&&this.ast.options.params||Ib,h=a&&a.params||Ib,v=this.buildStyles(i,h,f),E=l&&l.params||Ib,S=this.buildStyles(r,E,f),I=new Set,le=new Map,Te=new Map,be=r==="void",Jt={params:$T(E,m),delay:this.ast.options?.delay},yt=d?[]:zT(n,e,this.ast.animation,o,s,v,S,Jt,c,f),Dt=0;return yt.forEach(en=>{Dt=Math.max(en.duration+en.delay,Dt)}),f.length?NT(e,this._triggerName,i,r,be,v,S,[],[],le,Te,Dt,f):(yt.forEach(en=>{let eo=en.element,ns=an(le,eo,new Set);en.preStyleProps.forEach(to=>ns.add(to));let $b=an(Te,eo,new Set);en.postStyleProps.forEach(to=>$b.add(to)),eo!==e&&I.add(eo)}),NT(e,this._triggerName,i,r,be,v,S,yt,[...I.values()],le,Te,Dt))}};function nU(t,n,e,i,r){return t.some(o=>o(n,e,i,r))}function $T(t,n){let e=b({},n);return Object.entries(t).forEach(([i,r])=>{r!=null&&(e[i]=r)}),e}var Fb=class{styles;defaultParams;normalizer;constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){let i=new Map,r=$T(n,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=Ra(s,r,e));let l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(a,s)})}),i}};function iU(t,n,e){return new Lb(t,n,e)}var Lb=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,e.states.forEach(r=>{let o=r.options&&r.options.params||{};this.states.set(r.name,new Fb(r.style,o,i))}),PT(this.states,"true","1"),PT(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new mp(n,r,this.states))}),this.fallbackTransition=rU(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,r){return this.transitionFactories.find(s=>s.match(n,e,i,r))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}};function rU(t,n,e){let i=[(s,a)=>!0],r={type:ve.Sequence,steps:[],options:null},o={type:ve.Transition,animation:r,matchers:i,options:null,queryCount:0,depCount:0};return new mp(t,o,n)}function PT(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}var oU=new Gc,Vb=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i}register(n,e){let i=[],r=[],o=HT(this._driver,e,i,r);if(i.length)throw gT(i);this._animations.set(n,o)}_buildPlayer(n,e,i){let r=n.element,o=_b(this._normalizer,n.keyframes,e,i);return this._driver.animate(r,o,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){let r=[],o=this._animations.get(n),s,a=new Map;if(o?(s=zT(this._driver,e,o,Eb,ip,new Map,new Map,i,oU,r),s.forEach(d=>{let f=an(a,d.element,new Map);d.postStyleProps.forEach(m=>f.set(m,null))})):(r.push(vT()),s=[]),r.length)throw _T(r);a.forEach((d,f)=>{d.forEach((m,h)=>{d.set(h,this._driver.computeStyle(f,h,ci))})});let l=s.map(d=>{let f=a.get(d.element);return this._buildPlayer(d,new Map,f)}),c=rr(l);return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){let e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);let i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){let e=this._playersById.get(n);if(!e)throw yT(n);return e}listen(n,e,i,r){let o=tp(e,"","","");return ep(this._getPlayer(n),i,o,r),()=>{}}command(n,e,i,r){if(i=="register"){this.register(n,r[0]);return}if(i=="create"){let s=r[0]||{};this.create(n,e,s);return}let o=this._getPlayer(n);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(n);break}}},FT="ng-animate-queued",sU=".ng-animate-queued",Mb="ng-animate-disabled",aU=".ng-animate-disabled",lU="ng-star-inserted",cU=".ng-star-inserted",dU=[],GT={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},uU={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ui="__ng_removed",Wc=class{namespaceId;value;options;get params(){return this.options.params}constructor(n,e=""){this.namespaceId=e;let i=n&&n.hasOwnProperty("value"),r=i?n.value:n;if(this.value=hU(r),i){let o=n,{value:s}=o,a=wp(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){let e=n.params;if(e){let i=this.options.params;Object.keys(e).forEach(r=>{i[r]==null&&(i[r]=e[r])})}}},$c="void",Tb=new Wc($c),jb=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this._hostClassName="ng-tns-"+n,Rn(e,this._hostClassName)}listen(n,e,i,r){if(!this._triggers.has(e))throw bT(i,e);if(i==null||i.length==0)throw CT(e);if(!pU(i))throw wT(i,e);let o=an(this._elementListeners,n,[]),s={name:e,phase:i,callback:r};o.push(s);let a=an(this._engine.statesByElement,n,new Map);return a.has(e)||(Rn(n,Uc),Rn(n,Uc+"-"+e),a.set(e,Tb)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(n,e){return this._triggers.has(n)?!1:(this._triggers.set(n,e),!0)}_getTrigger(n){let e=this._triggers.get(n);if(!e)throw ET(n);return e}trigger(n,e,i,r=!0){let o=this._getTrigger(e),s=new qc(this.id,e,n),a=this._engine.statesByElement.get(n);a||(Rn(n,Uc),Rn(n,Uc+"-"+e),this._engine.statesByElement.set(n,a=new Map));let l=a.get(e),c=new Wc(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=Tb),!(c.value===$c)&&l.value===c.value){if(!vU(l.params,c.params)){let E=[],S=o.matchStyles(l.value,l.params,E),I=o.matchStyles(c.value,c.params,E);E.length?this._engine.reportError(E):this._engine.afterFlush(()=>{Jr(n,S),di(n,I)})}return}let m=an(this._engine.playersByElement,n,[]);m.forEach(E=>{E.namespaceId==this.id&&E.triggerName==e&&E.queued&&E.destroy()});let h=o.matchTransition(l.value,c.value,n,c.params),v=!1;if(!h){if(!r)return;h=o.fallbackTransition,v=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:h,fromState:l,toState:c,player:s,isFallbackTransition:v}),v||(Rn(n,FT),s.onStart(()=>{Oa(n,FT)})),s.onDone(()=>{let E=this.players.indexOf(s);E>=0&&this.players.splice(E,1);let S=this._engine.playersByElement.get(n);if(S){let I=S.indexOf(s);I>=0&&S.splice(I,1)}}),this.players.push(s),m.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);let e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){let i=this._engine.driver.query(n,Hc,!0);i.forEach(r=>{if(r[ui])return;let o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(n,e,i,r){let o=this._engine.statesByElement.get(n),s=new Map;if(o){let a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){let d=this.trigger(n,c,$c,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,s),i&&rr(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){let e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(e&&i){let r=new Set;e.forEach(o=>{let s=o.name;if(r.has(s))return;r.add(s);let l=this._triggers.get(s).fallbackTransition,c=i.get(s)||Tb,d=new Wc($c),f=new qc(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:c,toState:d,player:f,isFallbackTransition:!0})})}}removeNode(n,e){let i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let r=!1;if(i.totalAnimations){let o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)r=!0;else{let s=n;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,e);else{let o=n[ui];(!o||o===GT)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){Rn(n,this._hostClassName)}drainQueuedTransitions(n){let e=[];return this._queue.forEach(i=>{let r=i.player;if(r.destroyed)return;let o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){let l=tp(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,ep(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{let o=i.transition.ast.depCount,s=r.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}},Bb=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(n,e)=>{};_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}constructor(n,e,i){this.bodyNode=n,this.driver=e,this._normalizer=i}get queuedPlayers(){let n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){let i=new jb(n,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[n]=i}_balanceNamespaceList(n,e){let i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){let l=r.get(a);if(l){let c=i.indexOf(l);i.splice(c+1,0,n),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(n)}else i.push(n);return r.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let r=this._namespaceLookup[n];r&&r.register(e,i)&&this.totalAnimations++}destroy(n,e){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);let r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(e),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){let e=new Set,i=this.statesByElement.get(n);if(i){for(let r of i.values())if(r.namespaceId){let o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}}return e}trigger(n,e,i,r){if(cp(e)){let o=this._fetchNamespace(n);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(n,e,i,r){if(!cp(e))return;let o=e[ui];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){let s=this._fetchNamespace(n);s&&s.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Rn(n,Mb)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Oa(n,Mb))}removeNode(n,e,i){if(cp(e)){let r=n?this._fetchNamespace(n):null;r?r.removeNode(e,i):this.markElementAsRemoved(n,e,!1,i);let o=this.namespacesByHostElement.get(e);o&&o.id!==n&&o.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(n,e,i,r,o){this.collectedLeaveElements.push(e),e[ui]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,e,i,r,o){return cp(e)?this._fetchNamespace(n).listen(e,i,r,o):()=>{}}_buildInstruction(n,e,i,r,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,e,o)}destroyInnerAnimations(n){let e=this.driver.query(n,Hc,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(n,rp,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){let e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){let e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return rr(this.players).onDone(()=>n());n()})}processLeaveNode(n){let e=n[ui];if(e&&e.setForRemoval){if(n[ui]=GT,e.namespaceId){this.destroyInnerAnimations(n);let i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(Mb)&&this.markElementAsDisabled(n,!1),this.driver.query(n,aU,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-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;ii()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],e.length?rr(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw xT(n)}_flushAnimations(n,e){let i=new Gc,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(B=>{d.add(B);let q=this.driver.query(B,sU,!0);for(let J=0;J{let J=Eb+E++;v.set(q,J),B.forEach(De=>Rn(De,J))});let S=[],I=new Set,le=new Set;for(let B=0;BI.add(De)):le.add(q))}let Te=new Map,be=jT(m,Array.from(I));be.forEach((B,q)=>{let J=ip+E++;Te.set(q,J),B.forEach(De=>Rn(De,J))}),n.push(()=>{h.forEach((B,q)=>{let J=v.get(q);B.forEach(De=>Oa(De,J))}),be.forEach((B,q)=>{let J=Te.get(q);B.forEach(De=>Oa(De,J))}),S.forEach(B=>{this.processLeaveNode(B)})});let Jt=[],yt=[];for(let B=this._namespaceList.length-1;B>=0;B--)this._namespaceList[B].drainQueuedTransitions(e).forEach(J=>{let De=J.player,bt=J.element;if(Jt.push(De),this.collectedEnterElements.length){let Ot=bt[ui];if(Ot&&Ot.setForMove){if(Ot.previousTriggersValues&&Ot.previousTriggersValues.has(J.triggerName)){let no=Ot.previousTriggersValues.get(J.triggerName),_n=this.statesByElement.get(J.element);if(_n&&_n.has(J.triggerName)){let Yc=_n.get(J.triggerName);Yc.value=no,_n.set(J.triggerName,Yc)}}De.destroy();return}}let fi=!f||!this.driver.containsElement(f,bt),cn=Te.get(bt),or=v.get(bt),Xe=this._buildInstruction(J,i,or,cn,fi);if(Xe.errors&&Xe.errors.length){yt.push(Xe);return}if(fi){De.onStart(()=>Jr(bt,Xe.fromStyles)),De.onDestroy(()=>di(bt,Xe.toStyles)),r.push(De);return}if(J.isFallbackTransition){De.onStart(()=>Jr(bt,Xe.fromStyles)),De.onDestroy(()=>di(bt,Xe.toStyles)),r.push(De);return}let qb=[];Xe.timelines.forEach(Ot=>{Ot.stretchStartingKeyframe=!0,this.disabledNodes.has(Ot.element)||qb.push(Ot)}),Xe.timelines=qb,i.append(bt,Xe.timelines);let rA={instruction:Xe,player:De,element:bt};s.push(rA),Xe.queriedElements.forEach(Ot=>an(a,Ot,[]).push(De)),Xe.preStyleProps.forEach((Ot,no)=>{if(Ot.size){let _n=l.get(no);_n||l.set(no,_n=new Set),Ot.forEach((Yc,Cp)=>_n.add(Cp))}}),Xe.postStyleProps.forEach((Ot,no)=>{let _n=c.get(no);_n||c.set(no,_n=new Set),Ot.forEach((Yc,Cp)=>_n.add(Cp))})});if(yt.length){let B=[];yt.forEach(q=>{B.push(DT(q.triggerName,q.errors))}),Jt.forEach(q=>q.destroy()),this.reportError(B)}let Dt=new Map,en=new Map;s.forEach(B=>{let q=B.element;i.has(q)&&(en.set(q,q),this._beforeAnimationBuild(B.player.namespaceId,B.instruction,Dt))}),r.forEach(B=>{let q=B.element;this._getPreviousPlayers(q,!1,B.namespaceId,B.triggerName,null).forEach(De=>{an(Dt,q,[]).push(De),De.destroy()})});let eo=S.filter(B=>BT(B,l,c)),ns=new Map;VT(ns,this.driver,le,c,ci).forEach(B=>{BT(B,l,c)&&eo.push(B)});let to=new Map;h.forEach((B,q)=>{VT(to,this.driver,new Set(B),l,Bc)}),eo.forEach(B=>{let q=ns.get(B),J=to.get(B);ns.set(B,new Map([...q?.entries()??[],...J?.entries()??[]]))});let bp=[],Gb=[],Wb={};s.forEach(B=>{let{element:q,player:J,instruction:De}=B;if(i.has(q)){if(d.has(q)){J.onDestroy(()=>di(q,De.toStyles)),J.disabled=!0,J.overrideTotalTime(De.totalTime),r.push(J);return}let bt=Wb;if(en.size>1){let cn=q,or=[];for(;cn=cn.parentNode;){let Xe=en.get(cn);if(Xe){bt=Xe;break}or.push(cn)}or.forEach(Xe=>en.set(Xe,bt))}let fi=this._buildAnimation(J.namespaceId,De,Dt,o,to,ns);if(J.setRealPlayer(fi),bt===Wb)bp.push(J);else{let cn=this.playersByElement.get(bt);cn&&cn.length&&(J.parentPlayer=rr(cn)),r.push(J)}}else Jr(q,De.fromStyles),J.onDestroy(()=>di(q,De.toStyles)),Gb.push(J),d.has(q)&&r.push(J)}),Gb.forEach(B=>{let q=o.get(B.element);if(q&&q.length){let J=rr(q);B.setRealPlayer(J)}}),r.forEach(B=>{B.parentPlayer?B.syncPlayerEvents(B.parentPlayer):B.destroy()});for(let B=0;B!fi.destroyed);bt.length?mU(this,q,bt):this.processLeaveNode(q)}return S.length=0,bp.forEach(B=>{this.players.push(B),B.onDone(()=>{B.destroy();let q=this.players.indexOf(B);this.players.splice(q,1)}),B.play()}),bp}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,r,o){let s=[];if(e){let a=this.playersByQueriedElement.get(n);a&&(s=a)}else{let a=this.playersByElement.get(n);if(a){let l=!o||o==$c;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(n,e,i){let r=e.triggerName,o=e.element,s=e.isRemovalTransition?void 0:n,a=e.isRemovalTransition?void 0:r;for(let l of e.timelines){let c=l.element,d=c!==o,f=an(i,c,[]);this._getPreviousPlayers(c,d,s,a,e.toState).forEach(h=>{let v=h.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),h.destroy(),f.push(h)})}Jr(o,e.fromStyles)}_buildAnimation(n,e,i,r,o,s){let a=e.triggerName,l=e.element,c=[],d=new Set,f=new Set,m=e.timelines.map(v=>{let E=v.element;d.add(E);let S=E[ui];if(S&&S.removedBeforeQueried)return new ir(v.duration,v.delay);let I=E!==l,le=gU((i.get(E)||dU).map(Dt=>Dt.getRealPlayer())).filter(Dt=>{let en=Dt;return en.element?en.element===E:!1}),Te=o.get(E),be=s.get(E),Jt=_b(this._normalizer,v.keyframes,Te,be),yt=this._buildPlayer(v,Jt,le);if(v.subTimeline&&r&&f.add(E),I){let Dt=new qc(n,a,E);Dt.setRealPlayer(yt),c.push(Dt)}return yt});c.forEach(v=>{an(this.playersByQueriedElement,v.element,[]).push(v),v.onDone(()=>fU(this.playersByQueriedElement,v.element,v))}),d.forEach(v=>Rn(v,xb));let h=rr(m);return h.onDestroy(()=>{d.forEach(v=>Oa(v,xb)),di(l,e.toStyles)}),f.forEach(v=>{an(r,v,[]).push(h)}),h}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new ir(n.duration,n.delay)}},qc=class{namespaceId;triggerName;element;_player=new ir;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>ep(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){let e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){an(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}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(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){let e=this._player;e.triggerCallback&&e.triggerCallback(n)}};function fU(t,n,e){let i=t.get(n);if(i){if(i.length){let r=i.indexOf(e);i.splice(r,1)}i.length==0&&t.delete(n)}return i}function hU(t){return t??null}function cp(t){return t&&t.nodeType===1}function pU(t){return t=="start"||t=="done"}function LT(t,n){let e=t.style.display;return t.style.display=n??"none",e}function VT(t,n,e,i,r){let o=[];e.forEach(l=>o.push(LT(l)));let s=[];i.forEach((l,c)=>{let d=new Map;l.forEach(f=>{let m=n.computeStyle(c,f,r);d.set(f,m),(!m||m.length==0)&&(c[ui]=uU,s.push(c))}),t.set(c,d)});let a=0;return e.forEach(l=>LT(l,o[a++])),s}function jT(t,n){let e=new Map;if(t.forEach(a=>e.set(a,[])),n.length==0)return e;let i=1,r=new Set(n),o=new Map;function s(a){if(!a)return i;let l=o.get(a);if(l)return l;let c=a.parentNode;return e.has(c)?l=c:r.has(c)?l=i:l=s(c),o.set(a,l),l}return n.forEach(a=>{let l=s(a);l!==i&&e.get(l).push(a)}),e}function Rn(t,n){t.classList?.add(n)}function Oa(t,n){t.classList?.remove(n)}function mU(t,n,e){rr(e).onDone(()=>t.processLeaveNode(n))}function gU(t){let n=[];return WT(t,n),n}function WT(t,n){for(let e=0;er.add(o)):n.set(t,i),e.delete(t),!0}var Na=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(n,e)=>{};constructor(n,e,i){this._driver=e,this._normalizer=i,this._transitionEngine=new Bb(n.body,e,i),this._timelineEngine=new Vb(n.body,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(n,e,i,r,o){let s=n+"-"+r,a=this._triggerCache[s];if(!a){let l=[],c=[],d=HT(this._driver,o,l,c);if(l.length)throw mT(r,l);a=iU(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,r,a)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,r){this._transitionEngine.insertNode(n,e,i,r)}onRemove(n,e,i){this._transitionEngine.removeNode(n,e,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,r){if(i.charAt(0)=="@"){let[o,s]=yb(i),a=r;this._timelineEngine.command(o,e,s,a)}else this._transitionEngine.trigger(n,e,i,r)}listen(n,e,i,r,o){if(i.charAt(0)=="@"){let[s,a]=yb(i);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(n,e,i,r,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}};function _U(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=Ab(n[0]),n.length>1&&(i=Ab(n[n.length-1]))):n instanceof Map&&(e=Ab(n)),e||i?new yU(t,e,i):null}var yU=(()=>{class t{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r;let o=t.initialStylesByElement.get(e);o||t.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&di(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(di(this._element,this._initialStyles),this._endStyles&&(di(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Jr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Jr(this._element,this._endStyles),this._endStyles=null),di(this._element,this._initialStyles),this._state=3)}}return t})();function Ab(t){let n=null;return t.forEach((e,i)=>{bU(i)&&(n=n||new Map,n.set(i,e))}),n}function bU(t){return t==="display"||t==="position"}var gp=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(n,e,i,r){this.element=n,this.keyframes=e,this.options=i,this._specialStyles=r,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;let n=this.keyframes,e=this._triggerWebAnimation(this.element,n,this.options);if(!e)return this._onFinish(),null;this.domPlayer=e,this._finalKeyframe=n.length?n[n.length-1]:new Map;let i=()=>this._onFinish();return e.addEventListener("finish",i),this.onDestroy(()=>{e.removeEventListener("finish",i)}),e}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(n){let e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){let r=this._convertKeyframesToObject(e);try{return n.animate(r,i)}catch{return null}}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){let n=this._buildPlayer();n&&(this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),n.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(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?.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(n=>n()),this._onDestroyFns=[])}setPosition(n){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=n*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){let n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{r!=="offset"&&n.set(r,this._finished?i:sp(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){let e=n==="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},vp=class{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,e){return bb(n,e)}getParentElement(n){return np(n)}query(n,e,i){return Cb(n,e,i)}computeStyle(n,e,i){return sp(n,e)}animate(n,e,i,r,o,s=[]){let a=r==0?"both":"forwards",l={duration:i,delay:r,fill:a};o&&(l.easing=o);let c=new Map,d=s.filter(h=>h instanceof gp);TT(i,r)&&d.forEach(h=>{h.currentSnapshot.forEach((v,E)=>c.set(E,v))});let f=IT(e).map(h=>new Map(h));f=AT(n,f,c);let m=_U(n,f);return new gp(n,f,l,m)}};var dp="@",qT="@.disabled",_p=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(n,e,i,r){this.namespaceId=n,this.delegate=e,this.engine=i,this._onDestroy=r}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,r=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,r)}removeChild(n,e,i,r){if(r){this.delegate.removeChild(n,e,i,r);return}this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,r){this.delegate.setAttribute(n,e,i,r)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,r){this.delegate.setStyle(n,e,i,r)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){e.charAt(0)==dp&&e==qT?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i,r){return this.delegate.listen(n,e,i,r)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}},Ub=class extends _p{factory;constructor(n,e,i,r,o){super(e,i,r,o),this.factory=n,this.namespaceId=e}setProperty(n,e,i){e.charAt(0)==dp?e.charAt(1)=="."&&e==qT?(i=i===void 0?!0:!!i,this.disableAnimations(n,i)):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i,r){if(e.charAt(0)==dp){let o=CU(n),s=e.slice(1),a="";return s.charAt(0)!=dp&&([s,a]=wU(s)),this.engine.listen(this.namespaceId,o,s,a,l=>{let c=l._data||-1;this.factory.scheduleListenerCallback(c,i,l)})}return this.delegate.listen(n,e,i,r)}};function CU(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function wU(t){let n=t.indexOf("."),e=t.substring(0,n),i=t.slice(n+1);return[e,i]}var yp=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(n,e,i){this.delegate=n,this.engine=e,this._zone=i,e.onRemovalComplete=(r,o)=>{o?.removeChild(null,r)}}createRenderer(n,e){let r=this.delegate.createRenderer(n,e);if(!n||!e?.data?.animation){let c=this._rendererCache,d=c.get(r);if(!d){let f=()=>c.delete(r);d=new _p("",r,this.engine,f),c.set(r,d)}return d}let o=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,n);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,n,c.name,c)};return e.data.animation.forEach(a),new Ub(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,e,i){if(n>=0&&ne(i));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),r.push([e,i])}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()}componentReplaced(n){this.engine.flush(),this.delegate.componentReplaced?.(n)}};var xU=(()=>{class t extends Na{constructor(e,i,r){super(e,i,r)}ngOnDestroy(){this.flush()}static \u0275fac=function(i){return new(i||t)(O(G),O(es),O(ts))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})();function DU(){return new up}function SU(t,n,e){return new yp(t,n,e)}var KT=[{provide:ts,useFactory:DU},{provide:Na,useClass:xU},{provide:rt,useFactory:SU,deps:[Pl,Na,R]}],IU=[{provide:es,useClass:Hb},{provide:Sr,useValue:"NoopAnimations"},...KT],YT=[{provide:es,useFactory:()=>new vp},{provide:Sr,useFactory:()=>"BrowserAnimations"},...KT],QT=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?IU:YT}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({providers:YT,imports:[Ll]})}return t})();var MU=["*",[["mat-toolbar-row"]]],TU=["*","mat-toolbar-row"],AU=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=F({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return t})(),ZT=(()=>{class t{_elementRef=u(j);_platform=u(xe);_document=u(G);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=A({type:t,selectors:[["mat-toolbar"]],contentQueries:function(i,r,o){if(i&1&&at(o,AU,5),i&2){let s;oe(s=se())&&(r._toolbarRows=s)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(i,r){i&2&&(Yt(r.color?"mat-"+r.color:""),ne("mat-toolbar-multiple-rows",r._toolbarRows.length>0)("mat-toolbar-single-row",r._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:TU,decls:2,vars:0,template:function(i,r){i&1&&(Qe(MU),pe(0),pe(1,1))},styles:[`.mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-sys-surface));color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-sys-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-sys-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-sys-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-sys-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-sys-title-large-tracking));margin:0}@media(forced-colors: active){.mat-toolbar{outline:solid 1px}}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mat-button-text-label-text-color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface));--mat-button-outlined-label-text-color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height, 56px)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height, 56px)}} +`],encapsulation:2,changeDetection:0})}return t})();var XT=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=P({type:t});static \u0275inj=N({imports:[ye,ye]})}return t})();var JT=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=P({type:t})}static{this.\u0275inj=N({providers:[{provide:zh,useValue:{floatLabel:"always"}}],imports:[zI,XT,vI,MM,db,SM,wy,Yr,aM,Jy,KM]})}}return t})();function RU(t,n){if(t&1){let e=we();p(0,"button",10),H("click",function(){let r=ue(e).$implicit,o=L(2);return fe(o.changeLang(r))}),C(1),g()}if(t&2){let e=n.$implicit;_(),lt(e.name)}}function OU(t,n){if(t&1){let e=we();p(0,"button",10),H("click",function(){ue(e);let r=L(2);return fe(r.admin())}),p(1,"i",24),C(2,"dashboard"),g(),p(3,"uds-translate"),C(4,"Dashboard"),g()()}}function NU(t,n){t&1&&(p(0,"button",29)(1,"i",24),C(2,"file_download"),g(),p(3,"uds-translate"),C(4,"Downloads"),g()())}function PU(t,n){if(t&1&&(p(0,"button",14),C(1),g()),t&2){L();let e=At(8),i=L();D("matMenuTriggerFor",e),_(),lt(i.api.user.user)}}function FU(t,n){if(t&1&&(p(0,"button",26),C(1),p(2,"i",24),C(3,"arrow_drop_down"),g()()),t&2){L();let e=At(8),i=L();D("matMenuTriggerFor",e),_(),Ee("",i.api.user.user," ")}}function LU(t,n){if(t&1){let e=we();Zu(0),p(1,"form",4),V(2,"input",5)(3,"input",6),g(),p(4,"mat-menu",null,0),te(6,RU,2,1,"button",7),g(),p(7,"mat-menu",null,1),te(9,OU,5,0,"button",8)(10,NU,5,0,"button",9),p(11,"button",10),H("click",function(){ue(e);let r=L();return fe(r.logout())}),p(12,"i",11),C(13,"exit_to_app"),g(),p(14,"uds-translate"),C(15,"Logout"),g()()(),p(16,"mat-menu",12,2),te(18,PU,2,2,"button",13),p(19,"button",14),C(20),g(),p(21,"button",15)(22,"uds-translate"),C(23,"UDS Client"),g()(),p(24,"button",16)(25,"uds-translate"),C(26,"About"),g()()(),p(27,"mat-toolbar",17)(28,"button",18)(29,"div",19),V(30,"img",20),C(31),g()(),V(32,"span",21),p(33,"div",22)(34,"button",23)(35,"i",24),C(36,"file_download"),g(),p(37,"uds-translate"),C(38,"UDS Client"),g()(),p(39,"button",25)(40,"i",24),C(41,"info"),g(),p(42,"uds-translate"),C(43,"About"),g()(),p(44,"button",26),C(45),p(46,"i",24),C(47,"arrow_drop_down"),g()(),te(48,FU,4,2,"button",27),g(),p(49,"div",28)(50,"button",26)(51,"i",24),C(52,"menu"),g()()()(),Xu()}if(t&2){let e=At(5),i=At(17),r=L();_(),D("action",$s(r.api.config.urls.change_language),ft),_(),D("name",$s(r.api.csrfField))("value",$s(r.api.csrfToken)),_(),D("value",$s(r.lang.id)),_(3),D("ngForOf",r.langs),_(3),D("ngIf",r.api.user.isStaff),_(),D("ngIf",r.api.user.isStaff),_(8),D("ngIf",r.api.user.isLogged),_(),D("matMenuTriggerFor",e),_(),Ee("",r.lang.name," "),_(10),D("src",r.api.staticURL("modern/img/udsicon.png"),ft),_(),Ee(" ",r.api.config.site_logo_name," "),_(13),D("matMenuTriggerFor",e),_(),Ee("",r.lang.name," "),_(3),D("ngIf",r.api.user.isLogged),_(2),D("matMenuTriggerFor",i)}}var eA=(()=>{class t{constructor(e){this.api=e,this.lang={},this.langs=[],this.style="";let i=e.config.language;this.langs=[];for(let r of e.config.available_languages)r.id===i?this.lang=r:this.langs.push(r)}ngOnInit(){}changeLang(e){this.lang=e;let i=document.getElementById("id_language");i&&i.setAttribute("value",e.id);let r=document.getElementById("form_language");r&&r.submit()}admin(){this.api.gotoAdmin()}logout(){this.api.logout()}static{this.\u0275fac=function(i){return new(i||t)(k(Me))}}static{this.\u0275cmp=A({type:t,selectors:[["uds-navbar"]],standalone:!1,decls:1,vars:1,consts:[["appMenu","matMenu"],["userMenu","matMenu"],["shrink","matMenu"],[4,"ngIf"],["id","form_language","method","post",3,"action"],["type","hidden",3,"name","value"],["id","id_language","type","hidden","name","language",3,"value"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","","routerLink","/downloads",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"material-icons","highlight"],["x-position","before"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","","routerLink","/client-download"],["mat-menu-item","","routerLink","/about"],["color","primary",1,"uds-nav"],["mat-button","","routerLink","/"],[1,"logo"],["alt","Universal Desktop Services",3,"src"],[1,"fill-remaining-space"],[1,"expanded"],["mat-button","","routerLink","/client-download"],[1,"material-icons"],["mat-button","","routerLink","/about"],["mat-button","",3,"matMenuTriggerFor"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],[1,"shrinked"],["mat-menu-item","","routerLink","/downloads"]],template:function(i,r){i&1&&te(0,LU,53,20,"ng-container",3),i&2&&D("ngIf",r.api.config.urls.launch==="")},dependencies:[xt,kt,Lr,Da,xa,si,ZT,kn,Xr,Zo,Jh,We],styles:[".mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-0, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-1, 0px 2px 1px -1px --mat-sys-shadow, 0px 1px 1px 0px --mat-sys-shadow, 0px 1px 3px 0px --mat-sys-shadow)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-2, 0px 3px 1px -2px --mat-sys-shadow, 0px 2px 2px 0px --mat-sys-shadow, 0px 1px 5px 0px --mat-sys-shadow)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-3, 0px 3px 3px -2px --mat-sys-shadow, 0px 3px 4px 0px --mat-sys-shadow, 0px 1px 8px 0px --mat-sys-shadow)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-4, 0px 2px 4px -1px --mat-sys-shadow, 0px 4px 5px 0px --mat-sys-shadow, 0px 1px 10px 0px --mat-sys-shadow)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-5, 0px 3px 5px -1px --mat-sys-shadow, 0px 5px 8px 0px --mat-sys-shadow, 0px 1px 14px 0px --mat-sys-shadow)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-6, 0px 3px 5px -1px --mat-sys-shadow, 0px 6px 10px 0px --mat-sys-shadow, 0px 1px 18px 0px --mat-sys-shadow)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-7, 0px 4px 5px -2px --mat-sys-shadow, 0px 7px 10px 1px --mat-sys-shadow, 0px 2px 16px 1px --mat-sys-shadow)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-8, 0px 5px 5px -3px --mat-sys-shadow, 0px 8px 10px 1px --mat-sys-shadow, 0px 3px 14px 2px --mat-sys-shadow)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-9, 0px 5px 6px -3px --mat-sys-shadow, 0px 9px 12px 1px --mat-sys-shadow, 0px 3px 16px 2px --mat-sys-shadow)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-10, 0px 6px 6px -3px --mat-sys-shadow, 0px 10px 14px 1px --mat-sys-shadow, 0px 4px 18px 3px --mat-sys-shadow)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-11, 0px 6px 7px -4px --mat-sys-shadow, 0px 11px 15px 1px --mat-sys-shadow, 0px 4px 20px 3px --mat-sys-shadow)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-12, 0px 7px 8px -4px --mat-sys-shadow, 0px 12px 17px 2px --mat-sys-shadow, 0px 5px 22px 4px --mat-sys-shadow)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-13, 0px 7px 8px -4px --mat-sys-shadow, 0px 13px 19px 2px --mat-sys-shadow, 0px 5px 24px 4px --mat-sys-shadow)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-14, 0px 7px 9px -4px --mat-sys-shadow, 0px 14px 21px 2px --mat-sys-shadow, 0px 5px 26px 4px --mat-sys-shadow)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-15, 0px 8px 9px -5px --mat-sys-shadow, 0px 15px 22px 2px --mat-sys-shadow, 0px 6px 28px 5px --mat-sys-shadow)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-16, 0px 8px 10px -5px --mat-sys-shadow, 0px 16px 24px 2px --mat-sys-shadow, 0px 6px 30px 5px --mat-sys-shadow)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-17, 0px 8px 11px -5px --mat-sys-shadow, 0px 17px 26px 2px --mat-sys-shadow, 0px 6px 32px 5px --mat-sys-shadow)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-18, 0px 9px 11px -5px --mat-sys-shadow, 0px 18px 28px 2px --mat-sys-shadow, 0px 7px 34px 6px --mat-sys-shadow)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-19, 0px 9px 12px -6px --mat-sys-shadow, 0px 19px 29px 2px --mat-sys-shadow, 0px 7px 36px 6px --mat-sys-shadow)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-20, 0px 10px 13px -6px --mat-sys-shadow, 0px 20px 31px 3px --mat-sys-shadow, 0px 8px 38px 7px --mat-sys-shadow)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-21, 0px 10px 13px -6px --mat-sys-shadow, 0px 21px 33px 3px --mat-sys-shadow, 0px 8px 40px 7px --mat-sys-shadow)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-22, 0px 10px 14px -6px --mat-sys-shadow, 0px 22px 35px 3px --mat-sys-shadow, 0px 8px 42px 7px --mat-sys-shadow)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-23, 0px 11px 14px -7px --mat-sys-shadow, 0px 23px 36px 3px --mat-sys-shadow, 0px 9px 44px 8px --mat-sys-shadow)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-24, 0px 11px 15px -7px --mat-sys-shadow, 0px 24px 38px 3px --mat-sys-shadow, 0px 9px 46px 8px --mat-sys-shadow)}html[_ngcontent-%COMP%]{--mat-sys-on-surface: initial}.mat-app-background[_ngcontent-%COMP%]{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}.uds-nav[_ngcontent-%COMP%]{position:fixed;top:0;z-index:1000;background-image:linear-gradient(60deg,#4b5266,#465d9c)}.fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}.material-icons[_ngcontent-%COMP%]{margin-right:.3rem}.logo[_ngcontent-%COMP%]{display:flex;align-items:center}.logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2rem;margin-right:.5rem}@media only screen and (max-width:744px){.expanded[_ngcontent-%COMP%]{display:none;visibility:hidden}.shrinked[_ngcontent-%COMP%]{visibility:visible}}@media only screen and (min-width:745px){.expanded[_ngcontent-%COMP%]{visibility:visible}.shrinked[_ngcontent-%COMP%]{display:none;visibility:hidden}}"]})}}return t})();var tA=(()=>{class t{constructor(e){this.api=e}ngOnInit(){}static{this.\u0275fac=function(i){return new(i||t)(k(Me))}}static{this.\u0275cmp=A({type:t,selectors:[["uds-footer"]],standalone:!1,decls:3,vars:2,consts:[[3,"href"]],template:function(i,r){i&1&&(p(0,"div")(1,"a",0),C(2),g()()),i&2&&(_(),D("href",r.api.config.site_copyright_link,ft),_(),lt(r.api.config.site_copyright_info))},encapsulation:2})}}return t})();var nA=(()=>{class t{constructor(e){this.api=e,this.title="UDS"}get blackTheme(){return this.api.getFromStorage("blackTheme")==="true"}set blackTheme(e){this.api.putOnStorage("blackTheme",e.toString())}handleKeyboardEvent(e){e.altKey&&e.ctrlKey&&e.key==="b"&&(this.blackTheme=!this.blackTheme,this.api.switchTheme(this.blackTheme))}ngOnInit(){this.api.switchTheme(this.blackTheme);let e=this.api.config.cookies_consent.text||django.gettext("We use cookies to authenticate users and remember preferences.")+"
"+django.gettext("If you do not agree, please")+' '+django.gettext("leave this site")+".";cookieconsent.initialise({palette:{popup:{background:"#343c66",text:"#dfdfe8"},button:{background:"#f71559"}},enabled:this.api.config.cookies_consent.enabled,layout:"basic",position:"bottom-right",theme:"classic",type:"info",content:{message:e,dismiss:django.gettext("I Accept"),link:django.gettext("Learn more"),href:this.api.config.cookies_consent.urls.more||"https://www.cookiesandyou.com",policy:django.gettext("Cookie Policy"),close:"❌",target:"_blank"}})}static{this.\u0275fac=function(i){return new(i||t)(k(Me))}}static{this.\u0275cmp=A({type:t,selectors:[["uds-root"]],hostBindings:function(i,r){i&1&&H("keydown",function(s){return r.handleKeyboardEvent(s)},Xg)},standalone:!1,decls:6,vars:0,consts:[[1,"page"],[1,"content"],[1,"footer"]],template:function(i,r){i&1&&(V(0,"uds-navbar"),p(1,"div",0)(2,"div",1),V(3,"router-outlet"),g(),p(4,"div",2),V(5,"uds-footer"),g()())},dependencies:[ec,eA,tA],styles:[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.footer[_ngcontent-%COMP%]{flex-shrink:0;margin:1em;height:1em;display:flex;flex-direction:row;justify-content:flex-end}.content[_ngcontent-%COMP%]{flex:1 0 auto;width:80%;margin:64px auto 0}@media only screen and (max-width:744px){.content[_ngcontent-%COMP%]{width:100%}}"]})}}return t})();var iA=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=P({type:t,bootstrap:[nA]})}static{this.\u0275inj=N({providers:[Me,qh,__(y_())],imports:[Ll,hD,ZM,QT,JT]})}}return t})();rh.production&&void 0;f_().bootstrapModule(iA).catch(t=>console.log(t)); diff --git a/server/src/uds/static/modern/polyfills.js b/server/src/uds/static/modern/polyfills.js index de8461379..b237b5ebf 100644 --- a/server/src/uds/static/modern/polyfills.js +++ b/server/src/uds/static/modern/polyfills.js @@ -1,2 +1,2 @@ -var ae=globalThis;function ee(e){return(ae.__Zone_symbol_prefix||"__zone_symbol__")+e}function dt(){let e=ae.performance;function n(j){e&&e.mark&&e.mark(j)}function a(j,i){e&&e.measure&&e.measure(j,i)}n("Zone");let Y=class Y{static assertZonePatched(){if(ae.Promise!==S.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let i=Y.current;for(;i.parent;)i=i.parent;return i}static get current(){return b.zone}static get currentTask(){return D}static __load_patch(i,s,o=!1){if(S.hasOwnProperty(i)){let p=ae[ee("forceDuplicateZoneCheck")]===!0;if(!o&&p)throw Error("Already loaded patch: "+i)}else if(!ae["__Zone_disable_"+i]){let p="Zone:"+i;n(p),S[i]=s(ae,Y,w),a(p,p)}}get parent(){return this._parent}get name(){return this._name}constructor(i,s){this._parent=i,this._name=s?s.name||"unnamed":"",this._properties=s&&s.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,s)}get(i){let s=this.getZoneWith(i);if(s)return s._properties[i]}getZoneWith(i){let s=this;for(;s;){if(s._properties.hasOwnProperty(i))return s;s=s._parent}return null}fork(i){if(!i)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,i)}wrap(i,s){if(typeof i!="function")throw new Error("Expecting function got: "+i);let o=this._zoneDelegate.intercept(this,i,s),p=this;return function(){return p.runGuarded(o,this,arguments,s)}}run(i,s,o,p){b={parent:b,zone:this};try{return this._zoneDelegate.invoke(this,i,s,o,p)}finally{b=b.parent}}runGuarded(i,s=null,o,p){b={parent:b,zone:this};try{try{return this._zoneDelegate.invoke(this,i,s,o,p)}catch(H){if(this._zoneDelegate.handleError(this,H))throw H}}finally{b=b.parent}}runTask(i,s,o){if(i.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(i.zone||K).name+"; Execution: "+this.name+")");let p=i,{type:H,data:{isPeriodic:M=!1,isRefreshable:se=!1}={}}=i;if(i.state===q&&(H===z||H===g))return;let le=i.state!=Z;le&&p._transitionTo(Z,d);let ue=D;D=p,b={parent:b,zone:this};try{H==g&&i.data&&!M&&!se&&(i.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,p,s,o)}catch(ne){if(this._zoneDelegate.handleError(this,ne))throw ne}}finally{let ne=i.state;if(ne!==q&&ne!==X)if(H==z||M||se&&ne===k)le&&p._transitionTo(d,Z,k);else{let h=p._zoneDelegates;this._updateTaskCount(p,-1),le&&p._transitionTo(q,Z,q),se&&(p._zoneDelegates=h)}b=b.parent,D=ue}}scheduleTask(i){if(i.zone&&i.zone!==this){let o=this;for(;o;){if(o===i.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${i.zone.name}`);o=o.parent}}i._transitionTo(k,q);let s=[];i._zoneDelegates=s,i._zone=this;try{i=this._zoneDelegate.scheduleTask(this,i)}catch(o){throw i._transitionTo(X,k,q),this._zoneDelegate.handleError(this,o),o}return i._zoneDelegates===s&&this._updateTaskCount(i,1),i.state==k&&i._transitionTo(d,k),i}scheduleMicroTask(i,s,o,p){return this.scheduleTask(new E(G,i,s,o,p,void 0))}scheduleMacroTask(i,s,o,p,H){return this.scheduleTask(new E(g,i,s,o,p,H))}scheduleEventTask(i,s,o,p,H){return this.scheduleTask(new E(z,i,s,o,p,H))}cancelTask(i){if(i.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(i.zone||K).name+"; Execution: "+this.name+")");if(!(i.state!==d&&i.state!==Z)){i._transitionTo(V,d,Z);try{this._zoneDelegate.cancelTask(this,i)}catch(s){throw i._transitionTo(X,V),this._zoneDelegate.handleError(this,s),s}return this._updateTaskCount(i,-1),i._transitionTo(q,V),i.runCount=-1,i}}_updateTaskCount(i,s){let o=i._zoneDelegates;s==-1&&(i._zoneDelegates=null);for(let p=0;pj.hasTask(s,o),onScheduleTask:(j,i,s,o)=>j.scheduleTask(s,o),onInvokeTask:(j,i,s,o,p,H)=>j.invokeTask(s,o,p,H),onCancelTask:(j,i,s,o)=>j.cancelTask(s,o)};class f{get zone(){return this._zone}constructor(i,s,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=i,this._parentDelegate=s,this._forkZS=o&&(o&&o.onFork?o:s._forkZS),this._forkDlgt=o&&(o.onFork?s:s._forkDlgt),this._forkCurrZone=o&&(o.onFork?this._zone:s._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:s._interceptZS),this._interceptDlgt=o&&(o.onIntercept?s:s._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this._zone:s._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:s._invokeZS),this._invokeDlgt=o&&(o.onInvoke?s:s._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this._zone:s._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:s._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?s:s._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this._zone:s._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:s._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?s:s._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this._zone:s._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:s._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?s:s._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this._zone:s._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:s._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?s:s._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this._zone:s._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let p=o&&o.onHasTask,H=s&&s._hasTaskZS;(p||H)&&(this._hasTaskZS=p?o:c,this._hasTaskDlgt=s,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,o.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=s,this._scheduleTaskCurrZone=this._zone),o.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=s,this._invokeTaskCurrZone=this._zone),o.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=s,this._cancelTaskCurrZone=this._zone))}fork(i,s){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,i,s):new t(i,s)}intercept(i,s,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,i,s,o):s}invoke(i,s,o,p,H){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,i,s,o,p,H):s.apply(o,p)}handleError(i,s){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,i,s):!0}scheduleTask(i,s){let o=s;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,i,s),o||(o=s);else if(s.scheduleFn)s.scheduleFn(s);else if(s.type==G)U(s);else throw new Error("Task is missing scheduleFn.");return o}invokeTask(i,s,o,p){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,i,s,o,p):s.callback.apply(o,p)}cancelTask(i,s){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,i,s);else{if(!s.cancelFn)throw Error("Task is not cancelable");o=s.cancelFn(s)}return o}hasTask(i,s){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,i,s)}catch(o){this.handleError(i,o)}}_updateTaskCount(i,s){let o=this._taskCounts,p=o[i],H=o[i]=p+s;if(H<0)throw new Error("More tasks executed then were scheduled.");if(p==0||H==0){let M={microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:i};this.hasTask(this._zone,M)}}}class E{constructor(i,s,o,p,H,M){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=i,this.source=s,this.data=p,this.scheduleFn=H,this.cancelFn=M,!o)throw new Error("callback is not defined");this.callback=o;let se=this;i===z&&p&&p.useG?this.invoke=E.invokeTask:this.invoke=function(){return E.invokeTask.call(ae,se,this,arguments)}}static invokeTask(i,s,o){i||(i=this),Q++;try{return i.runCount++,i.zone.runTask(i,s,o)}finally{Q==1&&J(),Q--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(q,k)}_transitionTo(i,s,o){if(this._state===s||this._state===o)this._state=i,i==q&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${i}', expecting state '${s}'${o?" or '"+o+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let T=ee("setTimeout"),m=ee("Promise"),C=ee("then"),_=[],P=!1,I;function x(j){if(I||ae[m]&&(I=ae[m].resolve(0)),I){let i=I[C];i||(i=I.then),i.call(I,j)}else ae[T](j,0)}function U(j){Q===0&&_.length===0&&x(J),j&&_.push(j)}function J(){if(!P){for(P=!0;_.length;){let j=_;_=[];for(let i=0;ib,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:U,showUncaughtError:()=>!t[ee("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:x},b={parent:null,zone:new t(null,null)},D=null,Q=0;function W(){}return a("Zone","Zone"),t}function _t(){let e=globalThis,n=e[ee("forceDuplicateZoneCheck")]===!0;if(e.Zone&&(n||typeof e.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return e.Zone??=dt(),e.Zone}var be=Object.getOwnPropertyDescriptor,Ae=Object.defineProperty,je=Object.getPrototypeOf,Et=Object.create,Tt=Array.prototype.slice,He="addEventListener",xe="removeEventListener",Le=ee(He),Ie=ee(xe),fe="true",he="false",Pe=ee("");function Ve(e,n){return Zone.current.wrap(e,n)}function Ge(e,n,a,t,c){return Zone.current.scheduleMacroTask(e,n,a,t,c)}var A=ee,De=typeof window<"u",pe=De?window:void 0,$=De&&pe||globalThis,gt="removeAttribute";function Fe(e,n){for(let a=e.length-1;a>=0;a--)typeof e[a]=="function"&&(e[a]=Ve(e[a],n+"_"+a));return e}function yt(e,n){let a=e.constructor.name;for(let t=0;t{let m=function(){return T.apply(this,Fe(arguments,a+"."+c))};return _e(m,T),m})(f)}}}function tt(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var nt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Se=!("nw"in $)&&typeof $.process<"u"&&$.process.toString()==="[object process]",Be=!Se&&!nt&&!!(De&&pe.HTMLElement),rt=typeof $.process<"u"&&$.process.toString()==="[object process]"&&!nt&&!!(De&&pe.HTMLElement),Ce={},mt=A("enable_beforeunload"),Ye=function(e){if(e=e||$.event,!e)return;let n=Ce[e.type];n||(n=Ce[e.type]=A("ON_PROPERTY"+e.type));let a=this||e.target||$,t=a[n],c;if(Be&&a===pe&&e.type==="error"){let f=e;c=t&&t.call(this,f.message,f.filename,f.lineno,f.colno,f.error),c===!0&&e.preventDefault()}else c=t&&t.apply(this,arguments),e.type==="beforeunload"&&$[mt]&&typeof c=="string"?e.returnValue=c:c!=null&&!c&&e.preventDefault();return c};function $e(e,n,a){let t=be(e,n);if(!t&&a&&be(a,n)&&(t={enumerable:!0,configurable:!0}),!t||!t.configurable)return;let c=A("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete t.writable,delete t.value;let f=t.get,E=t.set,T=n.slice(2),m=Ce[T];m||(m=Ce[T]=A("ON_PROPERTY"+T)),t.set=function(C){let _=this;if(!_&&e===$&&(_=$),!_)return;typeof _[m]=="function"&&_.removeEventListener(T,Ye),E&&E.call(_,null),_[m]=C,typeof C=="function"&&_.addEventListener(T,Ye,!1)},t.get=function(){let C=this;if(!C&&e===$&&(C=$),!C)return null;let _=C[m];if(_)return _;if(f){let P=f.call(this);if(P)return t.set.call(this,P),typeof C[gt]=="function"&&C.removeAttribute(n),P}return null},Ae(e,n,t),e[c]=!0}function ot(e,n,a){if(n)for(let t=0;tfunction(E,T){let m=a(E,T);return m.cbIdx>=0&&typeof T[m.cbIdx]=="function"?Ge(m.name,T[m.cbIdx],m,c):f.apply(E,T)})}function _e(e,n){e[A("OriginalDelegate")]=n}var Je=!1,Me=!1;function kt(){try{let e=pe.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch{}return!1}function vt(){if(Je)return Me;Je=!0;try{let e=pe.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Me=!0)}catch{}return Me}function Ke(e){return typeof e=="function"}function Qe(e){return typeof e=="number"}var me=!1;if(typeof window<"u")try{let e=Object.defineProperty({},"passive",{get:function(){me=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{me=!1}var bt={useG:!0},te={},st={},it=new RegExp("^"+Pe+"(\\w+)(true|false)$"),ct=A("propagationStopped");function at(e,n){let a=(n?n(e):e)+he,t=(n?n(e):e)+fe,c=Pe+a,f=Pe+t;te[e]={},te[e][he]=c,te[e][fe]=f}function Pt(e,n,a,t){let c=t&&t.add||He,f=t&&t.rm||xe,E=t&&t.listeners||"eventListeners",T=t&&t.rmAll||"removeAllListeners",m=A(c),C="."+c+":",_="prependListener",P="."+_+":",I=function(k,d,Z){if(k.isRemoved)return;let V=k.callback;typeof V=="object"&&V.handleEvent&&(k.callback=g=>V.handleEvent(g),k.originalDelegate=V);let X;try{k.invoke(k,d,[Z])}catch(g){X=g}let G=k.options;if(G&&typeof G=="object"&&G.once){let g=k.originalDelegate?k.originalDelegate:k.callback;d[f].call(d,Z.type,g,G)}return X};function x(k,d,Z){if(d=d||e.event,!d)return;let V=k||d.target||e,X=V[te[d.type][Z?fe:he]];if(X){let G=[];if(X.length===1){let g=I(X[0],V,d);g&&G.push(g)}else{let g=X.slice();for(let z=0;z{throw z})}}}let U=function(k){return x(this,k,!1)},J=function(k){return x(this,k,!0)};function K(k,d){if(!k)return!1;let Z=!0;d&&d.useG!==void 0&&(Z=d.useG);let V=d&&d.vh,X=!0;d&&d.chkDup!==void 0&&(X=d.chkDup);let G=!1;d&&d.rt!==void 0&&(G=d.rt);let g=k;for(;g&&!g.hasOwnProperty(c);)g=je(g);if(!g&&k[c]&&(g=k),!g||g[m])return!1;let z=d&&d.eventNameToString,S={},w=g[m]=g[c],b=g[A(f)]=g[f],D=g[A(E)]=g[E],Q=g[A(T)]=g[T],W;d&&d.prepend&&(W=g[A(d.prepend)]=g[d.prepend]);function Y(r,u){return!me&&typeof r=="object"&&r?!!r.capture:!me||!u?r:typeof r=="boolean"?{capture:r,passive:!0}:r?typeof r=="object"&&r.passive!==!1?{...r,passive:!0}:r:{passive:!0}}let j=function(r){if(!S.isExisting)return w.call(S.target,S.eventName,S.capture?J:U,S.options)},i=function(r){if(!r.isRemoved){let u=te[r.eventName],v;u&&(v=u[r.capture?fe:he]);let R=v&&r.target[v];if(R){for(let y=0;yre.zone.cancelTask(re);r.call(Te,"abort",ce,{once:!0}),re.removeAbortListener=()=>Te.removeEventListener("abort",ce)}if(S.target=null,ke&&(ke.taskData=null),Ue&&(S.options.once=!0),!me&&typeof re.options=="boolean"||(re.options=ie),re.target=N,re.capture=Oe,re.eventName=L,B&&(re.originalDelegate=F),O?ge.unshift(re):ge.push(re),y)return N}};return g[c]=l(w,C,H,M,G),W&&(g[_]=l(W,P,o,M,G,!0)),g[f]=function(){let r=this||e,u=arguments[0];d&&d.transferEventName&&(u=d.transferEventName(u));let v=arguments[2],R=v?typeof v=="boolean"?!0:v.capture:!1,y=arguments[1];if(!y)return b.apply(this,arguments);if(V&&!V(b,y,r,arguments))return;let O=te[u],N;O&&(N=O[R?fe:he]);let L=N&&r[N];if(L)for(let F=0;Ffunction(c,f){c[ct]=!0,t&&t.apply(c,f)})}function Rt(e,n){n.patchMethod(e,"queueMicrotask",a=>function(t,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}var Re=A("zoneTask");function ye(e,n,a,t){let c=null,f=null;n+=t,a+=t;let E={};function T(C){let _=C.data;_.args[0]=function(){return C.invoke.apply(this,arguments)};let P=c.apply(e,_.args);return Qe(P)?_.handleId=P:(_.handle=P,_.isRefreshable=Ke(P.refresh)),C}function m(C){let{handle:_,handleId:P}=C.data;return f.call(e,_??P)}c=de(e,n,C=>function(_,P){if(Ke(P[0])){let I={isRefreshable:!1,isPeriodic:t==="Interval",delay:t==="Timeout"||t==="Interval"?P[1]||0:void 0,args:P},x=P[0];P[0]=function(){try{return x.apply(this,arguments)}finally{let{handle:Z,handleId:V,isPeriodic:X,isRefreshable:G}=I;!X&&!G&&(V?delete E[V]:Z&&(Z[Re]=null))}};let U=Ge(n,P[0],I,T,m);if(!U)return U;let{handleId:J,handle:K,isRefreshable:q,isPeriodic:k}=U.data;if(J)E[J]=U;else if(K&&(K[Re]=U,q&&!k)){let d=K.refresh;K.refresh=function(){let{zone:Z,state:V}=U;return V==="notScheduled"?(U._state="scheduled",Z._updateTaskCount(U,1)):V==="running"&&(U._state="scheduling"),d.call(this)}}return K??J??U}else return C.apply(e,P)}),f=de(e,a,C=>function(_,P){let I=P[0],x;Qe(I)?(x=E[I],delete E[I]):(x=I?.[Re],x?I[Re]=null:x=I),x?.type?x.cancelFn&&x.zone.cancelTask(x):C.apply(e,P)})}function Ct(e,n){let{isBrowser:a,isMix:t}=n.getGlobalObjects();if(!a&&!t||!e.customElements||!("customElements"in e))return;let c=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];n.patchCallbacks(n,e.customElements,"customElements","define",c)}function Dt(e,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:a,zoneSymbolEventNames:t,TRUE_STR:c,FALSE_STR:f,ZONE_SYMBOL_PREFIX:E}=n.getGlobalObjects();for(let m=0;mf.target===e);if(!t||t.length===0)return n;let c=t[0].ignoreProperties;return n.filter(f=>c.indexOf(f)===-1)}function et(e,n,a,t){if(!e)return;let c=ut(e,n,a);ot(e,c,t)}function Ze(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function Ot(e,n){if(Se&&!rt||Zone[e.symbol("patchEvents")])return;let a=n.__Zone_ignore_on_properties,t=[];if(Be){let c=window;t=t.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let f=kt()?[{target:c,ignoreProperties:["error"]}]:[];et(c,Ze(c),a&&a.concat(f),je(c))}t=t.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{let a=n[e.__symbol__("legacyPatch")];a&&a()}),e.__load_patch("timers",n=>{let a="set",t="clear";ye(n,a,t,"Timeout"),ye(n,a,t,"Interval"),ye(n,a,t,"Immediate")}),e.__load_patch("requestAnimationFrame",n=>{ye(n,"request","cancel","AnimationFrame"),ye(n,"mozRequest","mozCancel","AnimationFrame"),ye(n,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(n,a)=>{let t=["alert","prompt","confirm"];for(let c=0;cfunction(C,_){return a.current.run(E,n,_,m)})}}),e.__load_patch("EventTarget",(n,a,t)=>{St(n,t),Dt(n,t);let c=n.XMLHttpRequestEventTarget;c&&c.prototype&&t.patchEventTarget(n,t,[c.prototype])}),e.__load_patch("MutationObserver",(n,a,t)=>{ve("MutationObserver"),ve("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(n,a,t)=>{ve("IntersectionObserver")}),e.__load_patch("FileReader",(n,a,t)=>{ve("FileReader")}),e.__load_patch("on_property",(n,a,t)=>{Ot(t,n)}),e.__load_patch("customElements",(n,a,t)=>{Ct(n,t)}),e.__load_patch("XHR",(n,a)=>{C(n);let t=A("xhrTask"),c=A("xhrSync"),f=A("xhrListener"),E=A("xhrScheduled"),T=A("xhrURL"),m=A("xhrErrorBeforeScheduled");function C(_){let P=_.XMLHttpRequest;if(!P)return;let I=P.prototype;function x(w){return w[t]}let U=I[Le],J=I[Ie];if(!U){let w=_.XMLHttpRequestEventTarget;if(w){let b=w.prototype;U=b[Le],J=b[Ie]}}let K="readystatechange",q="scheduled";function k(w){let b=w.data,D=b.target;D[E]=!1,D[m]=!1;let Q=D[f];U||(U=D[Le],J=D[Ie]),Q&&J.call(D,K,Q);let W=D[f]=()=>{if(D.readyState===D.DONE)if(!b.aborted&&D[E]&&w.state===q){let j=D[a.__symbol__("loadfalse")];if(D.status!==0&&j&&j.length>0){let i=w.invoke;w.invoke=function(){let s=D[a.__symbol__("loadfalse")];for(let o=0;ofunction(w,b){return w[c]=b[2]==!1,w[T]=b[1],V.apply(w,b)}),X="XMLHttpRequest.send",G=A("fetchTaskAborting"),g=A("fetchTaskScheduling"),z=de(I,"send",()=>function(w,b){if(a.current[g]===!0||w[c])return z.apply(w,b);{let D={target:w,url:w[T],isPeriodic:!1,args:b,aborted:!1},Q=Ge(X,d,D,k,Z);w&&w[m]===!0&&!D.aborted&&Q.state===q&&Q.invoke()}}),S=de(I,"abort",()=>function(w,b){let D=x(w);if(D&&typeof D.type=="string"){if(D.cancelFn==null||D.data&&D.data.aborted)return;D.zone.cancelTask(D)}else if(a.current[G]===!0)return S.apply(w,b)})}}),e.__load_patch("geolocation",n=>{n.navigator&&n.navigator.geolocation&&yt(n.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(n,a)=>{function t(c){return function(f){lt(n,c).forEach(T=>{let m=n.PromiseRejectionEvent;if(m){let C=new m(c,{promise:f.promise,reason:f.rejection});T.invoke(C)}})}}n.PromiseRejectionEvent&&(a[A("unhandledPromiseRejectionHandler")]=t("unhandledrejection"),a[A("rejectionHandledHandler")]=t("rejectionhandled"))}),e.__load_patch("queueMicrotask",(n,a,t)=>{Rt(n,t)})}function Lt(e){e.__load_patch("ZoneAwarePromise",(n,a,t)=>{let c=Object.getOwnPropertyDescriptor,f=Object.defineProperty;function E(h){if(h&&h.toString===Object.prototype.toString){let l=h.constructor&&h.constructor.name;return(l||"")+": "+JSON.stringify(h)}return h?h.toString():Object.prototype.toString.call(h)}let T=t.symbol,m=[],C=n[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,_=T("Promise"),P=T("then"),I="__creationTrace__";t.onUnhandledError=h=>{if(t.showUncaughtError()){let l=h&&h.rejection;l?console.error("Unhandled Promise rejection:",l instanceof Error?l.message:l,"; Zone:",h.zone.name,"; Task:",h.task&&h.task.source,"; Value:",l,l instanceof Error?l.stack:void 0):console.error(h)}},t.microtaskDrainDone=()=>{for(;m.length;){let h=m.shift();try{h.zone.runGuarded(()=>{throw h.throwOriginal?h.rejection:h})}catch(l){U(l)}}};let x=T("unhandledPromiseRejectionHandler");function U(h){t.onUnhandledError(h);try{let l=a[x];typeof l=="function"&&l.call(this,h)}catch{}}function J(h){return h&&h.then}function K(h){return h}function q(h){return M.reject(h)}let k=T("state"),d=T("value"),Z=T("finally"),V=T("parentPromiseValue"),X=T("parentPromiseState"),G="Promise.then",g=null,z=!0,S=!1,w=0;function b(h,l){return r=>{try{Y(h,l,r)}catch(u){Y(h,!1,u)}}}let D=function(){let h=!1;return function(r){return function(){h||(h=!0,r.apply(null,arguments))}}},Q="Promise resolved with itself",W=T("currentTaskTrace");function Y(h,l,r){let u=D();if(h===r)throw new TypeError(Q);if(h[k]===g){let v=null;try{(typeof r=="object"||typeof r=="function")&&(v=r&&r.then)}catch(R){return u(()=>{Y(h,!1,R)})(),h}if(l!==S&&r instanceof M&&r.hasOwnProperty(k)&&r.hasOwnProperty(d)&&r[k]!==g)i(r),Y(h,r[k],r[d]);else if(l!==S&&typeof v=="function")try{v.call(r,u(b(h,l)),u(b(h,!1)))}catch(R){u(()=>{Y(h,!1,R)})()}else{h[k]=l;let R=h[d];if(h[d]=r,h[Z]===Z&&l===z&&(h[k]=h[X],h[d]=h[V]),l===S&&r instanceof Error){let y=a.currentTask&&a.currentTask.data&&a.currentTask.data[I];y&&f(r,W,{configurable:!0,enumerable:!1,writable:!0,value:y})}for(let y=0;y{try{let O=h[d],N=!!r&&Z===r[Z];N&&(r[V]=O,r[X]=R);let L=l.run(y,void 0,N&&y!==q&&y!==K?[]:[O]);Y(r,!0,L)}catch(O){Y(r,!1,O)}},r)}let o="function ZoneAwarePromise() { [native code] }",p=function(){},H=n.AggregateError;class M{static toString(){return o}static resolve(l){return l instanceof M?l:Y(new this(null),z,l)}static reject(l){return Y(new this(null),S,l)}static withResolvers(){let l={};return l.promise=new M((r,u)=>{l.resolve=r,l.reject=u}),l}static any(l){if(!l||typeof l[Symbol.iterator]!="function")return Promise.reject(new H([],"All promises were rejected"));let r=[],u=0;try{for(let y of l)u++,r.push(M.resolve(y))}catch{return Promise.reject(new H([],"All promises were rejected"))}if(u===0)return Promise.reject(new H([],"All promises were rejected"));let v=!1,R=[];return new M((y,O)=>{for(let N=0;N{v||(v=!0,y(L))},L=>{R.push(L),u--,u===0&&(v=!0,O(new H(R,"All promises were rejected")))})})}static race(l){let r,u,v=new this((O,N)=>{r=O,u=N});function R(O){r(O)}function y(O){u(O)}for(let O of l)J(O)||(O=this.resolve(O)),O.then(R,y);return v}static all(l){return M.allWithCallback(l)}static allSettled(l){return(this&&this.prototype instanceof M?this:M).allWithCallback(l,{thenCallback:u=>({status:"fulfilled",value:u}),errorCallback:u=>({status:"rejected",reason:u})})}static allWithCallback(l,r){let u,v,R=new this((L,F)=>{u=L,v=F}),y=2,O=0,N=[];for(let L of l){J(L)||(L=this.resolve(L));let F=O;try{L.then(B=>{N[F]=r?r.thenCallback(B):B,y--,y===0&&u(N)},B=>{r?(N[F]=r.errorCallback(B),y--,y===0&&u(N)):v(B)})}catch(B){v(B)}y++,O++}return y-=2,y===0&&u(N),R}constructor(l){let r=this;if(!(r instanceof M))throw new Error("Must be an instanceof Promise.");r[k]=g,r[d]=[];try{let u=D();l&&l(u(b(r,z)),u(b(r,S)))}catch(u){Y(r,!1,u)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return M}then(l,r){let u=this.constructor?.[Symbol.species];(!u||typeof u!="function")&&(u=this.constructor||M);let v=new u(p),R=a.current;return this[k]==g?this[d].push(R,v,l,r):s(this,R,v,l,r),v}catch(l){return this.then(null,l)}finally(l){let r=this.constructor?.[Symbol.species];(!r||typeof r!="function")&&(r=M);let u=new r(p);u[Z]=Z;let v=a.current;return this[k]==g?this[d].push(v,u,l,l):s(this,v,u,l,l),u}}M.resolve=M.resolve,M.reject=M.reject,M.race=M.race,M.all=M.all;let se=n[_]=n.Promise;n.Promise=M;let le=T("thenPatched");function ue(h){let l=h.prototype,r=c(l,"then");if(r&&(r.writable===!1||!r.configurable))return;let u=l.then;l[P]=u,h.prototype.then=function(v,R){return new M((O,N)=>{u.call(this,O,N)}).then(v,R)},h[le]=!0}t.patchThen=ue;function ne(h){return function(l,r){let u=h.apply(l,r);if(u instanceof M)return u;let v=u.constructor;return v[le]||ue(v),u}}return se&&(ue(se),de(n,"fetch",h=>ne(h))),Promise[a.__symbol__("uncaughtPromiseErrors")]=m,M})}function It(e){e.__load_patch("toString",n=>{let a=Function.prototype.toString,t=A("OriginalDelegate"),c=A("Promise"),f=A("Error"),E=function(){if(typeof this=="function"){let _=this[t];if(_)return typeof _=="function"?a.call(_):Object.prototype.toString.call(_);if(this===Promise){let P=n[c];if(P)return a.call(P)}if(this===Error){let P=n[f];if(P)return a.call(P)}}return a.call(this)};E[t]=a,Function.prototype.toString=E;let T=Object.prototype.toString,m="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?m:T.call(this)}})}function Mt(e,n,a,t,c){let f=Zone.__symbol__(t);if(n[f])return;let E=n[f]=n[t];n[t]=function(T,m,C){return m&&m.prototype&&c.forEach(function(_){let P=`${a}.${t}::`+_,I=m.prototype;try{if(I.hasOwnProperty(_)){let x=e.ObjectGetOwnPropertyDescriptor(I,_);x&&x.value?(x.value=e.wrapWithCurrentZone(x.value,P),e._redefineProperty(m.prototype,_,x)):I[_]&&(I[_]=e.wrapWithCurrentZone(I[_],P))}else I[_]&&(I[_]=e.wrapWithCurrentZone(I[_],P))}catch{}}),E.call(n,T,m,C)},e.attachOriginToPatched(n[t],E)}function Zt(e){e.__load_patch("util",(n,a,t)=>{let c=Ze(n);t.patchOnProperties=ot,t.patchMethod=de,t.bindArguments=Fe,t.patchMacroTask=pt;let f=a.__symbol__("BLACK_LISTED_EVENTS"),E=a.__symbol__("UNPATCHED_EVENTS");n[E]&&(n[f]=n[E]),n[f]&&(a[f]=a[E]=n[f]),t.patchEventPrototype=wt,t.patchEventTarget=Pt,t.isIEOrEdge=vt,t.ObjectDefineProperty=Ae,t.ObjectGetOwnPropertyDescriptor=be,t.ObjectCreate=Et,t.ArraySlice=Tt,t.patchClass=ve,t.wrapWithCurrentZone=Ve,t.filterProperties=ut,t.attachOriginToPatched=_e,t._redefineProperty=Object.defineProperty,t.patchCallbacks=Mt,t.getGlobalObjects=()=>({globalSources:st,zoneSymbolEventNames:te,eventNames:c,isBrowser:Be,isMix:rt,isNode:Se,TRUE_STR:fe,FALSE_STR:he,ZONE_SYMBOL_PREFIX:Pe,ADD_EVENT_LISTENER_STR:He,REMOVE_EVENT_LISTENER_STR:xe})})}function At(e){Lt(e),It(e),Zt(e)}var ft=_t();At(ft);Nt(ft); +var ce=globalThis;function te(t){return(ce.__Zone_symbol_prefix||"__zone_symbol__")+t}function ht(){let t=ce.performance;function n(I){t&&t.mark&&t.mark(I)}function a(I,s){t&&t.measure&&t.measure(I,s)}n("Zone");class e{static __symbol__=te;static assertZonePatched(){if(ce.Promise!==S.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let s=e.current;for(;s.parent;)s=s.parent;return s}static get current(){return b.zone}static get currentTask(){return D}static __load_patch(s,i,r=!1){if(S.hasOwnProperty(s)){let E=ce[te("forceDuplicateZoneCheck")]===!0;if(!r&&E)throw Error("Already loaded patch: "+s)}else if(!ce["__Zone_disable_"+s]){let E="Zone:"+s;n(E),S[s]=i(ce,e,R),a(E,E)}}get parent(){return this._parent}get name(){return this._name}_parent;_name;_properties;_zoneDelegate;constructor(s,i){this._parent=s,this._name=i?i.name||"unnamed":"",this._properties=i&&i.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,i)}get(s){let i=this.getZoneWith(s);if(i)return i._properties[s]}getZoneWith(s){let i=this;for(;i;){if(i._properties.hasOwnProperty(s))return i;i=i._parent}return null}fork(s){if(!s)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,s)}wrap(s,i){if(typeof s!="function")throw new Error("Expecting function got: "+s);let r=this._zoneDelegate.intercept(this,s,i),E=this;return function(){return E.runGuarded(r,this,arguments,i)}}run(s,i,r,E){b={parent:b,zone:this};try{return this._zoneDelegate.invoke(this,s,i,r,E)}finally{b=b.parent}}runGuarded(s,i=null,r,E){b={parent:b,zone:this};try{try{return this._zoneDelegate.invoke(this,s,i,r,E)}catch(x){if(this._zoneDelegate.handleError(this,x))throw x}}finally{b=b.parent}}runTask(s,i,r){if(s.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(s.zone||J).name+"; Execution: "+this.name+")");let E=s,{type:x,data:{isPeriodic:ee=!1,isRefreshable:M=!1}={}}=s;if(s.state===q&&(x===U||x===k))return;let he=s.state!=A;he&&E._transitionTo(A,d);let _e=D;D=E,b={parent:b,zone:this};try{x==k&&s.data&&!ee&&!M&&(s.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,E,i,r)}catch(Q){if(this._zoneDelegate.handleError(this,Q))throw Q}}finally{let Q=s.state;if(Q!==q&&Q!==X)if(x==U||ee||M&&Q===p)he&&E._transitionTo(d,A,p);else{let Te=E._zoneDelegates;this._updateTaskCount(E,-1),he&&E._transitionTo(q,A,q),M&&(E._zoneDelegates=Te)}b=b.parent,D=_e}}scheduleTask(s){if(s.zone&&s.zone!==this){let r=this;for(;r;){if(r===s.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${s.zone.name}`);r=r.parent}}s._transitionTo(p,q);let i=[];s._zoneDelegates=i,s._zone=this;try{s=this._zoneDelegate.scheduleTask(this,s)}catch(r){throw s._transitionTo(X,p,q),this._zoneDelegate.handleError(this,r),r}return s._zoneDelegates===i&&this._updateTaskCount(s,1),s.state==p&&s._transitionTo(d,p),s}scheduleMicroTask(s,i,r,E){return this.scheduleTask(new g(F,s,i,r,E,void 0))}scheduleMacroTask(s,i,r,E,x){return this.scheduleTask(new g(k,s,i,r,E,x))}scheduleEventTask(s,i,r,E,x){return this.scheduleTask(new g(U,s,i,r,E,x))}cancelTask(s){if(s.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(s.zone||J).name+"; Execution: "+this.name+")");if(!(s.state!==d&&s.state!==A)){s._transitionTo(V,d,A);try{this._zoneDelegate.cancelTask(this,s)}catch(i){throw s._transitionTo(X,V),this._zoneDelegate.handleError(this,i),i}return this._updateTaskCount(s,-1),s._transitionTo(q,V),s.runCount=-1,s}}_updateTaskCount(s,i){let r=s._zoneDelegates;i==-1&&(s._zoneDelegates=null);for(let E=0;EI.hasTask(i,r),onScheduleTask:(I,s,i,r)=>I.scheduleTask(i,r),onInvokeTask:(I,s,i,r,E,x)=>I.invokeTask(i,r,E,x),onCancelTask:(I,s,i,r)=>I.cancelTask(i,r)};class f{get zone(){return this._zone}_zone;_taskCounts={microTask:0,macroTask:0,eventTask:0};_parentDelegate;_forkDlgt;_forkZS;_forkCurrZone;_interceptDlgt;_interceptZS;_interceptCurrZone;_invokeDlgt;_invokeZS;_invokeCurrZone;_handleErrorDlgt;_handleErrorZS;_handleErrorCurrZone;_scheduleTaskDlgt;_scheduleTaskZS;_scheduleTaskCurrZone;_invokeTaskDlgt;_invokeTaskZS;_invokeTaskCurrZone;_cancelTaskDlgt;_cancelTaskZS;_cancelTaskCurrZone;_hasTaskDlgt;_hasTaskDlgtOwner;_hasTaskZS;_hasTaskCurrZone;constructor(s,i,r){this._zone=s,this._parentDelegate=i,this._forkZS=r&&(r&&r.onFork?r:i._forkZS),this._forkDlgt=r&&(r.onFork?i:i._forkDlgt),this._forkCurrZone=r&&(r.onFork?this._zone:i._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:i._interceptZS),this._interceptDlgt=r&&(r.onIntercept?i:i._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this._zone:i._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:i._invokeZS),this._invokeDlgt=r&&(r.onInvoke?i:i._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this._zone:i._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:i._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?i:i._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this._zone:i._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:i._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?i:i._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this._zone:i._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:i._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?i:i._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this._zone:i._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:i._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?i:i._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this._zone:i._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let E=r&&r.onHasTask,x=i&&i._hasTaskZS;(E||x)&&(this._hasTaskZS=E?r:c,this._hasTaskDlgt=i,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,r.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=i,this._scheduleTaskCurrZone=this._zone),r.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=i,this._invokeTaskCurrZone=this._zone),r.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=i,this._cancelTaskCurrZone=this._zone))}fork(s,i){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,s,i):new e(s,i)}intercept(s,i,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,s,i,r):i}invoke(s,i,r,E,x){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,s,i,r,E,x):i.apply(r,E)}handleError(s,i){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,s,i):!0}scheduleTask(s,i){let r=i;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,s,i),r||(r=i);else if(i.scheduleFn)i.scheduleFn(i);else if(i.type==F)z(i);else throw new Error("Task is missing scheduleFn.");return r}invokeTask(s,i,r,E){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,s,i,r,E):i.callback.apply(r,E)}cancelTask(s,i){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,s,i);else{if(!i.cancelFn)throw Error("Task is not cancelable");r=i.cancelFn(i)}return r}hasTask(s,i){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,s,i)}catch(r){this.handleError(s,r)}}_updateTaskCount(s,i){let r=this._taskCounts,E=r[s],x=r[s]=E+i;if(x<0)throw new Error("More tasks executed then were scheduled.");if(E==0||x==0){let ee={microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:s};this.hasTask(this._zone,ee)}}}class g{type;source;invoke;callback;data;scheduleFn;cancelFn;_zone=null;runCount=0;_zoneDelegates=null;_state="notScheduled";constructor(s,i,r,E,x,ee){if(this.type=s,this.source=i,this.data=E,this.scheduleFn=x,this.cancelFn=ee,!r)throw new Error("callback is not defined");this.callback=r;let M=this;s===U&&E&&E.useG?this.invoke=g.invokeTask:this.invoke=function(){return g.invokeTask.call(ce,M,this,arguments)}}static invokeTask(s,i,r){s||(s=this),K++;try{return s.runCount++,s.zone.runTask(s,i,r)}finally{K==1&&$(),K--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(q,p)}_transitionTo(s,i,r){if(this._state===i||this._state===r)this._state=s,s==q&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${s}', expecting state '${i}'${r?" or '"+r+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let T=te("setTimeout"),y=te("Promise"),w=te("then"),_=[],P=!1,L;function H(I){if(L||ce[y]&&(L=ce[y].resolve(0)),L){let s=L[w];s||(s=L.then),s.call(L,I)}else ce[T](I,0)}function z(I){K===0&&_.length===0&&H($),I&&_.push(I)}function $(){if(!P){for(P=!0;_.length;){let I=_;_=[];for(let s=0;sb,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:z,showUncaughtError:()=>!e[te("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:H},b={parent:null,zone:new e(null,null)},D=null,K=0;function W(){}return a("Zone","Zone"),e}function dt(){let t=globalThis,n=t[te("forceDuplicateZoneCheck")]===!0;if(t.Zone&&(n||typeof t.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return t.Zone??=ht(),t.Zone}var pe=Object.getOwnPropertyDescriptor,Me=Object.defineProperty,Ae=Object.getPrototypeOf,_t=Object.create,Tt=Array.prototype.slice,je="addEventListener",He="removeEventListener",Ne=te(je),Ze=te(He),ae="true",le="false",ve=te("");function Ve(t,n){return Zone.current.wrap(t,n)}function xe(t,n,a,e,c){return Zone.current.scheduleMacroTask(t,n,a,e,c)}var j=te,we=typeof window<"u",be=we?window:void 0,Y=we&&be||globalThis,Et="removeAttribute";function Fe(t,n){for(let a=t.length-1;a>=0;a--)typeof t[a]=="function"&&(t[a]=Ve(t[a],n+"_"+a));return t}function gt(t,n){let a=t.constructor.name;for(let e=0;e{let y=function(){return T.apply(this,Fe(arguments,a+"."+c))};return fe(y,T),y})(f)}}}function et(t){return t?t.writable===!1?!1:!(typeof t.get=="function"&&typeof t.set>"u"):!0}var tt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,De=!("nw"in Y)&&typeof Y.process<"u"&&Y.process.toString()==="[object process]",Ge=!De&&!tt&&!!(we&&be.HTMLElement),nt=typeof Y.process<"u"&&Y.process.toString()==="[object process]"&&!tt&&!!(we&&be.HTMLElement),Ce={},kt=j("enable_beforeunload"),Xe=function(t){if(t=t||Y.event,!t)return;let n=Ce[t.type];n||(n=Ce[t.type]=j("ON_PROPERTY"+t.type));let a=this||t.target||Y,e=a[n],c;if(Ge&&a===be&&t.type==="error"){let f=t;c=e&&e.call(this,f.message,f.filename,f.lineno,f.colno,f.error),c===!0&&t.preventDefault()}else c=e&&e.apply(this,arguments),t.type==="beforeunload"&&Y[kt]&&typeof c=="string"?t.returnValue=c:c!=null&&!c&&t.preventDefault();return c};function Ye(t,n,a){let e=pe(t,n);if(!e&&a&&pe(a,n)&&(e={enumerable:!0,configurable:!0}),!e||!e.configurable)return;let c=j("on"+n+"patched");if(t.hasOwnProperty(c)&&t[c])return;delete e.writable,delete e.value;let f=e.get,g=e.set,T=n.slice(2),y=Ce[T];y||(y=Ce[T]=j("ON_PROPERTY"+T)),e.set=function(w){let _=this;if(!_&&t===Y&&(_=Y),!_)return;typeof _[y]=="function"&&_.removeEventListener(T,Xe),g?.call(_,null),_[y]=w,typeof w=="function"&&_.addEventListener(T,Xe,!1)},e.get=function(){let w=this;if(!w&&t===Y&&(w=Y),!w)return null;let _=w[y];if(_)return _;if(f){let P=f.call(this);if(P)return e.set.call(this,P),typeof w[Et]=="function"&&w.removeAttribute(n),P}return null},Me(t,n,e),t[c]=!0}function rt(t,n,a){if(n)for(let e=0;efunction(g,T){let y=a(g,T);return y.cbIdx>=0&&typeof T[y.cbIdx]=="function"?xe(y.name,T[y.cbIdx],y,c):f.apply(g,T)})}function fe(t,n){t[j("OriginalDelegate")]=n}var $e=!1,Le=!1;function yt(){if($e)return Le;$e=!0;try{let t=be.navigator.userAgent;(t.indexOf("MSIE ")!==-1||t.indexOf("Trident/")!==-1||t.indexOf("Edge/")!==-1)&&(Le=!0)}catch{}return Le}function Je(t){return typeof t=="function"}function Ke(t){return typeof t=="number"}var pt={useG:!0},ne={},ot={},st=new RegExp("^"+ve+"(\\w+)(true|false)$"),it=j("propagationStopped");function ct(t,n){let a=(n?n(t):t)+le,e=(n?n(t):t)+ae,c=ve+a,f=ve+e;ne[t]={},ne[t][le]=c,ne[t][ae]=f}function vt(t,n,a,e){let c=e&&e.add||je,f=e&&e.rm||He,g=e&&e.listeners||"eventListeners",T=e&&e.rmAll||"removeAllListeners",y=j(c),w="."+c+":",_="prependListener",P="."+_+":",L=function(p,d,A){if(p.isRemoved)return;let V=p.callback;typeof V=="object"&&V.handleEvent&&(p.callback=k=>V.handleEvent(k),p.originalDelegate=V);let X;try{p.invoke(p,d,[A])}catch(k){X=k}let F=p.options;if(F&&typeof F=="object"&&F.once){let k=p.originalDelegate?p.originalDelegate:p.callback;d[f].call(d,A.type,k,F)}return X};function H(p,d,A){if(d=d||t.event,!d)return;let V=p||d.target||t,X=V[ne[d.type][A?ae:le]];if(X){let F=[];if(X.length===1){let k=L(X[0],V,d);k&&F.push(k)}else{let k=X.slice();for(let U=0;U{throw U})}}}let z=function(p){return H(this,p,!1)},$=function(p){return H(this,p,!0)};function J(p,d){if(!p)return!1;let A=!0;d&&d.useG!==void 0&&(A=d.useG);let V=d&&d.vh,X=!0;d&&d.chkDup!==void 0&&(X=d.chkDup);let F=!1;d&&d.rt!==void 0&&(F=d.rt);let k=p;for(;k&&!k.hasOwnProperty(c);)k=Ae(k);if(!k&&p[c]&&(k=p),!k||k[y])return!1;let U=d&&d.eventNameToString,S={},R=k[y]=k[c],b=k[j(f)]=k[f],D=k[j(g)]=k[g],K=k[j(T)]=k[T],W;d&&d.prepend&&(W=k[j(d.prepend)]=k[d.prepend]);function I(o,u){return u?typeof o=="boolean"?{capture:o,passive:!0}:o?typeof o=="object"&&o.passive!==!1?{...o,passive:!0}:o:{passive:!0}:o}let s=function(o){if(!S.isExisting)return R.call(S.target,S.eventName,S.capture?$:z,S.options)},i=function(o){if(!o.isRemoved){let u=ne[o.eventName],v;u&&(v=u[o.capture?ae:le]);let C=v&&o.target[v];if(C){for(let m=0;mre.zone.cancelTask(re);o.call(Ee,"abort",ie,{once:!0}),re.removeAbortListener=()=>Ee.removeEventListener("abort",ie)}if(S.target=null,me&&(me.taskData=null),Be&&(S.options.once=!0),typeof re.options!="boolean"&&(re.options=se),re.target=N,re.capture=Se,re.eventName=Z,B&&(re.originalDelegate=G),O?ge.unshift(re):ge.push(re),m)return N}};return k[c]=l(R,w,ee,M,F),W&&(k[_]=l(W,P,E,M,F,!0)),k[f]=function(){let o=this||t,u=arguments[0];d&&d.transferEventName&&(u=d.transferEventName(u));let v=arguments[2],C=v?typeof v=="boolean"?!0:v.capture:!1,m=arguments[1];if(!m)return b.apply(this,arguments);if(V&&!V(b,m,o,arguments))return;let O=ne[u],N;O&&(N=O[C?ae:le]);let Z=N&&o[N];if(Z)for(let G=0;Gfunction(c,f){c[it]=!0,e&&e.apply(c,f)})}function Pt(t,n){n.patchMethod(t,"queueMicrotask",a=>function(e,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}var Re=j("zoneTask");function ke(t,n,a,e){let c=null,f=null;n+=e,a+=e;let g={};function T(w){let _=w.data;_.args[0]=function(){return w.invoke.apply(this,arguments)};let P=c.apply(t,_.args);return Ke(P)?_.handleId=P:(_.handle=P,_.isRefreshable=Je(P.refresh)),w}function y(w){let{handle:_,handleId:P}=w.data;return f.call(t,_??P)}c=ue(t,n,w=>function(_,P){if(Je(P[0])){let L={isRefreshable:!1,isPeriodic:e==="Interval",delay:e==="Timeout"||e==="Interval"?P[1]||0:void 0,args:P},H=P[0];P[0]=function(){try{return H.apply(this,arguments)}finally{let{handle:A,handleId:V,isPeriodic:X,isRefreshable:F}=L;!X&&!F&&(V?delete g[V]:A&&(A[Re]=null))}};let z=xe(n,P[0],L,T,y);if(!z)return z;let{handleId:$,handle:J,isRefreshable:q,isPeriodic:p}=z.data;if($)g[$]=z;else if(J&&(J[Re]=z,q&&!p)){let d=J.refresh;J.refresh=function(){let{zone:A,state:V}=z;return V==="notScheduled"?(z._state="scheduled",A._updateTaskCount(z,1)):V==="running"&&(z._state="scheduling"),d.call(this)}}return J??$??z}else return w.apply(t,P)}),f=ue(t,a,w=>function(_,P){let L=P[0],H;Ke(L)?(H=g[L],delete g[L]):(H=L?.[Re],H?L[Re]=null:H=L),H?.type?H.cancelFn&&H.zone.cancelTask(H):w.apply(t,P)})}function Rt(t,n){let{isBrowser:a,isMix:e}=n.getGlobalObjects();if(!a&&!e||!t.customElements||!("customElements"in t))return;let c=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];n.patchCallbacks(n,t.customElements,"customElements","define",c)}function Ct(t,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:a,zoneSymbolEventNames:e,TRUE_STR:c,FALSE_STR:f,ZONE_SYMBOL_PREFIX:g}=n.getGlobalObjects();for(let y=0;yf.target===t);if(e.length===0)return n;let c=e[0].ignoreProperties;return n.filter(f=>c.indexOf(f)===-1)}function Qe(t,n,a,e){if(!t)return;let c=lt(t,n,a);rt(t,c,e)}function Ie(t){return Object.getOwnPropertyNames(t).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function Dt(t,n){if(De&&!nt||Zone[t.symbol("patchEvents")])return;let a=n.__Zone_ignore_on_properties,e=[];if(Ge){let c=window;e=e.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let f=[];Qe(c,Ie(c),a&&a.concat(f),Ae(c))}e=e.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{let a=n[t.__symbol__("legacyPatch")];a&&a()}),t.__load_patch("timers",n=>{let e="clear";ke(n,"set",e,"Timeout"),ke(n,"set",e,"Interval"),ke(n,"set",e,"Immediate")}),t.__load_patch("requestAnimationFrame",n=>{ke(n,"request","cancel","AnimationFrame"),ke(n,"mozRequest","mozCancel","AnimationFrame"),ke(n,"webkitRequest","webkitCancel","AnimationFrame")}),t.__load_patch("blocking",(n,a)=>{let e=["alert","prompt","confirm"];for(let c=0;cfunction(w,_){return a.current.run(g,n,_,y)})}}),t.__load_patch("EventTarget",(n,a,e)=>{wt(n,e),Ct(n,e);let c=n.XMLHttpRequestEventTarget;c&&c.prototype&&e.patchEventTarget(n,e,[c.prototype])}),t.__load_patch("MutationObserver",(n,a,e)=>{ye("MutationObserver"),ye("WebKitMutationObserver")}),t.__load_patch("IntersectionObserver",(n,a,e)=>{ye("IntersectionObserver")}),t.__load_patch("FileReader",(n,a,e)=>{ye("FileReader")}),t.__load_patch("on_property",(n,a,e)=>{Dt(e,n)}),t.__load_patch("customElements",(n,a,e)=>{Rt(n,e)}),t.__load_patch("XHR",(n,a)=>{w(n);let e=j("xhrTask"),c=j("xhrSync"),f=j("xhrListener"),g=j("xhrScheduled"),T=j("xhrURL"),y=j("xhrErrorBeforeScheduled");function w(_){let P=_.XMLHttpRequest;if(!P)return;let L=P.prototype;function H(R){return R[e]}let z=L[Ne],$=L[Ze];if(!z){let R=_.XMLHttpRequestEventTarget;if(R){let b=R.prototype;z=b[Ne],$=b[Ze]}}let J="readystatechange",q="scheduled";function p(R){let b=R.data,D=b.target;D[g]=!1,D[y]=!1;let K=D[f];z||(z=D[Ne],$=D[Ze]),K&&$.call(D,J,K);let W=D[f]=()=>{if(D.readyState===D.DONE)if(!b.aborted&&D[g]&&R.state===q){let s=D[a.__symbol__("loadfalse")];if(D.status!==0&&s&&s.length>0){let i=R.invoke;R.invoke=function(){let r=D[a.__symbol__("loadfalse")];for(let E=0;Efunction(R,b){return R[c]=b[2]==!1,R[T]=b[1],V.apply(R,b)}),X="XMLHttpRequest.send",F=j("fetchTaskAborting"),k=j("fetchTaskScheduling"),U=ue(L,"send",()=>function(R,b){if(a.current[k]===!0||R[c])return U.apply(R,b);{let D={target:R,url:R[T],isPeriodic:!1,args:b,aborted:!1},K=xe(X,d,D,p,A);R&&R[y]===!0&&!D.aborted&&K.state===q&&K.invoke()}}),S=ue(L,"abort",()=>function(R,b){let D=H(R);if(D&&typeof D.type=="string"){if(D.cancelFn==null||D.data&&D.data.aborted)return;D.zone.cancelTask(D)}else if(a.current[F]===!0)return S.apply(R,b)})}}),t.__load_patch("geolocation",n=>{n.navigator&&n.navigator.geolocation&>(n.navigator.geolocation,["getCurrentPosition","watchPosition"])}),t.__load_patch("PromiseRejectionEvent",(n,a)=>{function e(c){return function(f){at(n,c).forEach(T=>{let y=n.PromiseRejectionEvent;if(y){let w=new y(c,{promise:f.promise,reason:f.rejection});T.invoke(w)}})}}n.PromiseRejectionEvent&&(a[j("unhandledPromiseRejectionHandler")]=e("unhandledrejection"),a[j("rejectionHandledHandler")]=e("rejectionhandled"))}),t.__load_patch("queueMicrotask",(n,a,e)=>{Pt(n,e)})}function Ot(t){t.__load_patch("ZoneAwarePromise",(n,a,e)=>{let c=Object.getOwnPropertyDescriptor,f=Object.defineProperty;function g(h){if(h&&h.toString===Object.prototype.toString){let l=h.constructor&&h.constructor.name;return(l||"")+": "+JSON.stringify(h)}return h?h.toString():Object.prototype.toString.call(h)}let T=e.symbol,y=[],w=n[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,_=T("Promise"),P=T("then"),L="__creationTrace__";e.onUnhandledError=h=>{if(e.showUncaughtError()){let l=h&&h.rejection;l?console.error("Unhandled Promise rejection:",l instanceof Error?l.message:l,"; Zone:",h.zone.name,"; Task:",h.task&&h.task.source,"; Value:",l,l instanceof Error?l.stack:void 0):console.error(h)}},e.microtaskDrainDone=()=>{for(;y.length;){let h=y.shift();try{h.zone.runGuarded(()=>{throw h.throwOriginal?h.rejection:h})}catch(l){z(l)}}};let H=T("unhandledPromiseRejectionHandler");function z(h){e.onUnhandledError(h);try{let l=a[H];typeof l=="function"&&l.call(this,h)}catch{}}function $(h){return h&&typeof h.then=="function"}function J(h){return h}function q(h){return M.reject(h)}let p=T("state"),d=T("value"),A=T("finally"),V=T("parentPromiseValue"),X=T("parentPromiseState"),F="Promise.then",k=null,U=!0,S=!1,R=0;function b(h,l){return o=>{try{I(h,l,o)}catch(u){I(h,!1,u)}}}let D=function(){let h=!1;return function(o){return function(){h||(h=!0,o.apply(null,arguments))}}},K="Promise resolved with itself",W=T("currentTaskTrace");function I(h,l,o){let u=D();if(h===o)throw new TypeError(K);if(h[p]===k){let v=null;try{(typeof o=="object"||typeof o=="function")&&(v=o&&o.then)}catch(C){return u(()=>{I(h,!1,C)})(),h}if(l!==S&&o instanceof M&&o.hasOwnProperty(p)&&o.hasOwnProperty(d)&&o[p]!==k)i(o),I(h,o[p],o[d]);else if(l!==S&&typeof v=="function")try{v.call(o,u(b(h,l)),u(b(h,!1)))}catch(C){u(()=>{I(h,!1,C)})()}else{h[p]=l;let C=h[d];if(h[d]=o,h[A]===A&&l===U&&(h[p]=h[X],h[d]=h[V]),l===S&&o instanceof Error){let m=a.currentTask&&a.currentTask.data&&a.currentTask.data[L];m&&f(o,W,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{let O=h[d],N=!!o&&A===o[A];N&&(o[V]=O,o[X]=C);let Z=l.run(m,void 0,N&&m!==q&&m!==J?[]:[O]);I(o,!0,Z)}catch(O){I(o,!1,O)}},o)}let E="function ZoneAwarePromise() { [native code] }",x=function(){},ee=n.AggregateError;class M{static toString(){return E}static resolve(l){return l instanceof M?l:I(new this(null),U,l)}static reject(l){return I(new this(null),S,l)}static withResolvers(){let l={};return l.promise=new M((o,u)=>{l.resolve=o,l.reject=u}),l}static any(l){if(!l||typeof l[Symbol.iterator]!="function")return Promise.reject(new ee([],"All promises were rejected"));let o=[],u=0;try{for(let m of l)u++,o.push(M.resolve(m))}catch{return Promise.reject(new ee([],"All promises were rejected"))}if(u===0)return Promise.reject(new ee([],"All promises were rejected"));let v=!1,C=[];return new M((m,O)=>{for(let N=0;N{v||(v=!0,m(Z))},Z=>{C.push(Z),u--,u===0&&(v=!0,O(new ee(C,"All promises were rejected")))})})}static race(l){let o,u,v=new this((O,N)=>{o=O,u=N});function C(O){o(O)}function m(O){u(O)}for(let O of l)$(O)||(O=this.resolve(O)),O.then(C,m);return v}static all(l){return M.allWithCallback(l)}static allSettled(l){return(this&&this.prototype instanceof M?this:M).allWithCallback(l,{thenCallback:u=>({status:"fulfilled",value:u}),errorCallback:u=>({status:"rejected",reason:u})})}static allWithCallback(l,o){let u,v,C=new this((Z,G)=>{u=Z,v=G}),m=2,O=0,N=[];for(let Z of l){$(Z)||(Z=this.resolve(Z));let G=O;try{Z.then(B=>{N[G]=o?o.thenCallback(B):B,m--,m===0&&u(N)},B=>{o?(N[G]=o.errorCallback(B),m--,m===0&&u(N)):v(B)})}catch(B){v(B)}m++,O++}return m-=2,m===0&&u(N),C}constructor(l){let o=this;if(!(o instanceof M))throw new Error("Must be an instanceof Promise.");o[p]=k,o[d]=[];try{let u=D();l&&l(u(b(o,U)),u(b(o,S)))}catch(u){I(o,!1,u)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return M}then(l,o){let u=this.constructor?.[Symbol.species];(!u||typeof u!="function")&&(u=this.constructor||M);let v=new u(x),C=a.current;return this[p]==k?this[d].push(C,v,l,o):r(this,C,v,l,o),v}catch(l){return this.then(null,l)}finally(l){let o=this.constructor?.[Symbol.species];(!o||typeof o!="function")&&(o=M);let u=new o(x);u[A]=A;let v=a.current;return this[p]==k?this[d].push(v,u,l,l):r(this,v,u,l,l),u}}M.resolve=M.resolve,M.reject=M.reject,M.race=M.race,M.all=M.all;let he=n[_]=n.Promise;n.Promise=M;let _e=T("thenPatched");function Q(h){let l=h.prototype,o=c(l,"then");if(o&&(o.writable===!1||!o.configurable))return;let u=l.then;l[P]=u,h.prototype.then=function(v,C){return new M((O,N)=>{u.call(this,O,N)}).then(v,C)},h[_e]=!0}e.patchThen=Q;function Te(h){return function(l,o){let u=h.apply(l,o);if(u instanceof M)return u;let v=u.constructor;return v[_e]||Q(v),u}}return he&&(Q(he),ue(n,"fetch",h=>Te(h))),Promise[a.__symbol__("uncaughtPromiseErrors")]=y,M})}function Nt(t){t.__load_patch("toString",n=>{let a=Function.prototype.toString,e=j("OriginalDelegate"),c=j("Promise"),f=j("Error"),g=function(){if(typeof this=="function"){let _=this[e];if(_)return typeof _=="function"?a.call(_):Object.prototype.toString.call(_);if(this===Promise){let P=n[c];if(P)return a.call(P)}if(this===Error){let P=n[f];if(P)return a.call(P)}}return a.call(this)};g[e]=a,Function.prototype.toString=g;let T=Object.prototype.toString,y="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?y:T.call(this)}})}function Zt(t,n,a,e,c){let f=Zone.__symbol__(e);if(n[f])return;let g=n[f]=n[e];n[e]=function(T,y,w){return y&&y.prototype&&c.forEach(function(_){let P=`${a}.${e}::`+_,L=y.prototype;try{if(L.hasOwnProperty(_)){let H=t.ObjectGetOwnPropertyDescriptor(L,_);H&&H.value?(H.value=t.wrapWithCurrentZone(H.value,P),t._redefineProperty(y.prototype,_,H)):L[_]&&(L[_]=t.wrapWithCurrentZone(L[_],P))}else L[_]&&(L[_]=t.wrapWithCurrentZone(L[_],P))}catch{}}),g.call(n,T,y,w)},t.attachOriginToPatched(n[e],g)}function Lt(t){t.__load_patch("util",(n,a,e)=>{let c=Ie(n);e.patchOnProperties=rt,e.patchMethod=ue,e.bindArguments=Fe,e.patchMacroTask=mt;let f=a.__symbol__("BLACK_LISTED_EVENTS"),g=a.__symbol__("UNPATCHED_EVENTS");n[g]&&(n[f]=n[g]),n[f]&&(a[f]=a[g]=n[f]),e.patchEventPrototype=bt,e.patchEventTarget=vt,e.isIEOrEdge=yt,e.ObjectDefineProperty=Me,e.ObjectGetOwnPropertyDescriptor=pe,e.ObjectCreate=_t,e.ArraySlice=Tt,e.patchClass=ye,e.wrapWithCurrentZone=Ve,e.filterProperties=lt,e.attachOriginToPatched=fe,e._redefineProperty=Object.defineProperty,e.patchCallbacks=Zt,e.getGlobalObjects=()=>({globalSources:ot,zoneSymbolEventNames:ne,eventNames:c,isBrowser:Ge,isMix:nt,isNode:De,TRUE_STR:ae,FALSE_STR:le,ZONE_SYMBOL_PREFIX:ve,ADD_EVENT_LISTENER_STR:je,REMOVE_EVENT_LISTENER_STR:He})})}function It(t){Ot(t),Nt(t),Lt(t)}var ut=dt();It(ut);St(ut); diff --git a/server/src/uds/static/modern/scripts.js b/server/src/uds/static/modern/scripts.js index 9d2ab6e8d..7b1012858 100644 --- a/server/src/uds/static/modern/scripts.js +++ b/server/src/uds/static/modern/scripts.js @@ -1 +1 @@ -(function(c){if(!c.hasInitialised){var a={escapeRegExp:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},hasClass:function(e,t){var o=" ";return e.nodeType===1&&(o+e.className+o).replace(/[\n\t]/g,o).indexOf(o+t+o)>=0},addClass:function(e,t){e.className+=" "+t},removeClass:function(e,t){var o=new RegExp("\\b"+this.escapeRegExp(t)+"\\b");e.className=e.className.replace(o,"")},interpolateString:function(e,t){return e.replace(/{{([a-z][a-z0-9\-_]*)}}/gi,function(o){return t(arguments[1])||""})},getCookie:function(e){var t=("; "+document.cookie).split("; "+e+"=");return t.length<2?void 0:t.pop().split(";").shift()},setCookie:function(e,t,o,d,f,n){var r=new Date;r.setHours(r.getHours()+24*(o||365));var u=[e+"="+t,"expires="+r.toUTCString(),"path="+(f||"/")];d&&u.push("domain="+d),n&&u.push("secure"),document.cookie=u.join(";")},deepExtend:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(o in e&&this.isPlainObject(e[o])&&this.isPlainObject(t[o])?this.deepExtend(e[o],t[o]):e[o]=t[o]);return e},throttle:function(e,t){var o=!1;return function(){o||(e.apply(this,arguments),o=!0,setTimeout(function(){o=!1},t))}},hash:function(e){var t,o,d=0;if(e.length===0)return d;for(t=0,o=e.length;t=128?"#000":"#fff"},getLuminance:function(e){var t=parseInt(this.normaliseHex(e),16),o=38+(t>>16),d=38+(t>>8&255),f=38+(255&t);return"#"+(16777216+65536*(o<255?o<1?0:o:255)+256*(d<255?d<1?0:d:255)+(f<255?f<1?0:f:255)).toString(16).slice(1)},isMobile:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},isPlainObject:function(e){return typeof e=="object"&&e!==null&&e.constructor==Object},traverseDOMPath:function(e,t){return e&&e.parentNode?a.hasClass(e,t)?e:this.traverseDOMPath(e.parentNode,t):null}};c.status={deny:"deny",allow:"allow",dismiss:"dismiss"},c.transitionEnd=function(){var e=document.createElement("div"),t={t:"transitionend",OT:"oTransitionEnd",msT:"MSTransitionEnd",MozT:"transitionend",WebkitT:"webkitTransitionEnd"};for(var o in t)if(t.hasOwnProperty(o)&&e.style[o+"ransition"]!==void 0)return t[o];return""}(),c.hasTransition=!!c.transitionEnd;var N=Object.keys(c.status).map(a.escapeRegExp);c.customStyles={},c.Popup=function(){var e={enabled:!0,container:null,cookie:{name:"cookieconsent_status",path:"/",domain:"",expiryDays:365,secure:!1},onPopupOpen:function(){},onPopupClose:function(){},onInitialise:function(i){},onStatusChange:function(i,s){},onRevokeChoice:function(){},onNoCookieLaw:function(i,s){},content:{header:"Cookies used on the website!",message:"This website uses cookies to ensure you get the best experience on our website.",dismiss:"Got it!",allow:"Allow cookies",deny:"Decline",link:"Learn more",href:"https://www.cookiesandyou.com",close:"❌",target:"_blank",policy:"Cookie Policy"},elements:{header:'{{header}} ',message:'{{message}}',messagelink:'{{message}} {{link}}',dismiss:'{{dismiss}}',allow:'{{allow}}',deny:'{{deny}}',link:'{{link}}',close:'{{close}}'},window:'',revokeBtn:'
{{policy}}
',compliance:{info:'
{{dismiss}}
',"opt-in":'
{{deny}}{{allow}}
',"opt-out":'
{{deny}}{{allow}}
'},type:"info",layouts:{basic:"{{messagelink}}{{compliance}}","basic-close":"{{messagelink}}{{compliance}}{{close}}","basic-header":"{{header}}{{message}}{{link}}{{compliance}}"},layout:"basic",position:"bottom",theme:"block",static:!1,palette:null,revokable:!1,animateRevokable:!0,showLink:!0,dismissOnScroll:!1,dismissOnTimeout:!1,dismissOnWindowClick:!1,ignoreClicksFrom:["cc-revoke","cc-btn"],autoOpen:!0,autoAttach:!0,whitelistPage:[],blacklistPage:[],overrideHTML:null};function t(){this.initialise.apply(this,arguments)}function o(i){this.openingTimeout=null,a.removeClass(i,"cc-invisible")}function d(i){i.style.display="none",i.removeEventListener(c.transitionEnd,this.afterTransition),this.afterTransition=null}function f(){var i=this.options.position.split("-"),s=[];return i.forEach(function(h){s.push("cc-"+h)}),s}function n(i){var s=this.options,h=document.createElement("div"),m=s.container&&s.container.nodeType===1?s.container:document.body;h.innerHTML=i;var l=h.children[0];return l.style.display="none",a.hasClass(l,"cc-window")&&c.hasTransition&&a.addClass(l,"cc-invisible"),this.onButtonClick=(function(p){var v=a.traverseDOMPath(p.target,"cc-btn")||p.target;if(a.hasClass(v,"cc-btn")){var b=v.className.match(new RegExp("\\bcc-("+N.join("|")+")\\b")),k=b&&b[1]||!1;k&&(this.setStatus(k),this.close(!0))}a.hasClass(v,"cc-close")&&(this.setStatus(c.status.dismiss),this.close(!0)),a.hasClass(v,"cc-revoke")&&this.revokeChoice()}).bind(this),l.addEventListener("click",this.onButtonClick),s.autoAttach&&(m.firstChild?m.insertBefore(l,m.firstChild):m.appendChild(l)),l}function r(i){return(i=a.normaliseHex(i))=="000000"?"#222":a.getLuminance(i)}function u(i,s){for(var h=0,m=i.length;h=0;return b&&l(v),b}).call(this)&&(this.options.enabled=!1),u(this.options.blacklistPage,location.pathname)&&(this.options.enabled=!1),u(this.options.whitelistPage,location.pathname)&&(this.options.enabled=!0);var s=this.options.window.replace("{{classes}}",(function(){var l=this.options,p=l.position=="top"||l.position=="bottom"?"banner":"floating";a.isMobile()&&(p="floating");var v=["cc-"+p,"cc-type-"+l.type,"cc-theme-"+l.theme];return l.static&&v.push("cc-static"),v.push.apply(v,f.call(this)),(function(b){var k=a.hash(JSON.stringify(b)),O="cc-color-override-"+k,x=a.isPlainObject(b);return this.customStyleSelector=x?O:null,x&&function(E,T,w){if(c.customStyles[E])return void++c.customStyles[E].references;var C={},y=T.popup,g=T.button,S=T.highlight;y&&(y.text=y.text?y.text:a.getContrast(y.background),y.link=y.link?y.link:y.text,C[w+".cc-window"]=["color: "+y.text,"background-color: "+y.background],C[w+".cc-revoke"]=["color: "+y.text,"background-color: "+y.background],C[w+" .cc-link,"+w+" .cc-link:active,"+w+" .cc-link:visited"]=["color: "+y.link],g&&(g.text=g.text?g.text:a.getContrast(g.background),g.border=g.border?g.border:"transparent",C[w+" .cc-btn"]=["color: "+g.text,"border-color: "+g.border,"background-color: "+g.background],g.padding&&C[w+" .cc-btn"].push("padding: "+g.padding),g.background!="transparent"&&(C[w+" .cc-btn:hover, "+w+" .cc-btn:focus"]=["background-color: "+(g.hover||r(g.background))]),S?(S.text=S.text?S.text:a.getContrast(S.background),S.border=S.border?S.border:"transparent",C[w+" .cc-highlight .cc-btn:first-child"]=["color: "+S.text,"border-color: "+S.border,"background-color: "+S.background]):C[w+" .cc-highlight .cc-btn:first-child"]=["color: "+y.text]));var L=document.createElement("style");document.head.appendChild(L),c.customStyles[E]={references:1,element:L.sheet};var R=-1;for(var P in C)C.hasOwnProperty(P)&&L.sheet.insertRule(P+"{"+C[P].join(";")+"}",++R)}(k,b,"."+O),x}).call(this,this.options.palette),this.customStyleSelector&&v.push(this.customStyleSelector),v}).call(this).join(" ")).replace("{{children}}",(function(){var l={},p=this.options;p.showLink||(p.elements.link="",p.elements.messagelink=p.elements.message),Object.keys(p.elements).forEach(function(k){l[k]=a.interpolateString(p.elements[k],function(O){var x=p.content[O];return O&&typeof x=="string"&&x.length?x:""})});var v=p.compliance[p.type];v||(v=p.compliance.info),l.compliance=a.interpolateString(v,function(k){return l[k]});var b=p.layouts[p.layout];return b||(b=p.layouts.basic),a.interpolateString(b,function(k){return l[k]})}).call(this)),h=this.options.overrideHTML;if(typeof h=="string"&&h.length&&(s=h),this.options.static){var m=n.call(this,'
'+s+"
");m.style.display="",this.element=m.firstChild,this.element.style.display="none",a.addClass(this.element,"cc-invisible")}else this.element=n.call(this,s);(function(){var l=this.setStatus.bind(this),p=this.close.bind(this),v=this.options.dismissOnTimeout;typeof v=="number"&&v>=0&&(this.dismissTimeout=window.setTimeout(function(){l(c.status.dismiss),p(!0)},Math.floor(v)));var b=this.options.dismissOnScroll;if(typeof b=="number"&&b>=0){var k=function(T){window.pageYOffset>Math.floor(b)&&(l(c.status.dismiss),p(!0),window.removeEventListener("scroll",k),this.onWindowScroll=null)};this.options.enabled&&(this.onWindowScroll=k,window.addEventListener("scroll",k))}var O=this.options.dismissOnWindowClick,x=this.options.ignoreClicksFrom;if(O){var E=(function(T){for(var w=!1,C=T.path.length,y=x.length,g=0;gx&&(O=!0),O?a.hasClass(v,"cc-active")||a.addClass(v,"cc-active"):a.hasClass(v,"cc-active")&&a.removeClass(v,"cc-active")},200);this.onMouseMove=b,window.addEventListener("mousemove",b)}}}).call(this),this.options.autoOpen&&this.autoOpen()},t.prototype.destroy=function(){this.onButtonClick&&this.element&&(this.element.removeEventListener("click",this.onButtonClick),this.onButtonClick=null),this.dismissTimeout&&(clearTimeout(this.dismissTimeout),this.dismissTimeout=null),this.onWindowScroll&&(window.removeEventListener("scroll",this.onWindowScroll),this.onWindowScroll=null),this.onWindowClick&&(window.removeEventListener("click",this.onWindowClick),this.onWindowClick=null),this.onMouseMove&&(window.removeEventListener("mousemove",this.onMouseMove),this.onMouseMove=null),this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=null,this.revokeBtn&&this.revokeBtn.parentNode&&this.revokeBtn.parentNode.removeChild(this.revokeBtn),this.revokeBtn=null,function(i){if(a.isPlainObject(i)){var s=a.hash(JSON.stringify(i)),h=c.customStyles[s];if(h&&!--h.references){var m=h.element.ownerNode;m&&m.parentNode&&m.parentNode.removeChild(m),c.customStyles[s]=null}}}(this.options.palette),this.options=null},t.prototype.open=function(i){if(this.element)return this.isOpen()||(c.hasTransition?this.fadeIn():this.element.style.display="",this.options.revokable&&this.toggleRevokeButton(),this.options.onPopupOpen.call(this)),this},t.prototype.close=function(i){if(this.element)return this.isOpen()&&(c.hasTransition?this.fadeOut():this.element.style.display="none",i&&this.options.revokable&&this.toggleRevokeButton(!0),this.options.onPopupClose.call(this)),this},t.prototype.fadeIn=function(){var i=this.element;if(c.hasTransition&&i&&(this.afterTransition&&d.call(this,i),a.hasClass(i,"cc-invisible"))){if(i.style.display="",this.options.static){var s=this.element.clientHeight;this.element.parentNode.style.maxHeight=s+"px"}this.openingTimeout=setTimeout(o.bind(this,i),20)}},t.prototype.fadeOut=function(){var i=this.element;c.hasTransition&&i&&(this.openingTimeout&&(clearTimeout(this.openingTimeout),o.bind(this,i)),a.hasClass(i,"cc-invisible")||(this.options.static&&(this.element.parentNode.style.maxHeight=""),this.afterTransition=d.bind(this,i),i.addEventListener(c.transitionEnd,this.afterTransition),a.addClass(i,"cc-invisible")))},t.prototype.isOpen=function(){return this.element&&this.element.style.display==""&&(!c.hasTransition||!a.hasClass(this.element,"cc-invisible"))},t.prototype.toggleRevokeButton=function(i){this.revokeBtn&&(this.revokeBtn.style.display=i?"":"none")},t.prototype.revokeChoice=function(i){this.options.enabled=!0,this.clearStatus(),this.options.onRevokeChoice.call(this),i||this.autoOpen()},t.prototype.hasAnswered=function(i){return Object.keys(c.status).indexOf(this.getStatus())>=0},t.prototype.hasConsented=function(i){var s=this.getStatus();return s==c.status.allow||s==c.status.dismiss},t.prototype.autoOpen=function(i){!this.hasAnswered()&&this.options.enabled?this.open():this.hasAnswered()&&this.options.revokable&&this.toggleRevokeButton(!0)},t.prototype.setStatus=function(i){var s=this.options.cookie,h=a.getCookie(s.name),m=Object.keys(c.status).indexOf(h)>=0;Object.keys(c.status).indexOf(i)>=0?(a.setCookie(s.name,i,s.expiryDays,s.domain,s.path,s.secure),this.options.onStatusChange.call(this,i,m)):this.clearStatus()},t.prototype.getStatus=function(){return a.getCookie(this.options.cookie.name)},t.prototype.clearStatus=function(){var i=this.options.cookie;a.setCookie(i.name,"",-1,i.domain,i.path)},t}(),c.Location=function(){var e={timeout:5e3,services:["ipinfo"],serviceDefinitions:{ipinfo:function(){return{url:"//ipinfo.io",headers:["Accept: application/json"],callback:function(n,r){try{var u=JSON.parse(r);return u.error?f(u):{code:u.country}}catch(i){return f({error:"Invalid response ("+i+")"})}}}},ipinfodb:function(n){return{url:"//api.ipinfodb.com/v3/ip-country/?key={api_key}&format=json&callback={callback}",isScript:!0,callback:function(r,u){try{var i=JSON.parse(u);return i.statusCode=="ERROR"?f({error:i.statusMessage}):{code:i.countryCode}}catch(s){return f({error:"Invalid response ("+s+")"})}}}},maxmind:function(){return{url:"//js.maxmind.com/js/apis/geoip2/v2.1/geoip2.js",isScript:!0,callback:function(n){window.geoip2?geoip2.country(function(r){try{n({code:r.country.iso_code})}catch(u){n(f(u))}},function(r){n(f(r))}):n(new Error("Unexpected response format. The downloaded script should have exported `geoip2` to the global scope"))}}}}};function t(n){a.deepExtend(this.options={},e),a.isPlainObject(n)&&a.deepExtend(this.options,n),this.currentServiceIndex=-1}function o(n,r,u){var i,s=document.createElement("script");s.type="text/"+(n.type||"javascript"),s.src=n.src||n,s.async=!1,s.onreadystatechange=s.onload=function(){var h=s.readyState;clearTimeout(i),r.done||h&&!/loaded|complete/.test(h)||(r.done=!0,r(),s.onreadystatechange=s.onload=null)},document.body.appendChild(s),i=setTimeout(function(){r.done=!0,r(),s.onreadystatechange=s.onload=null},u)}function d(n,r,u,i,s){var h=new(window.XMLHttpRequest||window.ActiveXObject)("MSXML2.XMLHTTP.3.0");if(h.open(i?"POST":"GET",n,1),h.setRequestHeader("Content-type","application/x-www-form-urlencoded"),Array.isArray(s))for(var m=0,l=s.length;m3&&r(h)}),h.send(i)}function f(n){return new Error("Error ["+(n.code||"UNKNOWN")+"]: "+n.error)}return t.prototype.getNextService=function(){var n;do n=this.getServiceByIdx(++this.currentServiceIndex);while(this.currentServiceIndex=0,revokable:d.revokable.indexOf(o)>=0,explicitAction:d.explicitAction.indexOf(o)>=0}},t.prototype.applyLaw=function(o,d){var f=this.get(d);return f.hasLaw||(o.enabled=!1,typeof o.onNoCookieLaw=="function"&&o.onNoCookieLaw(d,f)),this.options.regionalLaw&&(f.revokable&&(o.revokable=!0),f.explicitAction&&(o.dismissOnScroll=!1,o.dismissOnTimeout=!1)),o},t}(),c.initialise=function(e,t,o){var d=new c.Law(e.law);t||(t=function(){}),o||(o=function(){});var f=Object.keys(c.status),n=a.getCookie("cookieconsent_status");f.indexOf(n)>=0?t(new c.Popup(e)):c.getCountryCode(e,function(r){delete e.law,delete e.location,r.code&&(e=d.applyLaw(e,r.code)),t(new c.Popup(e))},function(r){delete e.law,delete e.location,o(r,new c.Popup(e))})},c.getCountryCode=function(e,t,o){e.law&&e.law.countryCode?t({code:e.law.countryCode}):e.location?new c.Location(e.location).locate(function(d){t(d||{})},o):t({})},c.utils=a,c.hasInitialised=!0,window.cookieconsent=c}})(window.cookieconsent||{}); +(function(c){if(!c.hasInitialised){var a={escapeRegExp:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},hasClass:function(e,t){var o=" ";return e.nodeType===1&&(o+e.className+o).replace(/[\n\t]/g,o).indexOf(o+t+o)>=0},addClass:function(e,t){e.className+=" "+t},removeClass:function(e,t){var o=new RegExp("\\b"+this.escapeRegExp(t)+"\\b");e.className=e.className.replace(o,"")},interpolateString:function(e,t){return e.replace(/{{([a-z][a-z0-9\-_]*)}}/gi,function(o){return t(arguments[1])||""})},getCookie:function(e){var t=("; "+document.cookie).split("; "+e+"=");return t.length<2?void 0:t.pop().split(";").shift()},setCookie:function(e,t,o,d,f,n){var r=new Date;r.setHours(r.getHours()+24*(o||365));var u=[e+"="+t,"expires="+r.toUTCString(),"path="+(f||"/")];d&&u.push("domain="+d),n&&u.push("secure"),document.cookie=u.join(";")},deepExtend:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(o in e&&this.isPlainObject(e[o])&&this.isPlainObject(t[o])?this.deepExtend(e[o],t[o]):e[o]=t[o]);return e},throttle:function(e,t){var o=!1;return function(){o||(e.apply(this,arguments),o=!0,setTimeout(function(){o=!1},t))}},hash:function(e){var t,o,d=0;if(e.length===0)return d;for(t=0,o=e.length;t=128?"#000":"#fff"},getLuminance:function(e){var t=parseInt(this.normaliseHex(e),16),o=38+(t>>16),d=38+(t>>8&255),f=38+(255&t);return"#"+(16777216+65536*(o<255?o<1?0:o:255)+256*(d<255?d<1?0:d:255)+(f<255?f<1?0:f:255)).toString(16).slice(1)},isMobile:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},isPlainObject:function(e){return typeof e=="object"&&e!==null&&e.constructor==Object},traverseDOMPath:function(e,t){return e&&e.parentNode?a.hasClass(e,t)?e:this.traverseDOMPath(e.parentNode,t):null}};c.status={deny:"deny",allow:"allow",dismiss:"dismiss"},c.transitionEnd=(function(){var e=document.createElement("div"),t={t:"transitionend",OT:"oTransitionEnd",msT:"MSTransitionEnd",MozT:"transitionend",WebkitT:"webkitTransitionEnd"};for(var o in t)if(t.hasOwnProperty(o)&&e.style[o+"ransition"]!==void 0)return t[o];return""})(),c.hasTransition=!!c.transitionEnd;var N=Object.keys(c.status).map(a.escapeRegExp);c.customStyles={},c.Popup=(function(){var e={enabled:!0,container:null,cookie:{name:"cookieconsent_status",path:"/",domain:"",expiryDays:365,secure:!1},onPopupOpen:function(){},onPopupClose:function(){},onInitialise:function(i){},onStatusChange:function(i,s){},onRevokeChoice:function(){},onNoCookieLaw:function(i,s){},content:{header:"Cookies used on the website!",message:"This website uses cookies to ensure you get the best experience on our website.",dismiss:"Got it!",allow:"Allow cookies",deny:"Decline",link:"Learn more",href:"https://www.cookiesandyou.com",close:"❌",target:"_blank",policy:"Cookie Policy"},elements:{header:'{{header}} ',message:'{{message}}',messagelink:'{{message}} {{link}}',dismiss:'{{dismiss}}',allow:'{{allow}}',deny:'{{deny}}',link:'{{link}}',close:'{{close}}'},window:'',revokeBtn:'
{{policy}}
',compliance:{info:'
{{dismiss}}
',"opt-in":'
{{deny}}{{allow}}
',"opt-out":'
{{deny}}{{allow}}
'},type:"info",layouts:{basic:"{{messagelink}}{{compliance}}","basic-close":"{{messagelink}}{{compliance}}{{close}}","basic-header":"{{header}}{{message}}{{link}}{{compliance}}"},layout:"basic",position:"bottom",theme:"block",static:!1,palette:null,revokable:!1,animateRevokable:!0,showLink:!0,dismissOnScroll:!1,dismissOnTimeout:!1,dismissOnWindowClick:!1,ignoreClicksFrom:["cc-revoke","cc-btn"],autoOpen:!0,autoAttach:!0,whitelistPage:[],blacklistPage:[],overrideHTML:null};function t(){this.initialise.apply(this,arguments)}function o(i){this.openingTimeout=null,a.removeClass(i,"cc-invisible")}function d(i){i.style.display="none",i.removeEventListener(c.transitionEnd,this.afterTransition),this.afterTransition=null}function f(){var i=this.options.position.split("-"),s=[];return i.forEach(function(h){s.push("cc-"+h)}),s}function n(i){var s=this.options,h=document.createElement("div"),m=s.container&&s.container.nodeType===1?s.container:document.body;h.innerHTML=i;var l=h.children[0];return l.style.display="none",a.hasClass(l,"cc-window")&&c.hasTransition&&a.addClass(l,"cc-invisible"),this.onButtonClick=function(p){var v=a.traverseDOMPath(p.target,"cc-btn")||p.target;if(a.hasClass(v,"cc-btn")){var b=v.className.match(new RegExp("\\bcc-("+N.join("|")+")\\b")),k=b&&b[1]||!1;k&&(this.setStatus(k),this.close(!0))}a.hasClass(v,"cc-close")&&(this.setStatus(c.status.dismiss),this.close(!0)),a.hasClass(v,"cc-revoke")&&this.revokeChoice()}.bind(this),l.addEventListener("click",this.onButtonClick),s.autoAttach&&(m.firstChild?m.insertBefore(l,m.firstChild):m.appendChild(l)),l}function r(i){return(i=a.normaliseHex(i))=="000000"?"#222":a.getLuminance(i)}function u(i,s){for(var h=0,m=i.length;h=0;return b&&l(v),b}.call(this)&&(this.options.enabled=!1),u(this.options.blacklistPage,location.pathname)&&(this.options.enabled=!1),u(this.options.whitelistPage,location.pathname)&&(this.options.enabled=!0);var s=this.options.window.replace("{{classes}}",function(){var l=this.options,p=l.position=="top"||l.position=="bottom"?"banner":"floating";a.isMobile()&&(p="floating");var v=["cc-"+p,"cc-type-"+l.type,"cc-theme-"+l.theme];return l.static&&v.push("cc-static"),v.push.apply(v,f.call(this)),(function(b){var k=a.hash(JSON.stringify(b)),O="cc-color-override-"+k,x=a.isPlainObject(b);return this.customStyleSelector=x?O:null,x&&(function(E,T,w){if(c.customStyles[E])return void++c.customStyles[E].references;var C={},y=T.popup,g=T.button,S=T.highlight;y&&(y.text=y.text?y.text:a.getContrast(y.background),y.link=y.link?y.link:y.text,C[w+".cc-window"]=["color: "+y.text,"background-color: "+y.background],C[w+".cc-revoke"]=["color: "+y.text,"background-color: "+y.background],C[w+" .cc-link,"+w+" .cc-link:active,"+w+" .cc-link:visited"]=["color: "+y.link],g&&(g.text=g.text?g.text:a.getContrast(g.background),g.border=g.border?g.border:"transparent",C[w+" .cc-btn"]=["color: "+g.text,"border-color: "+g.border,"background-color: "+g.background],g.padding&&C[w+" .cc-btn"].push("padding: "+g.padding),g.background!="transparent"&&(C[w+" .cc-btn:hover, "+w+" .cc-btn:focus"]=["background-color: "+(g.hover||r(g.background))]),S?(S.text=S.text?S.text:a.getContrast(S.background),S.border=S.border?S.border:"transparent",C[w+" .cc-highlight .cc-btn:first-child"]=["color: "+S.text,"border-color: "+S.border,"background-color: "+S.background]):C[w+" .cc-highlight .cc-btn:first-child"]=["color: "+y.text]));var L=document.createElement("style");document.head.appendChild(L),c.customStyles[E]={references:1,element:L.sheet};var R=-1;for(var P in C)C.hasOwnProperty(P)&&L.sheet.insertRule(P+"{"+C[P].join(";")+"}",++R)})(k,b,"."+O),x}).call(this,this.options.palette),this.customStyleSelector&&v.push(this.customStyleSelector),v}.call(this).join(" ")).replace("{{children}}",function(){var l={},p=this.options;p.showLink||(p.elements.link="",p.elements.messagelink=p.elements.message),Object.keys(p.elements).forEach(function(k){l[k]=a.interpolateString(p.elements[k],function(O){var x=p.content[O];return O&&typeof x=="string"&&x.length?x:""})});var v=p.compliance[p.type];v||(v=p.compliance.info),l.compliance=a.interpolateString(v,function(k){return l[k]});var b=p.layouts[p.layout];return b||(b=p.layouts.basic),a.interpolateString(b,function(k){return l[k]})}.call(this)),h=this.options.overrideHTML;if(typeof h=="string"&&h.length&&(s=h),this.options.static){var m=n.call(this,'
'+s+"
");m.style.display="",this.element=m.firstChild,this.element.style.display="none",a.addClass(this.element,"cc-invisible")}else this.element=n.call(this,s);(function(){var l=this.setStatus.bind(this),p=this.close.bind(this),v=this.options.dismissOnTimeout;typeof v=="number"&&v>=0&&(this.dismissTimeout=window.setTimeout(function(){l(c.status.dismiss),p(!0)},Math.floor(v)));var b=this.options.dismissOnScroll;if(typeof b=="number"&&b>=0){var k=function(T){window.pageYOffset>Math.floor(b)&&(l(c.status.dismiss),p(!0),window.removeEventListener("scroll",k),this.onWindowScroll=null)};this.options.enabled&&(this.onWindowScroll=k,window.addEventListener("scroll",k))}var O=this.options.dismissOnWindowClick,x=this.options.ignoreClicksFrom;if(O){var E=function(T){for(var w=!1,C=T.path.length,y=x.length,g=0;gx&&(O=!0),O?a.hasClass(v,"cc-active")||a.addClass(v,"cc-active"):a.hasClass(v,"cc-active")&&a.removeClass(v,"cc-active")},200);this.onMouseMove=b,window.addEventListener("mousemove",b)}}}.call(this),this.options.autoOpen&&this.autoOpen()},t.prototype.destroy=function(){this.onButtonClick&&this.element&&(this.element.removeEventListener("click",this.onButtonClick),this.onButtonClick=null),this.dismissTimeout&&(clearTimeout(this.dismissTimeout),this.dismissTimeout=null),this.onWindowScroll&&(window.removeEventListener("scroll",this.onWindowScroll),this.onWindowScroll=null),this.onWindowClick&&(window.removeEventListener("click",this.onWindowClick),this.onWindowClick=null),this.onMouseMove&&(window.removeEventListener("mousemove",this.onMouseMove),this.onMouseMove=null),this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=null,this.revokeBtn&&this.revokeBtn.parentNode&&this.revokeBtn.parentNode.removeChild(this.revokeBtn),this.revokeBtn=null,(function(i){if(a.isPlainObject(i)){var s=a.hash(JSON.stringify(i)),h=c.customStyles[s];if(h&&!--h.references){var m=h.element.ownerNode;m&&m.parentNode&&m.parentNode.removeChild(m),c.customStyles[s]=null}}})(this.options.palette),this.options=null},t.prototype.open=function(i){if(this.element)return this.isOpen()||(c.hasTransition?this.fadeIn():this.element.style.display="",this.options.revokable&&this.toggleRevokeButton(),this.options.onPopupOpen.call(this)),this},t.prototype.close=function(i){if(this.element)return this.isOpen()&&(c.hasTransition?this.fadeOut():this.element.style.display="none",i&&this.options.revokable&&this.toggleRevokeButton(!0),this.options.onPopupClose.call(this)),this},t.prototype.fadeIn=function(){var i=this.element;if(c.hasTransition&&i&&(this.afterTransition&&d.call(this,i),a.hasClass(i,"cc-invisible"))){if(i.style.display="",this.options.static){var s=this.element.clientHeight;this.element.parentNode.style.maxHeight=s+"px"}this.openingTimeout=setTimeout(o.bind(this,i),20)}},t.prototype.fadeOut=function(){var i=this.element;c.hasTransition&&i&&(this.openingTimeout&&(clearTimeout(this.openingTimeout),o.bind(this,i)),a.hasClass(i,"cc-invisible")||(this.options.static&&(this.element.parentNode.style.maxHeight=""),this.afterTransition=d.bind(this,i),i.addEventListener(c.transitionEnd,this.afterTransition),a.addClass(i,"cc-invisible")))},t.prototype.isOpen=function(){return this.element&&this.element.style.display==""&&(!c.hasTransition||!a.hasClass(this.element,"cc-invisible"))},t.prototype.toggleRevokeButton=function(i){this.revokeBtn&&(this.revokeBtn.style.display=i?"":"none")},t.prototype.revokeChoice=function(i){this.options.enabled=!0,this.clearStatus(),this.options.onRevokeChoice.call(this),i||this.autoOpen()},t.prototype.hasAnswered=function(i){return Object.keys(c.status).indexOf(this.getStatus())>=0},t.prototype.hasConsented=function(i){var s=this.getStatus();return s==c.status.allow||s==c.status.dismiss},t.prototype.autoOpen=function(i){!this.hasAnswered()&&this.options.enabled?this.open():this.hasAnswered()&&this.options.revokable&&this.toggleRevokeButton(!0)},t.prototype.setStatus=function(i){var s=this.options.cookie,h=a.getCookie(s.name),m=Object.keys(c.status).indexOf(h)>=0;Object.keys(c.status).indexOf(i)>=0?(a.setCookie(s.name,i,s.expiryDays,s.domain,s.path,s.secure),this.options.onStatusChange.call(this,i,m)):this.clearStatus()},t.prototype.getStatus=function(){return a.getCookie(this.options.cookie.name)},t.prototype.clearStatus=function(){var i=this.options.cookie;a.setCookie(i.name,"",-1,i.domain,i.path)},t})(),c.Location=(function(){var e={timeout:5e3,services:["ipinfo"],serviceDefinitions:{ipinfo:function(){return{url:"//ipinfo.io",headers:["Accept: application/json"],callback:function(n,r){try{var u=JSON.parse(r);return u.error?f(u):{code:u.country}}catch(i){return f({error:"Invalid response ("+i+")"})}}}},ipinfodb:function(n){return{url:"//api.ipinfodb.com/v3/ip-country/?key={api_key}&format=json&callback={callback}",isScript:!0,callback:function(r,u){try{var i=JSON.parse(u);return i.statusCode=="ERROR"?f({error:i.statusMessage}):{code:i.countryCode}}catch(s){return f({error:"Invalid response ("+s+")"})}}}},maxmind:function(){return{url:"//js.maxmind.com/js/apis/geoip2/v2.1/geoip2.js",isScript:!0,callback:function(n){window.geoip2?geoip2.country(function(r){try{n({code:r.country.iso_code})}catch(u){n(f(u))}},function(r){n(f(r))}):n(new Error("Unexpected response format. The downloaded script should have exported `geoip2` to the global scope"))}}}}};function t(n){a.deepExtend(this.options={},e),a.isPlainObject(n)&&a.deepExtend(this.options,n),this.currentServiceIndex=-1}function o(n,r,u){var i,s=document.createElement("script");s.type="text/"+(n.type||"javascript"),s.src=n.src||n,s.async=!1,s.onreadystatechange=s.onload=function(){var h=s.readyState;clearTimeout(i),r.done||h&&!/loaded|complete/.test(h)||(r.done=!0,r(),s.onreadystatechange=s.onload=null)},document.body.appendChild(s),i=setTimeout(function(){r.done=!0,r(),s.onreadystatechange=s.onload=null},u)}function d(n,r,u,i,s){var h=new(window.XMLHttpRequest||window.ActiveXObject)("MSXML2.XMLHTTP.3.0");if(h.open(i?"POST":"GET",n,1),h.setRequestHeader("Content-type","application/x-www-form-urlencoded"),Array.isArray(s))for(var m=0,l=s.length;m3&&r(h)}),h.send(i)}function f(n){return new Error("Error ["+(n.code||"UNKNOWN")+"]: "+n.error)}return t.prototype.getNextService=function(){var n;do n=this.getServiceByIdx(++this.currentServiceIndex);while(this.currentServiceIndex=0,revokable:d.revokable.indexOf(o)>=0,explicitAction:d.explicitAction.indexOf(o)>=0}},t.prototype.applyLaw=function(o,d){var f=this.get(d);return f.hasLaw||(o.enabled=!1,typeof o.onNoCookieLaw=="function"&&o.onNoCookieLaw(d,f)),this.options.regionalLaw&&(f.revokable&&(o.revokable=!0),f.explicitAction&&(o.dismissOnScroll=!1,o.dismissOnTimeout=!1)),o},t})(),c.initialise=function(e,t,o){var d=new c.Law(e.law);t||(t=function(){}),o||(o=function(){});var f=Object.keys(c.status),n=a.getCookie("cookieconsent_status");f.indexOf(n)>=0?t(new c.Popup(e)):c.getCountryCode(e,function(r){delete e.law,delete e.location,r.code&&(e=d.applyLaw(e,r.code)),t(new c.Popup(e))},function(r){delete e.law,delete e.location,o(r,new c.Popup(e))})},c.getCountryCode=function(e,t,o){e.law&&e.law.countryCode?t({code:e.law.countryCode}):e.location?new c.Location(e.location).locate(function(d){t(d||{})},o):t({})},c.utils=a,c.hasInitialised=!0,window.cookieconsent=c}})(window.cookieconsent||{}); diff --git a/server/src/uds/static/modern/styles.css b/server/src/uds/static/modern/styles.css index 2ffc10e22..c6ee19b65 100644 --- a/server/src/uds/static/modern/styles.css +++ b/server/src/uds/static/modern/styles.css @@ -1 +1 @@ -.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}html{--mat-sys-on-surface: initial}.mat-app-background{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}html{--mat-ripple-color: rgba(0, 0, 0, .1)}html{--mat-option-selected-state-label-text-color: #3f51b5;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-accent{--mat-option-selected-state-label-text-color: #ff4081;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}html{--mat-optgroup-label-text-color: rgba(0, 0, 0, .87)}html{--mat-full-pseudo-checkbox-selected-icon-color: #ff4081;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0}html{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #ff4081;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}.mat-primary{--mat-full-pseudo-checkbox-selected-icon-color: #3f51b5;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0}.mat-primary{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #3f51b5;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}.mat-accent{--mat-full-pseudo-checkbox-selected-icon-color: #ff4081;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0}.mat-accent{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #ff4081;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}.mat-warn{--mat-full-pseudo-checkbox-selected-icon-color: #f44336;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0}.mat-warn{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #f44336;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}html{--mat-app-background-color: #fafafa;--mat-app-text-color: rgba(0, 0, 0, .87);--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}html{--mat-option-label-text-font: Roboto, sans-serif;--mat-option-label-text-line-height: 24px;--mat-option-label-text-size: 16px;--mat-option-label-text-tracking: .03125em;--mat-option-label-text-weight: 400}html{--mat-optgroup-label-text-font: Roboto, sans-serif;--mat-optgroup-label-text-line-height: 24px;--mat-optgroup-label-text-size: 16px;--mat-optgroup-label-text-tracking: .03125em;--mat-optgroup-label-text-weight: 400}html{--mdc-elevated-card-container-shape: 4px}html{--mdc-outlined-card-container-shape: 4px;--mdc-outlined-card-outline-width: 1px}html{--mdc-elevated-card-container-color: white;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12)}html{--mdc-outlined-card-container-color: white;--mdc-outlined-card-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12)}html{--mat-card-subtitle-text-color: rgba(0, 0, 0, .54)}html{--mat-card-title-text-font: Roboto, sans-serif;--mat-card-title-text-line-height: 32px;--mat-card-title-text-size: 20px;--mat-card-title-text-tracking: .0125em;--mat-card-title-text-weight: 500;--mat-card-subtitle-text-font: Roboto, sans-serif;--mat-card-subtitle-text-line-height: 22px;--mat-card-subtitle-text-size: 14px;--mat-card-subtitle-text-tracking: .0071428571em;--mat-card-subtitle-text-weight: 500}html{--mdc-linear-progress-active-indicator-height: 4px;--mdc-linear-progress-track-height: 4px;--mdc-linear-progress-track-shape: 0}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #3f51b5;--mdc-linear-progress-track-color: rgba(63, 81, 181, .25)}.mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #ff4081;--mdc-linear-progress-track-color: rgba(255, 64, 129, .25)}.mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}html{--mdc-plain-tooltip-container-shape: 4px;--mdc-plain-tooltip-supporting-text-line-height: 16px}html{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}html{--mdc-plain-tooltip-supporting-text-font: Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: .0333333333em}html{--mdc-filled-text-field-active-indicator-height: 1px;--mdc-filled-text-field-focus-active-indicator-height: 2px;--mdc-filled-text-field-container-shape: 4px}html{--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-focus-outline-width: 2px;--mdc-outlined-text-field-container-shape: 4px}html{--mdc-filled-text-field-caret-color: #3f51b5;--mdc-filled-text-field-focus-active-indicator-color: #3f51b5;--mdc-filled-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-filled-text-field-container-color: rgb(244.8, 244.8, 244.8);--mdc-filled-text-field-disabled-container-color: rgb(249.9, 249.9, 249.9);--mdc-filled-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-hover-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-error-hover-label-text-color: #f44336;--mdc-filled-text-field-error-focus-label-text-color: #f44336;--mdc-filled-text-field-error-label-text-color: #f44336;--mdc-filled-text-field-error-caret-color: #f44336;--mdc-filled-text-field-active-indicator-color: rgba(0, 0, 0, .42);--mdc-filled-text-field-disabled-active-indicator-color: rgba(0, 0, 0, .06);--mdc-filled-text-field-hover-active-indicator-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-error-active-indicator-color: #f44336;--mdc-filled-text-field-error-focus-active-indicator-color: #f44336;--mdc-filled-text-field-error-hover-active-indicator-color: #f44336}html{--mdc-outlined-text-field-caret-color: #3f51b5;--mdc-outlined-text-field-focus-outline-color: #3f51b5;--mdc-outlined-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-outlined-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-hover-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-error-caret-color: #f44336;--mdc-outlined-text-field-error-focus-label-text-color: #f44336;--mdc-outlined-text-field-error-label-text-color: #f44336;--mdc-outlined-text-field-error-hover-label-text-color: #f44336;--mdc-outlined-text-field-outline-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-disabled-outline-color: rgba(0, 0, 0, .06);--mdc-outlined-text-field-hover-outline-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-error-focus-outline-color: #f44336;--mdc-outlined-text-field-error-hover-outline-color: #f44336;--mdc-outlined-text-field-error-outline-color: #f44336}html{--mat-form-field-focus-select-arrow-color: rgba(63, 81, 181, .87);--mat-form-field-disabled-input-text-placeholder-color: rgba(0, 0, 0, .38);--mat-form-field-state-layer-color: rgba(0, 0, 0, .87);--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: inherit;--mat-form-field-select-disabled-option-text-color: GrayText;--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: rgba(0, 0, 0, .54);--mat-form-field-disabled-select-arrow-color: rgba(0, 0, 0, .38);--mat-form-field-hover-state-layer-opacity: .04;--mat-form-field-focus-state-layer-opacity: .08}.mat-mdc-form-field.mat-accent{--mdc-filled-text-field-caret-color: #ff4081;--mdc-filled-text-field-focus-active-indicator-color: #ff4081;--mdc-filled-text-field-focus-label-text-color: rgba(255, 64, 129, .87)}.mat-mdc-form-field.mat-accent{--mdc-outlined-text-field-caret-color: #ff4081;--mdc-outlined-text-field-focus-outline-color: #ff4081;--mdc-outlined-text-field-focus-label-text-color: rgba(255, 64, 129, .87)}.mat-mdc-form-field.mat-accent{--mat-form-field-focus-select-arrow-color: rgba(255, 64, 129, .87)}.mat-mdc-form-field.mat-warn{--mdc-filled-text-field-caret-color: #f44336;--mdc-filled-text-field-focus-active-indicator-color: #f44336;--mdc-filled-text-field-focus-label-text-color: rgba(244, 67, 54, .87)}.mat-mdc-form-field.mat-warn{--mdc-outlined-text-field-caret-color: #f44336;--mdc-outlined-text-field-focus-outline-color: #f44336;--mdc-outlined-text-field-focus-label-text-color: rgba(244, 67, 54, .87)}.mat-mdc-form-field.mat-warn{--mat-form-field-focus-select-arrow-color: rgba(244, 67, 54, .87)}html{--mat-form-field-container-height: 56px;--mat-form-field-filled-label-display: block;--mat-form-field-container-vertical-padding: 16px;--mat-form-field-filled-with-label-container-padding-top: 24px;--mat-form-field-filled-with-label-container-padding-bottom: 8px}html{--mdc-filled-text-field-label-text-font: Roboto, sans-serif;--mdc-filled-text-field-label-text-size: 16px;--mdc-filled-text-field-label-text-tracking: .03125em;--mdc-filled-text-field-label-text-weight: 400}html{--mdc-outlined-text-field-label-text-font: Roboto, sans-serif;--mdc-outlined-text-field-label-text-size: 16px;--mdc-outlined-text-field-label-text-tracking: .03125em;--mdc-outlined-text-field-label-text-weight: 400}html{--mat-form-field-container-text-font: Roboto, sans-serif;--mat-form-field-container-text-line-height: 24px;--mat-form-field-container-text-size: 16px;--mat-form-field-container-text-tracking: .03125em;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 16px;--mat-form-field-subscript-text-font: Roboto, sans-serif;--mat-form-field-subscript-text-line-height: 20px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: .0333333333em;--mat-form-field-subscript-text-weight: 400}html{--mat-select-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(63, 81, 181, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(255, 64, 129, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html{--mat-select-arrow-transform: translateY(-8px)}html{--mat-select-trigger-text-font: Roboto, sans-serif;--mat-select-trigger-text-line-height: 24px;--mat-select-trigger-text-size: 16px;--mat-select-trigger-text-tracking: .03125em;--mat-select-trigger-text-weight: 400}html{--mat-autocomplete-container-shape: 4px;--mat-autocomplete-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-autocomplete-background-color: white}html{--mdc-dialog-container-shape: 4px}html{--mat-dialog-container-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-dialog-container-max-width: 80vw;--mat-dialog-container-small-max-width: 80vw;--mat-dialog-container-min-width: 0;--mat-dialog-actions-alignment: start;--mat-dialog-actions-padding: 8px;--mat-dialog-content-padding: 20px 24px;--mat-dialog-with-actions-content-padding: 20px 24px;--mat-dialog-headline-padding: 0 24px 9px}html{--mdc-dialog-container-color: white;--mdc-dialog-subhead-color: rgba(0, 0, 0, .87);--mdc-dialog-supporting-text-color: rgba(0, 0, 0, .6)}html{--mdc-dialog-subhead-font: Roboto, sans-serif;--mdc-dialog-subhead-line-height: 32px;--mdc-dialog-subhead-size: 20px;--mdc-dialog-subhead-weight: 500;--mdc-dialog-subhead-tracking: .0125em;--mdc-dialog-supporting-text-font: Roboto, sans-serif;--mdc-dialog-supporting-text-line-height: 24px;--mdc-dialog-supporting-text-size: 16px;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: .03125em}.mat-mdc-standard-chip{--mdc-chip-container-shape-radius: 16px;--mdc-chip-with-avatar-avatar-shape-radius: 14px;--mdc-chip-with-avatar-avatar-size: 28px;--mdc-chip-with-icon-icon-size: 18px;--mdc-chip-outline-width: 0;--mdc-chip-outline-color: transparent;--mdc-chip-disabled-outline-color: transparent;--mdc-chip-focus-outline-color: transparent;--mdc-chip-hover-state-layer-opacity: .04;--mdc-chip-with-avatar-disabled-avatar-opacity: 1;--mdc-chip-flat-selected-outline-width: 0;--mdc-chip-selected-hover-state-layer-opacity: .04;--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity: 1;--mdc-chip-with-icon-disabled-icon-opacity: 1}.mat-mdc-standard-chip{--mat-chip-disabled-container-opacity: .4;--mat-chip-trailing-action-opacity: .54;--mat-chip-trailing-action-focus-opacity: 1;--mat-chip-trailing-action-state-layer-color: transparent;--mat-chip-selected-trailing-action-state-layer-color: transparent;--mat-chip-trailing-action-hover-state-layer-opacity: 0;--mat-chip-trailing-action-focus-state-layer-opacity: 0}.mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color: #212121;--mdc-chip-elevated-container-color: rgb(224.4, 224.4, 224.4);--mdc-chip-elevated-selected-container-color: rgb(224.4, 224.4, 224.4);--mdc-chip-elevated-disabled-container-color: rgb(224.4, 224.4, 224.4);--mdc-chip-flat-disabled-selected-container-color: rgb(224.4, 224.4, 224.4);--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #212121;--mdc-chip-selected-label-text-color: #212121;--mdc-chip-with-icon-icon-color: #212121;--mdc-chip-with-icon-disabled-icon-color: #212121;--mdc-chip-with-icon-selected-icon-color: #212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #212121;--mdc-chip-with-trailing-icon-trailing-icon-color: #212121}.mat-mdc-standard-chip{--mat-chip-selected-disabled-trailing-icon-color: #212121;--mat-chip-selected-trailing-icon-color: #212121}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #3f51b5;--mdc-chip-elevated-selected-container-color: #3f51b5;--mdc-chip-elevated-disabled-container-color: #3f51b5;--mdc-chip-flat-disabled-selected-container-color: #3f51b5;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #ff4081;--mdc-chip-elevated-selected-container-color: #ff4081;--mdc-chip-elevated-disabled-container-color: #ff4081;--mdc-chip-flat-disabled-selected-container-color: #ff4081;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-selected-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-flat-disabled-selected-container-color: #f44336;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-chip.mat-mdc-standard-chip{--mdc-chip-container-height: 32px}.mat-mdc-standard-chip{--mdc-chip-label-text-font: Roboto, sans-serif;--mdc-chip-label-text-line-height: 20px;--mdc-chip-label-text-size: 14px;--mdc-chip-label-text-tracking: .0178571429em;--mdc-chip-label-text-weight: 400}html{--mdc-switch-disabled-selected-icon-opacity: .38;--mdc-switch-disabled-track-opacity: .12;--mdc-switch-disabled-unselected-icon-opacity: .38;--mdc-switch-handle-height: 20px;--mdc-switch-handle-shape: 10px;--mdc-switch-handle-width: 20px;--mdc-switch-selected-icon-size: 18px;--mdc-switch-track-height: 14px;--mdc-switch-track-shape: 7px;--mdc-switch-track-width: 36px;--mdc-switch-unselected-icon-size: 18px;--mdc-switch-selected-focus-state-layer-opacity: .12;--mdc-switch-selected-hover-state-layer-opacity: .04;--mdc-switch-selected-pressed-state-layer-opacity: .1;--mdc-switch-unselected-focus-state-layer-opacity: .12;--mdc-switch-unselected-hover-state-layer-opacity: .04;--mdc-switch-unselected-pressed-state-layer-opacity: .1}html .mat-mdc-slide-toggle{--mat-switch-disabled-selected-handle-opacity: .38;--mat-switch-disabled-unselected-handle-opacity: .38;--mat-switch-unselected-handle-size: 20px;--mat-switch-selected-handle-size: 20px;--mat-switch-pressed-handle-size: 20px;--mat-switch-with-icon-handle-size: 20px;--mat-switch-selected-handle-horizontal-margin: 0;--mat-switch-selected-with-icon-handle-horizontal-margin: 0;--mat-switch-selected-pressed-handle-horizontal-margin: 0;--mat-switch-unselected-handle-horizontal-margin: 0;--mat-switch-unselected-with-icon-handle-horizontal-margin: 0;--mat-switch-unselected-pressed-handle-horizontal-margin: 0;--mat-switch-visible-track-opacity: 1;--mat-switch-hidden-track-opacity: 1;--mat-switch-visible-track-transition: transform 75ms 0ms cubic-bezier(0, 0, .2, 1);--mat-switch-hidden-track-transition: transform 75ms 0ms cubic-bezier(.4, 0, .6, 1);--mat-switch-track-outline-width: 1px;--mat-switch-track-outline-color: transparent;--mat-switch-selected-track-outline-width: 1px;--mat-switch-selected-track-outline-color: transparent;--mat-switch-disabled-unselected-track-outline-width: 1px;--mat-switch-disabled-unselected-track-outline-color: transparent}html{--mdc-switch-selected-focus-state-layer-color: #3949ab;--mdc-switch-selected-handle-color: #3949ab;--mdc-switch-selected-hover-state-layer-color: #3949ab;--mdc-switch-selected-pressed-state-layer-color: #3949ab;--mdc-switch-selected-focus-handle-color: #1a237e;--mdc-switch-selected-hover-handle-color: #1a237e;--mdc-switch-selected-pressed-handle-color: #1a237e;--mdc-switch-selected-focus-track-color: #7986cb;--mdc-switch-selected-hover-track-color: #7986cb;--mdc-switch-selected-pressed-track-color: #7986cb;--mdc-switch-selected-track-color: #7986cb;--mdc-switch-disabled-selected-handle-color: #424242;--mdc-switch-disabled-selected-icon-color: #fff;--mdc-switch-disabled-selected-track-color: #424242;--mdc-switch-disabled-unselected-handle-color: #424242;--mdc-switch-disabled-unselected-icon-color: #fff;--mdc-switch-disabled-unselected-track-color: #424242;--mdc-switch-handle-surface-color: #fff;--mdc-switch-selected-icon-color: #fff;--mdc-switch-unselected-focus-handle-color: #212121;--mdc-switch-unselected-focus-state-layer-color: #424242;--mdc-switch-unselected-focus-track-color: #e0e0e0;--mdc-switch-unselected-handle-color: #616161;--mdc-switch-unselected-hover-handle-color: #212121;--mdc-switch-unselected-hover-state-layer-color: #424242;--mdc-switch-unselected-hover-track-color: #e0e0e0;--mdc-switch-unselected-icon-color: #fff;--mdc-switch-unselected-pressed-handle-color: #212121;--mdc-switch-unselected-pressed-state-layer-color: #424242;--mdc-switch-unselected-pressed-track-color: #e0e0e0;--mdc-switch-unselected-track-color: #e0e0e0;--mdc-switch-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12)}html{--mdc-switch-disabled-label-text-color: rgba(0, 0, 0, .38)}html .mat-mdc-slide-toggle{--mat-switch-label-text-color: rgba(0, 0, 0, .87)}html .mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color: #d81b60;--mdc-switch-selected-handle-color: #d81b60;--mdc-switch-selected-hover-state-layer-color: #d81b60;--mdc-switch-selected-pressed-state-layer-color: #d81b60;--mdc-switch-selected-focus-handle-color: #880e4f;--mdc-switch-selected-hover-handle-color: #880e4f;--mdc-switch-selected-pressed-handle-color: #880e4f;--mdc-switch-selected-focus-track-color: #f06292;--mdc-switch-selected-hover-track-color: #f06292;--mdc-switch-selected-pressed-track-color: #f06292;--mdc-switch-selected-track-color: #f06292}html .mat-mdc-slide-toggle.mat-warn{--mdc-switch-selected-focus-state-layer-color: #e53935;--mdc-switch-selected-handle-color: #e53935;--mdc-switch-selected-hover-state-layer-color: #e53935;--mdc-switch-selected-pressed-state-layer-color: #e53935;--mdc-switch-selected-focus-handle-color: #b71c1c;--mdc-switch-selected-hover-handle-color: #b71c1c;--mdc-switch-selected-pressed-handle-color: #b71c1c;--mdc-switch-selected-focus-track-color: #e57373;--mdc-switch-selected-hover-track-color: #e57373;--mdc-switch-selected-pressed-track-color: #e57373;--mdc-switch-selected-track-color: #e57373}html{--mdc-switch-state-layer-size: 40px}html .mat-mdc-slide-toggle{--mat-switch-label-text-font: Roboto, sans-serif;--mat-switch-label-text-line-height: 20px;--mat-switch-label-text-size: 14px;--mat-switch-label-text-tracking: .0178571429em;--mat-switch-label-text-weight: 400}html{--mdc-radio-disabled-selected-icon-opacity: .38;--mdc-radio-disabled-unselected-icon-opacity: .38;--mdc-radio-state-layer-size: 40px}.mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5}.mat-mdc-radio-button.mat-primary{--mat-radio-ripple-color: black;--mat-radio-checked-ripple-color: #3f51b5;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38);--mat-radio-label-text-color: rgba(0, 0, 0, .87)}.mat-mdc-radio-button.mat-accent{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081}.mat-mdc-radio-button.mat-accent{--mat-radio-ripple-color: black;--mat-radio-checked-ripple-color: #ff4081;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38);--mat-radio-label-text-color: rgba(0, 0, 0, .87)}.mat-mdc-radio-button.mat-warn{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.mat-mdc-radio-button.mat-warn{--mat-radio-ripple-color: black;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38);--mat-radio-label-text-color: rgba(0, 0, 0, .87)}html{--mdc-radio-state-layer-size: 40px}html{--mat-radio-touch-target-display: block}html{--mat-radio-label-text-font: Roboto, sans-serif;--mat-radio-label-text-line-height: 20px;--mat-radio-label-text-size: 14px;--mat-radio-label-text-tracking: .0178571429em;--mat-radio-label-text-weight: 400}html{--mdc-slider-active-track-height: 6px;--mdc-slider-active-track-shape: 9999px;--mdc-slider-handle-height: 20px;--mdc-slider-handle-shape: 50%;--mdc-slider-handle-width: 20px;--mdc-slider-inactive-track-height: 4px;--mdc-slider-inactive-track-shape: 9999px;--mdc-slider-with-overlap-handle-outline-width: 1px;--mdc-slider-with-tick-marks-active-container-opacity: .6;--mdc-slider-with-tick-marks-container-shape: 50%;--mdc-slider-with-tick-marks-container-size: 2px;--mdc-slider-with-tick-marks-inactive-container-opacity: .6;--mdc-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12)}html{--mat-slider-value-indicator-width: auto;--mat-slider-value-indicator-height: 32px;--mat-slider-value-indicator-caret-display: block;--mat-slider-value-indicator-border-radius: 4px;--mat-slider-value-indicator-padding: 0 12px;--mat-slider-value-indicator-text-transform: none;--mat-slider-value-indicator-container-transform: translateX(-50%)}html{--mdc-slider-handle-color: #3f51b5;--mdc-slider-focus-handle-color: #3f51b5;--mdc-slider-hover-handle-color: #3f51b5;--mdc-slider-active-track-color: #3f51b5;--mdc-slider-inactive-track-color: #3f51b5;--mdc-slider-with-tick-marks-inactive-container-color: #3f51b5;--mdc-slider-with-tick-marks-active-container-color: white;--mdc-slider-disabled-active-track-color: #000;--mdc-slider-disabled-handle-color: #000;--mdc-slider-disabled-inactive-track-color: #000;--mdc-slider-label-container-color: #000;--mdc-slider-label-label-text-color: #fff;--mdc-slider-with-overlap-handle-outline-color: #fff;--mdc-slider-with-tick-marks-disabled-container-color: #000}html{--mat-slider-ripple-color: #3f51b5;--mat-slider-hover-state-layer-color: rgba(63, 81, 181, .05);--mat-slider-focus-state-layer-color: rgba(63, 81, 181, .2);--mat-slider-value-indicator-opacity: .6}html .mat-accent{--mdc-slider-handle-color: #ff4081;--mdc-slider-focus-handle-color: #ff4081;--mdc-slider-hover-handle-color: #ff4081;--mdc-slider-active-track-color: #ff4081;--mdc-slider-inactive-track-color: #ff4081;--mdc-slider-with-tick-marks-inactive-container-color: #ff4081;--mdc-slider-with-tick-marks-active-container-color: white}html .mat-accent{--mat-slider-ripple-color: #ff4081;--mat-slider-hover-state-layer-color: rgba(255, 64, 129, .05);--mat-slider-focus-state-layer-color: rgba(255, 64, 129, .2)}html .mat-warn{--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: white}html .mat-warn{--mat-slider-ripple-color: #f44336;--mat-slider-hover-state-layer-color: rgba(244, 67, 54, .05);--mat-slider-focus-state-layer-color: rgba(244, 67, 54, .2)}html{--mdc-slider-label-label-text-font: Roboto, sans-serif;--mdc-slider-label-label-text-size: 14px;--mdc-slider-label-label-text-line-height: 22px;--mdc-slider-label-label-text-tracking: .0071428571em;--mdc-slider-label-label-text-weight: 500}html{--mat-menu-container-shape: 4px;--mat-menu-divider-bottom-spacing: 0;--mat-menu-divider-top-spacing: 0;--mat-menu-item-spacing: 16px;--mat-menu-item-icon-size: 24px;--mat-menu-item-leading-spacing: 16px;--mat-menu-item-trailing-spacing: 16px;--mat-menu-item-with-icon-leading-spacing: 16px;--mat-menu-item-with-icon-trailing-spacing: 16px;--mat-menu-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-menu-item-label-text-color: rgba(0, 0, 0, .87);--mat-menu-item-icon-color: rgba(0, 0, 0, .87);--mat-menu-item-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-item-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-container-color: white;--mat-menu-divider-color: rgba(0, 0, 0, .12)}html{--mat-menu-item-label-text-font: Roboto, sans-serif;--mat-menu-item-label-text-size: 16px;--mat-menu-item-label-text-tracking: .03125em;--mat-menu-item-label-text-line-height: 24px;--mat-menu-item-label-text-weight: 400}html{--mdc-list-list-item-container-shape: 0;--mdc-list-list-item-leading-avatar-shape: 50%;--mdc-list-list-item-container-color: transparent;--mdc-list-list-item-selected-container-color: transparent;--mdc-list-list-item-leading-avatar-color: transparent;--mdc-list-list-item-leading-icon-size: 24px;--mdc-list-list-item-leading-avatar-size: 40px;--mdc-list-list-item-trailing-icon-size: 24px;--mdc-list-list-item-disabled-state-layer-color: transparent;--mdc-list-list-item-disabled-state-layer-opacity: 0;--mdc-list-list-item-disabled-label-text-opacity: .38;--mdc-list-list-item-disabled-leading-icon-opacity: .38;--mdc-list-list-item-disabled-trailing-icon-opacity: .38}html{--mat-list-active-indicator-color: transparent;--mat-list-active-indicator-shape: 4px}html{--mdc-list-list-item-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-supporting-text-color: rgba(0, 0, 0, .54);--mdc-list-list-item-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-supporting-text-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-selected-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-disabled-label-text-color: black;--mdc-list-list-item-disabled-leading-icon-color: black;--mdc-list-list-item-disabled-trailing-icon-color: black;--mdc-list-list-item-hover-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-hover-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-focus-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-state-layer-color: black;--mdc-list-list-item-hover-state-layer-opacity: .04;--mdc-list-list-item-focus-state-layer-color: black;--mdc-list-list-item-focus-state-layer-opacity: .12}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5}.mat-accent .mdc-list-item__start,.mat-accent .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081}.mat-warn .mdc-list-item__start,.mat-warn .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.mat-mdc-list-option{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-accent{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__start,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__start{color:#3f51b5}.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}html{--mdc-list-list-item-one-line-container-height: 48px;--mdc-list-list-item-two-line-container-height: 64px;--mdc-list-list-item-three-line-container-height: 88px}html{--mat-list-list-item-leading-icon-start-space: 16px;--mat-list-list-item-leading-icon-end-space: 32px}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-state-layer-size: 40px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}html{--mdc-list-list-item-label-text-font: Roboto, sans-serif;--mdc-list-list-item-label-text-line-height: 24px;--mdc-list-list-item-label-text-size: 16px;--mdc-list-list-item-label-text-tracking: .03125em;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-supporting-text-line-height: 20px;--mdc-list-list-item-supporting-text-size: 14px;--mdc-list-list-item-supporting-text-tracking: .0178571429em;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-trailing-supporting-text-line-height: 20px;--mdc-list-list-item-trailing-supporting-text-size: 12px;--mdc-list-list-item-trailing-supporting-text-tracking: .0333333333em;--mdc-list-list-item-trailing-supporting-text-weight: 400}.mdc-list-group__subheader{font:400 16px/28px Roboto,sans-serif;letter-spacing:.009375em}html{--mat-paginator-container-text-color: rgba(0, 0, 0, .87);--mat-paginator-container-background-color: white;--mat-paginator-enabled-icon-color: rgba(0, 0, 0, .54);--mat-paginator-disabled-icon-color: rgba(0, 0, 0, .12)}html{--mat-paginator-container-size: 56px;--mat-paginator-form-field-container-height: 40px;--mat-paginator-form-field-container-vertical-padding: 8px;--mat-paginator-touch-target-display: block}html{--mat-paginator-container-text-font: Roboto, sans-serif;--mat-paginator-container-text-line-height: 20px;--mat-paginator-container-text-size: 12px;--mat-paginator-container-text-tracking: .0333333333em;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: 12px}html{--mdc-secondary-navigation-tab-container-height: 48px}html{--mdc-tab-indicator-active-indicator-height: 2px;--mdc-tab-indicator-active-indicator-shape: 0}html{--mat-tab-header-divider-color: transparent;--mat-tab-header-divider-height: 0}.mat-mdc-tab-group,.mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color: #3f51b5}.mat-mdc-tab-group,.mat-mdc-tab-nav-bar{--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: black;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #3f51b5;--mat-tab-header-active-ripple-color: #3f51b5;--mat-tab-header-inactive-ripple-color: #3f51b5;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #3f51b5;--mat-tab-header-active-hover-label-text-color: #3f51b5;--mat-tab-header-active-focus-indicator-color: #3f51b5;--mat-tab-header-active-hover-indicator-color: #3f51b5}.mat-mdc-tab-group.mat-accent,.mat-mdc-tab-nav-bar.mat-accent{--mdc-tab-indicator-active-indicator-color: #ff4081}.mat-mdc-tab-group.mat-accent,.mat-mdc-tab-nav-bar.mat-accent{--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: black;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #ff4081;--mat-tab-header-active-ripple-color: #ff4081;--mat-tab-header-inactive-ripple-color: #ff4081;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #ff4081;--mat-tab-header-active-hover-label-text-color: #ff4081;--mat-tab-header-active-focus-indicator-color: #ff4081;--mat-tab-header-active-hover-indicator-color: #ff4081}.mat-mdc-tab-group.mat-warn,.mat-mdc-tab-nav-bar.mat-warn{--mdc-tab-indicator-active-indicator-color: #f44336}.mat-mdc-tab-group.mat-warn,.mat-mdc-tab-nav-bar.mat-warn{--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: black;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.mat-mdc-tab-group.mat-background-primary,.mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-header-with-background-background-color: #3f51b5;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-accent,.mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-header-with-background-background-color: #ff4081;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-warn,.mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-header{--mdc-secondary-navigation-tab-container-height: 48px}.mat-mdc-tab-header{--mat-tab-header-label-text-font: Roboto, sans-serif;--mat-tab-header-label-text-size: 14px;--mat-tab-header-label-text-tracking: .0892857143em;--mat-tab-header-label-text-line-height: 36px;--mat-tab-header-label-text-weight: 500}html{--mdc-checkbox-disabled-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-state-layer-opacity: .16;--mdc-checkbox-selected-hover-state-layer-opacity: .04;--mdc-checkbox-selected-pressed-state-layer-opacity: .16;--mdc-checkbox-unselected-focus-state-layer-opacity: .16;--mdc-checkbox-unselected-hover-state-layer-opacity: .04;--mdc-checkbox-unselected-pressed-state-layer-opacity: .16}html{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}html{--mat-checkbox-disabled-label-color: rgba(0, 0, 0, .38);--mat-checkbox-label-text-color: rgba(0, 0, 0, .87)}.mat-mdc-checkbox.mat-primary{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}html{--mdc-checkbox-state-layer-size: 40px}html{--mat-checkbox-touch-target-display: block}html{--mat-checkbox-label-text-font: Roboto, sans-serif;--mat-checkbox-label-text-line-height: 20px;--mat-checkbox-label-text-size: 14px;--mat-checkbox-label-text-tracking: .0178571429em;--mat-checkbox-label-text-weight: 400}html{--mdc-text-button-container-shape: 4px;--mdc-text-button-keep-touch-target: false}html{--mdc-filled-button-container-shape: 4px;--mdc-filled-button-keep-touch-target: false}html{--mdc-protected-button-container-shape: 4px;--mdc-protected-button-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mdc-protected-button-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-protected-button-focus-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-hover-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-pressed-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mdc-outlined-button-keep-touch-target: false;--mdc-outlined-button-outline-width: 1px;--mdc-outlined-button-container-shape: 4px}html{--mat-text-button-horizontal-padding: 8px;--mat-text-button-with-icon-horizontal-padding: 8px;--mat-text-button-icon-spacing: 8px;--mat-text-button-icon-offset: 0}html{--mat-filled-button-horizontal-padding: 16px;--mat-filled-button-icon-spacing: 8px;--mat-filled-button-icon-offset: -4px}html{--mat-protected-button-horizontal-padding: 16px;--mat-protected-button-icon-spacing: 8px;--mat-protected-button-icon-offset: -4px}html{--mat-outlined-button-horizontal-padding: 15px;--mat-outlined-button-icon-spacing: 8px;--mat-outlined-button-icon-offset: -4px}html{--mdc-text-button-label-text-color: black;--mdc-text-button-disabled-label-text-color: rgba(0, 0, 0, .38)}html{--mat-text-button-state-layer-color: black;--mat-text-button-disabled-state-layer-color: black;--mat-text-button-ripple-color: rgba(0, 0, 0, .1);--mat-text-button-hover-state-layer-opacity: .04;--mat-text-button-focus-state-layer-opacity: .12;--mat-text-button-pressed-state-layer-opacity: .12}html{--mdc-filled-button-container-color: white;--mdc-filled-button-label-text-color: black;--mdc-filled-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color: rgba(0, 0, 0, .38)}html{--mat-filled-button-state-layer-color: black;--mat-filled-button-disabled-state-layer-color: black;--mat-filled-button-ripple-color: rgba(0, 0, 0, .1);--mat-filled-button-hover-state-layer-opacity: .04;--mat-filled-button-focus-state-layer-opacity: .12;--mat-filled-button-pressed-state-layer-opacity: .12}html{--mdc-protected-button-container-color: white;--mdc-protected-button-label-text-color: black;--mdc-protected-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-disabled-label-text-color: rgba(0, 0, 0, .38)}html{--mat-protected-button-state-layer-color: black;--mat-protected-button-disabled-state-layer-color: black;--mat-protected-button-ripple-color: rgba(0, 0, 0, .1);--mat-protected-button-hover-state-layer-opacity: .04;--mat-protected-button-focus-state-layer-opacity: .12;--mat-protected-button-pressed-state-layer-opacity: .12}html{--mdc-outlined-button-disabled-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-label-text-color: black;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}html{--mat-outlined-button-state-layer-color: black;--mat-outlined-button-disabled-state-layer-color: black;--mat-outlined-button-ripple-color: rgba(0, 0, 0, .1);--mat-outlined-button-hover-state-layer-opacity: .04;--mat-outlined-button-focus-state-layer-opacity: .12;--mat-outlined-button-pressed-state-layer-opacity: .12}.mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #3f51b5}.mat-mdc-button.mat-primary{--mat-text-button-state-layer-color: #3f51b5;--mat-text-button-ripple-color: rgba(63, 81, 181, .1)}.mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #ff4081}.mat-mdc-button.mat-accent{--mat-text-button-state-layer-color: #ff4081;--mat-text-button-ripple-color: rgba(255, 64, 129, .1)}.mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336}.mat-mdc-button.mat-warn{--mat-text-button-state-layer-color: #f44336;--mat-text-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #3f51b5;--mdc-filled-button-label-text-color: white}.mat-mdc-unelevated-button.mat-primary{--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #ff4081;--mdc-filled-button-label-text-color: white}.mat-mdc-unelevated-button.mat-accent{--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: white}.mat-mdc-unelevated-button.mat-warn{--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #3f51b5;--mdc-protected-button-label-text-color: white}.mat-mdc-raised-button.mat-primary{--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #ff4081;--mdc-protected-button-label-text-color: white}.mat-mdc-raised-button.mat-accent{--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: white}.mat-mdc-raised-button.mat-warn{--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #3f51b5;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-outlined-button.mat-primary{--mat-outlined-button-state-layer-color: #3f51b5;--mat-outlined-button-ripple-color: rgba(63, 81, 181, .1)}.mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #ff4081;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-outlined-button.mat-accent{--mat-outlined-button-state-layer-color: #ff4081;--mat-outlined-button-ripple-color: rgba(255, 64, 129, .1)}.mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-outlined-button.mat-warn{--mat-outlined-button-state-layer-color: #f44336;--mat-outlined-button-ripple-color: rgba(244, 67, 54, .1)}html{--mdc-text-button-container-height: 36px}html{--mdc-filled-button-container-height: 36px}html{--mdc-protected-button-container-height: 36px}html{--mdc-outlined-button-container-height: 36px}html{--mat-text-button-touch-target-display: block}html{--mat-filled-button-touch-target-display: block}html{--mat-protected-button-touch-target-display: block}html{--mat-outlined-button-touch-target-display: block}html{--mdc-text-button-label-text-font: Roboto, sans-serif;--mdc-text-button-label-text-size: 14px;--mdc-text-button-label-text-tracking: .0892857143em;--mdc-text-button-label-text-weight: 500;--mdc-text-button-label-text-transform: none}html{--mdc-filled-button-label-text-font: Roboto, sans-serif;--mdc-filled-button-label-text-size: 14px;--mdc-filled-button-label-text-tracking: .0892857143em;--mdc-filled-button-label-text-weight: 500;--mdc-filled-button-label-text-transform: none}html{--mdc-protected-button-label-text-font: Roboto, sans-serif;--mdc-protected-button-label-text-size: 14px;--mdc-protected-button-label-text-tracking: .0892857143em;--mdc-protected-button-label-text-weight: 500;--mdc-protected-button-label-text-transform: none}html{--mdc-outlined-button-label-text-font: Roboto, sans-serif;--mdc-outlined-button-label-text-size: 14px;--mdc-outlined-button-label-text-tracking: .0892857143em;--mdc-outlined-button-label-text-weight: 500;--mdc-outlined-button-label-text-transform: none}html{--mdc-icon-button-icon-size: 24px}html{--mdc-icon-button-icon-color: inherit;--mdc-icon-button-disabled-icon-color: rgba(0, 0, 0, .38)}html{--mat-icon-button-state-layer-color: black;--mat-icon-button-disabled-state-layer-color: black;--mat-icon-button-ripple-color: rgba(0, 0, 0, .1);--mat-icon-button-hover-state-layer-opacity: .04;--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-pressed-state-layer-opacity: .12}html .mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #3f51b5}html .mat-mdc-icon-button.mat-primary{--mat-icon-button-state-layer-color: #3f51b5;--mat-icon-button-ripple-color: rgba(63, 81, 181, .1)}html .mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #ff4081}html .mat-mdc-icon-button.mat-accent{--mat-icon-button-state-layer-color: #ff4081;--mat-icon-button-ripple-color: rgba(255, 64, 129, .1)}html .mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336}html .mat-mdc-icon-button.mat-warn{--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: rgba(244, 67, 54, .1)}html{--mat-icon-button-touch-target-display: block}.mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 48px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:12px}html{--mdc-fab-container-shape: 50%;--mdc-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}html{--mdc-fab-small-container-shape: 50%;--mdc-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}html{--mdc-extended-fab-container-height: 48px;--mdc-extended-fab-container-shape: 24px;--mdc-extended-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}html{--mdc-fab-container-color: white}html{--mat-fab-foreground-color: black;--mat-fab-state-layer-color: black;--mat-fab-disabled-state-layer-color: black;--mat-fab-ripple-color: rgba(0, 0, 0, .1);--mat-fab-hover-state-layer-opacity: .04;--mat-fab-focus-state-layer-opacity: .12;--mat-fab-pressed-state-layer-opacity: .12;--mat-fab-disabled-state-container-color: rgba(0, 0, 0, .12);--mat-fab-disabled-state-foreground-color: rgba(0, 0, 0, .38)}html{--mdc-fab-small-container-color: white}html{--mat-fab-small-foreground-color: black;--mat-fab-small-state-layer-color: black;--mat-fab-small-disabled-state-layer-color: black;--mat-fab-small-ripple-color: rgba(0, 0, 0, .1);--mat-fab-small-hover-state-layer-opacity: .04;--mat-fab-small-focus-state-layer-opacity: .12;--mat-fab-small-pressed-state-layer-opacity: .12;--mat-fab-small-disabled-state-container-color: rgba(0, 0, 0, .12);--mat-fab-small-disabled-state-foreground-color: rgba(0, 0, 0, .38)}html .mat-mdc-fab.mat-primary{--mdc-fab-container-color: #3f51b5}html .mat-mdc-fab.mat-primary{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-fab.mat-accent{--mdc-fab-container-color: #ff4081}html .mat-mdc-fab.mat-accent{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-fab.mat-warn{--mdc-fab-container-color: #f44336}html .mat-mdc-fab.mat-warn{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-mini-fab.mat-primary{--mdc-fab-small-container-color: #3f51b5}html .mat-mdc-mini-fab.mat-primary{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-mini-fab.mat-accent{--mdc-fab-small-container-color: #ff4081}html .mat-mdc-mini-fab.mat-accent{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-mini-fab.mat-warn{--mdc-fab-small-container-color: #f44336}html .mat-mdc-mini-fab.mat-warn{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}html{--mat-fab-touch-target-display: block}html{--mat-fab-small-touch-target-display: block}html{--mdc-extended-fab-label-text-font: Roboto, sans-serif;--mdc-extended-fab-label-text-size: 14px;--mdc-extended-fab-label-text-tracking: .0892857143em;--mdc-extended-fab-label-text-weight: 500}html{--mdc-snackbar-container-shape: 4px}html{--mdc-snackbar-container-color: #333333;--mdc-snackbar-supporting-text-color: rgba(255, 255, 255, .87)}html{--mat-snack-bar-button-color: #ff4081}html{--mdc-snackbar-supporting-text-font: Roboto, sans-serif;--mdc-snackbar-supporting-text-line-height: 20px;--mdc-snackbar-supporting-text-size: 14px;--mdc-snackbar-supporting-text-weight: 400}html{--mat-table-row-item-outline-width: 1px}html{--mat-table-background-color: white;--mat-table-header-headline-color: rgba(0, 0, 0, .87);--mat-table-row-item-label-text-color: rgba(0, 0, 0, .87);--mat-table-row-item-outline-color: rgba(0, 0, 0, .12)}html{--mat-table-header-container-height: 56px;--mat-table-footer-container-height: 52px;--mat-table-row-item-container-height: 52px}html{--mat-table-header-headline-font: Roboto, sans-serif;--mat-table-header-headline-line-height: 22px;--mat-table-header-headline-size: 14px;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: .0071428571em;--mat-table-row-item-label-text-font: Roboto, sans-serif;--mat-table-row-item-label-text-line-height: 20px;--mat-table-row-item-label-text-size: 14px;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: .0178571429em;--mat-table-footer-supporting-text-font: Roboto, sans-serif;--mat-table-footer-supporting-text-line-height: 20px;--mat-table-footer-supporting-text-size: 14px;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: .0178571429em}html{--mdc-circular-progress-active-indicator-width: 4px;--mdc-circular-progress-size: 48px}html{--mdc-circular-progress-active-indicator-color: #3f51b5}html .mat-accent{--mdc-circular-progress-active-indicator-color: #ff4081}html .mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}html{--mat-badge-container-shape: 50%;--mat-badge-container-size: unset;--mat-badge-small-size-container-size: unset;--mat-badge-large-size-container-size: unset;--mat-badge-legacy-container-size: 22px;--mat-badge-legacy-small-size-container-size: 16px;--mat-badge-legacy-large-size-container-size: 28px;--mat-badge-container-offset: -11px 0;--mat-badge-small-size-container-offset: -8px 0;--mat-badge-large-size-container-offset: -14px 0;--mat-badge-container-overlap-offset: -11px;--mat-badge-small-size-container-overlap-offset: -8px;--mat-badge-large-size-container-overlap-offset: -14px;--mat-badge-container-padding: 0;--mat-badge-small-size-container-padding: 0;--mat-badge-large-size-container-padding: 0}html{--mat-badge-background-color: #3f51b5;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: #b9b9b9;--mat-badge-disabled-state-text-color: rgba(0, 0, 0, .38)}.mat-badge-accent{--mat-badge-background-color: #ff4081;--mat-badge-text-color: white}.mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}html{--mat-badge-text-font: Roboto, sans-serif;--mat-badge-line-height: 22px;--mat-badge-text-size: 12px;--mat-badge-text-weight: 600;--mat-badge-small-size-text-size: 9px;--mat-badge-small-size-line-height: 16px;--mat-badge-large-size-text-size: 24px;--mat-badge-large-size-line-height: 28px}html{--mat-bottom-sheet-container-shape: 4px}html{--mat-bottom-sheet-container-text-color: rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color: white}html{--mat-bottom-sheet-container-text-font: Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height: 20px;--mat-bottom-sheet-container-text-size: 14px;--mat-bottom-sheet-container-text-tracking: .0178571429em;--mat-bottom-sheet-container-text-weight: 400}html{--mat-legacy-button-toggle-height: 36px;--mat-legacy-button-toggle-shape: 2px;--mat-legacy-button-toggle-focus-state-layer-opacity: 1}html{--mat-standard-button-toggle-shape: 4px;--mat-standard-button-toggle-hover-state-layer-opacity: .04;--mat-standard-button-toggle-focus-state-layer-opacity: .12}html{--mat-legacy-button-toggle-text-color: rgba(0, 0, 0, .38);--mat-legacy-button-toggle-state-layer-color: rgba(0, 0, 0, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(0, 0, 0, .54);--mat-legacy-button-toggle-selected-state-background-color: #e0e0e0;--mat-legacy-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-legacy-button-toggle-disabled-state-background-color: #eeeeee;--mat-legacy-button-toggle-disabled-selected-state-background-color: #bdbdbd}html{--mat-standard-button-toggle-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-background-color: white;--mat-standard-button-toggle-state-layer-color: black;--mat-standard-button-toggle-selected-state-background-color: #e0e0e0;--mat-standard-button-toggle-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-standard-button-toggle-disabled-state-background-color: white;--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-divider-color: rgb(224.4, 224.4, 224.4)}html{--mat-standard-button-toggle-height: 48px}html{--mat-legacy-button-toggle-label-text-font: Roboto, sans-serif;--mat-legacy-button-toggle-label-text-line-height: 24px;--mat-legacy-button-toggle-label-text-size: 16px;--mat-legacy-button-toggle-label-text-tracking: .03125em;--mat-legacy-button-toggle-label-text-weight: 400}html{--mat-standard-button-toggle-label-text-font: Roboto, sans-serif;--mat-standard-button-toggle-label-text-line-height: 24px;--mat-standard-button-toggle-label-text-size: 16px;--mat-standard-button-toggle-label-text-tracking: .03125em;--mat-standard-button-toggle-label-text-weight: 400}html{--mat-datepicker-calendar-container-shape: 4px;--mat-datepicker-calendar-container-touch-shape: 4px;--mat-datepicker-calendar-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-container-touch-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}html{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #3f51b5;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(63, 81, 181, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-toggle-active-state-icon-color: #3f51b5;--mat-datepicker-calendar-date-in-range-state-background-color: rgba(63, 81, 181, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032);--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-text-color: black;--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(0, 0, 0, .18);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .24);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: rgba(0, 0, 0, .38);--mat-datepicker-range-input-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-accent{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #ff4081;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(255, 64, 129, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(255, 64, 129, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032)}.mat-datepicker-content.mat-warn{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032)}.mat-datepicker-toggle-active.mat-accent{--mat-datepicker-toggle-active-state-icon-color: #ff4081}.mat-datepicker-toggle-active.mat-warn{--mat-datepicker-toggle-active-state-icon-color: #f44336}.mat-calendar-controls{--mat-icon-button-touch-target-display: none}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}html{--mat-datepicker-calendar-text-font: Roboto, sans-serif;--mat-datepicker-calendar-text-size: 13px;--mat-datepicker-calendar-body-label-text-size: 14px;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: 14px;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: 11px;--mat-datepicker-calendar-header-text-weight: 400}html{--mat-divider-width: 1px}html{--mat-divider-color: rgba(0, 0, 0, .12)}html{--mat-expansion-container-shape: 4px;--mat-expansion-legacy-header-indicator-display: inline-block;--mat-expansion-header-indicator-display: none}html{--mat-expansion-container-background-color: white;--mat-expansion-container-text-color: rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color: rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-expansion-header-text-color: rgba(0, 0, 0, .87);--mat-expansion-header-description-color: rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color: rgba(0, 0, 0, .54)}html{--mat-expansion-header-collapsed-state-height: 48px;--mat-expansion-header-expanded-state-height: 64px}html{--mat-expansion-header-text-font: Roboto, sans-serif;--mat-expansion-header-text-size: 14px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Roboto, sans-serif;--mat-expansion-container-text-line-height: 20px;--mat-expansion-container-text-size: 14px;--mat-expansion-container-text-tracking: .0178571429em;--mat-expansion-container-text-weight: 400}html{--mat-grid-list-tile-header-primary-text-size: 14px;--mat-grid-list-tile-header-secondary-text-size: 12px;--mat-grid-list-tile-footer-primary-text-size: 14px;--mat-grid-list-tile-footer-secondary-text-size: 12px}html{--mat-icon-color: inherit}.mat-icon.mat-primary{--mat-icon-color: #3f51b5}.mat-icon.mat-accent{--mat-icon-color: #ff4081}.mat-icon.mat-warn{--mat-icon-color: #f44336}html{--mat-sidenav-container-shape: 0;--mat-sidenav-container-elevation-shadow: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-sidenav-container-width: auto}html{--mat-sidenav-container-divider-color: rgba(0, 0, 0, .12);--mat-sidenav-container-background-color: white;--mat-sidenav-container-text-color: rgba(0, 0, 0, .87);--mat-sidenav-content-background-color: #fafafa;--mat-sidenav-content-text-color: rgba(0, 0, 0, .87);--mat-sidenav-scrim-color: rgba(0, 0, 0, .6)}html{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #3f51b5;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #3f51b5;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #3f51b5;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: white;--mat-stepper-line-color: rgba(0, 0, 0, .12);--mat-stepper-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-optional-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-selected-state-label-text-color: rgba(0, 0, 0, .87);--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(0, 0, 0, .54);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}html .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #ff4081;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #ff4081;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #ff4081;--mat-stepper-header-edit-state-icon-foreground-color: white}html .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}html{--mat-stepper-header-height: 72px}html{--mat-stepper-container-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-size: 14px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-weight: 400}html{--mat-sort-arrow-color: rgb(117.3, 117.3, 117.3)}html{--mat-toolbar-container-background-color: whitesmoke;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #3f51b5;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #ff4081;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}html{--mat-toolbar-standard-height: 64px;--mat-toolbar-mobile-height: 56px}html{--mat-toolbar-title-text-font: Roboto, sans-serif;--mat-toolbar-title-text-line-height: 32px;--mat-toolbar-title-text-size: 20px;--mat-toolbar-title-text-tracking: .0125em;--mat-toolbar-title-text-weight: 500}html{--mat-tree-container-background-color: white;--mat-tree-node-text-color: rgba(0, 0, 0, .87)}html{--mat-tree-node-min-height: 48px}html{--mat-tree-node-text-font: Roboto, sans-serif;--mat-tree-node-text-size: 14px;--mat-tree-node-text-weight: 400}html{--mat-timepicker-container-shape: 4px;--mat-timepicker-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-timepicker-container-background-color: white}html,body{margin:0;font-family:Roboto,Helvetica,Arial,sans-serif;font-size:14px;height:100%}.app-loading .logo{width:113px;height:120px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAABhWlDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AYht+malUqCnYQcchQnexiRRxLFYtgobQVWnUwufRHaNKQpLg4Cq4FB38Wqw4uzro6uAqC4A+Is4OToouU+F1SaBHjHcc9vPe9L3ffAUKjwlSzKwaommWkE3Exl18RA6/owxDNHkQlZurJzEIWnuPrHj6+30V4lnfdn2NAKZgM8InEMaYbFvE68cympXPeJw6xsqQQnxNPGnRB4keuyy6/cS45LPDMkJFNzxGHiMVSB8sdzMqGSjxNHFZUjfKFnMsK5y3OaqXGWvfkLwwWtOUM12mNIYFFJJGCCBk1bKACCxHaNVJMpOk87uEfdfwpcsnk2gAjxzyqUCE5fvA/+N1bsxidcpOCcaD7xbY/xoHALtCs2/b3sW03TwD/M3Cltf3VBjD7SXq9rYWPgMFt4OK6rcl7wOUOMPKkS4bkSH5aQrEIvJ/RN+WB4Vugf9XtW+scpw9Alnq1dAMcHAITJcpe83h3b2ff/q1p9e8HsopywPmxfBcAAAGDUExURQAAABkMiRwRhiYRgR4WghwdhyUcgSohcycjeiMkhSkmdSopZy8sYBovjzEzVyUykTE3UyQ3kTM1dTM3ZDU9SDZBQCY/lS9DgD9GLT5DazxKMCNOpEFWG0BWLkVQZSVVoUFXKERYFkJYI0ZZEB1ZqztZQD5ZNUZZGD1ZOjxZRTJZbTtZUzVaXjxaS0dbGTdaZyZboSlapkVeFDBZoEldGyxdmDBdiy9cnCJgrDBekjRehjdeeylfpDNfgVFbXDxjdDllfEFkcUJnakdoYTlpkklqW1RtFzxrh01qVk9sT1VuQ1RuSVZvP1pxN2ByKl5zMGR0EmJ0JGN1HWZ2FUR4gmd3F2l5DWl5GWF9Gk18e259E01/eGJ+T2uBFnGGEWqIFmeFSFaIb1qMZ22KPnKOGXSRL3iTE2OUXnOXF3CaRGqbUHibMn2dEnujGn+mDXmqPISrFoGvGYGwNIazEIO2LIu5HJC8DIy/EJLFG5XHCJbIDZjKEZLMEZvMAJbQGZrTB53VAJ6wE90AAAABdFJOUwBA5thmAAALzklEQVR42tVb/VvbRhJ2gHD56EeSNtyFmGJjJyJAQMLYxjYuAQoJ3wad5JQUSBsfoRcgEOMg7erk/uk3uysZ21qBVoHcc/MreTyvZt6ZeWekRCJfYnXbts6ODg/3Xy8sjEeu2ywTmaZpGKaBLNvGZyeHu7uvwRbAxkdHpbjHJOkq/BKnJjGrTsyu1/+qGydHh/u7m+OjUpQZ+JKkUcm1UWITExMuqHCeqVuLPLKJiGFqlmWeney/Hid+2p+Xa42/CwXbQPSxsU3MsjAmCAgghI2T3YVx9uTxS60RESkwBtMyDAORWNsWpj6bDaNqZUFyfcNPJxLjrZbwhob9U8iJdCkGRHyDZ+TxzAyh6u4o8y4lIAyxWF9vq/2jty8WG4B/kgDzJml09AIIEHRkkkwjX/9WbTcRZY8eHYj1Pvzx3nff3G21R0MjI8PPnzzpGxgYcNjZlpG45Ov+gmd3ABwuRBmAaO+9u3du3brV3d3VbLd7UmmwXC6TyRfGhp89jUXbwkCKhRMEA0HosXmJIWNfipLfiD387u6tDmadzLq6Oju6vu3plycVaslkKpvLF4fGRp4PxoAqTTBGvRAwutw7YwAAkOK99/7W1dHlsZvf98utRoDIucLIc8hI/BwDyUNr+G18YegbAE62pShE/5sunnXfT8l8y2bTheHBAYLdRdBCBNO2A7gnAGqV0agE/js6vf4h/VN8/yQj2XSmMBxrikFTNRiWbZiBDOHD8ejAj92c8IN/2ce/i0LODAEEyZsFhJEZEIBdfZ3o/YEH4DL/DEN6bNCtinMEqI7NoAZ9eOHhHc7z3+yRAxhwpPhswM3DhAPAqFumAIL9Z3d4/lNTQRDIipwfdhG4TfHEQCgwAAvVPvzcfaPVfWfX/f5g/kkaMs/dITbKAFSOkUAIELY//tTeBL7tlwObIhefNADQWiztGwIAoB0bHx7d6GwjoIApypCTBKcUSzvHBhZD8PZBR3MMfBuQDwJIgouAAijv1SwkgMCyar/daUJw+/GULGaFWIIBoCxQVf3wTAgBqp++utXRVAGC/pO5wXgzgC11+8gQAQBK7fTn2y6C2/2iAVDSTimyXqRuaYQGIkQ0bOvwp65OtwTEAYz1NQGIaGVNrVSRUAws+8OjThqDm/fFAWQLg1LTUNTKZUJELFiM71gpdAdtgs2Wf5JonokkCdsHZ0IxAHn49sGNLwTgdgK1XFbV7UNBIlq15TugC64CQETb0tTSthgRoR2czHd3dHT39F8BABKD0o4gEbH94afujhAkbAYQZSMZAGglTbAjImx9eBSqDLPFRhW4skgjtVjeP0MiU8Goo3896rgZAsDQ03YAEVXXVLV88FmwHeB3P3T1iDeikVhzI3JCoGtQjEdnIiEgWXj34PvH4q046gEQIQBU0pPF2kG99vbvPaIAck/YhiCNNu8nmg5EhJ4sRETSkH7LK4KCIDcoxb0AyEwAHkApYDEa1N7n+hWxcfw0wQUA/YiWglgMMD79Pd0vFIFMXyLu4QDtBppGp4JYO0Do0++5ZAhFJHmOFTQEVJ4IFuOnNymBJGSH/ACoOnREVa0cm0I0gG3h469ZJTCE9MiAD4CISolYqlRNsVLAgCAwDxqqmHcvoghgKpwJDUaGIBswBEpx0AXAORWBOAEEuiARTfM/6OMbOVA/SCmFvvgFAMqEiCWQJ1gMgYU/vkknlSAAhgacRsi92IFCJKWwK7YukWqEWsgFYaIyFI/7cJBamXXESlUQgYnRpz9+CYAAADgZiPIPlowGIE8EkwAy8fTPN7lkcpLYlO+Qzo5cQAG6LJY0gqAsTERSDJ/+eHnek6a4MDLPLwEQITwEIuoHhjACZJ2dOr/iLwifMQATvgCqB1uqSkrhSEwns2Ko/9X0U8Th5GQLA+TCIAUgTfi8T0HYPtsrkzSUdk5M0RgYyLaM1h9M0WRMNgThWIwB4FchMshrglpFU8loFl0ZqdWR2f6rjBFTDMBwNO7n3zQg6+AfG8c7KkGg7X8WR4Btw/T+9rkkHna0QNTrHuE6PdrC6nkAyxJ0AyCiaDGahmVjbnIdAM8SvAhY2HC8U6lZd5IQiogm8kcwBYo0wZFjn2nqkVvNtdM/326qtB1snyDxLCDb9EEwKRcHE953irsH0HipH/qC7vT9P3Mvlzd12hErVSxORNxeCi4CJVuggrBtEGjblYOaZZFXRnX06f2vvyiPlRerJAKEiLUQpYB9YpBMj9GtqA0A8K28d1QzLHz68d+knSsAdXadhAA04kEIGsCj8BFk2IGqHcAWrOflveMatPKGsEnP0SSIXw7cnshHwORQ2yAgAGA33Xn7Mi03lgyluOgg2KlaYUrB5CKIUQDtg4CoEE3Vl/qbNE1KBhpQIqoVwXXJSQLmMTE6wRuFVIxq+lK2ecFIZmfXdEpEdU/scuDGgFcL8QmeGuICgD16fpMhEFepvlkgalzyaAFouhwAIB4WaRI0SkRxBBYnBPEJCUaxBwDZyjR9NZ9qVdaKQwNV3amGAACl0I4gLiXIxw1xrhDUV1+0bRdKdmadhUAVvKU2RFo7AraU8JWovj7dvt4o6bkN3emIZyE6IrKQEeSzBbYO6GuzacVzzlikLZnt7WYYIgYDQFioby5mPACU4pLeIGKIGNg4YAhIDrTVIufSML1OEajhBiO3FPwA6JvTCueq5vSjkrYfqhtYZpAsUPmhb86leVetRfpXtbQVbjAGowFphrq6yLm5AQ1WzmkQAkHdCJIEtaxDz1mf4ayXijKzxmig7oYR6hgHCwGpA22ee+hIz244NNgLo4+C5YBczHV9KS+neHcdRxuo5YMQtWibgXJACkHfmOOFQJHzS0wihhLqIHiDV+IK9+iopKZXHSLuVE1RbQD7phEwB9COp33OXbPuUKiID0YcsBK3gAWby5kk/8btqBNyuhClQcBWQC72mrYx63PbyS872mD7SDQJ0A0Dz0RdWynIvCQoIFJZEsgpVfSSaQYbCJSH6qs0lwWKPLvGSoHIZMFjrhEwBJSHHmF0rk5UPdQFCwAEKkSmjHRtOcMvhGRmmSEAGiB0HRGAXlBmQ9EnCUWHBuSFP74OALQSYCZN80NAVlbN3VUEkiAAgK4ouraYkX1oML/JJKLQrhK0DNlYJpWwMc9PQirpdAOiDUwU/DO44ACckbA249ORlYKzsmoCRzxsW8EBqOT3dX294EcDZ1dRtcAtGQUch40kUBosFZN+NNhwJvNhwMmMA24nLQg0bZH//kEBdaK6kzlYCIIJEk8MNl7lfPqRSwM92EsFC6OIIACHiLN+/WjaWVlhLl4eA1QX9e+uitr6bJb7JsxdWdXS7uXnI2QJNIG2JOir/BikUo1dZe+ySkB2GP+No806vx0ocmGFffJw2c4M+3ko/+cxKPi8eWHagCYBXVkH8Exmoo9ecN+MJx2JWLrwgwOELSMSGkCZjmZ95UWaw8SUuymUyv7SIHz8XRpQHvCZCC15lVWC77bmdywVbQc+/UBJv2IqWfdZ2r/w+VsQgEJSvC3ZPeXuVDlf4hnYRkbki61MVwVAkPdSMZVly5Kq73NK0bKNK/Dv9ERQiUtFTiXk3Y7sKUVof4YZuRJzsrC5OuMRacncovNex6MMLBEFclkWtmgM9PXZdiK42kTVto9bNDKyw7cf364M43k+3/qtTErOrDgq/aAJAHQfy4hcpWkMgba59KIVgZJd1j0zifyPDRSJXDECes3X1dW5FpWkyMuNdbVRiZZlRq7coCEwLm4sTjdBUORFXXNWNeeLD0j/NfhvTAbalIpARsVphksuAKZPofquOP0eKgITVucyWfL0QIHp1RYA5D0VilyXaU5P0rWNlbminFSSCqgSrQkANP/rc88gbLGC1DdX5menZ+aWmDxnHLCs60p/MxHYGYlWxNqG655VQd0yrci1m+YsLTog0PRzAHtnwU6BV1OQDhvPTS0f2ghHvpIBGdsglOgr/sjXMyjIFgzlneOv6Z5RQXWqkpbAQS3y1U0lZKCmbVUi/xtzLnZq5P/a/gvm8NIms2W1xQAAAABJRU5ErkJggg==)}i.material-icons{vertical-align:middle!important}.highlight{color:red}.mat-mdc-menu-content .mat-mdc-menu-item:hover{background-color:#e8e8e8}.mat-mdc-option:hover:not(.mat-mdc-option-disabled){background:#648cb0!important;color:#fff!important}.dark-theme{--mat-ripple-color: rgba(255, 255, 255, .1)}.dark-theme{--mat-option-selected-state-label-text-color: #3f51b5;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-option-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-option-selected-state-layer-color: rgba(255, 255, 255, .08)}.dark-theme .mat-accent{--mat-option-selected-state-label-text-color: #ff4081;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-option-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-option-selected-state-layer-color: rgba(255, 255, 255, .08)}.dark-theme .mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-option-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-option-selected-state-layer-color: rgba(255, 255, 255, .08)}.dark-theme{--mat-optgroup-label-text-color: white}.dark-theme{--mat-full-pseudo-checkbox-selected-icon-color: #ff4081;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868}.dark-theme{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #ff4081;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}.dark-theme .mat-primary{--mat-full-pseudo-checkbox-selected-icon-color: #3f51b5;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868}.dark-theme .mat-primary{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #3f51b5;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}.dark-theme .mat-accent{--mat-full-pseudo-checkbox-selected-icon-color: #ff4081;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868}.dark-theme .mat-accent{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #ff4081;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}.dark-theme .mat-warn{--mat-full-pseudo-checkbox-selected-icon-color: #f44336;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868}.dark-theme .mat-warn{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #f44336;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}.dark-theme{--mat-app-background-color: #303030;--mat-app-text-color: white;--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}.dark-theme{--mdc-elevated-card-container-shape: 4px}.dark-theme{--mdc-outlined-card-container-shape: 4px;--mdc-outlined-card-outline-width: 1px}.dark-theme{--mdc-elevated-card-container-color: #424242;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12)}.dark-theme{--mdc-outlined-card-container-color: #424242;--mdc-outlined-card-outline-color: rgba(255, 255, 255, .12);--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12)}.dark-theme{--mat-card-subtitle-text-color: rgba(255, 255, 255, .7)}.dark-theme{--mdc-linear-progress-active-indicator-height: 4px;--mdc-linear-progress-track-height: 4px;--mdc-linear-progress-track-shape: 0}.dark-theme .mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #3f51b5;--mdc-linear-progress-track-color: rgba(63, 81, 181, .25)}.dark-theme .mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #ff4081;--mdc-linear-progress-track-color: rgba(255, 64, 129, .25)}.dark-theme .mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}.dark-theme{--mdc-plain-tooltip-container-shape: 4px;--mdc-plain-tooltip-supporting-text-line-height: 16px}.dark-theme{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}.dark-theme{--mdc-filled-text-field-active-indicator-height: 1px;--mdc-filled-text-field-focus-active-indicator-height: 2px;--mdc-filled-text-field-container-shape: 4px}.dark-theme{--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-focus-outline-width: 2px;--mdc-outlined-text-field-container-shape: 4px}.dark-theme{--mdc-filled-text-field-caret-color: #3f51b5;--mdc-filled-text-field-focus-active-indicator-color: #3f51b5;--mdc-filled-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-filled-text-field-container-color: rgb(73.56, 73.56, 73.56);--mdc-filled-text-field-disabled-container-color: rgb(69.78, 69.78, 69.78);--mdc-filled-text-field-label-text-color: rgba(255, 255, 255, .6);--mdc-filled-text-field-hover-label-text-color: rgba(255, 255, 255, .6);--mdc-filled-text-field-disabled-label-text-color: rgba(255, 255, 255, .38);--mdc-filled-text-field-input-text-color: rgba(255, 255, 255, .87);--mdc-filled-text-field-disabled-input-text-color: rgba(255, 255, 255, .38);--mdc-filled-text-field-input-text-placeholder-color: rgba(255, 255, 255, .6);--mdc-filled-text-field-error-hover-label-text-color: #f44336;--mdc-filled-text-field-error-focus-label-text-color: #f44336;--mdc-filled-text-field-error-label-text-color: #f44336;--mdc-filled-text-field-error-caret-color: #f44336;--mdc-filled-text-field-active-indicator-color: rgba(255, 255, 255, .42);--mdc-filled-text-field-disabled-active-indicator-color: rgba(255, 255, 255, .06);--mdc-filled-text-field-hover-active-indicator-color: rgba(255, 255, 255, .87);--mdc-filled-text-field-error-active-indicator-color: #f44336;--mdc-filled-text-field-error-focus-active-indicator-color: #f44336;--mdc-filled-text-field-error-hover-active-indicator-color: #f44336}.dark-theme{--mdc-outlined-text-field-caret-color: #3f51b5;--mdc-outlined-text-field-focus-outline-color: #3f51b5;--mdc-outlined-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-outlined-text-field-label-text-color: rgba(255, 255, 255, .6);--mdc-outlined-text-field-hover-label-text-color: rgba(255, 255, 255, .6);--mdc-outlined-text-field-disabled-label-text-color: rgba(255, 255, 255, .38);--mdc-outlined-text-field-input-text-color: rgba(255, 255, 255, .87);--mdc-outlined-text-field-disabled-input-text-color: rgba(255, 255, 255, .38);--mdc-outlined-text-field-input-text-placeholder-color: rgba(255, 255, 255, .6);--mdc-outlined-text-field-error-caret-color: #f44336;--mdc-outlined-text-field-error-focus-label-text-color: #f44336;--mdc-outlined-text-field-error-label-text-color: #f44336;--mdc-outlined-text-field-error-hover-label-text-color: #f44336;--mdc-outlined-text-field-outline-color: rgba(255, 255, 255, .38);--mdc-outlined-text-field-disabled-outline-color: rgba(255, 255, 255, .06);--mdc-outlined-text-field-hover-outline-color: rgba(255, 255, 255, .87);--mdc-outlined-text-field-error-focus-outline-color: #f44336;--mdc-outlined-text-field-error-hover-outline-color: #f44336;--mdc-outlined-text-field-error-outline-color: #f44336}.dark-theme{--mat-form-field-focus-select-arrow-color: rgba(63, 81, 181, .87);--mat-form-field-disabled-input-text-placeholder-color: rgba(255, 255, 255, .38);--mat-form-field-state-layer-color: rgba(255, 255, 255, .87);--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: rgba(0, 0, 0, .87);--mat-form-field-select-disabled-option-text-color: rgba(0, 0, 0, .38);--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: rgba(255, 255, 255, .54);--mat-form-field-disabled-select-arrow-color: rgba(255, 255, 255, .38);--mat-form-field-hover-state-layer-opacity: .08;--mat-form-field-focus-state-layer-opacity: .24}.dark-theme .mat-mdc-form-field.mat-accent{--mdc-filled-text-field-caret-color: #ff4081;--mdc-filled-text-field-focus-active-indicator-color: #ff4081;--mdc-filled-text-field-focus-label-text-color: rgba(255, 64, 129, .87)}.dark-theme .mat-mdc-form-field.mat-accent{--mdc-outlined-text-field-caret-color: #ff4081;--mdc-outlined-text-field-focus-outline-color: #ff4081;--mdc-outlined-text-field-focus-label-text-color: rgba(255, 64, 129, .87)}.dark-theme .mat-mdc-form-field.mat-accent{--mat-form-field-focus-select-arrow-color: rgba(255, 64, 129, .87)}.dark-theme .mat-mdc-form-field.mat-warn{--mdc-filled-text-field-caret-color: #f44336;--mdc-filled-text-field-focus-active-indicator-color: #f44336;--mdc-filled-text-field-focus-label-text-color: rgba(244, 67, 54, .87)}.dark-theme .mat-mdc-form-field.mat-warn{--mdc-outlined-text-field-caret-color: #f44336;--mdc-outlined-text-field-focus-outline-color: #f44336;--mdc-outlined-text-field-focus-label-text-color: rgba(244, 67, 54, .87)}.dark-theme .mat-mdc-form-field.mat-warn{--mat-form-field-focus-select-arrow-color: rgba(244, 67, 54, .87)}.dark-theme{--mat-select-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}.dark-theme{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: rgba(255, 255, 255, .87);--mat-select-disabled-trigger-text-color: rgba(255, 255, 255, .38);--mat-select-placeholder-text-color: rgba(255, 255, 255, .6);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .54);--mat-select-disabled-arrow-color: rgba(255, 255, 255, .38);--mat-select-focused-arrow-color: rgba(63, 81, 181, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}.dark-theme .mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: rgba(255, 255, 255, .87);--mat-select-disabled-trigger-text-color: rgba(255, 255, 255, .38);--mat-select-placeholder-text-color: rgba(255, 255, 255, .6);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .54);--mat-select-disabled-arrow-color: rgba(255, 255, 255, .38);--mat-select-focused-arrow-color: rgba(255, 64, 129, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}.dark-theme .mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: rgba(255, 255, 255, .87);--mat-select-disabled-trigger-text-color: rgba(255, 255, 255, .38);--mat-select-placeholder-text-color: rgba(255, 255, 255, .6);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .54);--mat-select-disabled-arrow-color: rgba(255, 255, 255, .38);--mat-select-focused-arrow-color: rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}.dark-theme{--mat-autocomplete-container-shape: 4px;--mat-autocomplete-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}.dark-theme{--mat-autocomplete-background-color: #424242}.dark-theme{--mdc-dialog-container-shape: 4px}.dark-theme{--mat-dialog-container-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-dialog-container-max-width: 80vw;--mat-dialog-container-small-max-width: 80vw;--mat-dialog-container-min-width: 0;--mat-dialog-actions-alignment: start;--mat-dialog-actions-padding: 8px;--mat-dialog-content-padding: 20px 24px;--mat-dialog-with-actions-content-padding: 20px 24px;--mat-dialog-headline-padding: 0 24px 9px}.dark-theme{--mdc-dialog-container-color: #424242;--mdc-dialog-subhead-color: rgba(255, 255, 255, .87);--mdc-dialog-supporting-text-color: rgba(255, 255, 255, .6)}.dark-theme .mat-mdc-standard-chip{--mdc-chip-container-shape-radius: 16px;--mdc-chip-with-avatar-avatar-shape-radius: 14px;--mdc-chip-with-avatar-avatar-size: 28px;--mdc-chip-with-icon-icon-size: 18px;--mdc-chip-outline-width: 0;--mdc-chip-outline-color: transparent;--mdc-chip-disabled-outline-color: transparent;--mdc-chip-focus-outline-color: transparent;--mdc-chip-hover-state-layer-opacity: .04;--mdc-chip-with-avatar-disabled-avatar-opacity: 1;--mdc-chip-flat-selected-outline-width: 0;--mdc-chip-selected-hover-state-layer-opacity: .04;--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity: 1;--mdc-chip-with-icon-disabled-icon-opacity: 1}.dark-theme .mat-mdc-standard-chip{--mat-chip-disabled-container-opacity: .4;--mat-chip-trailing-action-opacity: .54;--mat-chip-trailing-action-focus-opacity: 1;--mat-chip-trailing-action-state-layer-color: transparent;--mat-chip-selected-trailing-action-state-layer-color: transparent;--mat-chip-trailing-action-hover-state-layer-opacity: 0;--mat-chip-trailing-action-focus-state-layer-opacity: 0}.dark-theme .mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color: #fafafa;--mdc-chip-elevated-container-color: rgb(88.68, 88.68, 88.68);--mdc-chip-elevated-selected-container-color: rgb(88.68, 88.68, 88.68);--mdc-chip-elevated-disabled-container-color: rgb(88.68, 88.68, 88.68);--mdc-chip-flat-disabled-selected-container-color: rgb(88.68, 88.68, 88.68);--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #fafafa;--mdc-chip-selected-label-text-color: #fafafa;--mdc-chip-with-icon-icon-color: #fafafa;--mdc-chip-with-icon-disabled-icon-color: #fafafa;--mdc-chip-with-icon-selected-icon-color: #fafafa;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #fafafa;--mdc-chip-with-trailing-icon-trailing-icon-color: #fafafa}.dark-theme .mat-mdc-standard-chip{--mat-chip-selected-disabled-trailing-icon-color: #fafafa;--mat-chip-selected-trailing-icon-color: #fafafa}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #3f51b5;--mdc-chip-elevated-selected-container-color: #3f51b5;--mdc-chip-elevated-disabled-container-color: #3f51b5;--mdc-chip-flat-disabled-selected-container-color: #3f51b5;--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #ff4081;--mdc-chip-elevated-selected-container-color: #ff4081;--mdc-chip-elevated-disabled-container-color: #ff4081;--mdc-chip-flat-disabled-selected-container-color: #ff4081;--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-selected-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-flat-disabled-selected-container-color: #f44336;--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.dark-theme{--mdc-switch-disabled-selected-icon-opacity: .38;--mdc-switch-disabled-track-opacity: .12;--mdc-switch-disabled-unselected-icon-opacity: .38;--mdc-switch-handle-height: 20px;--mdc-switch-handle-shape: 10px;--mdc-switch-handle-width: 20px;--mdc-switch-selected-icon-size: 18px;--mdc-switch-track-height: 14px;--mdc-switch-track-shape: 7px;--mdc-switch-track-width: 36px;--mdc-switch-unselected-icon-size: 18px;--mdc-switch-selected-focus-state-layer-opacity: .12;--mdc-switch-selected-hover-state-layer-opacity: .04;--mdc-switch-selected-pressed-state-layer-opacity: .1;--mdc-switch-unselected-focus-state-layer-opacity: .12;--mdc-switch-unselected-hover-state-layer-opacity: .04;--mdc-switch-unselected-pressed-state-layer-opacity: .1}.dark-theme .mat-mdc-slide-toggle{--mat-switch-disabled-selected-handle-opacity: .38;--mat-switch-disabled-unselected-handle-opacity: .38;--mat-switch-unselected-handle-size: 20px;--mat-switch-selected-handle-size: 20px;--mat-switch-pressed-handle-size: 20px;--mat-switch-with-icon-handle-size: 20px;--mat-switch-selected-handle-horizontal-margin: 0;--mat-switch-selected-with-icon-handle-horizontal-margin: 0;--mat-switch-selected-pressed-handle-horizontal-margin: 0;--mat-switch-unselected-handle-horizontal-margin: 0;--mat-switch-unselected-with-icon-handle-horizontal-margin: 0;--mat-switch-unselected-pressed-handle-horizontal-margin: 0;--mat-switch-visible-track-opacity: 1;--mat-switch-hidden-track-opacity: 1;--mat-switch-visible-track-transition: transform 75ms 0ms cubic-bezier(0, 0, .2, 1);--mat-switch-hidden-track-transition: transform 75ms 0ms cubic-bezier(.4, 0, .6, 1);--mat-switch-track-outline-width: 1px;--mat-switch-track-outline-color: transparent;--mat-switch-selected-track-outline-width: 1px;--mat-switch-selected-track-outline-color: transparent;--mat-switch-disabled-unselected-track-outline-width: 1px;--mat-switch-disabled-unselected-track-outline-color: transparent}.dark-theme{--mdc-switch-selected-focus-state-layer-color: #7986cb;--mdc-switch-selected-handle-color: #7986cb;--mdc-switch-selected-hover-state-layer-color: #7986cb;--mdc-switch-selected-pressed-state-layer-color: #7986cb;--mdc-switch-selected-focus-handle-color: #9fa8da;--mdc-switch-selected-hover-handle-color: #9fa8da;--mdc-switch-selected-pressed-handle-color: #9fa8da;--mdc-switch-selected-focus-track-color: #3949ab;--mdc-switch-selected-hover-track-color: #3949ab;--mdc-switch-selected-pressed-track-color: #3949ab;--mdc-switch-selected-track-color: #3949ab;--mdc-switch-disabled-selected-handle-color: #000;--mdc-switch-disabled-selected-icon-color: #212121;--mdc-switch-disabled-selected-track-color: #f5f5f5;--mdc-switch-disabled-unselected-handle-color: #000;--mdc-switch-disabled-unselected-icon-color: #212121;--mdc-switch-disabled-unselected-track-color: #f5f5f5;--mdc-switch-handle-surface-color: #fff;--mdc-switch-selected-icon-color: #212121;--mdc-switch-unselected-focus-handle-color: #fafafa;--mdc-switch-unselected-focus-state-layer-color: #f5f5f5;--mdc-switch-unselected-focus-track-color: #616161;--mdc-switch-unselected-handle-color: #9e9e9e;--mdc-switch-unselected-hover-handle-color: #fafafa;--mdc-switch-unselected-hover-state-layer-color: #f5f5f5;--mdc-switch-unselected-hover-track-color: #616161;--mdc-switch-unselected-icon-color: #212121;--mdc-switch-unselected-pressed-handle-color: #fafafa;--mdc-switch-unselected-pressed-state-layer-color: #f5f5f5;--mdc-switch-unselected-pressed-track-color: #616161;--mdc-switch-unselected-track-color: #616161;--mdc-switch-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12)}.dark-theme{--mdc-switch-disabled-label-text-color: rgba(255, 255, 255, .5)}.dark-theme .mat-mdc-slide-toggle{--mat-switch-label-text-color: white}.dark-theme .mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color: #f06292;--mdc-switch-selected-handle-color: #f06292;--mdc-switch-selected-hover-state-layer-color: #f06292;--mdc-switch-selected-pressed-state-layer-color: #f06292;--mdc-switch-selected-focus-handle-color: #f48fb1;--mdc-switch-selected-hover-handle-color: #f48fb1;--mdc-switch-selected-pressed-handle-color: #f48fb1;--mdc-switch-selected-focus-track-color: #d81b60;--mdc-switch-selected-hover-track-color: #d81b60;--mdc-switch-selected-pressed-track-color: #d81b60;--mdc-switch-selected-track-color: #d81b60}.dark-theme .mat-mdc-slide-toggle.mat-warn{--mdc-switch-selected-focus-state-layer-color: #e57373;--mdc-switch-selected-handle-color: #e57373;--mdc-switch-selected-hover-state-layer-color: #e57373;--mdc-switch-selected-pressed-state-layer-color: #e57373;--mdc-switch-selected-focus-handle-color: #ef9a9a;--mdc-switch-selected-hover-handle-color: #ef9a9a;--mdc-switch-selected-pressed-handle-color: #ef9a9a;--mdc-switch-selected-focus-track-color: #e53935;--mdc-switch-selected-hover-track-color: #e53935;--mdc-switch-selected-pressed-track-color: #e53935;--mdc-switch-selected-track-color: #e53935}.dark-theme{--mdc-radio-disabled-selected-icon-opacity: .38;--mdc-radio-disabled-unselected-icon-opacity: .38;--mdc-radio-state-layer-size: 40px}.dark-theme .mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5}.dark-theme .mat-mdc-radio-button.mat-primary{--mat-radio-ripple-color: white;--mat-radio-checked-ripple-color: #3f51b5;--mat-radio-disabled-label-color: rgba(255, 255, 255, .5);--mat-radio-label-text-color: white}.dark-theme .mat-mdc-radio-button.mat-accent{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081}.dark-theme .mat-mdc-radio-button.mat-accent{--mat-radio-ripple-color: white;--mat-radio-checked-ripple-color: #ff4081;--mat-radio-disabled-label-color: rgba(255, 255, 255, .5);--mat-radio-label-text-color: white}.dark-theme .mat-mdc-radio-button.mat-warn{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.dark-theme .mat-mdc-radio-button.mat-warn{--mat-radio-ripple-color: white;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(255, 255, 255, .5);--mat-radio-label-text-color: white}.dark-theme{--mdc-slider-active-track-height: 6px;--mdc-slider-active-track-shape: 9999px;--mdc-slider-handle-height: 20px;--mdc-slider-handle-shape: 50%;--mdc-slider-handle-width: 20px;--mdc-slider-inactive-track-height: 4px;--mdc-slider-inactive-track-shape: 9999px;--mdc-slider-with-overlap-handle-outline-width: 1px;--mdc-slider-with-tick-marks-active-container-opacity: .6;--mdc-slider-with-tick-marks-container-shape: 50%;--mdc-slider-with-tick-marks-container-size: 2px;--mdc-slider-with-tick-marks-inactive-container-opacity: .6;--mdc-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12)}.dark-theme{--mat-slider-value-indicator-width: auto;--mat-slider-value-indicator-height: 32px;--mat-slider-value-indicator-caret-display: block;--mat-slider-value-indicator-border-radius: 4px;--mat-slider-value-indicator-padding: 0 12px;--mat-slider-value-indicator-text-transform: none;--mat-slider-value-indicator-container-transform: translateX(-50%)}.dark-theme{--mdc-slider-handle-color: #3f51b5;--mdc-slider-focus-handle-color: #3f51b5;--mdc-slider-hover-handle-color: #3f51b5;--mdc-slider-active-track-color: #3f51b5;--mdc-slider-inactive-track-color: #3f51b5;--mdc-slider-with-tick-marks-inactive-container-color: #3f51b5;--mdc-slider-with-tick-marks-active-container-color: white;--mdc-slider-disabled-active-track-color: #fff;--mdc-slider-disabled-handle-color: #fff;--mdc-slider-disabled-inactive-track-color: #fff;--mdc-slider-label-container-color: #fff;--mdc-slider-label-label-text-color: #000;--mdc-slider-with-overlap-handle-outline-color: #fff;--mdc-slider-with-tick-marks-disabled-container-color: #fff}.dark-theme{--mat-slider-ripple-color: #3f51b5;--mat-slider-hover-state-layer-color: rgba(63, 81, 181, .05);--mat-slider-focus-state-layer-color: rgba(63, 81, 181, .2);--mat-slider-value-indicator-opacity: .9}.dark-theme .mat-accent{--mdc-slider-handle-color: #ff4081;--mdc-slider-focus-handle-color: #ff4081;--mdc-slider-hover-handle-color: #ff4081;--mdc-slider-active-track-color: #ff4081;--mdc-slider-inactive-track-color: #ff4081;--mdc-slider-with-tick-marks-inactive-container-color: #ff4081;--mdc-slider-with-tick-marks-active-container-color: white}.dark-theme .mat-accent{--mat-slider-ripple-color: #ff4081;--mat-slider-hover-state-layer-color: rgba(255, 64, 129, .05);--mat-slider-focus-state-layer-color: rgba(255, 64, 129, .2)}.dark-theme .mat-warn{--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: white}.dark-theme .mat-warn{--mat-slider-ripple-color: #f44336;--mat-slider-hover-state-layer-color: rgba(244, 67, 54, .05);--mat-slider-focus-state-layer-color: rgba(244, 67, 54, .2)}.dark-theme{--mat-menu-container-shape: 4px;--mat-menu-divider-bottom-spacing: 0;--mat-menu-divider-top-spacing: 0;--mat-menu-item-spacing: 16px;--mat-menu-item-icon-size: 24px;--mat-menu-item-leading-spacing: 16px;--mat-menu-item-trailing-spacing: 16px;--mat-menu-item-with-icon-leading-spacing: 16px;--mat-menu-item-with-icon-trailing-spacing: 16px;--mat-menu-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}.dark-theme{--mat-menu-item-label-text-color: white;--mat-menu-item-icon-color: white;--mat-menu-item-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-menu-item-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-menu-container-color: #424242;--mat-menu-divider-color: rgba(255, 255, 255, .12)}.dark-theme{--mdc-list-list-item-container-shape: 0;--mdc-list-list-item-leading-avatar-shape: 50%;--mdc-list-list-item-container-color: transparent;--mdc-list-list-item-selected-container-color: transparent;--mdc-list-list-item-leading-avatar-color: transparent;--mdc-list-list-item-leading-icon-size: 24px;--mdc-list-list-item-leading-avatar-size: 40px;--mdc-list-list-item-trailing-icon-size: 24px;--mdc-list-list-item-disabled-state-layer-color: transparent;--mdc-list-list-item-disabled-state-layer-opacity: 0;--mdc-list-list-item-disabled-label-text-opacity: .38;--mdc-list-list-item-disabled-leading-icon-opacity: .38;--mdc-list-list-item-disabled-trailing-icon-opacity: .38}.dark-theme{--mat-list-active-indicator-color: transparent;--mat-list-active-indicator-shape: 4px}.dark-theme{--mdc-list-list-item-label-text-color: white;--mdc-list-list-item-supporting-text-color: rgba(255, 255, 255, .7);--mdc-list-list-item-leading-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-trailing-supporting-text-color: rgba(255, 255, 255, .5);--mdc-list-list-item-trailing-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-selected-trailing-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-disabled-label-text-color: white;--mdc-list-list-item-disabled-leading-icon-color: white;--mdc-list-list-item-disabled-trailing-icon-color: white;--mdc-list-list-item-hover-label-text-color: white;--mdc-list-list-item-hover-leading-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-hover-trailing-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-focus-label-text-color: white;--mdc-list-list-item-hover-state-layer-color: white;--mdc-list-list-item-hover-state-layer-opacity: .08;--mdc-list-list-item-focus-state-layer-color: white;--mdc-list-list-item-focus-state-layer-opacity: .24}.dark-theme .mdc-list-item__start,.dark-theme .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5}.dark-theme .mat-accent .mdc-list-item__start,.dark-theme .mat-accent .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081}.dark-theme .mat-warn .mdc-list-item__start,.dark-theme .mat-warn .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.dark-theme .mat-mdc-list-option{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-option.mat-accent{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-option.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__start,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__start{color:#3f51b5}.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}.dark-theme{--mat-paginator-container-text-color: rgba(255, 255, 255, .87);--mat-paginator-container-background-color: #424242;--mat-paginator-enabled-icon-color: rgba(255, 255, 255, .54);--mat-paginator-disabled-icon-color: rgba(255, 255, 255, .12)}.dark-theme{--mdc-secondary-navigation-tab-container-height: 48px}.dark-theme{--mdc-tab-indicator-active-indicator-height: 2px;--mdc-tab-indicator-active-indicator-shape: 0}.dark-theme{--mat-tab-header-divider-color: transparent;--mat-tab-header-divider-height: 0}.dark-theme .mat-mdc-tab-group,.dark-theme .mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color: #3f51b5}.dark-theme .mat-mdc-tab-group,.dark-theme .mat-mdc-tab-nav-bar{--mat-tab-header-disabled-ripple-color: rgba(255, 255, 255, .5);--mat-tab-header-pagination-icon-color: white;--mat-tab-header-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-label-text-color: #3f51b5;--mat-tab-header-active-ripple-color: #3f51b5;--mat-tab-header-inactive-ripple-color: #3f51b5;--mat-tab-header-inactive-focus-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-focus-label-text-color: #3f51b5;--mat-tab-header-active-hover-label-text-color: #3f51b5;--mat-tab-header-active-focus-indicator-color: #3f51b5;--mat-tab-header-active-hover-indicator-color: #3f51b5}.dark-theme .mat-mdc-tab-group.mat-accent,.dark-theme .mat-mdc-tab-nav-bar.mat-accent{--mdc-tab-indicator-active-indicator-color: #ff4081}.dark-theme .mat-mdc-tab-group.mat-accent,.dark-theme .mat-mdc-tab-nav-bar.mat-accent{--mat-tab-header-disabled-ripple-color: rgba(255, 255, 255, .5);--mat-tab-header-pagination-icon-color: white;--mat-tab-header-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-label-text-color: #ff4081;--mat-tab-header-active-ripple-color: #ff4081;--mat-tab-header-inactive-ripple-color: #ff4081;--mat-tab-header-inactive-focus-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-focus-label-text-color: #ff4081;--mat-tab-header-active-hover-label-text-color: #ff4081;--mat-tab-header-active-focus-indicator-color: #ff4081;--mat-tab-header-active-hover-indicator-color: #ff4081}.dark-theme .mat-mdc-tab-group.mat-warn,.dark-theme .mat-mdc-tab-nav-bar.mat-warn{--mdc-tab-indicator-active-indicator-color: #f44336}.dark-theme .mat-mdc-tab-group.mat-warn,.dark-theme .mat-mdc-tab-nav-bar.mat-warn{--mat-tab-header-disabled-ripple-color: rgba(255, 255, 255, .5);--mat-tab-header-pagination-icon-color: white;--mat-tab-header-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.dark-theme .mat-mdc-tab-group.mat-background-primary,.dark-theme .mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-header-with-background-background-color: #3f51b5;--mat-tab-header-with-background-foreground-color: white}.dark-theme .mat-mdc-tab-group.mat-background-accent,.dark-theme .mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-header-with-background-background-color: #ff4081;--mat-tab-header-with-background-foreground-color: white}.dark-theme .mat-mdc-tab-group.mat-background-warn,.dark-theme .mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.dark-theme{--mdc-checkbox-disabled-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-state-layer-opacity: .16;--mdc-checkbox-selected-hover-state-layer-opacity: .04;--mdc-checkbox-selected-pressed-state-layer-opacity: .16;--mdc-checkbox-unselected-focus-state-layer-opacity: .16;--mdc-checkbox-unselected-hover-state-layer-opacity: .04;--mdc-checkbox-unselected-pressed-state-layer-opacity: .16}.dark-theme{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme{--mat-checkbox-disabled-label-color: rgba(255, 255, 255, .5);--mat-checkbox-label-text-color: white}.dark-theme .mat-mdc-checkbox.mat-primary{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-checkbox.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme{--mdc-text-button-container-shape: 4px;--mdc-text-button-keep-touch-target: false}.dark-theme{--mdc-filled-button-container-shape: 4px;--mdc-filled-button-keep-touch-target: false}.dark-theme{--mdc-protected-button-container-shape: 4px;--mdc-protected-button-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mdc-protected-button-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-protected-button-focus-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-hover-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-pressed-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}.dark-theme{--mdc-outlined-button-keep-touch-target: false;--mdc-outlined-button-outline-width: 1px;--mdc-outlined-button-container-shape: 4px}.dark-theme{--mat-text-button-horizontal-padding: 8px;--mat-text-button-with-icon-horizontal-padding: 8px;--mat-text-button-icon-spacing: 8px;--mat-text-button-icon-offset: 0}.dark-theme{--mat-filled-button-horizontal-padding: 16px;--mat-filled-button-icon-spacing: 8px;--mat-filled-button-icon-offset: -4px}.dark-theme{--mat-protected-button-horizontal-padding: 16px;--mat-protected-button-icon-spacing: 8px;--mat-protected-button-icon-offset: -4px}.dark-theme{--mat-outlined-button-horizontal-padding: 15px;--mat-outlined-button-icon-spacing: 8px;--mat-outlined-button-icon-offset: -4px}.dark-theme{--mdc-text-button-label-text-color: white;--mdc-text-button-disabled-label-text-color: rgba(255, 255, 255, .5)}.dark-theme{--mat-text-button-state-layer-color: white;--mat-text-button-disabled-state-layer-color: white;--mat-text-button-ripple-color: rgba(255, 255, 255, .1);--mat-text-button-hover-state-layer-opacity: .08;--mat-text-button-focus-state-layer-opacity: .24;--mat-text-button-pressed-state-layer-opacity: .24}.dark-theme{--mdc-filled-button-container-color: #424242;--mdc-filled-button-label-text-color: white;--mdc-filled-button-disabled-container-color: rgba(255, 255, 255, .12);--mdc-filled-button-disabled-label-text-color: rgba(255, 255, 255, .5)}.dark-theme{--mat-filled-button-state-layer-color: white;--mat-filled-button-disabled-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1);--mat-filled-button-hover-state-layer-opacity: .08;--mat-filled-button-focus-state-layer-opacity: .24;--mat-filled-button-pressed-state-layer-opacity: .24}.dark-theme{--mdc-protected-button-container-color: #424242;--mdc-protected-button-label-text-color: white;--mdc-protected-button-disabled-container-color: rgba(255, 255, 255, .12);--mdc-protected-button-disabled-label-text-color: rgba(255, 255, 255, .5)}.dark-theme{--mat-protected-button-state-layer-color: white;--mat-protected-button-disabled-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1);--mat-protected-button-hover-state-layer-opacity: .08;--mat-protected-button-focus-state-layer-opacity: .24;--mat-protected-button-pressed-state-layer-opacity: .24}.dark-theme{--mdc-outlined-button-disabled-outline-color: rgba(255, 255, 255, .12);--mdc-outlined-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mdc-outlined-button-label-text-color: white;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12)}.dark-theme{--mat-outlined-button-state-layer-color: white;--mat-outlined-button-disabled-state-layer-color: white;--mat-outlined-button-ripple-color: rgba(255, 255, 255, .1);--mat-outlined-button-hover-state-layer-opacity: .08;--mat-outlined-button-focus-state-layer-opacity: .24;--mat-outlined-button-pressed-state-layer-opacity: .24}.dark-theme .mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #3f51b5}.dark-theme .mat-mdc-button.mat-primary{--mat-text-button-state-layer-color: #3f51b5;--mat-text-button-ripple-color: rgba(63, 81, 181, .1)}.dark-theme .mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #ff4081}.dark-theme .mat-mdc-button.mat-accent{--mat-text-button-state-layer-color: #ff4081;--mat-text-button-ripple-color: rgba(255, 64, 129, .1)}.dark-theme .mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336}.dark-theme .mat-mdc-button.mat-warn{--mat-text-button-state-layer-color: #f44336;--mat-text-button-ripple-color: rgba(244, 67, 54, .1)}.dark-theme .mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #3f51b5;--mdc-filled-button-label-text-color: white}.dark-theme .mat-mdc-unelevated-button.mat-primary{--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #ff4081;--mdc-filled-button-label-text-color: white}.dark-theme .mat-mdc-unelevated-button.mat-accent{--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: white}.dark-theme .mat-mdc-unelevated-button.mat-warn{--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #3f51b5;--mdc-protected-button-label-text-color: white}.dark-theme .mat-mdc-raised-button.mat-primary{--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #ff4081;--mdc-protected-button-label-text-color: white}.dark-theme .mat-mdc-raised-button.mat-accent{--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: white}.dark-theme .mat-mdc-raised-button.mat-warn{--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #3f51b5;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12)}.dark-theme .mat-mdc-outlined-button.mat-primary{--mat-outlined-button-state-layer-color: #3f51b5;--mat-outlined-button-ripple-color: rgba(63, 81, 181, .1)}.dark-theme .mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #ff4081;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12)}.dark-theme .mat-mdc-outlined-button.mat-accent{--mat-outlined-button-state-layer-color: #ff4081;--mat-outlined-button-ripple-color: rgba(255, 64, 129, .1)}.dark-theme .mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12)}.dark-theme .mat-mdc-outlined-button.mat-warn{--mat-outlined-button-state-layer-color: #f44336;--mat-outlined-button-ripple-color: rgba(244, 67, 54, .1)}.dark-theme{--mdc-icon-button-icon-size: 24px}.dark-theme{--mdc-icon-button-icon-color: inherit;--mdc-icon-button-disabled-icon-color: rgba(255, 255, 255, .5)}.dark-theme{--mat-icon-button-state-layer-color: white;--mat-icon-button-disabled-state-layer-color: white;--mat-icon-button-ripple-color: rgba(255, 255, 255, .1);--mat-icon-button-hover-state-layer-opacity: .08;--mat-icon-button-focus-state-layer-opacity: .24;--mat-icon-button-pressed-state-layer-opacity: .24}.dark-theme .mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #3f51b5}.dark-theme .mat-mdc-icon-button.mat-primary{--mat-icon-button-state-layer-color: #3f51b5;--mat-icon-button-ripple-color: rgba(63, 81, 181, .1)}.dark-theme .mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #ff4081}.dark-theme .mat-mdc-icon-button.mat-accent{--mat-icon-button-state-layer-color: #ff4081;--mat-icon-button-ripple-color: rgba(255, 64, 129, .1)}.dark-theme .mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336}.dark-theme .mat-mdc-icon-button.mat-warn{--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: rgba(244, 67, 54, .1)}.dark-theme{--mdc-fab-container-shape: 50%;--mdc-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}.dark-theme{--mdc-fab-small-container-shape: 50%;--mdc-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}.dark-theme{--mdc-extended-fab-container-height: 48px;--mdc-extended-fab-container-shape: 24px;--mdc-extended-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}.dark-theme{--mdc-fab-container-color: #424242}.dark-theme{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-disabled-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1);--mat-fab-hover-state-layer-opacity: .08;--mat-fab-focus-state-layer-opacity: .24;--mat-fab-pressed-state-layer-opacity: .24;--mat-fab-disabled-state-container-color: rgba(255, 255, 255, .12);--mat-fab-disabled-state-foreground-color: rgba(255, 255, 255, .5)}.dark-theme{--mdc-fab-small-container-color: #424242}.dark-theme{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-disabled-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1);--mat-fab-small-hover-state-layer-opacity: .08;--mat-fab-small-focus-state-layer-opacity: .24;--mat-fab-small-pressed-state-layer-opacity: .24;--mat-fab-small-disabled-state-container-color: rgba(255, 255, 255, .12);--mat-fab-small-disabled-state-foreground-color: rgba(255, 255, 255, .5)}.dark-theme .mat-mdc-fab.mat-primary{--mdc-fab-container-color: #3f51b5}.dark-theme .mat-mdc-fab.mat-primary{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-fab.mat-accent{--mdc-fab-container-color: #ff4081}.dark-theme .mat-mdc-fab.mat-accent{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-fab.mat-warn{--mdc-fab-container-color: #f44336}.dark-theme .mat-mdc-fab.mat-warn{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-mini-fab.mat-primary{--mdc-fab-small-container-color: #3f51b5}.dark-theme .mat-mdc-mini-fab.mat-primary{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-mini-fab.mat-accent{--mdc-fab-small-container-color: #ff4081}.dark-theme .mat-mdc-mini-fab.mat-accent{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-mini-fab.mat-warn{--mdc-fab-small-container-color: #f44336}.dark-theme .mat-mdc-mini-fab.mat-warn{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}.dark-theme{--mdc-snackbar-container-shape: 4px}.dark-theme{--mdc-snackbar-container-color: rgb(217.2, 217.2, 217.2);--mdc-snackbar-supporting-text-color: rgba(66, 66, 66, .87)}.dark-theme{--mat-snack-bar-button-color: rgba(0, 0, 0, .87)}.dark-theme{--mat-table-row-item-outline-width: 1px}.dark-theme{--mat-table-background-color: #424242;--mat-table-header-headline-color: white;--mat-table-row-item-label-text-color: white;--mat-table-row-item-outline-color: rgba(255, 255, 255, .12)}.dark-theme{--mdc-circular-progress-active-indicator-width: 4px;--mdc-circular-progress-size: 48px}.dark-theme{--mdc-circular-progress-active-indicator-color: #3f51b5}.dark-theme .mat-accent{--mdc-circular-progress-active-indicator-color: #ff4081}.dark-theme .mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}.dark-theme{--mat-badge-container-shape: 50%;--mat-badge-container-size: unset;--mat-badge-small-size-container-size: unset;--mat-badge-large-size-container-size: unset;--mat-badge-legacy-container-size: 22px;--mat-badge-legacy-small-size-container-size: 16px;--mat-badge-legacy-large-size-container-size: 28px;--mat-badge-container-offset: -11px 0;--mat-badge-small-size-container-offset: -8px 0;--mat-badge-large-size-container-offset: -14px 0;--mat-badge-container-overlap-offset: -11px;--mat-badge-small-size-container-overlap-offset: -8px;--mat-badge-large-size-container-overlap-offset: -14px;--mat-badge-container-padding: 0;--mat-badge-small-size-container-padding: 0;--mat-badge-large-size-container-padding: 0}.dark-theme{--mat-badge-background-color: #3f51b5;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: rgb(110.1, 110.1, 110.1);--mat-badge-disabled-state-text-color: rgba(255, 255, 255, .5)}.dark-theme .mat-badge-accent{--mat-badge-background-color: #ff4081;--mat-badge-text-color: white}.dark-theme .mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}.dark-theme{--mat-bottom-sheet-container-shape: 4px}.dark-theme{--mat-bottom-sheet-container-text-color: white;--mat-bottom-sheet-container-background-color: #424242}.dark-theme{--mat-legacy-button-toggle-height: 36px;--mat-legacy-button-toggle-shape: 2px;--mat-legacy-button-toggle-focus-state-layer-opacity: 1}.dark-theme{--mat-standard-button-toggle-shape: 4px;--mat-standard-button-toggle-hover-state-layer-opacity: .04;--mat-standard-button-toggle-focus-state-layer-opacity: .12}.dark-theme{--mat-legacy-button-toggle-text-color: rgba(255, 255, 255, .5);--mat-legacy-button-toggle-state-layer-color: rgba(255, 255, 255, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(255, 255, 255, .7);--mat-legacy-button-toggle-selected-state-background-color: #212121;--mat-legacy-button-toggle-disabled-state-text-color: rgba(255, 255, 255, .3);--mat-legacy-button-toggle-disabled-state-background-color: black;--mat-legacy-button-toggle-disabled-selected-state-background-color: #424242}.dark-theme{--mat-standard-button-toggle-text-color: white;--mat-standard-button-toggle-background-color: #424242;--mat-standard-button-toggle-state-layer-color: white;--mat-standard-button-toggle-selected-state-background-color: #212121;--mat-standard-button-toggle-selected-state-text-color: white;--mat-standard-button-toggle-disabled-state-text-color: rgba(255, 255, 255, .3);--mat-standard-button-toggle-disabled-state-background-color: #424242;--mat-standard-button-toggle-disabled-selected-state-text-color: white;--mat-standard-button-toggle-disabled-selected-state-background-color: #424242;--mat-standard-button-toggle-divider-color: rgb(88.68, 88.68, 88.68)}.dark-theme{--mat-datepicker-calendar-container-shape: 4px;--mat-datepicker-calendar-container-touch-shape: 4px;--mat-datepicker-calendar-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-container-touch-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}.dark-theme{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #3f51b5;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(63, 81, 181, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-toggle-active-state-icon-color: #3f51b5;--mat-datepicker-calendar-date-in-range-state-background-color: rgba(63, 81, 181, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032);--mat-datepicker-toggle-icon-color: white;--mat-datepicker-calendar-body-label-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-period-button-text-color: white;--mat-datepicker-calendar-period-button-icon-color: white;--mat-datepicker-calendar-navigation-button-icon-color: white;--mat-datepicker-calendar-header-divider-color: rgba(255, 255, 255, .12);--mat-datepicker-calendar-header-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-outline-color: rgba(255, 255, 255, .5);--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(255, 255, 255, .3);--mat-datepicker-calendar-date-text-color: white;--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(255, 255, 255, .5);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(255, 255, 255, .24);--mat-datepicker-range-input-separator-color: white;--mat-datepicker-range-input-disabled-state-separator-color: rgba(255, 255, 255, .5);--mat-datepicker-range-input-disabled-state-text-color: rgba(255, 255, 255, .5);--mat-datepicker-calendar-container-background-color: #424242;--mat-datepicker-calendar-container-text-color: white}.dark-theme .mat-datepicker-content.mat-accent{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #ff4081;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(255, 64, 129, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(255, 64, 129, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032)}.dark-theme .mat-datepicker-content.mat-warn{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032)}.dark-theme .mat-datepicker-toggle-active.mat-accent{--mat-datepicker-toggle-active-state-icon-color: #ff4081}.dark-theme .mat-datepicker-toggle-active.mat-warn{--mat-datepicker-toggle-active-state-icon-color: #f44336}.dark-theme{--mat-divider-width: 1px}.dark-theme{--mat-divider-color: rgba(255, 255, 255, .12)}.dark-theme{--mat-expansion-container-shape: 4px;--mat-expansion-legacy-header-indicator-display: inline-block;--mat-expansion-header-indicator-display: none}.dark-theme{--mat-expansion-container-background-color: #424242;--mat-expansion-container-text-color: white;--mat-expansion-actions-divider-color: rgba(255, 255, 255, .12);--mat-expansion-header-hover-state-layer-color: rgba(255, 255, 255, .04);--mat-expansion-header-focus-state-layer-color: rgba(255, 255, 255, .04);--mat-expansion-header-disabled-state-text-color: rgba(255, 255, 255, .3);--mat-expansion-header-text-color: white;--mat-expansion-header-description-color: rgba(255, 255, 255, .7);--mat-expansion-header-indicator-color: rgba(255, 255, 255, .7)}.dark-theme{--mat-icon-color: inherit}.dark-theme .mat-icon.mat-primary{--mat-icon-color: #3f51b5}.dark-theme .mat-icon.mat-accent{--mat-icon-color: #ff4081}.dark-theme .mat-icon.mat-warn{--mat-icon-color: #f44336}.dark-theme{--mat-sidenav-container-shape: 0;--mat-sidenav-container-elevation-shadow: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-sidenav-container-width: auto}.dark-theme{--mat-sidenav-container-divider-color: rgba(255, 255, 255, .12);--mat-sidenav-container-background-color: #424242;--mat-sidenav-container-text-color: white;--mat-sidenav-content-background-color: #303030;--mat-sidenav-content-text-color: white;--mat-sidenav-scrim-color: rgba(189, 189, 189, .6)}.dark-theme{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #3f51b5;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #3f51b5;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #3f51b5;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: #424242;--mat-stepper-line-color: rgba(255, 255, 255, .12);--mat-stepper-header-hover-state-layer-color: rgba(255, 255, 255, .04);--mat-stepper-header-focus-state-layer-color: rgba(255, 255, 255, .04);--mat-stepper-header-label-text-color: rgba(255, 255, 255, .7);--mat-stepper-header-optional-label-text-color: rgba(255, 255, 255, .7);--mat-stepper-header-selected-state-label-text-color: white;--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(255, 255, 255, .7);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}.dark-theme .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #ff4081;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #ff4081;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #ff4081;--mat-stepper-header-edit-state-icon-foreground-color: white}.dark-theme .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}.dark-theme{--mat-sort-arrow-color: rgb(198.3, 198.3, 198.3)}.dark-theme{--mat-toolbar-container-background-color: #212121;--mat-toolbar-container-text-color: white}.dark-theme .mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #3f51b5;--mat-toolbar-container-text-color: white}.dark-theme .mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #ff4081;--mat-toolbar-container-text-color: white}.dark-theme .mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}.dark-theme{--mat-tree-container-background-color: #424242;--mat-tree-node-text-color: white}.dark-theme{--mat-timepicker-container-shape: 4px;--mat-timepicker-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}.dark-theme{--mat-timepicker-container-background-color: #424242}.dark-theme html,.dark-theme body{background-color:#303030}.mat-mdc-dialog-container{--mdc-dialog-supporting-text-font: $font-family;--mdc-dialog-subhead-font: $font-family;--mdc-dialog-title-font: $font-family;--mdc-dialog-button-font: $font-family;--mdc-dialog-supporting-text-size: 1rem;--mdc-dialog-subhead-size: 1.25rem;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-color: rgba(0, 0, 0, 1)}.cc-window{opacity:1;-webkit-transition:opacity 1s ease;transition:opacity 1s ease}.cc-window.cc-invisible{opacity:0}.cc-animate.cc-revoke{-webkit-transition:transform 1s ease;-webkit-transition:-webkit-transform 1s ease;transition:-webkit-transform 1s ease;transition:transform 1s ease;transition:transform 1s ease,-webkit-transform 1s ease}.cc-animate.cc-revoke.cc-top{-webkit-transform:translateY(-2em);transform:translateY(-2em)}.cc-animate.cc-revoke.cc-bottom{-webkit-transform:translateY(2em);transform:translateY(2em)}.cc-animate.cc-revoke.cc-active.cc-top,.cc-animate.cc-revoke.cc-active.cc-bottom,.cc-revoke:hover{-webkit-transform:translateY(0);transform:translateY(0)}.cc-grower{max-height:0;overflow:hidden;-webkit-transition:max-height 1s;transition:max-height 1s}.cc-revoke,.cc-window{position:fixed;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:Helvetica,Calibri,Arial,sans-serif;font-size:16px;line-height:1.5em;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;z-index:9999}.cc-window.cc-static{position:static}.cc-window.cc-floating{padding:2em;max-width:24em;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.cc-window.cc-banner{padding:1em 1.8em;width:100%;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.cc-revoke{padding:.5em}.cc-revoke:hover{text-decoration:underline}.cc-header{font-size:18px;font-weight:700}.cc-btn,.cc-close,.cc-link,.cc-revoke{cursor:pointer}.cc-link{opacity:.8;display:inline-block;padding:.2em;text-decoration:underline}.cc-link:hover{opacity:1}.cc-link:active,.cc-link:visited{color:initial}.cc-btn{display:block;padding:.4em .8em;font-size:.9em;font-weight:700;border-width:2px;border-style:solid;text-align:center;white-space:nowrap}.cc-highlight .cc-btn:first-child{background-color:transparent;border-color:transparent}.cc-highlight .cc-btn:first-child:focus,.cc-highlight .cc-btn:first-child:hover{background-color:transparent;text-decoration:underline}.cc-close{display:block;position:absolute;top:.5em;right:.5em;font-size:1.6em;opacity:.9;line-height:.75}.cc-close:focus,.cc-close:hover{opacity:1}.cc-revoke.cc-top{top:0;left:3em;border-bottom-left-radius:.5em;border-bottom-right-radius:.5em}.cc-revoke.cc-bottom{bottom:0;left:3em;border-top-left-radius:.5em;border-top-right-radius:.5em}.cc-revoke.cc-left{left:3em;right:unset}.cc-revoke.cc-right{right:3em;left:unset}.cc-top{top:1em}.cc-left{left:1em}.cc-right{right:1em}.cc-bottom{bottom:1em}.cc-floating>.cc-link{margin-bottom:1em}.cc-floating .cc-message{display:block;margin-bottom:1em}.cc-window.cc-floating .cc-compliance{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto}.cc-window.cc-banner{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.cc-banner.cc-top{left:0;right:0;top:0}.cc-banner.cc-bottom{left:0;right:0;bottom:0}.cc-banner .cc-message{display:block;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;max-width:100%;margin-right:1em}.cc-compliance{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between}.cc-floating .cc-compliance>.cc-btn{-webkit-box-flex:1;-ms-flex:1;flex:1}.cc-btn+.cc-btn{margin-left:.5em}@media print{.cc-revoke,.cc-window{display:none}}@media screen and (max-width:900px){.cc-btn{white-space:normal}}@media screen and (max-width:414px) and (orientation:portrait),screen and (max-width:736px) and (orientation:landscape){.cc-window.cc-top{top:0}.cc-window.cc-bottom{bottom:0}.cc-window.cc-banner,.cc-window.cc-floating,.cc-window.cc-left,.cc-window.cc-right{left:0;right:0}.cc-window.cc-banner{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.cc-window.cc-banner .cc-compliance{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.cc-window.cc-floating{max-width:none}.cc-window .cc-message{margin-bottom:1em}.cc-window.cc-banner{-webkit-box-align:unset;-ms-flex-align:unset;align-items:unset}.cc-window.cc-banner .cc-message{margin-right:0}}.cc-floating.cc-theme-classic{padding:1.2em;border-radius:5px}.cc-floating.cc-type-info.cc-theme-classic .cc-compliance{text-align:center;display:inline;-webkit-box-flex:0;-ms-flex:none;flex:none}.cc-theme-classic .cc-btn{border-radius:5px}.cc-theme-classic .cc-btn:last-child{min-width:140px}.cc-floating.cc-type-info.cc-theme-classic .cc-btn{display:inline-block}.cc-theme-edgeless.cc-window{padding:0}.cc-floating.cc-theme-edgeless .cc-message{margin:2em 2em 1.5em}.cc-banner.cc-theme-edgeless .cc-btn{margin:0;padding:.8em 1.8em;height:100%}.cc-banner.cc-theme-edgeless .cc-message{margin-left:1em}.cc-floating.cc-theme-edgeless .cc-btn+.cc-btn{margin-left:0} +.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:var(--mat-app-elevation-shadow-level-0, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow)}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:var(--mat-app-elevation-shadow-level-1, 0px 2px 1px -1px --mat-sys-shadow, 0px 1px 1px 0px --mat-sys-shadow, 0px 1px 3px 0px --mat-sys-shadow)}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:var(--mat-app-elevation-shadow-level-2, 0px 3px 1px -2px --mat-sys-shadow, 0px 2px 2px 0px --mat-sys-shadow, 0px 1px 5px 0px --mat-sys-shadow)}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:var(--mat-app-elevation-shadow-level-3, 0px 3px 3px -2px --mat-sys-shadow, 0px 3px 4px 0px --mat-sys-shadow, 0px 1px 8px 0px --mat-sys-shadow)}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:var(--mat-app-elevation-shadow-level-4, 0px 2px 4px -1px --mat-sys-shadow, 0px 4px 5px 0px --mat-sys-shadow, 0px 1px 10px 0px --mat-sys-shadow)}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:var(--mat-app-elevation-shadow-level-5, 0px 3px 5px -1px --mat-sys-shadow, 0px 5px 8px 0px --mat-sys-shadow, 0px 1px 14px 0px --mat-sys-shadow)}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:var(--mat-app-elevation-shadow-level-6, 0px 3px 5px -1px --mat-sys-shadow, 0px 6px 10px 0px --mat-sys-shadow, 0px 1px 18px 0px --mat-sys-shadow)}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:var(--mat-app-elevation-shadow-level-7, 0px 4px 5px -2px --mat-sys-shadow, 0px 7px 10px 1px --mat-sys-shadow, 0px 2px 16px 1px --mat-sys-shadow)}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:var(--mat-app-elevation-shadow-level-8, 0px 5px 5px -3px --mat-sys-shadow, 0px 8px 10px 1px --mat-sys-shadow, 0px 3px 14px 2px --mat-sys-shadow)}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:var(--mat-app-elevation-shadow-level-9, 0px 5px 6px -3px --mat-sys-shadow, 0px 9px 12px 1px --mat-sys-shadow, 0px 3px 16px 2px --mat-sys-shadow)}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:var(--mat-app-elevation-shadow-level-10, 0px 6px 6px -3px --mat-sys-shadow, 0px 10px 14px 1px --mat-sys-shadow, 0px 4px 18px 3px --mat-sys-shadow)}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:var(--mat-app-elevation-shadow-level-11, 0px 6px 7px -4px --mat-sys-shadow, 0px 11px 15px 1px --mat-sys-shadow, 0px 4px 20px 3px --mat-sys-shadow)}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:var(--mat-app-elevation-shadow-level-12, 0px 7px 8px -4px --mat-sys-shadow, 0px 12px 17px 2px --mat-sys-shadow, 0px 5px 22px 4px --mat-sys-shadow)}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:var(--mat-app-elevation-shadow-level-13, 0px 7px 8px -4px --mat-sys-shadow, 0px 13px 19px 2px --mat-sys-shadow, 0px 5px 24px 4px --mat-sys-shadow)}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:var(--mat-app-elevation-shadow-level-14, 0px 7px 9px -4px --mat-sys-shadow, 0px 14px 21px 2px --mat-sys-shadow, 0px 5px 26px 4px --mat-sys-shadow)}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:var(--mat-app-elevation-shadow-level-15, 0px 8px 9px -5px --mat-sys-shadow, 0px 15px 22px 2px --mat-sys-shadow, 0px 6px 28px 5px --mat-sys-shadow)}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:var(--mat-app-elevation-shadow-level-16, 0px 8px 10px -5px --mat-sys-shadow, 0px 16px 24px 2px --mat-sys-shadow, 0px 6px 30px 5px --mat-sys-shadow)}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:var(--mat-app-elevation-shadow-level-17, 0px 8px 11px -5px --mat-sys-shadow, 0px 17px 26px 2px --mat-sys-shadow, 0px 6px 32px 5px --mat-sys-shadow)}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:var(--mat-app-elevation-shadow-level-18, 0px 9px 11px -5px --mat-sys-shadow, 0px 18px 28px 2px --mat-sys-shadow, 0px 7px 34px 6px --mat-sys-shadow)}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:var(--mat-app-elevation-shadow-level-19, 0px 9px 12px -6px --mat-sys-shadow, 0px 19px 29px 2px --mat-sys-shadow, 0px 7px 36px 6px --mat-sys-shadow)}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:var(--mat-app-elevation-shadow-level-20, 0px 10px 13px -6px --mat-sys-shadow, 0px 20px 31px 3px --mat-sys-shadow, 0px 8px 38px 7px --mat-sys-shadow)}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:var(--mat-app-elevation-shadow-level-21, 0px 10px 13px -6px --mat-sys-shadow, 0px 21px 33px 3px --mat-sys-shadow, 0px 8px 40px 7px --mat-sys-shadow)}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:var(--mat-app-elevation-shadow-level-22, 0px 10px 14px -6px --mat-sys-shadow, 0px 22px 35px 3px --mat-sys-shadow, 0px 8px 42px 7px --mat-sys-shadow)}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:var(--mat-app-elevation-shadow-level-23, 0px 11px 14px -7px --mat-sys-shadow, 0px 23px 36px 3px --mat-sys-shadow, 0px 9px 44px 8px --mat-sys-shadow)}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:var(--mat-app-elevation-shadow-level-24, 0px 11px 15px -7px --mat-sys-shadow, 0px 24px 38px 3px --mat-sys-shadow, 0px 9px 46px 8px --mat-sys-shadow)}html{--mat-sys-on-surface: initial}.mat-app-background{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}html{--mat-app-background-color: #fafafa;--mat-app-text-color: rgba(0, 0, 0, .87);--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}html{--mat-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent)}html{--mat-option-selected-state-label-text-color: #3f51b5;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-option-focus-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-option-selected-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent)}.mat-accent{--mat-option-selected-state-label-text-color: #ff4081;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-option-focus-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-option-selected-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent)}.mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-option-focus-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-option-selected-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent)}html{--mat-optgroup-label-text-color: rgba(0, 0, 0, .87)}html{--mat-pseudo-checkbox-full-selected-icon-color: #ff4081;--mat-pseudo-checkbox-full-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(0, 0, 0, .54);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #ff4081;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent)}.mat-primary{--mat-pseudo-checkbox-full-selected-icon-color: #3f51b5;--mat-pseudo-checkbox-full-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(0, 0, 0, .54);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #3f51b5;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent)}.mat-accent{--mat-pseudo-checkbox-full-selected-icon-color: #ff4081;--mat-pseudo-checkbox-full-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(0, 0, 0, .54);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #ff4081;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent)}.mat-warn{--mat-pseudo-checkbox-full-selected-icon-color: #f44336;--mat-pseudo-checkbox-full-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(0, 0, 0, .54);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #f44336;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent)}html{--mat-option-label-text-font: Roboto, sans-serif;--mat-option-label-text-line-height: 24px;--mat-option-label-text-size: 16px;--mat-option-label-text-tracking: .03125em;--mat-option-label-text-weight: 400}html{--mat-optgroup-label-text-font: Roboto, sans-serif;--mat-optgroup-label-text-line-height: 24px;--mat-optgroup-label-text-size: 16px;--mat-optgroup-label-text-tracking: .03125em;--mat-optgroup-label-text-weight: 400}html{--mat-card-elevated-container-shape: 4px;--mat-card-outlined-container-shape: 4px;--mat-card-filled-container-shape: 4px;--mat-card-outlined-outline-width: 1px}html{--mat-card-elevated-container-color: white;--mat-card-elevated-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-card-outlined-container-color: white;--mat-card-outlined-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-outlined-outline-color: rgba(0, 0, 0, .12);--mat-card-subtitle-text-color: rgba(0, 0, 0, .54);--mat-card-filled-container-color: white;--mat-card-filled-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12)}html{--mat-card-title-text-font: Roboto, sans-serif;--mat-card-title-text-line-height: 32px;--mat-card-title-text-size: 20px;--mat-card-title-text-tracking: .0125em;--mat-card-title-text-weight: 500;--mat-card-subtitle-text-font: Roboto, sans-serif;--mat-card-subtitle-text-line-height: 22px;--mat-card-subtitle-text-size: 14px;--mat-card-subtitle-text-tracking: .0071428571em;--mat-card-subtitle-text-weight: 500}html{--mat-progress-bar-active-indicator-height: 4px;--mat-progress-bar-track-height: 4px;--mat-progress-bar-track-shape: 0}.mat-mdc-progress-bar{--mat-progress-bar-active-indicator-color: #3f51b5;--mat-progress-bar-track-color: rgba(63, 81, 181, .25)}.mat-mdc-progress-bar.mat-accent{--mat-progress-bar-active-indicator-color: #ff4081;--mat-progress-bar-track-color: rgba(255, 64, 129, .25)}.mat-mdc-progress-bar.mat-warn{--mat-progress-bar-active-indicator-color: #f44336;--mat-progress-bar-track-color: rgba(244, 67, 54, .25)}html{--mat-tooltip-container-shape: 4px;--mat-tooltip-supporting-text-line-height: 16px}html{--mat-tooltip-container-color: #424242;--mat-tooltip-supporting-text-color: white}html{--mat-tooltip-supporting-text-font: Roboto, sans-serif;--mat-tooltip-supporting-text-size: 12px;--mat-tooltip-supporting-text-weight: 400;--mat-tooltip-supporting-text-tracking: .0333333333em}html{--mat-form-field-filled-active-indicator-height: 1px;--mat-form-field-filled-focus-active-indicator-height: 2px;--mat-form-field-filled-container-shape: 4px;--mat-form-field-outlined-outline-width: 1px;--mat-form-field-outlined-focus-outline-width: 2px;--mat-form-field-outlined-container-shape: 4px}html{--mat-form-field-focus-select-arrow-color: color-mix(in srgb, #3f51b5 87%, transparent);--mat-form-field-filled-caret-color: #3f51b5;--mat-form-field-filled-focus-active-indicator-color: #3f51b5;--mat-form-field-filled-focus-label-text-color: color-mix(in srgb, #3f51b5 87%, transparent);--mat-form-field-outlined-caret-color: #3f51b5;--mat-form-field-outlined-focus-outline-color: #3f51b5;--mat-form-field-outlined-focus-label-text-color: color-mix(in srgb, #3f51b5 87%, transparent);--mat-form-field-disabled-input-text-placeholder-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-form-field-state-layer-color: rgba(0, 0, 0, .87);--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: inherit;--mat-form-field-select-disabled-option-text-color: GrayText;--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: rgba(0, 0, 0, .54);--mat-form-field-disabled-select-arrow-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-form-field-hover-state-layer-opacity: .04;--mat-form-field-focus-state-layer-opacity: .12;--mat-form-field-filled-container-color: #f6f6f6;--mat-form-field-filled-disabled-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-form-field-filled-label-text-color: rgba(0, 0, 0, .54);--mat-form-field-filled-hover-label-text-color: rgba(0, 0, 0, .54);--mat-form-field-filled-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-form-field-filled-input-text-color: rgba(0, 0, 0, .87);--mat-form-field-filled-disabled-input-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-form-field-filled-input-text-placeholder-color: rgba(0, 0, 0, .54);--mat-form-field-filled-error-hover-label-text-color: #f44336;--mat-form-field-filled-error-focus-label-text-color: #f44336;--mat-form-field-filled-error-label-text-color: #f44336;--mat-form-field-filled-error-caret-color: #f44336;--mat-form-field-filled-active-indicator-color: rgba(0, 0, 0, .54);--mat-form-field-filled-disabled-active-indicator-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-form-field-filled-hover-active-indicator-color: rgba(0, 0, 0, .87);--mat-form-field-filled-error-active-indicator-color: #f44336;--mat-form-field-filled-error-focus-active-indicator-color: #f44336;--mat-form-field-filled-error-hover-active-indicator-color: #f44336;--mat-form-field-outlined-label-text-color: rgba(0, 0, 0, .54);--mat-form-field-outlined-hover-label-text-color: rgba(0, 0, 0, .87);--mat-form-field-outlined-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-form-field-outlined-input-text-color: rgba(0, 0, 0, .87);--mat-form-field-outlined-disabled-input-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-form-field-outlined-input-text-placeholder-color: rgba(0, 0, 0, .54);--mat-form-field-outlined-error-caret-color: #f44336;--mat-form-field-outlined-error-focus-label-text-color: #f44336;--mat-form-field-outlined-error-label-text-color: #f44336;--mat-form-field-outlined-error-hover-label-text-color: #f44336;--mat-form-field-outlined-outline-color: rgba(0, 0, 0, .38);--mat-form-field-outlined-disabled-outline-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-form-field-outlined-hover-outline-color: rgba(0, 0, 0, .87);--mat-form-field-outlined-error-focus-outline-color: #f44336;--mat-form-field-outlined-error-hover-outline-color: #f44336;--mat-form-field-outlined-error-outline-color: #f44336}.mat-mdc-form-field.mat-accent{--mat-form-field-focus-select-arrow-color: color-mix(in srgb, #ff4081 87%, transparent);--mat-form-field-filled-caret-color: #ff4081;--mat-form-field-filled-focus-active-indicator-color: #ff4081;--mat-form-field-filled-focus-label-text-color: color-mix(in srgb, #ff4081 87%, transparent);--mat-form-field-outlined-caret-color: #ff4081;--mat-form-field-outlined-focus-outline-color: #ff4081;--mat-form-field-outlined-focus-label-text-color: color-mix(in srgb, #ff4081 87%, transparent)}.mat-mdc-form-field.mat-warn{--mat-form-field-focus-select-arrow-color: color-mix(in srgb, #f44336 87%, transparent);--mat-form-field-filled-caret-color: #f44336;--mat-form-field-filled-focus-active-indicator-color: #f44336;--mat-form-field-filled-focus-label-text-color: color-mix(in srgb, #f44336 87%, transparent);--mat-form-field-outlined-caret-color: #f44336;--mat-form-field-outlined-focus-outline-color: #f44336;--mat-form-field-outlined-focus-label-text-color: color-mix(in srgb, #f44336 87%, transparent)}html{--mat-form-field-container-height: 56px;--mat-form-field-filled-label-display: block;--mat-form-field-container-vertical-padding: 16px;--mat-form-field-filled-with-label-container-padding-top: 24px;--mat-form-field-filled-with-label-container-padding-bottom: 8px}html{--mat-form-field-container-text-font: Roboto, sans-serif;--mat-form-field-container-text-line-height: 24px;--mat-form-field-container-text-size: 16px;--mat-form-field-container-text-tracking: .03125em;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 16px;--mat-form-field-subscript-text-font: Roboto, sans-serif;--mat-form-field-subscript-text-line-height: 20px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: .0333333333em;--mat-form-field-subscript-text-weight: 400;--mat-form-field-filled-label-text-font: Roboto, sans-serif;--mat-form-field-filled-label-text-size: 16px;--mat-form-field-filled-label-text-tracking: .03125em;--mat-form-field-filled-label-text-weight: 400;--mat-form-field-outlined-label-text-font: Roboto, sans-serif;--mat-form-field-outlined-label-text-size: 16px;--mat-form-field-outlined-label-text-tracking: .03125em;--mat-form-field-outlined-label-text-weight: 400}html{--mat-select-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-select-placeholder-text-color: rgba(0, 0, 0, .54);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-select-focused-arrow-color: #3f51b5;--mat-select-invalid-arrow-color: #f44336}.mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-select-placeholder-text-color: rgba(0, 0, 0, .54);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-select-focused-arrow-color: #ff4081;--mat-select-invalid-arrow-color: #f44336}.mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-select-placeholder-text-color: rgba(0, 0, 0, .54);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-select-focused-arrow-color: #f44336;--mat-select-invalid-arrow-color: #f44336}html{--mat-select-arrow-transform: translateY(-8px)}html{--mat-select-trigger-text-font: Roboto, sans-serif;--mat-select-trigger-text-line-height: 24px;--mat-select-trigger-text-size: 16px;--mat-select-trigger-text-tracking: .03125em;--mat-select-trigger-text-weight: 400}html{--mat-autocomplete-container-shape: 4px;--mat-autocomplete-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-autocomplete-background-color: white}html{--mat-dialog-container-shape: 4px;--mat-dialog-container-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-dialog-container-max-width: 80vw;--mat-dialog-container-small-max-width: 80vw;--mat-dialog-container-min-width: 0;--mat-dialog-actions-alignment: start;--mat-dialog-actions-padding: 8px;--mat-dialog-content-padding: 20px 24px;--mat-dialog-with-actions-content-padding: 20px 24px;--mat-dialog-headline-padding: 0 24px 9px}html{--mat-dialog-container-color: white;--mat-dialog-subhead-color: rgba(0, 0, 0, .87);--mat-dialog-supporting-text-color: rgba(0, 0, 0, .54)}html{--mat-dialog-subhead-font: Roboto, sans-serif;--mat-dialog-subhead-line-height: 32px;--mat-dialog-subhead-size: 20px;--mat-dialog-subhead-weight: 500;--mat-dialog-subhead-tracking: .0125em;--mat-dialog-supporting-text-font: Roboto, sans-serif;--mat-dialog-supporting-text-line-height: 24px;--mat-dialog-supporting-text-size: 16px;--mat-dialog-supporting-text-weight: 400;--mat-dialog-supporting-text-tracking: .03125em}.mat-mdc-standard-chip{--mat-chip-container-shape-radius: 16px;--mat-chip-disabled-container-opacity: .4;--mat-chip-disabled-outline-color: transparent;--mat-chip-flat-selected-outline-width: 0;--mat-chip-focus-outline-color: transparent;--mat-chip-hover-state-layer-opacity: .04;--mat-chip-outline-color: transparent;--mat-chip-outline-width: 0;--mat-chip-selected-hover-state-layer-opacity: .04;--mat-chip-selected-trailing-action-state-layer-color: transparent;--mat-chip-trailing-action-focus-opacity: 1;--mat-chip-trailing-action-focus-state-layer-opacity: 0;--mat-chip-trailing-action-hover-state-layer-opacity: 0;--mat-chip-trailing-action-opacity: .54;--mat-chip-trailing-action-state-layer-color: transparent;--mat-chip-with-avatar-avatar-shape-radius: 14px;--mat-chip-with-avatar-avatar-size: 28px;--mat-chip-with-avatar-disabled-avatar-opacity: 1;--mat-chip-with-icon-disabled-icon-opacity: 1;--mat-chip-with-icon-icon-size: 18px;--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity: 1}.mat-mdc-standard-chip{--mat-chip-disabled-label-text-color: rgba(0, 0, 0, .87);--mat-chip-elevated-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-chip-elevated-disabled-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-chip-elevated-selected-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-chip-flat-disabled-selected-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-chip-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-label-text-color: rgba(0, 0, 0, .87);--mat-chip-selected-disabled-trailing-icon-color: rgba(0, 0, 0, .87);--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: rgba(0, 0, 0, .87);--mat-chip-selected-trailing-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-icon-disabled-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-icon-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-icon-selected-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-trailing-icon-disabled-trailing-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-trailing-icon-trailing-icon-color: rgba(0, 0, 0, .87)}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mat-chip-disabled-label-text-color: white;--mat-chip-elevated-container-color: #3f51b5;--mat-chip-elevated-disabled-container-color: #3f51b5;--mat-chip-elevated-selected-container-color: #3f51b5;--mat-chip-flat-disabled-selected-container-color: #3f51b5;--mat-chip-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-label-text-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: white;--mat-chip-selected-trailing-icon-color: white;--mat-chip-with-icon-disabled-icon-color: white;--mat-chip-with-icon-icon-color: white;--mat-chip-with-icon-selected-icon-color: white;--mat-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mat-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mat-chip-disabled-label-text-color: white;--mat-chip-elevated-container-color: #ff4081;--mat-chip-elevated-disabled-container-color: #ff4081;--mat-chip-elevated-selected-container-color: #ff4081;--mat-chip-flat-disabled-selected-container-color: #ff4081;--mat-chip-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-label-text-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: white;--mat-chip-selected-trailing-icon-color: white;--mat-chip-with-icon-disabled-icon-color: white;--mat-chip-with-icon-icon-color: white;--mat-chip-with-icon-selected-icon-color: white;--mat-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mat-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mat-chip-disabled-label-text-color: white;--mat-chip-elevated-container-color: #f44336;--mat-chip-elevated-disabled-container-color: #f44336;--mat-chip-elevated-selected-container-color: #f44336;--mat-chip-flat-disabled-selected-container-color: #f44336;--mat-chip-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-label-text-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: white;--mat-chip-selected-trailing-icon-color: white;--mat-chip-with-icon-disabled-icon-color: white;--mat-chip-with-icon-icon-color: white;--mat-chip-with-icon-selected-icon-color: white;--mat-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mat-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-chip.mat-mdc-standard-chip{--mat-chip-container-height: 32px}.mat-mdc-standard-chip{--mat-chip-label-text-font: Roboto, sans-serif;--mat-chip-label-text-line-height: 20px;--mat-chip-label-text-size: 14px;--mat-chip-label-text-tracking: .0178571429em;--mat-chip-label-text-weight: 400}html{--mat-slide-toggle-disabled-handle-opacity: .38;--mat-slide-toggle-disabled-selected-handle-opacity: .38;--mat-slide-toggle-disabled-selected-icon-opacity: .38;--mat-slide-toggle-disabled-track-opacity: .12;--mat-slide-toggle-disabled-unselected-handle-opacity: .38;--mat-slide-toggle-disabled-unselected-icon-opacity: .38;--mat-slide-toggle-disabled-unselected-track-outline-color: transparent;--mat-slide-toggle-disabled-unselected-track-outline-width: 1px;--mat-slide-toggle-handle-height: 20px;--mat-slide-toggle-handle-shape: 10px;--mat-slide-toggle-handle-width: 20px;--mat-slide-toggle-hidden-track-opacity: 1;--mat-slide-toggle-hidden-track-transition: transform 75ms 0ms cubic-bezier(.4, 0, .6, 1);--mat-slide-toggle-pressed-handle-size: 20px;--mat-slide-toggle-selected-focus-state-layer-opacity: .12;--mat-slide-toggle-selected-handle-horizontal-margin: 0;--mat-slide-toggle-selected-handle-size: 20px;--mat-slide-toggle-selected-hover-state-layer-opacity: .04;--mat-slide-toggle-selected-icon-size: 18px;--mat-slide-toggle-selected-pressed-handle-horizontal-margin: 0;--mat-slide-toggle-selected-pressed-state-layer-opacity: .12;--mat-slide-toggle-selected-track-outline-color: transparent;--mat-slide-toggle-selected-track-outline-width: 1px;--mat-slide-toggle-selected-with-icon-handle-horizontal-margin: 0;--mat-slide-toggle-track-height: 14px;--mat-slide-toggle-track-outline-color: transparent;--mat-slide-toggle-track-outline-width: 1px;--mat-slide-toggle-track-shape: 7px;--mat-slide-toggle-track-width: 36px;--mat-slide-toggle-unselected-focus-state-layer-opacity: .12;--mat-slide-toggle-unselected-handle-horizontal-margin: 0;--mat-slide-toggle-unselected-handle-size: 20px;--mat-slide-toggle-unselected-hover-state-layer-opacity: .12;--mat-slide-toggle-unselected-icon-size: 18px;--mat-slide-toggle-unselected-pressed-handle-horizontal-margin: 0;--mat-slide-toggle-unselected-pressed-state-layer-opacity: .1;--mat-slide-toggle-unselected-with-icon-handle-horizontal-margin: 0;--mat-slide-toggle-visible-track-opacity: 1;--mat-slide-toggle-visible-track-transition: transform 75ms 0ms cubic-bezier(0, 0, .2, 1);--mat-slide-toggle-with-icon-handle-size: 20px;--mat-slide-toggle-touch-target-size: 48px}html{--mat-slide-toggle-selected-icon-color: white;--mat-slide-toggle-disabled-selected-icon-color: white;--mat-slide-toggle-selected-focus-state-layer-color: #3f51b5;--mat-slide-toggle-selected-handle-color: #3f51b5;--mat-slide-toggle-selected-hover-state-layer-color: #3f51b5;--mat-slide-toggle-selected-pressed-state-layer-color: #3f51b5;--mat-slide-toggle-selected-focus-handle-color: #3f51b5;--mat-slide-toggle-selected-hover-handle-color: #3f51b5;--mat-slide-toggle-selected-pressed-handle-color: #3f51b5;--mat-slide-toggle-selected-focus-track-color: #7986cb;--mat-slide-toggle-selected-hover-track-color: #7986cb;--mat-slide-toggle-selected-pressed-track-color: #7986cb;--mat-slide-toggle-selected-track-color: #7986cb;--mat-slide-toggle-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-slide-toggle-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-slide-toggle-disabled-selected-handle-color: rgba(0, 0, 0, .87);--mat-slide-toggle-disabled-selected-track-color: rgba(0, 0, 0, .87);--mat-slide-toggle-disabled-unselected-handle-color: rgba(0, 0, 0, .87);--mat-slide-toggle-disabled-unselected-icon-color: #f6f6f6;--mat-slide-toggle-disabled-unselected-track-color: rgba(0, 0, 0, .87);--mat-slide-toggle-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-slide-toggle-handle-surface-color: white;--mat-slide-toggle-label-text-color: rgba(0, 0, 0, .87);--mat-slide-toggle-unselected-hover-handle-color: #424242;--mat-slide-toggle-unselected-focus-handle-color: #424242;--mat-slide-toggle-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-slide-toggle-unselected-focus-track-color: rgba(0, 0, 0, .12);--mat-slide-toggle-unselected-icon-color: #f6f6f6;--mat-slide-toggle-unselected-handle-color: rgba(0, 0, 0, .54);--mat-slide-toggle-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-slide-toggle-unselected-hover-track-color: rgba(0, 0, 0, .12);--mat-slide-toggle-unselected-pressed-handle-color: #424242;--mat-slide-toggle-unselected-pressed-track-color: rgba(0, 0, 0, .12);--mat-slide-toggle-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87);--mat-slide-toggle-unselected-track-color: rgba(0, 0, 0, .12)}.mat-mdc-slide-toggle.mat-accent{--mat-slide-toggle-selected-icon-color: white;--mat-slide-toggle-disabled-selected-icon-color: white;--mat-slide-toggle-selected-focus-state-layer-color: #ff4081;--mat-slide-toggle-selected-handle-color: #ff4081;--mat-slide-toggle-selected-hover-state-layer-color: #ff4081;--mat-slide-toggle-selected-pressed-state-layer-color: #ff4081;--mat-slide-toggle-selected-focus-handle-color: #ff4081;--mat-slide-toggle-selected-hover-handle-color: #ff4081;--mat-slide-toggle-selected-pressed-handle-color: #ff4081;--mat-slide-toggle-selected-focus-track-color: #f06292;--mat-slide-toggle-selected-hover-track-color: #f06292;--mat-slide-toggle-selected-pressed-track-color: #f06292;--mat-slide-toggle-selected-track-color: #f06292}.mat-mdc-slide-toggle.mat-warn{--mat-slide-toggle-selected-icon-color: white;--mat-slide-toggle-disabled-selected-icon-color: white;--mat-slide-toggle-selected-focus-state-layer-color: #f44336;--mat-slide-toggle-selected-handle-color: #f44336;--mat-slide-toggle-selected-hover-state-layer-color: #f44336;--mat-slide-toggle-selected-pressed-state-layer-color: #f44336;--mat-slide-toggle-selected-focus-handle-color: #f44336;--mat-slide-toggle-selected-hover-handle-color: #f44336;--mat-slide-toggle-selected-pressed-handle-color: #f44336;--mat-slide-toggle-selected-focus-track-color: #e57373;--mat-slide-toggle-selected-hover-track-color: #e57373;--mat-slide-toggle-selected-pressed-track-color: #e57373;--mat-slide-toggle-selected-track-color: #e57373}html{--mat-slide-toggle-state-layer-size: 40px;--mat-slide-toggle-touch-target-display: block}html,html .mat-mdc-slide-toggle{--mat-slide-toggle-label-text-font: Roboto, sans-serif;--mat-slide-toggle-label-text-line-height: 20px;--mat-slide-toggle-label-text-size: 14px;--mat-slide-toggle-label-text-tracking: .0178571429em;--mat-slide-toggle-label-text-weight: 400}html{--mat-radio-disabled-selected-icon-opacity: .38;--mat-radio-disabled-unselected-icon-opacity: .38;--mat-radio-state-layer-size: 40px;--mat-radio-touch-target-size: 48px}.mat-mdc-radio-button.mat-primary{--mat-radio-checked-ripple-color: #3f51b5;--mat-radio-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-radio-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-radio-disabled-unselected-icon-color: rgba(0, 0, 0, .87);--mat-radio-label-text-color: rgba(0, 0, 0, .87);--mat-radio-ripple-color: rgba(0, 0, 0, .87);--mat-radio-selected-focus-icon-color: #3f51b5;--mat-radio-selected-hover-icon-color: #3f51b5;--mat-radio-selected-icon-color: #3f51b5;--mat-radio-selected-pressed-icon-color: #3f51b5;--mat-radio-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mat-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .87)}.mat-mdc-radio-button.mat-accent{--mat-radio-checked-ripple-color: #ff4081;--mat-radio-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-radio-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-radio-disabled-unselected-icon-color: rgba(0, 0, 0, .87);--mat-radio-label-text-color: rgba(0, 0, 0, .87);--mat-radio-ripple-color: rgba(0, 0, 0, .87);--mat-radio-selected-focus-icon-color: #ff4081;--mat-radio-selected-hover-icon-color: #ff4081;--mat-radio-selected-icon-color: #ff4081;--mat-radio-selected-pressed-icon-color: #ff4081;--mat-radio-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mat-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .87)}.mat-mdc-radio-button.mat-warn{--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-radio-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-radio-disabled-unselected-icon-color: rgba(0, 0, 0, .87);--mat-radio-label-text-color: rgba(0, 0, 0, .87);--mat-radio-ripple-color: rgba(0, 0, 0, .87);--mat-radio-selected-focus-icon-color: #f44336;--mat-radio-selected-hover-icon-color: #f44336;--mat-radio-selected-icon-color: #f44336;--mat-radio-selected-pressed-icon-color: #f44336;--mat-radio-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mat-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .87)}html{--mat-radio-state-layer-size: 40px;--mat-radio-touch-target-display: block}html{--mat-radio-label-text-font: Roboto, sans-serif;--mat-radio-label-text-line-height: 20px;--mat-radio-label-text-size: 14px;--mat-radio-label-text-tracking: .0178571429em;--mat-radio-label-text-weight: 400}html{--mat-slider-active-track-height: 6px;--mat-slider-active-track-shape: 9999px;--mat-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-slider-handle-height: 20px;--mat-slider-handle-shape: 50%;--mat-slider-handle-width: 20px;--mat-slider-inactive-track-height: 4px;--mat-slider-inactive-track-shape: 9999px;--mat-slider-value-indicator-border-radius: 4px;--mat-slider-value-indicator-caret-display: block;--mat-slider-value-indicator-container-transform: translateX(-50%);--mat-slider-value-indicator-height: 32px;--mat-slider-value-indicator-padding: 0 12px;--mat-slider-value-indicator-text-transform: none;--mat-slider-value-indicator-width: auto;--mat-slider-with-overlap-handle-outline-width: 1px;--mat-slider-with-tick-marks-active-container-opacity: .6;--mat-slider-with-tick-marks-container-shape: 50%;--mat-slider-with-tick-marks-container-size: 2px;--mat-slider-with-tick-marks-inactive-container-opacity: .6;--mat-slider-value-indicator-transform-origin: bottom}html{--mat-slider-active-track-color: #3f51b5;--mat-slider-focus-handle-color: #3f51b5;--mat-slider-handle-color: #3f51b5;--mat-slider-hover-handle-color: #3f51b5;--mat-slider-focus-state-layer-color: color-mix(in srgb, #3f51b5 12%, transparent);--mat-slider-hover-state-layer-color: color-mix(in srgb, #3f51b5 4%, transparent);--mat-slider-inactive-track-color: #3f51b5;--mat-slider-ripple-color: #3f51b5;--mat-slider-with-tick-marks-active-container-color: white;--mat-slider-with-tick-marks-inactive-container-color: #3f51b5;--mat-slider-disabled-active-track-color: rgba(0, 0, 0, .87);--mat-slider-disabled-handle-color: rgba(0, 0, 0, .87);--mat-slider-disabled-inactive-track-color: rgba(0, 0, 0, .87);--mat-slider-label-container-color: #424242;--mat-slider-label-label-text-color: white;--mat-slider-value-indicator-opacity: 1;--mat-slider-with-overlap-handle-outline-color: rgba(0, 0, 0, .87);--mat-slider-with-tick-marks-disabled-container-color: rgba(0, 0, 0, .87)}.mat-accent{--mat-slider-active-track-color: #ff4081;--mat-slider-focus-handle-color: #ff4081;--mat-slider-handle-color: #ff4081;--mat-slider-hover-handle-color: #ff4081;--mat-slider-focus-state-layer-color: color-mix(in srgb, #ff4081 12%, transparent);--mat-slider-hover-state-layer-color: color-mix(in srgb, #ff4081 4%, transparent);--mat-slider-inactive-track-color: #ff4081;--mat-slider-ripple-color: #ff4081;--mat-slider-with-tick-marks-active-container-color: white;--mat-slider-with-tick-marks-inactive-container-color: #ff4081}.mat-warn{--mat-slider-active-track-color: #f44336;--mat-slider-focus-handle-color: #f44336;--mat-slider-handle-color: #f44336;--mat-slider-hover-handle-color: #f44336;--mat-slider-focus-state-layer-color: color-mix(in srgb, #f44336 12%, transparent);--mat-slider-hover-state-layer-color: color-mix(in srgb, #f44336 4%, transparent);--mat-slider-inactive-track-color: #f44336;--mat-slider-ripple-color: #f44336;--mat-slider-with-tick-marks-active-container-color: white;--mat-slider-with-tick-marks-inactive-container-color: #f44336}html{--mat-slider-label-label-text-font: Roboto, sans-serif;--mat-slider-label-label-text-size: 14px;--mat-slider-label-label-text-line-height: 22px;--mat-slider-label-label-text-tracking: .0071428571em;--mat-slider-label-label-text-weight: 500}html{--mat-menu-container-shape: 4px;--mat-menu-divider-bottom-spacing: 0;--mat-menu-divider-top-spacing: 0;--mat-menu-item-spacing: 16px;--mat-menu-item-icon-size: 24px;--mat-menu-item-leading-spacing: 16px;--mat-menu-item-trailing-spacing: 16px;--mat-menu-item-with-icon-leading-spacing: 16px;--mat-menu-item-with-icon-trailing-spacing: 16px;--mat-menu-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-menu-item-label-text-color: rgba(0, 0, 0, .87);--mat-menu-item-icon-color: rgba(0, 0, 0, .87);--mat-menu-item-hover-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-menu-item-focus-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-menu-container-color: white;--mat-menu-divider-color: rgba(0, 0, 0, .12)}html{--mat-menu-item-label-text-font: Roboto, sans-serif;--mat-menu-item-label-text-size: 16px;--mat-menu-item-label-text-tracking: .03125em;--mat-menu-item-label-text-line-height: 24px;--mat-menu-item-label-text-weight: 400}html{--mat-list-active-indicator-color: transparent;--mat-list-active-indicator-shape: 4px;--mat-list-list-item-container-shape: 0;--mat-list-list-item-leading-avatar-shape: 50%;--mat-list-list-item-container-color: transparent;--mat-list-list-item-selected-container-color: transparent;--mat-list-list-item-leading-avatar-color: transparent;--mat-list-list-item-leading-icon-size: 24px;--mat-list-list-item-leading-avatar-size: 40px;--mat-list-list-item-trailing-icon-size: 24px;--mat-list-list-item-disabled-state-layer-color: transparent;--mat-list-list-item-disabled-state-layer-opacity: 0;--mat-list-list-item-disabled-label-text-opacity: .38;--mat-list-list-item-disabled-leading-icon-opacity: .38;--mat-list-list-item-disabled-trailing-icon-opacity: .38}html{--mat-list-list-item-label-text-color: rgba(0, 0, 0, .87);--mat-list-list-item-supporting-text-color: rgba(0, 0, 0, .54);--mat-list-list-item-leading-icon-color: rgba(0, 0, 0, .54);--mat-list-list-item-trailing-supporting-text-color: rgba(0, 0, 0, .54);--mat-list-list-item-trailing-icon-color: rgba(0, 0, 0, .54);--mat-list-list-item-selected-trailing-icon-color: rgba(0, 0, 0, .54);--mat-list-list-item-disabled-label-text-color: rgba(0, 0, 0, .87);--mat-list-list-item-disabled-leading-icon-color: rgba(0, 0, 0, .87);--mat-list-list-item-disabled-trailing-icon-color: rgba(0, 0, 0, .87);--mat-list-list-item-hover-label-text-color: rgba(0, 0, 0, .87);--mat-list-list-item-hover-leading-icon-color: rgba(0, 0, 0, .54);--mat-list-list-item-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-list-list-item-hover-state-layer-opacity: .04;--mat-list-list-item-hover-trailing-icon-color: rgba(0, 0, 0, .54);--mat-list-list-item-focus-label-text-color: rgba(0, 0, 0, .87);--mat-list-list-item-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-list-list-item-focus-state-layer-opacity: .12}.mdc-list-item__start,.mdc-list-item__end{--mat-radio-checked-ripple-color: #3f51b5;--mat-radio-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-radio-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-radio-disabled-unselected-icon-color: rgba(0, 0, 0, .87);--mat-radio-label-text-color: rgba(0, 0, 0, .87);--mat-radio-ripple-color: rgba(0, 0, 0, .87);--mat-radio-selected-focus-icon-color: #3f51b5;--mat-radio-selected-hover-icon-color: #3f51b5;--mat-radio-selected-icon-color: #3f51b5;--mat-radio-selected-pressed-icon-color: #3f51b5;--mat-radio-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mat-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .87)}.mat-accent .mdc-list-item__start,.mat-accent .mdc-list-item__end{--mat-radio-checked-ripple-color: #ff4081;--mat-radio-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-radio-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-radio-disabled-unselected-icon-color: rgba(0, 0, 0, .87);--mat-radio-label-text-color: rgba(0, 0, 0, .87);--mat-radio-ripple-color: rgba(0, 0, 0, .87);--mat-radio-selected-focus-icon-color: #ff4081;--mat-radio-selected-hover-icon-color: #ff4081;--mat-radio-selected-icon-color: #ff4081;--mat-radio-selected-pressed-icon-color: #ff4081;--mat-radio-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mat-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .87)}.mat-warn .mdc-list-item__start,.mat-warn .mdc-list-item__end{--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-radio-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-radio-disabled-unselected-icon-color: rgba(0, 0, 0, .87);--mat-radio-label-text-color: rgba(0, 0, 0, .87);--mat-radio-ripple-color: rgba(0, 0, 0, .87);--mat-radio-selected-focus-icon-color: #f44336;--mat-radio-selected-hover-icon-color: #f44336;--mat-radio-selected-icon-color: #f44336;--mat-radio-selected-pressed-icon-color: #f44336;--mat-radio-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mat-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .87)}.mat-mdc-list-option{--mat-checkbox-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-label-text-color: rgba(0, 0, 0, .87);--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #3f51b5;--mat-checkbox-selected-hover-icon-color: #3f51b5;--mat-checkbox-selected-icon-color: #3f51b5;--mat-checkbox-selected-pressed-icon-color: #3f51b5;--mat-checkbox-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-checkbox-selected-focus-state-layer-color: #3f51b5;--mat-checkbox-selected-hover-state-layer-color: #3f51b5;--mat-checkbox-selected-pressed-state-layer-color: #3f51b5;--mat-checkbox-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-list-option.mat-accent{--mat-checkbox-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-label-text-color: rgba(0, 0, 0, .87);--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #ff4081;--mat-checkbox-selected-hover-icon-color: #ff4081;--mat-checkbox-selected-icon-color: #ff4081;--mat-checkbox-selected-pressed-icon-color: #ff4081;--mat-checkbox-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-checkbox-selected-focus-state-layer-color: #ff4081;--mat-checkbox-selected-hover-state-layer-color: #ff4081;--mat-checkbox-selected-pressed-state-layer-color: #ff4081;--mat-checkbox-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-list-option.mat-warn{--mat-checkbox-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-label-text-color: rgba(0, 0, 0, .87);--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #f44336;--mat-checkbox-selected-hover-icon-color: #f44336;--mat-checkbox-selected-icon-color: #f44336;--mat-checkbox-selected-pressed-icon-color: #f44336;--mat-checkbox-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-checkbox-selected-focus-state-layer-color: #f44336;--mat-checkbox-selected-hover-state-layer-color: #f44336;--mat-checkbox-selected-pressed-state-layer-color: #f44336;--mat-checkbox-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__start,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__start{color:#3f51b5}.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}html{--mat-list-list-item-leading-icon-start-space: 16px;--mat-list-list-item-leading-icon-end-space: 32px;--mat-list-list-item-one-line-container-height: 48px;--mat-list-list-item-two-line-container-height: 64px;--mat-list-list-item-three-line-container-height: 88px}.mdc-list-item__start,.mdc-list-item__end{--mat-radio-state-layer-size: 40px;--mat-radio-touch-target-display: block}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}html{--mat-list-list-item-label-text-font: Roboto, sans-serif;--mat-list-list-item-label-text-line-height: 24px;--mat-list-list-item-label-text-size: 16px;--mat-list-list-item-label-text-tracking: .03125em;--mat-list-list-item-label-text-weight: 400;--mat-list-list-item-supporting-text-font: Roboto, sans-serif;--mat-list-list-item-supporting-text-line-height: 20px;--mat-list-list-item-supporting-text-size: 14px;--mat-list-list-item-supporting-text-tracking: .0178571429em;--mat-list-list-item-supporting-text-weight: 400;--mat-list-list-item-trailing-supporting-text-font: Roboto, sans-serif;--mat-list-list-item-trailing-supporting-text-line-height: 20px;--mat-list-list-item-trailing-supporting-text-size: 12px;--mat-list-list-item-trailing-supporting-text-tracking: .0333333333em;--mat-list-list-item-trailing-supporting-text-weight: 400}.mdc-list-group__subheader{font:400 16px/28px Roboto,sans-serif;letter-spacing:.009375em}html{--mat-paginator-page-size-select-width: 84px;--mat-paginator-page-size-select-touch-target-height: 48px}html{--mat-paginator-container-text-color: rgba(0, 0, 0, .87);--mat-paginator-container-background-color: white;--mat-paginator-enabled-icon-color: rgba(0, 0, 0, .54);--mat-paginator-disabled-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent)}html{--mat-paginator-container-size: 56px;--mat-paginator-form-field-container-height: 40px;--mat-paginator-form-field-container-vertical-padding: 8px;--mat-paginator-touch-target-display: block}html{--mat-paginator-container-text-font: Roboto, sans-serif;--mat-paginator-container-text-line-height: 20px;--mat-paginator-container-text-size: 12px;--mat-paginator-container-text-tracking: .0333333333em;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: 12px}html{--mat-tab-container-height: 48px;--mat-tab-divider-color: transparent;--mat-tab-divider-height: 0;--mat-tab-active-indicator-height: 2px;--mat-tab-active-indicator-shape: 0}.mat-mdc-tab-group,.mat-mdc-tab-nav-bar{--mat-tab-disabled-ripple-color: rgba(0, 0, 0, .54);--mat-tab-pagination-icon-color: rgba(0, 0, 0, .87);--mat-tab-inactive-label-text-color: rgba(0, 0, 0, .54);--mat-tab-active-label-text-color: #3f51b5;--mat-tab-active-ripple-color: #3f51b5;--mat-tab-inactive-ripple-color: #3f51b5;--mat-tab-inactive-focus-label-text-color: rgba(0, 0, 0, .54);--mat-tab-inactive-hover-label-text-color: rgba(0, 0, 0, .54);--mat-tab-active-focus-label-text-color: #3f51b5;--mat-tab-active-hover-label-text-color: #3f51b5;--mat-tab-active-focus-indicator-color: #3f51b5;--mat-tab-active-hover-indicator-color: #3f51b5;--mat-tab-active-indicator-color: #3f51b5}.mat-mdc-tab-group.mat-accent,.mat-mdc-tab-nav-bar.mat-accent{--mat-tab-disabled-ripple-color: rgba(0, 0, 0, .54);--mat-tab-pagination-icon-color: rgba(0, 0, 0, .87);--mat-tab-inactive-label-text-color: rgba(0, 0, 0, .54);--mat-tab-active-label-text-color: #ff4081;--mat-tab-active-ripple-color: #ff4081;--mat-tab-inactive-ripple-color: #ff4081;--mat-tab-inactive-focus-label-text-color: rgba(0, 0, 0, .54);--mat-tab-inactive-hover-label-text-color: rgba(0, 0, 0, .54);--mat-tab-active-focus-label-text-color: #ff4081;--mat-tab-active-hover-label-text-color: #ff4081;--mat-tab-active-focus-indicator-color: #ff4081;--mat-tab-active-hover-indicator-color: #ff4081;--mat-tab-active-indicator-color: #ff4081}.mat-mdc-tab-group.mat-warn,.mat-mdc-tab-nav-bar.mat-warn{--mat-tab-disabled-ripple-color: rgba(0, 0, 0, .54);--mat-tab-pagination-icon-color: rgba(0, 0, 0, .87);--mat-tab-inactive-label-text-color: rgba(0, 0, 0, .54);--mat-tab-active-label-text-color: #f44336;--mat-tab-active-ripple-color: #f44336;--mat-tab-inactive-ripple-color: #f44336;--mat-tab-inactive-focus-label-text-color: rgba(0, 0, 0, .54);--mat-tab-inactive-hover-label-text-color: rgba(0, 0, 0, .54);--mat-tab-active-focus-label-text-color: #f44336;--mat-tab-active-hover-label-text-color: #f44336;--mat-tab-active-focus-indicator-color: #f44336;--mat-tab-active-hover-indicator-color: #f44336;--mat-tab-active-indicator-color: #f44336}.mat-mdc-tab-group.mat-background-primary,.mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-background-color: #3f51b5;--mat-tab-foreground-color: white}.mat-mdc-tab-group.mat-background-accent,.mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-background-color: #ff4081;--mat-tab-foreground-color: white}.mat-mdc-tab-group.mat-background-warn,.mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-background-color: #f44336;--mat-tab-foreground-color: white}.mat-mdc-tab-header{--mat-tab-container-height: 48px}.mat-mdc-tab-header{--mat-tab-label-text-font: Roboto, sans-serif;--mat-tab-label-text-size: 14px;--mat-tab-label-text-tracking: .0892857143em;--mat-tab-label-text-line-height: 36px;--mat-tab-label-text-weight: 500}html{--mat-checkbox-disabled-selected-checkmark-color: white;--mat-checkbox-selected-focus-state-layer-opacity: .12;--mat-checkbox-selected-hover-state-layer-opacity: .04;--mat-checkbox-selected-pressed-state-layer-opacity: .12;--mat-checkbox-unselected-focus-state-layer-opacity: .12;--mat-checkbox-unselected-hover-state-layer-opacity: .04;--mat-checkbox-unselected-pressed-state-layer-opacity: .12;--mat-checkbox-touch-target-size: 48px}html{--mat-checkbox-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-label-text-color: rgba(0, 0, 0, .87);--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #ff4081;--mat-checkbox-selected-hover-icon-color: #ff4081;--mat-checkbox-selected-icon-color: #ff4081;--mat-checkbox-selected-pressed-icon-color: #ff4081;--mat-checkbox-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-checkbox-selected-focus-state-layer-color: #ff4081;--mat-checkbox-selected-hover-state-layer-color: #ff4081;--mat-checkbox-selected-pressed-state-layer-color: #ff4081;--mat-checkbox-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-checkbox.mat-primary{--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #3f51b5;--mat-checkbox-selected-hover-icon-color: #3f51b5;--mat-checkbox-selected-icon-color: #3f51b5;--mat-checkbox-selected-pressed-icon-color: #3f51b5;--mat-checkbox-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-checkbox-selected-focus-state-layer-color: #3f51b5;--mat-checkbox-selected-hover-state-layer-color: #3f51b5;--mat-checkbox-selected-pressed-state-layer-color: #3f51b5;--mat-checkbox-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-checkbox.mat-warn{--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #f44336;--mat-checkbox-selected-hover-icon-color: #f44336;--mat-checkbox-selected-icon-color: #f44336;--mat-checkbox-selected-pressed-icon-color: #f44336;--mat-checkbox-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-checkbox-selected-focus-state-layer-color: #f44336;--mat-checkbox-selected-hover-state-layer-color: #f44336;--mat-checkbox-selected-pressed-state-layer-color: #f44336;--mat-checkbox-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87)}html{--mat-checkbox-touch-target-display: block;--mat-checkbox-state-layer-size: 40px}html{--mat-checkbox-label-text-font: Roboto, sans-serif;--mat-checkbox-label-text-line-height: 20px;--mat-checkbox-label-text-size: 14px;--mat-checkbox-label-text-tracking: .0178571429em;--mat-checkbox-label-text-weight: 400}html{--mat-button-filled-container-shape: 4px;--mat-button-filled-horizontal-padding: 16px;--mat-button-filled-icon-offset: -4px;--mat-button-filled-icon-spacing: 8px;--mat-button-filled-touch-target-size: 48px;--mat-button-outlined-container-shape: 4px;--mat-button-outlined-horizontal-padding: 15px;--mat-button-outlined-icon-offset: -4px;--mat-button-outlined-icon-spacing: 8px;--mat-button-outlined-keep-touch-target: false;--mat-button-outlined-outline-width: 1px;--mat-button-outlined-touch-target-size: 48px;--mat-button-protected-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-button-protected-container-shape: 4px;--mat-button-protected-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-button-protected-focus-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-button-protected-horizontal-padding: 16px;--mat-button-protected-hover-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-button-protected-icon-offset: -4px;--mat-button-protected-icon-spacing: 8px;--mat-button-protected-pressed-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-button-protected-touch-target-size: 48px;--mat-button-text-container-shape: 4px;--mat-button-text-horizontal-padding: 8px;--mat-button-text-icon-offset: 0;--mat-button-text-icon-spacing: 8px;--mat-button-text-with-icon-horizontal-padding: 8px;--mat-button-text-touch-target-size: 48px;--mat-button-tonal-container-shape: 4px;--mat-button-tonal-horizontal-padding: 16px;--mat-button-tonal-icon-offset: -4px;--mat-button-tonal-icon-spacing: 8px;--mat-button-tonal-touch-target-size: 48px}html{--mat-button-filled-container-color: white;--mat-button-filled-disabled-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-filled-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-filled-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-button-filled-focus-state-layer-opacity: .12;--mat-button-filled-hover-state-layer-opacity: .04;--mat-button-filled-label-text-color: rgba(0, 0, 0, .87);--mat-button-filled-pressed-state-layer-opacity: .12;--mat-button-filled-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-filled-state-layer-color: rgba(0, 0, 0, .87);--mat-button-outlined-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-outlined-disabled-outline-color: rgba(0, 0, 0, .12);--mat-button-outlined-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-button-outlined-focus-state-layer-opacity: .12;--mat-button-outlined-hover-state-layer-opacity: .04;--mat-button-outlined-label-text-color: rgba(0, 0, 0, .87);--mat-button-outlined-outline-color: rgba(0, 0, 0, .12);--mat-button-outlined-pressed-state-layer-opacity: .12;--mat-button-outlined-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-outlined-state-layer-color: rgba(0, 0, 0, .87);--mat-button-protected-container-color: white;--mat-button-protected-disabled-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-protected-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-protected-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-button-protected-focus-state-layer-opacity: .12;--mat-button-protected-hover-state-layer-opacity: .04;--mat-button-protected-label-text-color: rgba(0, 0, 0, .87);--mat-button-protected-pressed-state-layer-opacity: .12;--mat-button-protected-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-protected-state-layer-color: rgba(0, 0, 0, .87);--mat-button-text-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-text-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-button-text-focus-state-layer-opacity: .12;--mat-button-text-hover-state-layer-opacity: .04;--mat-button-text-label-text-color: rgba(0, 0, 0, .87);--mat-button-text-pressed-state-layer-opacity: .12;--mat-button-text-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-text-state-layer-color: rgba(0, 0, 0, .87);--mat-button-tonal-container-color: white;--mat-button-tonal-disabled-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-tonal-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-tonal-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-button-tonal-focus-state-layer-opacity: .12;--mat-button-tonal-hover-state-layer-opacity: .04;--mat-button-tonal-label-text-color: rgba(0, 0, 0, .87);--mat-button-tonal-pressed-state-layer-opacity: .12;--mat-button-tonal-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-tonal-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-button.mat-primary,.mat-mdc-unelevated-button.mat-primary,.mat-mdc-raised-button.mat-primary,.mat-mdc-outlined-button.mat-primary,.mat-tonal-button.mat-primary{--mat-button-filled-container-color: #3f51b5;--mat-button-filled-label-text-color: white;--mat-button-filled-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-state-layer-color: white;--mat-button-outlined-label-text-color: #3f51b5;--mat-button-outlined-outline-color: rgba(0, 0, 0, .12);--mat-button-outlined-ripple-color: color-mix(in srgb, #3f51b5 12%, transparent);--mat-button-outlined-state-layer-color: #3f51b5;--mat-button-protected-container-color: #3f51b5;--mat-button-protected-label-text-color: white;--mat-button-protected-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-state-layer-color: white;--mat-button-text-label-text-color: #3f51b5;--mat-button-text-ripple-color: color-mix(in srgb, #3f51b5 12%, transparent);--mat-button-text-state-layer-color: #3f51b5;--mat-button-tonal-container-color: #3f51b5;--mat-button-tonal-label-text-color: white;--mat-button-tonal-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-state-layer-color: white}.mat-mdc-button.mat-accent,.mat-mdc-unelevated-button.mat-accent,.mat-mdc-raised-button.mat-accent,.mat-mdc-outlined-button.mat-accent,.mat-tonal-button.mat-accent{--mat-button-filled-container-color: #ff4081;--mat-button-filled-label-text-color: white;--mat-button-filled-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-state-layer-color: white;--mat-button-outlined-label-text-color: #ff4081;--mat-button-outlined-outline-color: rgba(0, 0, 0, .12);--mat-button-outlined-ripple-color: color-mix(in srgb, #ff4081 12%, transparent);--mat-button-outlined-state-layer-color: #ff4081;--mat-button-protected-container-color: #ff4081;--mat-button-protected-label-text-color: white;--mat-button-protected-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-state-layer-color: white;--mat-button-text-label-text-color: #ff4081;--mat-button-text-ripple-color: color-mix(in srgb, #ff4081 12%, transparent);--mat-button-text-state-layer-color: #ff4081;--mat-button-tonal-container-color: #ff4081;--mat-button-tonal-label-text-color: white;--mat-button-tonal-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-state-layer-color: white}.mat-mdc-button.mat-warn,.mat-mdc-unelevated-button.mat-warn,.mat-mdc-raised-button.mat-warn,.mat-mdc-outlined-button.mat-warn,.mat-tonal-button.mat-warn{--mat-button-filled-container-color: #f44336;--mat-button-filled-label-text-color: white;--mat-button-filled-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-state-layer-color: white;--mat-button-outlined-label-text-color: #f44336;--mat-button-outlined-outline-color: rgba(0, 0, 0, .12);--mat-button-outlined-ripple-color: color-mix(in srgb, #f44336 12%, transparent);--mat-button-outlined-state-layer-color: #f44336;--mat-button-protected-container-color: #f44336;--mat-button-protected-label-text-color: white;--mat-button-protected-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-state-layer-color: white;--mat-button-text-label-text-color: #f44336;--mat-button-text-ripple-color: color-mix(in srgb, #f44336 12%, transparent);--mat-button-text-state-layer-color: #f44336;--mat-button-tonal-container-color: #f44336;--mat-button-tonal-label-text-color: white;--mat-button-tonal-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-state-layer-color: white}html{--mat-button-filled-container-height: 36px;--mat-button-filled-touch-target-display: block;--mat-button-outlined-container-height: 36px;--mat-button-outlined-touch-target-display: block;--mat-button-protected-container-height: 36px;--mat-button-protected-touch-target-display: block;--mat-button-text-container-height: 36px;--mat-button-text-touch-target-display: block;--mat-button-tonal-container-height: 36px;--mat-button-tonal-touch-target-display: block}html{--mat-button-filled-label-text-font: Roboto, sans-serif;--mat-button-filled-label-text-size: 14px;--mat-button-filled-label-text-tracking: .0892857143em;--mat-button-filled-label-text-transform: none;--mat-button-filled-label-text-weight: 500;--mat-button-outlined-label-text-font: Roboto, sans-serif;--mat-button-outlined-label-text-size: 14px;--mat-button-outlined-label-text-tracking: .0892857143em;--mat-button-outlined-label-text-transform: none;--mat-button-outlined-label-text-weight: 500;--mat-button-protected-label-text-font: Roboto, sans-serif;--mat-button-protected-label-text-size: 14px;--mat-button-protected-label-text-tracking: .0892857143em;--mat-button-protected-label-text-transform: none;--mat-button-protected-label-text-weight: 500;--mat-button-text-label-text-font: Roboto, sans-serif;--mat-button-text-label-text-size: 14px;--mat-button-text-label-text-tracking: .0892857143em;--mat-button-text-label-text-transform: none;--mat-button-text-label-text-weight: 500;--mat-button-tonal-label-text-font: Roboto, sans-serif;--mat-button-tonal-label-text-size: 14px;--mat-button-tonal-label-text-tracking: .0892857143em;--mat-button-tonal-label-text-transform: none;--mat-button-tonal-label-text-weight: 500}html{--mat-icon-button-icon-size: 24px;--mat-icon-button-container-shape: 50%;--mat-icon-button-touch-target-size: 48px}html{--mat-icon-button-disabled-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-icon-button-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-hover-state-layer-opacity: .04;--mat-icon-button-icon-color: inherit;--mat-icon-button-pressed-state-layer-opacity: .12;--mat-icon-button-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-icon-button-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-icon-button.mat-primary{--mat-icon-button-icon-color: #3f51b5;--mat-icon-button-state-layer-color: #3f51b5;--mat-icon-button-ripple-color: color-mix(in srgb, #3f51b5 12%, transparent)}.mat-mdc-icon-button.mat-accent{--mat-icon-button-icon-color: #ff4081;--mat-icon-button-state-layer-color: #ff4081;--mat-icon-button-ripple-color: color-mix(in srgb, #ff4081 12%, transparent)}.mat-mdc-icon-button.mat-warn{--mat-icon-button-icon-color: #f44336;--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: color-mix(in srgb, #f44336 12%, transparent)}html{--mat-icon-button-touch-target-display: block}.mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 48px;--mat-icon-button-state-layer-size: 48px;width:var(--mat-icon-button-state-layer-size);height:var(--mat-icon-button-state-layer-size);padding:12px}html{--mat-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-fab-container-shape: 50%;--mat-fab-touch-target-size: 48px;--mat-fab-extended-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-fab-extended-container-height: 48px;--mat-fab-extended-container-shape: 24px;--mat-fab-extended-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-extended-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-extended-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-fab-small-container-shape: 50%;--mat-fab-small-touch-target-size: 48px;--mat-fab-small-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-small-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}html{--mat-fab-container-color: white;--mat-fab-disabled-state-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-fab-disabled-state-foreground-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-fab-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-fab-focus-state-layer-opacity: .12;--mat-fab-foreground-color: rgba(0, 0, 0, .87);--mat-fab-hover-state-layer-opacity: .04;--mat-fab-pressed-state-layer-opacity: .12;--mat-fab-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-fab-small-container-color: white;--mat-fab-small-disabled-state-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-fab-small-disabled-state-foreground-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-fab-small-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-fab-small-focus-state-layer-opacity: .12;--mat-fab-small-foreground-color: rgba(0, 0, 0, .87);--mat-fab-small-hover-state-layer-opacity: .04;--mat-fab-small-pressed-state-layer-opacity: .12;--mat-fab-small-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-fab-small-state-layer-color: rgba(0, 0, 0, .87);--mat-fab-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-fab.mat-primary,.mat-mdc-mini-fab.mat-primary{--mat-fab-container-color: #3f51b5;--mat-fab-foreground-color: white;--mat-fab-ripple-color: color-mix(in srgb, #3f51b5 12%, transparent);--mat-fab-small-container-color: #3f51b5;--mat-fab-small-foreground-color: white;--mat-fab-small-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-state-layer-color: white;--mat-fab-state-layer-color: white}.mat-mdc-fab.mat-accent,.mat-mdc-mini-fab.mat-accent{--mat-fab-container-color: #ff4081;--mat-fab-foreground-color: white;--mat-fab-ripple-color: color-mix(in srgb, #ff4081 12%, transparent);--mat-fab-small-container-color: #ff4081;--mat-fab-small-foreground-color: white;--mat-fab-small-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-state-layer-color: white;--mat-fab-state-layer-color: white}.mat-mdc-fab.mat-warn,.mat-mdc-mini-fab.mat-warn{--mat-fab-container-color: #f44336;--mat-fab-foreground-color: white;--mat-fab-ripple-color: color-mix(in srgb, #f44336 12%, transparent);--mat-fab-small-container-color: #f44336;--mat-fab-small-foreground-color: white;--mat-fab-small-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-state-layer-color: white;--mat-fab-state-layer-color: white}html{--mat-fab-small-touch-target-display: block;--mat-fab-touch-target-display: block}html{--mat-fab-extended-label-text-font: Roboto, sans-serif;--mat-fab-extended-label-text-size: 14px;--mat-fab-extended-label-text-tracking: .0892857143em;--mat-fab-extended-label-text-weight: 500}html{--mat-snack-bar-container-shape: 4px}html{--mat-snack-bar-container-color: #424242;--mat-snack-bar-supporting-text-color: white;--mat-snack-bar-button-color: #7986cb}html{--mat-snack-bar-supporting-text-font: Roboto, sans-serif;--mat-snack-bar-supporting-text-line-height: 20px;--mat-snack-bar-supporting-text-size: 14px;--mat-snack-bar-supporting-text-weight: 400}html{--mat-table-row-item-outline-width: 1px}html{--mat-table-background-color: white;--mat-table-header-headline-color: rgba(0, 0, 0, .87);--mat-table-row-item-label-text-color: rgba(0, 0, 0, .87);--mat-table-row-item-outline-color: rgba(0, 0, 0, .12)}html{--mat-table-header-container-height: 56px;--mat-table-footer-container-height: 52px;--mat-table-row-item-container-height: 52px}html{--mat-table-header-headline-font: Roboto, sans-serif;--mat-table-header-headline-line-height: 22px;--mat-table-header-headline-size: 14px;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: .0071428571em;--mat-table-row-item-label-text-font: Roboto, sans-serif;--mat-table-row-item-label-text-line-height: 20px;--mat-table-row-item-label-text-size: 14px;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: .0178571429em;--mat-table-footer-supporting-text-font: Roboto, sans-serif;--mat-table-footer-supporting-text-line-height: 20px;--mat-table-footer-supporting-text-size: 14px;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: .0178571429em}html{--mat-progress-spinner-active-indicator-width: 4px;--mat-progress-spinner-size: 48px}html{--mat-progress-spinner-active-indicator-color: #3f51b5}.mat-accent{--mat-progress-spinner-active-indicator-color: #ff4081}.mat-warn{--mat-progress-spinner-active-indicator-color: #f44336}html{--mat-badge-container-shape: 50%;--mat-badge-container-size: unset;--mat-badge-small-size-container-size: unset;--mat-badge-large-size-container-size: unset;--mat-badge-legacy-container-size: 22px;--mat-badge-legacy-small-size-container-size: 16px;--mat-badge-legacy-large-size-container-size: 28px;--mat-badge-container-offset: -11px 0;--mat-badge-small-size-container-offset: -8px 0;--mat-badge-large-size-container-offset: -14px 0;--mat-badge-container-overlap-offset: -11px;--mat-badge-small-size-container-overlap-offset: -8px;--mat-badge-large-size-container-overlap-offset: -14px;--mat-badge-container-padding: 0;--mat-badge-small-size-container-padding: 0;--mat-badge-large-size-container-padding: 0}html{--mat-badge-background-color: #3f51b5;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-badge-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent)}.mat-badge-accent{--mat-badge-background-color: #ff4081;--mat-badge-text-color: white}.mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}html{--mat-badge-text-font: Roboto, sans-serif;--mat-badge-line-height: 22px;--mat-badge-text-size: 12px;--mat-badge-text-weight: 600;--mat-badge-small-size-text-size: 9px;--mat-badge-small-size-line-height: 16px;--mat-badge-large-size-text-size: 24px;--mat-badge-large-size-line-height: 28px}html{--mat-bottom-sheet-container-shape: 4px}html{--mat-bottom-sheet-container-text-color: rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color: white}html{--mat-bottom-sheet-container-text-font: Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height: 20px;--mat-bottom-sheet-container-text-size: 14px;--mat-bottom-sheet-container-text-tracking: .0178571429em;--mat-bottom-sheet-container-text-weight: 400}html{--mat-button-toggle-focus-state-layer-opacity: .12;--mat-button-toggle-hover-state-layer-opacity: .04;--mat-button-toggle-legacy-focus-state-layer-opacity: 1;--mat-button-toggle-legacy-height: 36px;--mat-button-toggle-legacy-shape: 2px;--mat-button-toggle-shape: 4px}html{--mat-button-toggle-background-color: white;--mat-button-toggle-disabled-selected-state-background-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-toggle-disabled-selected-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-toggle-disabled-state-background-color: white;--mat-button-toggle-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-toggle-divider-color: rgba(0, 0, 0, .12);--mat-button-toggle-legacy-disabled-selected-state-background-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-toggle-legacy-disabled-state-background-color: white;--mat-button-toggle-legacy-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-toggle-legacy-selected-state-background-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-toggle-legacy-selected-state-text-color: rgba(0, 0, 0, .87);--mat-button-toggle-legacy-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-toggle-legacy-text-color: rgba(0, 0, 0, .87);--mat-button-toggle-selected-state-background-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-toggle-selected-state-text-color: rgba(0, 0, 0, .87);--mat-button-toggle-state-layer-color: rgba(0, 0, 0, .87);--mat-button-toggle-text-color: rgba(0, 0, 0, .87)}html{--mat-button-toggle-height: 48px}html{--mat-button-toggle-label-text-font: Roboto, sans-serif;--mat-button-toggle-label-text-line-height: 24px;--mat-button-toggle-label-text-size: 16px;--mat-button-toggle-label-text-tracking: .03125em;--mat-button-toggle-label-text-weight: 400;--mat-button-toggle-legacy-label-text-font: Roboto, sans-serif;--mat-button-toggle-legacy-label-text-line-height: 24px;--mat-button-toggle-legacy-label-text-size: 16px;--mat-button-toggle-legacy-label-text-tracking: .03125em;--mat-button-toggle-legacy-label-text-weight: 400}html{--mat-datepicker-calendar-container-shape: 4px;--mat-datepicker-calendar-container-touch-shape: 4px;--mat-datepicker-calendar-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-container-touch-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}html{--mat-datepicker-calendar-date-in-range-state-background-color: color-mix(in srgb, #3f51b5 20%, transparent);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: color-mix(in srgb, #ff4081 20%, transparent);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032);--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #3f51b5;--mat-datepicker-calendar-date-selected-disabled-state-background-color: color-mix(in srgb, #3f51b5 38%, transparent);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: color-mix(in srgb, #3f51b5 12%, transparent);--mat-datepicker-calendar-date-hover-state-background-color: color-mix(in srgb, #3f51b5 4%, transparent);--mat-datepicker-toggle-active-state-icon-color: #3f51b5;--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-disabled-state-outline-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .54);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-range-input-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-accent,.mat-datepicker-toggle-active.mat-accent{--mat-datepicker-calendar-date-in-range-state-background-color: color-mix(in srgb, #ff4081 20%, transparent);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: color-mix(in srgb, #ff4081 20%, transparent);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032);--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #ff4081;--mat-datepicker-calendar-date-selected-disabled-state-background-color: color-mix(in srgb, #ff4081 38%, transparent);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: color-mix(in srgb, #ff4081 12%, transparent);--mat-datepicker-calendar-date-hover-state-background-color: color-mix(in srgb, #ff4081 4%, transparent);--mat-datepicker-toggle-active-state-icon-color: #ff4081;--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-disabled-state-outline-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .54);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-range-input-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-warn,.mat-datepicker-toggle-active.mat-warn{--mat-datepicker-calendar-date-in-range-state-background-color: color-mix(in srgb, #f44336 20%, transparent);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: color-mix(in srgb, #ff4081 20%, transparent);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032);--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: color-mix(in srgb, #f44336 38%, transparent);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: color-mix(in srgb, #f44336 12%, transparent);--mat-datepicker-calendar-date-hover-state-background-color: color-mix(in srgb, #f44336 4%, transparent);--mat-datepicker-toggle-active-state-icon-color: #f44336;--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-disabled-state-outline-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .54);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-range-input-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-calendar-controls{--mat-icon-button-touch-target-display: none}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 40px;--mat-icon-button-state-layer-size: 40px;width:var(--mat-icon-button-state-layer-size);height:var(--mat-icon-button-state-layer-size);padding:8px}html{--mat-datepicker-calendar-text-font: Roboto, sans-serif;--mat-datepicker-calendar-text-size: 13px;--mat-datepicker-calendar-body-label-text-size: 14px;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: 14px;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: 11px;--mat-datepicker-calendar-header-text-weight: 400}html{--mat-divider-width: 1px}html{--mat-divider-color: rgba(0, 0, 0, .12)}html{--mat-expansion-container-shape: 4px;--mat-expansion-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-expansion-legacy-header-indicator-display: inline-block;--mat-expansion-header-indicator-display: none}html{--mat-expansion-container-background-color: white;--mat-expansion-container-text-color: rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color: rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-expansion-header-focus-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-expansion-header-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-expansion-header-text-color: rgba(0, 0, 0, .87);--mat-expansion-header-description-color: rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color: rgba(0, 0, 0, .54)}html{--mat-expansion-header-collapsed-state-height: 48px;--mat-expansion-header-expanded-state-height: 64px}html{--mat-expansion-header-text-font: Roboto, sans-serif;--mat-expansion-header-text-size: 14px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Roboto, sans-serif;--mat-expansion-container-text-line-height: 20px;--mat-expansion-container-text-size: 14px;--mat-expansion-container-text-tracking: .0178571429em;--mat-expansion-container-text-weight: 400}html{--mat-grid-list-tile-header-primary-text-size: 14px;--mat-grid-list-tile-header-secondary-text-size: 12px;--mat-grid-list-tile-footer-primary-text-size: 14px;--mat-grid-list-tile-footer-secondary-text-size: 12px}html{--mat-icon-color: inherit}.mat-icon.mat-primary{--mat-icon-color: #3f51b5}.mat-icon.mat-accent{--mat-icon-color: #ff4081}.mat-icon.mat-warn{--mat-icon-color: #f44336}html{--mat-sidenav-container-shape: 0;--mat-sidenav-container-elevation-shadow: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-sidenav-container-width: auto}html{--mat-sidenav-container-divider-color: rgba(0, 0, 0, .12);--mat-sidenav-container-background-color: white;--mat-sidenav-container-text-color: rgba(0, 0, 0, .87);--mat-sidenav-content-background-color: #fafafa;--mat-sidenav-content-text-color: rgba(0, 0, 0, .87);--mat-sidenav-scrim-color: rgba(0, 0, 0, .6)}html{--mat-stepper-header-focus-state-layer-shape: 0;--mat-stepper-header-hover-state-layer-shape: 0}html{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #3f51b5;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #3f51b5;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #3f51b5;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: white;--mat-stepper-line-color: rgba(0, 0, 0, .12);--mat-stepper-header-hover-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-stepper-header-focus-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-stepper-header-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-optional-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-selected-state-label-text-color: rgba(0, 0, 0, .87);--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(0, 0, 0, .54);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}.mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #ff4081;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #ff4081;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #ff4081;--mat-stepper-header-edit-state-icon-foreground-color: white}.mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}html{--mat-stepper-header-height: 72px}html{--mat-stepper-container-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-size: 14px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-weight: 400}html{--mat-sort-arrow-color: rgba(0, 0, 0, .87)}html{--mat-toolbar-container-background-color: white;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #3f51b5;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #ff4081;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}html{--mat-toolbar-standard-height: 64px;--mat-toolbar-mobile-height: 56px}html{--mat-toolbar-title-text-font: Roboto, sans-serif;--mat-toolbar-title-text-line-height: 32px;--mat-toolbar-title-text-size: 20px;--mat-toolbar-title-text-tracking: .0125em;--mat-toolbar-title-text-weight: 500}html{--mat-tree-container-background-color: white;--mat-tree-node-text-color: rgba(0, 0, 0, .87)}html{--mat-tree-node-min-height: 48px}html{--mat-tree-node-text-font: Roboto, sans-serif;--mat-tree-node-text-size: 14px;--mat-tree-node-text-weight: 400}html{--mat-timepicker-container-shape: 4px;--mat-timepicker-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-timepicker-container-background-color: white}html,body{margin:0;font-family:Roboto,Helvetica,Arial,sans-serif;font-size:14px;height:100%}.app-loading .logo{width:113px;height:120px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAABhWlDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AYht+malUqCnYQcchQnexiRRxLFYtgobQVWnUwufRHaNKQpLg4Cq4FB38Wqw4uzro6uAqC4A+Is4OToouU+F1SaBHjHcc9vPe9L3ffAUKjwlSzKwaommWkE3Exl18RA6/owxDNHkQlZurJzEIWnuPrHj6+30V4lnfdn2NAKZgM8InEMaYbFvE68cympXPeJw6xsqQQnxNPGnRB4keuyy6/cS45LPDMkJFNzxGHiMVSB8sdzMqGSjxNHFZUjfKFnMsK5y3OaqXGWvfkLwwWtOUM12mNIYFFJJGCCBk1bKACCxHaNVJMpOk87uEfdfwpcsnk2gAjxzyqUCE5fvA/+N1bsxidcpOCcaD7xbY/xoHALtCs2/b3sW03TwD/M3Cltf3VBjD7SXq9rYWPgMFt4OK6rcl7wOUOMPKkS4bkSH5aQrEIvJ/RN+WB4Vugf9XtW+scpw9Alnq1dAMcHAITJcpe83h3b2ff/q1p9e8HsopywPmxfBcAAAGDUExURQAAABkMiRwRhiYRgR4WghwdhyUcgSohcycjeiMkhSkmdSopZy8sYBovjzEzVyUykTE3UyQ3kTM1dTM3ZDU9SDZBQCY/lS9DgD9GLT5DazxKMCNOpEFWG0BWLkVQZSVVoUFXKERYFkJYI0ZZEB1ZqztZQD5ZNUZZGD1ZOjxZRTJZbTtZUzVaXjxaS0dbGTdaZyZboSlapkVeFDBZoEldGyxdmDBdiy9cnCJgrDBekjRehjdeeylfpDNfgVFbXDxjdDllfEFkcUJnakdoYTlpkklqW1RtFzxrh01qVk9sT1VuQ1RuSVZvP1pxN2ByKl5zMGR0EmJ0JGN1HWZ2FUR4gmd3F2l5DWl5GWF9Gk18e259E01/eGJ+T2uBFnGGEWqIFmeFSFaIb1qMZ22KPnKOGXSRL3iTE2OUXnOXF3CaRGqbUHibMn2dEnujGn+mDXmqPISrFoGvGYGwNIazEIO2LIu5HJC8DIy/EJLFG5XHCJbIDZjKEZLMEZvMAJbQGZrTB53VAJ6wE90AAAABdFJOUwBA5thmAAALzklEQVR42tVb/VvbRhJ2gHD56EeSNtyFmGJjJyJAQMLYxjYuAQoJ3wad5JQUSBsfoRcgEOMg7erk/uk3uysZ21qBVoHcc/MreTyvZt6ZeWekRCJfYnXbts6ODg/3Xy8sjEeu2ywTmaZpGKaBLNvGZyeHu7uvwRbAxkdHpbjHJOkq/BKnJjGrTsyu1/+qGydHh/u7m+OjUpQZ+JKkUcm1UWITExMuqHCeqVuLPLKJiGFqlmWeney/Hid+2p+Xa42/CwXbQPSxsU3MsjAmCAgghI2T3YVx9uTxS60RESkwBtMyDAORWNsWpj6bDaNqZUFyfcNPJxLjrZbwhob9U8iJdCkGRHyDZ+TxzAyh6u4o8y4lIAyxWF9vq/2jty8WG4B/kgDzJml09AIIEHRkkkwjX/9WbTcRZY8eHYj1Pvzx3nff3G21R0MjI8PPnzzpGxgYcNjZlpG45Ov+gmd3ABwuRBmAaO+9u3du3brV3d3VbLd7UmmwXC6TyRfGhp89jUXbwkCKhRMEA0HosXmJIWNfipLfiD387u6tDmadzLq6Oju6vu3plycVaslkKpvLF4fGRp4PxoAqTTBGvRAwutw7YwAAkOK99/7W1dHlsZvf98utRoDIucLIc8hI/BwDyUNr+G18YegbAE62pShE/5sunnXfT8l8y2bTheHBAYLdRdBCBNO2A7gnAGqV0agE/js6vf4h/VN8/yQj2XSmMBxrikFTNRiWbZiBDOHD8ejAj92c8IN/2ce/i0LODAEEyZsFhJEZEIBdfZ3o/YEH4DL/DEN6bNCtinMEqI7NoAZ9eOHhHc7z3+yRAxhwpPhswM3DhAPAqFumAIL9Z3d4/lNTQRDIipwfdhG4TfHEQCgwAAvVPvzcfaPVfWfX/f5g/kkaMs/dITbKAFSOkUAIELY//tTeBL7tlwObIhefNADQWiztGwIAoB0bHx7d6GwjoIApypCTBKcUSzvHBhZD8PZBR3MMfBuQDwJIgouAAijv1SwkgMCyar/daUJw+/GULGaFWIIBoCxQVf3wTAgBqp++utXRVAGC/pO5wXgzgC11+8gQAQBK7fTn2y6C2/2iAVDSTimyXqRuaYQGIkQ0bOvwp65OtwTEAYz1NQGIaGVNrVSRUAws+8OjThqDm/fFAWQLg1LTUNTKZUJELFiM71gpdAdtgs2Wf5JonokkCdsHZ0IxAHn49sGNLwTgdgK1XFbV7UNBIlq15TugC64CQETb0tTSthgRoR2czHd3dHT39F8BABKD0o4gEbH94afujhAkbAYQZSMZAGglTbAjImx9eBSqDLPFRhW4skgjtVjeP0MiU8Goo3896rgZAsDQ03YAEVXXVLV88FmwHeB3P3T1iDeikVhzI3JCoGtQjEdnIiEgWXj34PvH4q046gEQIQBU0pPF2kG99vbvPaIAck/YhiCNNu8nmg5EhJ4sRETSkH7LK4KCIDcoxb0AyEwAHkApYDEa1N7n+hWxcfw0wQUA/YiWglgMMD79Pd0vFIFMXyLu4QDtBppGp4JYO0Do0++5ZAhFJHmOFTQEVJ4IFuOnNymBJGSH/ACoOnREVa0cm0I0gG3h469ZJTCE9MiAD4CISolYqlRNsVLAgCAwDxqqmHcvoghgKpwJDUaGIBswBEpx0AXAORWBOAEEuiARTfM/6OMbOVA/SCmFvvgFAMqEiCWQJ1gMgYU/vkknlSAAhgacRsi92IFCJKWwK7YukWqEWsgFYaIyFI/7cJBamXXESlUQgYnRpz9+CYAAADgZiPIPlowGIE8EkwAy8fTPN7lkcpLYlO+Qzo5cQAG6LJY0gqAsTERSDJ/+eHnek6a4MDLPLwEQITwEIuoHhjACZJ2dOr/iLwifMQATvgCqB1uqSkrhSEwns2Ko/9X0U8Th5GQLA+TCIAUgTfi8T0HYPtsrkzSUdk5M0RgYyLaM1h9M0WRMNgThWIwB4FchMshrglpFU8loFl0ZqdWR2f6rjBFTDMBwNO7n3zQg6+AfG8c7KkGg7X8WR4Btw/T+9rkkHna0QNTrHuE6PdrC6nkAyxJ0AyCiaDGahmVjbnIdAM8SvAhY2HC8U6lZd5IQiogm8kcwBYo0wZFjn2nqkVvNtdM/326qtB1snyDxLCDb9EEwKRcHE953irsH0HipH/qC7vT9P3Mvlzd12hErVSxORNxeCi4CJVuggrBtEGjblYOaZZFXRnX06f2vvyiPlRerJAKEiLUQpYB9YpBMj9GtqA0A8K28d1QzLHz68d+knSsAdXadhAA04kEIGsCj8BFk2IGqHcAWrOflveMatPKGsEnP0SSIXw7cnshHwORQ2yAgAGA33Xn7Mi03lgyluOgg2KlaYUrB5CKIUQDtg4CoEE3Vl/qbNE1KBhpQIqoVwXXJSQLmMTE6wRuFVIxq+lK2ecFIZmfXdEpEdU/scuDGgFcL8QmeGuICgD16fpMhEFepvlkgalzyaAFouhwAIB4WaRI0SkRxBBYnBPEJCUaxBwDZyjR9NZ9qVdaKQwNV3amGAACl0I4gLiXIxw1xrhDUV1+0bRdKdmadhUAVvKU2RFo7AraU8JWovj7dvt4o6bkN3emIZyE6IrKQEeSzBbYO6GuzacVzzlikLZnt7WYYIgYDQFioby5mPACU4pLeIGKIGNg4YAhIDrTVIufSML1OEajhBiO3FPwA6JvTCueq5vSjkrYfqhtYZpAsUPmhb86leVetRfpXtbQVbjAGowFphrq6yLm5AQ1WzmkQAkHdCJIEtaxDz1mf4ayXijKzxmig7oYR6hgHCwGpA22ee+hIz244NNgLo4+C5YBczHV9KS+neHcdRxuo5YMQtWibgXJACkHfmOOFQJHzS0wihhLqIHiDV+IK9+iopKZXHSLuVE1RbQD7phEwB9COp33OXbPuUKiID0YcsBK3gAWby5kk/8btqBNyuhClQcBWQC72mrYx63PbyS872mD7SDQJ0A0Dz0RdWynIvCQoIFJZEsgpVfSSaQYbCJSH6qs0lwWKPLvGSoHIZMFjrhEwBJSHHmF0rk5UPdQFCwAEKkSmjHRtOcMvhGRmmSEAGiB0HRGAXlBmQ9EnCUWHBuSFP74OALQSYCZN80NAVlbN3VUEkiAAgK4ouraYkX1oML/JJKLQrhK0DNlYJpWwMc9PQirpdAOiDUwU/DO44ACckbA249ORlYKzsmoCRzxsW8EBqOT3dX294EcDZ1dRtcAtGQUch40kUBosFZN+NNhwJvNhwMmMA24nLQg0bZH//kEBdaK6kzlYCIIJEk8MNl7lfPqRSwM92EsFC6OIIACHiLN+/WjaWVlhLl4eA1QX9e+uitr6bJb7JsxdWdXS7uXnI2QJNIG2JOir/BikUo1dZe+ySkB2GP+No806vx0ocmGFffJw2c4M+3ko/+cxKPi8eWHagCYBXVkH8Exmoo9ecN+MJx2JWLrwgwOELSMSGkCZjmZ95UWaw8SUuymUyv7SIHz8XRpQHvCZCC15lVWC77bmdywVbQc+/UBJv2IqWfdZ2r/w+VsQgEJSvC3ZPeXuVDlf4hnYRkbki61MVwVAkPdSMZVly5Kq73NK0bKNK/Dv9ERQiUtFTiXk3Y7sKUVof4YZuRJzsrC5OuMRacncovNex6MMLBEFclkWtmgM9PXZdiK42kTVto9bNDKyw7cf364M43k+3/qtTErOrDgq/aAJAHQfy4hcpWkMgba59KIVgZJd1j0zifyPDRSJXDECes3X1dW5FpWkyMuNdbVRiZZlRq7coCEwLm4sTjdBUORFXXNWNeeLD0j/NfhvTAbalIpARsVphksuAKZPofquOP0eKgITVucyWfL0QIHp1RYA5D0VilyXaU5P0rWNlbminFSSCqgSrQkANP/rc88gbLGC1DdX5menZ+aWmDxnHLCs60p/MxHYGYlWxNqG655VQd0yrci1m+YsLTog0PRzAHtnwU6BV1OQDhvPTS0f2ghHvpIBGdsglOgr/sjXMyjIFgzlneOv6Z5RQXWqkpbAQS3y1U0lZKCmbVUi/xtzLnZq5P/a/gvm8NIms2W1xQAAAABJRU5ErkJggg==)}i.material-icons{vertical-align:middle!important}.highlight{color:red}.mat-mdc-menu-content .mat-mdc-menu-item:hover{background-color:#e8e8e8}.mat-mdc-option:hover:not(.mat-mdc-option-disabled){background:#648cb0!important;color:#fff!important}.dark-theme{--mat-app-background-color: #303030;--mat-app-text-color: white;--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-option-selected-state-label-text-color: #3f51b5;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: color-mix(in srgb, white 4%, transparent);--mat-option-focus-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-option-selected-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-optgroup-label-text-color: white;--mat-pseudo-checkbox-full-selected-icon-color: #ff4081;--mat-pseudo-checkbox-full-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(255, 255, 255, .7);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #ff4081;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, white 38%, transparent);--mat-card-elevated-container-color: #424242;--mat-card-elevated-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-card-outlined-container-color: #424242;--mat-card-outlined-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-outlined-outline-color: rgba(255, 255, 255, .12);--mat-card-subtitle-text-color: rgba(255, 255, 255, .7);--mat-card-filled-container-color: #424242;--mat-card-filled-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-tooltip-container-color: white;--mat-tooltip-supporting-text-color: rgba(0, 0, 0, .87);--mat-form-field-focus-select-arrow-color: color-mix(in srgb, #3f51b5 87%, transparent);--mat-form-field-filled-caret-color: #3f51b5;--mat-form-field-filled-focus-active-indicator-color: #3f51b5;--mat-form-field-filled-focus-label-text-color: color-mix(in srgb, #3f51b5 87%, transparent);--mat-form-field-outlined-caret-color: #3f51b5;--mat-form-field-outlined-focus-outline-color: #3f51b5;--mat-form-field-outlined-focus-label-text-color: color-mix(in srgb, #3f51b5 87%, transparent);--mat-form-field-disabled-input-text-placeholder-color: color-mix(in srgb, white 38%, transparent);--mat-form-field-state-layer-color: white;--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: rgba(0, 0, 0, .87);--mat-form-field-select-disabled-option-text-color: rgba(0, 0, 0, .38);--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: rgba(255, 255, 255, .7);--mat-form-field-disabled-select-arrow-color: color-mix(in srgb, white 38%, transparent);--mat-form-field-hover-state-layer-opacity: .04;--mat-form-field-focus-state-layer-opacity: .12;--mat-form-field-filled-container-color: #4a4a4a;--mat-form-field-filled-disabled-container-color: color-mix(in srgb, white 4%, transparent);--mat-form-field-filled-label-text-color: rgba(255, 255, 255, .7);--mat-form-field-filled-hover-label-text-color: rgba(255, 255, 255, .7);--mat-form-field-filled-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-form-field-filled-input-text-color: white;--mat-form-field-filled-disabled-input-text-color: color-mix(in srgb, white 38%, transparent);--mat-form-field-filled-input-text-placeholder-color: rgba(255, 255, 255, .7);--mat-form-field-filled-error-hover-label-text-color: #f44336;--mat-form-field-filled-error-focus-label-text-color: #f44336;--mat-form-field-filled-error-label-text-color: #f44336;--mat-form-field-filled-error-caret-color: #f44336;--mat-form-field-filled-active-indicator-color: rgba(255, 255, 255, .7);--mat-form-field-filled-disabled-active-indicator-color: color-mix(in srgb, white 12%, transparent);--mat-form-field-filled-hover-active-indicator-color: white;--mat-form-field-filled-error-active-indicator-color: #f44336;--mat-form-field-filled-error-focus-active-indicator-color: #f44336;--mat-form-field-filled-error-hover-active-indicator-color: #f44336;--mat-form-field-outlined-label-text-color: rgba(255, 255, 255, .7);--mat-form-field-outlined-hover-label-text-color: white;--mat-form-field-outlined-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-form-field-outlined-input-text-color: white;--mat-form-field-outlined-disabled-input-text-color: color-mix(in srgb, white 38%, transparent);--mat-form-field-outlined-input-text-placeholder-color: rgba(255, 255, 255, .7);--mat-form-field-outlined-error-caret-color: #f44336;--mat-form-field-outlined-error-focus-label-text-color: #f44336;--mat-form-field-outlined-error-label-text-color: #f44336;--mat-form-field-outlined-error-hover-label-text-color: #f44336;--mat-form-field-outlined-outline-color: rgba(255, 255, 255, .38);--mat-form-field-outlined-disabled-outline-color: color-mix(in srgb, white 12%, transparent);--mat-form-field-outlined-hover-outline-color: white;--mat-form-field-outlined-error-focus-outline-color: #f44336;--mat-form-field-outlined-error-hover-outline-color: #f44336;--mat-form-field-outlined-error-outline-color: #f44336;--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: white;--mat-select-disabled-trigger-text-color: color-mix(in srgb, white 38%, transparent);--mat-select-placeholder-text-color: rgba(255, 255, 255, .7);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .7);--mat-select-disabled-arrow-color: color-mix(in srgb, white 38%, transparent);--mat-select-focused-arrow-color: #3f51b5;--mat-select-invalid-arrow-color: #f44336;--mat-autocomplete-background-color: #424242;--mat-dialog-container-color: #424242;--mat-dialog-subhead-color: white;--mat-dialog-supporting-text-color: rgba(255, 255, 255, .7);--mat-slide-toggle-selected-icon-color: white;--mat-slide-toggle-disabled-selected-icon-color: white;--mat-slide-toggle-selected-focus-state-layer-color: #3f51b5;--mat-slide-toggle-selected-handle-color: #3f51b5;--mat-slide-toggle-selected-hover-state-layer-color: #3f51b5;--mat-slide-toggle-selected-pressed-state-layer-color: #3f51b5;--mat-slide-toggle-selected-focus-handle-color: #3f51b5;--mat-slide-toggle-selected-hover-handle-color: #3f51b5;--mat-slide-toggle-selected-pressed-handle-color: #3f51b5;--mat-slide-toggle-selected-focus-track-color: #3949ab;--mat-slide-toggle-selected-hover-track-color: #3949ab;--mat-slide-toggle-selected-pressed-track-color: #3949ab;--mat-slide-toggle-selected-track-color: #3949ab;--mat-slide-toggle-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-slide-toggle-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-slide-toggle-disabled-selected-handle-color: white;--mat-slide-toggle-disabled-selected-track-color: white;--mat-slide-toggle-disabled-unselected-handle-color: white;--mat-slide-toggle-disabled-unselected-icon-color: #4a4a4a;--mat-slide-toggle-disabled-unselected-track-color: white;--mat-slide-toggle-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-slide-toggle-handle-surface-color: #424242;--mat-slide-toggle-label-text-color: white;--mat-slide-toggle-unselected-hover-handle-color: white;--mat-slide-toggle-unselected-focus-handle-color: white;--mat-slide-toggle-unselected-focus-state-layer-color: white;--mat-slide-toggle-unselected-focus-track-color: rgba(255, 255, 255, .12);--mat-slide-toggle-unselected-icon-color: #4a4a4a;--mat-slide-toggle-unselected-handle-color: rgba(255, 255, 255, .7);--mat-slide-toggle-unselected-hover-state-layer-color: white;--mat-slide-toggle-unselected-hover-track-color: rgba(255, 255, 255, .12);--mat-slide-toggle-unselected-pressed-handle-color: white;--mat-slide-toggle-unselected-pressed-track-color: rgba(255, 255, 255, .12);--mat-slide-toggle-unselected-pressed-state-layer-color: white;--mat-slide-toggle-unselected-track-color: rgba(255, 255, 255, .12);--mat-slider-active-track-color: #3f51b5;--mat-slider-focus-handle-color: #3f51b5;--mat-slider-handle-color: #3f51b5;--mat-slider-hover-handle-color: #3f51b5;--mat-slider-focus-state-layer-color: color-mix(in srgb, #3f51b5 12%, transparent);--mat-slider-hover-state-layer-color: color-mix(in srgb, #3f51b5 4%, transparent);--mat-slider-inactive-track-color: #3f51b5;--mat-slider-ripple-color: #3f51b5;--mat-slider-with-tick-marks-active-container-color: white;--mat-slider-with-tick-marks-inactive-container-color: #3f51b5;--mat-slider-disabled-active-track-color: white;--mat-slider-disabled-handle-color: white;--mat-slider-disabled-inactive-track-color: white;--mat-slider-label-container-color: white;--mat-slider-label-label-text-color: rgba(0, 0, 0, .87);--mat-slider-value-indicator-opacity: 1;--mat-slider-with-overlap-handle-outline-color: white;--mat-slider-with-tick-marks-disabled-container-color: white;--mat-menu-item-label-text-color: white;--mat-menu-item-icon-color: white;--mat-menu-item-hover-state-layer-color: color-mix(in srgb, white 4%, transparent);--mat-menu-item-focus-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-menu-container-color: #424242;--mat-menu-divider-color: rgba(255, 255, 255, .12);--mat-list-list-item-label-text-color: white;--mat-list-list-item-supporting-text-color: rgba(255, 255, 255, .7);--mat-list-list-item-leading-icon-color: rgba(255, 255, 255, .7);--mat-list-list-item-trailing-supporting-text-color: rgba(255, 255, 255, .7);--mat-list-list-item-trailing-icon-color: rgba(255, 255, 255, .7);--mat-list-list-item-selected-trailing-icon-color: rgba(255, 255, 255, .7);--mat-list-list-item-disabled-label-text-color: white;--mat-list-list-item-disabled-leading-icon-color: white;--mat-list-list-item-disabled-trailing-icon-color: white;--mat-list-list-item-hover-label-text-color: white;--mat-list-list-item-hover-leading-icon-color: rgba(255, 255, 255, .7);--mat-list-list-item-hover-state-layer-color: white;--mat-list-list-item-hover-state-layer-opacity: .04;--mat-list-list-item-hover-trailing-icon-color: rgba(255, 255, 255, .7);--mat-list-list-item-focus-label-text-color: white;--mat-list-list-item-focus-state-layer-color: white;--mat-list-list-item-focus-state-layer-opacity: .12;--mat-paginator-container-text-color: white;--mat-paginator-container-background-color: #424242;--mat-paginator-enabled-icon-color: rgba(255, 255, 255, .7);--mat-paginator-disabled-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-label-text-color: white;--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #ff4081;--mat-checkbox-selected-hover-icon-color: #ff4081;--mat-checkbox-selected-icon-color: #ff4081;--mat-checkbox-selected-pressed-icon-color: #ff4081;--mat-checkbox-unselected-focus-icon-color: white;--mat-checkbox-unselected-hover-icon-color: white;--mat-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-checkbox-selected-focus-state-layer-color: #ff4081;--mat-checkbox-selected-hover-state-layer-color: #ff4081;--mat-checkbox-selected-pressed-state-layer-color: #ff4081;--mat-checkbox-unselected-focus-state-layer-color: white;--mat-checkbox-unselected-hover-state-layer-color: white;--mat-checkbox-unselected-pressed-state-layer-color: white;--mat-button-filled-container-color: #424242;--mat-button-filled-disabled-container-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-filled-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-button-filled-focus-state-layer-opacity: .12;--mat-button-filled-hover-state-layer-opacity: .04;--mat-button-filled-label-text-color: white;--mat-button-filled-pressed-state-layer-opacity: .12;--mat-button-filled-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-state-layer-color: white;--mat-button-outlined-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-outlined-disabled-outline-color: rgba(255, 255, 255, .12);--mat-button-outlined-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-button-outlined-focus-state-layer-opacity: .12;--mat-button-outlined-hover-state-layer-opacity: .04;--mat-button-outlined-label-text-color: white;--mat-button-outlined-outline-color: rgba(255, 255, 255, .12);--mat-button-outlined-pressed-state-layer-opacity: .12;--mat-button-outlined-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-outlined-state-layer-color: white;--mat-button-protected-container-color: #424242;--mat-button-protected-disabled-container-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-protected-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-button-protected-focus-state-layer-opacity: .12;--mat-button-protected-hover-state-layer-opacity: .04;--mat-button-protected-label-text-color: white;--mat-button-protected-pressed-state-layer-opacity: .12;--mat-button-protected-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-state-layer-color: white;--mat-button-text-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-text-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-button-text-focus-state-layer-opacity: .12;--mat-button-text-hover-state-layer-opacity: .04;--mat-button-text-label-text-color: white;--mat-button-text-pressed-state-layer-opacity: .12;--mat-button-text-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-text-state-layer-color: white;--mat-button-tonal-container-color: #424242;--mat-button-tonal-disabled-container-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-tonal-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-button-tonal-focus-state-layer-opacity: .12;--mat-button-tonal-hover-state-layer-opacity: .04;--mat-button-tonal-label-text-color: white;--mat-button-tonal-pressed-state-layer-opacity: .12;--mat-button-tonal-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-state-layer-color: white;--mat-icon-button-disabled-icon-color: color-mix(in srgb, white 38%, transparent);--mat-icon-button-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-hover-state-layer-opacity: .04;--mat-icon-button-icon-color: inherit;--mat-icon-button-pressed-state-layer-opacity: .12;--mat-icon-button-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-icon-button-state-layer-color: white;--mat-fab-container-color: #424242;--mat-fab-disabled-state-container-color: color-mix(in srgb, white 12%, transparent);--mat-fab-disabled-state-foreground-color: color-mix(in srgb, white 38%, transparent);--mat-fab-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-fab-focus-state-layer-opacity: .12;--mat-fab-foreground-color: white;--mat-fab-hover-state-layer-opacity: .04;--mat-fab-pressed-state-layer-opacity: .12;--mat-fab-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-container-color: #424242;--mat-fab-small-disabled-state-container-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-disabled-state-foreground-color: color-mix(in srgb, white 38%, transparent);--mat-fab-small-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-fab-small-focus-state-layer-opacity: .12;--mat-fab-small-foreground-color: white;--mat-fab-small-hover-state-layer-opacity: .04;--mat-fab-small-pressed-state-layer-opacity: .12;--mat-fab-small-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-state-layer-color: white;--mat-fab-state-layer-color: white;--mat-snack-bar-container-color: white;--mat-snack-bar-supporting-text-color: rgba(0, 0, 0, .87);--mat-snack-bar-button-color: #3949ab;--mat-table-background-color: #424242;--mat-table-header-headline-color: white;--mat-table-row-item-label-text-color: white;--mat-table-row-item-outline-color: rgba(255, 255, 255, .12);--mat-progress-spinner-active-indicator-color: #3f51b5;--mat-badge-background-color: #3f51b5;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: color-mix(in srgb, white 12%, transparent);--mat-badge-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-bottom-sheet-container-text-color: white;--mat-bottom-sheet-container-background-color: #424242;--mat-button-toggle-background-color: #424242;--mat-button-toggle-disabled-selected-state-background-color: color-mix(in srgb, white 12%, transparent);--mat-button-toggle-disabled-selected-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-toggle-disabled-state-background-color: #424242;--mat-button-toggle-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-toggle-divider-color: rgba(255, 255, 255, .12);--mat-button-toggle-legacy-disabled-selected-state-background-color: color-mix(in srgb, white 12%, transparent);--mat-button-toggle-legacy-disabled-state-background-color: #424242;--mat-button-toggle-legacy-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-toggle-legacy-selected-state-background-color: color-mix(in srgb, white 12%, transparent);--mat-button-toggle-legacy-selected-state-text-color: white;--mat-button-toggle-legacy-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-button-toggle-legacy-text-color: white;--mat-button-toggle-selected-state-background-color: color-mix(in srgb, white 12%, transparent);--mat-button-toggle-selected-state-text-color: white;--mat-button-toggle-state-layer-color: white;--mat-button-toggle-text-color: white;--mat-datepicker-calendar-date-in-range-state-background-color: color-mix(in srgb, #3f51b5 20%, transparent);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: color-mix(in srgb, #ff4081 20%, transparent);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032);--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #3f51b5;--mat-datepicker-calendar-date-selected-disabled-state-background-color: color-mix(in srgb, #3f51b5 38%, transparent);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: color-mix(in srgb, #3f51b5 12%, transparent);--mat-datepicker-calendar-date-hover-state-background-color: color-mix(in srgb, #3f51b5 4%, transparent);--mat-datepicker-toggle-active-state-icon-color: #3f51b5;--mat-datepicker-toggle-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-body-label-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-period-button-text-color: white;--mat-datepicker-calendar-period-button-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-navigation-button-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-header-divider-color: rgba(255, 255, 255, .12);--mat-datepicker-calendar-header-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-outline-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-disabled-state-outline-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-date-text-color: white;--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(255, 255, 255, .7);--mat-datepicker-range-input-separator-color: white;--mat-datepicker-range-input-disabled-state-separator-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-range-input-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-container-background-color: #424242;--mat-datepicker-calendar-container-text-color: white;--mat-divider-color: rgba(255, 255, 255, .12);--mat-expansion-container-background-color: #424242;--mat-expansion-container-text-color: white;--mat-expansion-actions-divider-color: rgba(255, 255, 255, .12);--mat-expansion-header-hover-state-layer-color: color-mix(in srgb, white 4%, transparent);--mat-expansion-header-focus-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-expansion-header-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-expansion-header-text-color: white;--mat-expansion-header-description-color: rgba(255, 255, 255, .7);--mat-expansion-header-indicator-color: rgba(255, 255, 255, .7);--mat-icon-color: inherit;--mat-sidenav-container-divider-color: rgba(255, 255, 255, .12);--mat-sidenav-container-background-color: #424242;--mat-sidenav-container-text-color: white;--mat-sidenav-content-background-color: #303030;--mat-sidenav-content-text-color: white;--mat-sidenav-scrim-color: rgba(255, 255, 255, .6);--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #3f51b5;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #3f51b5;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #3f51b5;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: #424242;--mat-stepper-line-color: rgba(255, 255, 255, .12);--mat-stepper-header-hover-state-layer-color: color-mix(in srgb, white 4%, transparent);--mat-stepper-header-focus-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-stepper-header-label-text-color: rgba(255, 255, 255, .7);--mat-stepper-header-optional-label-text-color: rgba(255, 255, 255, .7);--mat-stepper-header-selected-state-label-text-color: white;--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(255, 255, 255, .7);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent;--mat-sort-arrow-color: white;--mat-toolbar-container-background-color: #424242;--mat-toolbar-container-text-color: white;--mat-tree-container-background-color: #424242;--mat-tree-node-text-color: white;--mat-timepicker-container-background-color: #424242}.dark-theme .mat-accent{--mat-option-selected-state-label-text-color: #ff4081;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: color-mix(in srgb, white 4%, transparent);--mat-option-focus-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-option-selected-state-layer-color: color-mix(in srgb, white 12%, transparent)}.dark-theme .mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: color-mix(in srgb, white 4%, transparent);--mat-option-focus-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-option-selected-state-layer-color: color-mix(in srgb, white 12%, transparent)}.dark-theme .mat-primary{--mat-pseudo-checkbox-full-selected-icon-color: #3f51b5;--mat-pseudo-checkbox-full-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(255, 255, 255, .7);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #3f51b5;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, white 38%, transparent)}.dark-theme .mat-accent{--mat-pseudo-checkbox-full-selected-icon-color: #ff4081;--mat-pseudo-checkbox-full-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(255, 255, 255, .7);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #ff4081;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, white 38%, transparent)}.dark-theme .mat-warn{--mat-pseudo-checkbox-full-selected-icon-color: #f44336;--mat-pseudo-checkbox-full-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(255, 255, 255, .7);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #f44336;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, white 38%, transparent)}.dark-theme .mat-mdc-progress-bar{--mat-progress-bar-active-indicator-color: #3f51b5;--mat-progress-bar-track-color: rgba(63, 81, 181, .25)}.dark-theme .mat-mdc-progress-bar.mat-accent{--mat-progress-bar-active-indicator-color: #ff4081;--mat-progress-bar-track-color: rgba(255, 64, 129, .25)}.dark-theme .mat-mdc-progress-bar.mat-warn{--mat-progress-bar-active-indicator-color: #f44336;--mat-progress-bar-track-color: rgba(244, 67, 54, .25)}.dark-theme .mat-mdc-form-field.mat-accent{--mat-form-field-focus-select-arrow-color: color-mix(in srgb, #ff4081 87%, transparent);--mat-form-field-filled-caret-color: #ff4081;--mat-form-field-filled-focus-active-indicator-color: #ff4081;--mat-form-field-filled-focus-label-text-color: color-mix(in srgb, #ff4081 87%, transparent);--mat-form-field-outlined-caret-color: #ff4081;--mat-form-field-outlined-focus-outline-color: #ff4081;--mat-form-field-outlined-focus-label-text-color: color-mix(in srgb, #ff4081 87%, transparent)}.dark-theme .mat-mdc-form-field.mat-warn{--mat-form-field-focus-select-arrow-color: color-mix(in srgb, #f44336 87%, transparent);--mat-form-field-filled-caret-color: #f44336;--mat-form-field-filled-focus-active-indicator-color: #f44336;--mat-form-field-filled-focus-label-text-color: color-mix(in srgb, #f44336 87%, transparent);--mat-form-field-outlined-caret-color: #f44336;--mat-form-field-outlined-focus-outline-color: #f44336;--mat-form-field-outlined-focus-label-text-color: color-mix(in srgb, #f44336 87%, transparent)}.dark-theme .mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: white;--mat-select-disabled-trigger-text-color: color-mix(in srgb, white 38%, transparent);--mat-select-placeholder-text-color: rgba(255, 255, 255, .7);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .7);--mat-select-disabled-arrow-color: color-mix(in srgb, white 38%, transparent);--mat-select-focused-arrow-color: #ff4081;--mat-select-invalid-arrow-color: #f44336}.dark-theme .mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: white;--mat-select-disabled-trigger-text-color: color-mix(in srgb, white 38%, transparent);--mat-select-placeholder-text-color: rgba(255, 255, 255, .7);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .7);--mat-select-disabled-arrow-color: color-mix(in srgb, white 38%, transparent);--mat-select-focused-arrow-color: #f44336;--mat-select-invalid-arrow-color: #f44336}.dark-theme .mat-mdc-standard-chip{--mat-chip-disabled-label-text-color: white;--mat-chip-elevated-container-color: color-mix(in srgb, white 12%, transparent);--mat-chip-elevated-disabled-container-color: color-mix(in srgb, white 12%, transparent);--mat-chip-elevated-selected-container-color: color-mix(in srgb, white 12%, transparent);--mat-chip-flat-disabled-selected-container-color: color-mix(in srgb, white 12%, transparent);--mat-chip-focus-state-layer-color: white;--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: white;--mat-chip-label-text-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: white;--mat-chip-selected-trailing-icon-color: white;--mat-chip-with-icon-disabled-icon-color: white;--mat-chip-with-icon-icon-color: white;--mat-chip-with-icon-selected-icon-color: white;--mat-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mat-chip-with-trailing-icon-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mat-chip-disabled-label-text-color: white;--mat-chip-elevated-container-color: #3f51b5;--mat-chip-elevated-disabled-container-color: #3f51b5;--mat-chip-elevated-selected-container-color: #3f51b5;--mat-chip-flat-disabled-selected-container-color: #3f51b5;--mat-chip-focus-state-layer-color: white;--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: white;--mat-chip-label-text-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: white;--mat-chip-selected-trailing-icon-color: white;--mat-chip-with-icon-disabled-icon-color: white;--mat-chip-with-icon-icon-color: white;--mat-chip-with-icon-selected-icon-color: white;--mat-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mat-chip-with-trailing-icon-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mat-chip-disabled-label-text-color: white;--mat-chip-elevated-container-color: #ff4081;--mat-chip-elevated-disabled-container-color: #ff4081;--mat-chip-elevated-selected-container-color: #ff4081;--mat-chip-flat-disabled-selected-container-color: #ff4081;--mat-chip-focus-state-layer-color: white;--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: white;--mat-chip-label-text-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: white;--mat-chip-selected-trailing-icon-color: white;--mat-chip-with-icon-disabled-icon-color: white;--mat-chip-with-icon-icon-color: white;--mat-chip-with-icon-selected-icon-color: white;--mat-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mat-chip-with-trailing-icon-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mat-chip-disabled-label-text-color: white;--mat-chip-elevated-container-color: #f44336;--mat-chip-elevated-disabled-container-color: #f44336;--mat-chip-elevated-selected-container-color: #f44336;--mat-chip-flat-disabled-selected-container-color: #f44336;--mat-chip-focus-state-layer-color: white;--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: white;--mat-chip-label-text-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: white;--mat-chip-selected-trailing-icon-color: white;--mat-chip-with-icon-disabled-icon-color: white;--mat-chip-with-icon-icon-color: white;--mat-chip-with-icon-selected-icon-color: white;--mat-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mat-chip-with-trailing-icon-trailing-icon-color: white}.dark-theme .mat-mdc-slide-toggle.mat-accent{--mat-slide-toggle-selected-icon-color: white;--mat-slide-toggle-disabled-selected-icon-color: white;--mat-slide-toggle-selected-focus-state-layer-color: #ff4081;--mat-slide-toggle-selected-handle-color: #ff4081;--mat-slide-toggle-selected-hover-state-layer-color: #ff4081;--mat-slide-toggle-selected-pressed-state-layer-color: #ff4081;--mat-slide-toggle-selected-focus-handle-color: #ff4081;--mat-slide-toggle-selected-hover-handle-color: #ff4081;--mat-slide-toggle-selected-pressed-handle-color: #ff4081;--mat-slide-toggle-selected-focus-track-color: #d81b60;--mat-slide-toggle-selected-hover-track-color: #d81b60;--mat-slide-toggle-selected-pressed-track-color: #d81b60;--mat-slide-toggle-selected-track-color: #d81b60}.dark-theme .mat-mdc-slide-toggle.mat-warn{--mat-slide-toggle-selected-icon-color: white;--mat-slide-toggle-disabled-selected-icon-color: white;--mat-slide-toggle-selected-focus-state-layer-color: #f44336;--mat-slide-toggle-selected-handle-color: #f44336;--mat-slide-toggle-selected-hover-state-layer-color: #f44336;--mat-slide-toggle-selected-pressed-state-layer-color: #f44336;--mat-slide-toggle-selected-focus-handle-color: #f44336;--mat-slide-toggle-selected-hover-handle-color: #f44336;--mat-slide-toggle-selected-pressed-handle-color: #f44336;--mat-slide-toggle-selected-focus-track-color: #e53935;--mat-slide-toggle-selected-hover-track-color: #e53935;--mat-slide-toggle-selected-pressed-track-color: #e53935;--mat-slide-toggle-selected-track-color: #e53935}.dark-theme .mat-mdc-radio-button.mat-primary{--mat-radio-checked-ripple-color: #3f51b5;--mat-radio-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-radio-disabled-selected-icon-color: white;--mat-radio-disabled-unselected-icon-color: white;--mat-radio-label-text-color: white;--mat-radio-ripple-color: white;--mat-radio-selected-focus-icon-color: #3f51b5;--mat-radio-selected-hover-icon-color: #3f51b5;--mat-radio-selected-icon-color: #3f51b5;--mat-radio-selected-pressed-icon-color: #3f51b5;--mat-radio-unselected-focus-icon-color: white;--mat-radio-unselected-hover-icon-color: white;--mat-radio-unselected-icon-color: rgba(255, 255, 255, .7);--mat-radio-unselected-pressed-icon-color: white}.dark-theme .mat-mdc-radio-button.mat-accent{--mat-radio-checked-ripple-color: #ff4081;--mat-radio-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-radio-disabled-selected-icon-color: white;--mat-radio-disabled-unselected-icon-color: white;--mat-radio-label-text-color: white;--mat-radio-ripple-color: white;--mat-radio-selected-focus-icon-color: #ff4081;--mat-radio-selected-hover-icon-color: #ff4081;--mat-radio-selected-icon-color: #ff4081;--mat-radio-selected-pressed-icon-color: #ff4081;--mat-radio-unselected-focus-icon-color: white;--mat-radio-unselected-hover-icon-color: white;--mat-radio-unselected-icon-color: rgba(255, 255, 255, .7);--mat-radio-unselected-pressed-icon-color: white}.dark-theme .mat-mdc-radio-button.mat-warn{--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-radio-disabled-selected-icon-color: white;--mat-radio-disabled-unselected-icon-color: white;--mat-radio-label-text-color: white;--mat-radio-ripple-color: white;--mat-radio-selected-focus-icon-color: #f44336;--mat-radio-selected-hover-icon-color: #f44336;--mat-radio-selected-icon-color: #f44336;--mat-radio-selected-pressed-icon-color: #f44336;--mat-radio-unselected-focus-icon-color: white;--mat-radio-unselected-hover-icon-color: white;--mat-radio-unselected-icon-color: rgba(255, 255, 255, .7);--mat-radio-unselected-pressed-icon-color: white}.dark-theme .mat-accent{--mat-slider-active-track-color: #ff4081;--mat-slider-focus-handle-color: #ff4081;--mat-slider-handle-color: #ff4081;--mat-slider-hover-handle-color: #ff4081;--mat-slider-focus-state-layer-color: color-mix(in srgb, #ff4081 12%, transparent);--mat-slider-hover-state-layer-color: color-mix(in srgb, #ff4081 4%, transparent);--mat-slider-inactive-track-color: #ff4081;--mat-slider-ripple-color: #ff4081;--mat-slider-with-tick-marks-active-container-color: white;--mat-slider-with-tick-marks-inactive-container-color: #ff4081}.dark-theme .mat-warn{--mat-slider-active-track-color: #f44336;--mat-slider-focus-handle-color: #f44336;--mat-slider-handle-color: #f44336;--mat-slider-hover-handle-color: #f44336;--mat-slider-focus-state-layer-color: color-mix(in srgb, #f44336 12%, transparent);--mat-slider-hover-state-layer-color: color-mix(in srgb, #f44336 4%, transparent);--mat-slider-inactive-track-color: #f44336;--mat-slider-ripple-color: #f44336;--mat-slider-with-tick-marks-active-container-color: white;--mat-slider-with-tick-marks-inactive-container-color: #f44336}.dark-theme .mdc-list-item__start,.dark-theme .mdc-list-item__end{--mat-radio-checked-ripple-color: #3f51b5;--mat-radio-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-radio-disabled-selected-icon-color: white;--mat-radio-disabled-unselected-icon-color: white;--mat-radio-label-text-color: white;--mat-radio-ripple-color: white;--mat-radio-selected-focus-icon-color: #3f51b5;--mat-radio-selected-hover-icon-color: #3f51b5;--mat-radio-selected-icon-color: #3f51b5;--mat-radio-selected-pressed-icon-color: #3f51b5;--mat-radio-unselected-focus-icon-color: white;--mat-radio-unselected-hover-icon-color: white;--mat-radio-unselected-icon-color: rgba(255, 255, 255, .7);--mat-radio-unselected-pressed-icon-color: white}.dark-theme .mat-accent .mdc-list-item__start,.dark-theme .mat-accent .mdc-list-item__end{--mat-radio-checked-ripple-color: #ff4081;--mat-radio-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-radio-disabled-selected-icon-color: white;--mat-radio-disabled-unselected-icon-color: white;--mat-radio-label-text-color: white;--mat-radio-ripple-color: white;--mat-radio-selected-focus-icon-color: #ff4081;--mat-radio-selected-hover-icon-color: #ff4081;--mat-radio-selected-icon-color: #ff4081;--mat-radio-selected-pressed-icon-color: #ff4081;--mat-radio-unselected-focus-icon-color: white;--mat-radio-unselected-hover-icon-color: white;--mat-radio-unselected-icon-color: rgba(255, 255, 255, .7);--mat-radio-unselected-pressed-icon-color: white}.dark-theme .mat-warn .mdc-list-item__start,.dark-theme .mat-warn .mdc-list-item__end{--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-radio-disabled-selected-icon-color: white;--mat-radio-disabled-unselected-icon-color: white;--mat-radio-label-text-color: white;--mat-radio-ripple-color: white;--mat-radio-selected-focus-icon-color: #f44336;--mat-radio-selected-hover-icon-color: #f44336;--mat-radio-selected-icon-color: #f44336;--mat-radio-selected-pressed-icon-color: #f44336;--mat-radio-unselected-focus-icon-color: white;--mat-radio-unselected-hover-icon-color: white;--mat-radio-unselected-icon-color: rgba(255, 255, 255, .7);--mat-radio-unselected-pressed-icon-color: white}.dark-theme .mat-mdc-list-option{--mat-checkbox-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-label-text-color: white;--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #3f51b5;--mat-checkbox-selected-hover-icon-color: #3f51b5;--mat-checkbox-selected-icon-color: #3f51b5;--mat-checkbox-selected-pressed-icon-color: #3f51b5;--mat-checkbox-unselected-focus-icon-color: white;--mat-checkbox-unselected-hover-icon-color: white;--mat-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-checkbox-selected-focus-state-layer-color: #3f51b5;--mat-checkbox-selected-hover-state-layer-color: #3f51b5;--mat-checkbox-selected-pressed-state-layer-color: #3f51b5;--mat-checkbox-unselected-focus-state-layer-color: white;--mat-checkbox-unselected-hover-state-layer-color: white;--mat-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-option.mat-accent{--mat-checkbox-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-label-text-color: white;--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #ff4081;--mat-checkbox-selected-hover-icon-color: #ff4081;--mat-checkbox-selected-icon-color: #ff4081;--mat-checkbox-selected-pressed-icon-color: #ff4081;--mat-checkbox-unselected-focus-icon-color: white;--mat-checkbox-unselected-hover-icon-color: white;--mat-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-checkbox-selected-focus-state-layer-color: #ff4081;--mat-checkbox-selected-hover-state-layer-color: #ff4081;--mat-checkbox-selected-pressed-state-layer-color: #ff4081;--mat-checkbox-unselected-focus-state-layer-color: white;--mat-checkbox-unselected-hover-state-layer-color: white;--mat-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-option.mat-warn{--mat-checkbox-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-label-text-color: white;--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #f44336;--mat-checkbox-selected-hover-icon-color: #f44336;--mat-checkbox-selected-icon-color: #f44336;--mat-checkbox-selected-pressed-icon-color: #f44336;--mat-checkbox-unselected-focus-icon-color: white;--mat-checkbox-unselected-hover-icon-color: white;--mat-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-checkbox-selected-focus-state-layer-color: #f44336;--mat-checkbox-selected-hover-state-layer-color: #f44336;--mat-checkbox-selected-pressed-state-layer-color: #f44336;--mat-checkbox-unselected-focus-state-layer-color: white;--mat-checkbox-unselected-hover-state-layer-color: white;--mat-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__start,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__start{color:#3f51b5}.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}.dark-theme .mat-mdc-tab-group,.dark-theme .mat-mdc-tab-nav-bar{--mat-tab-disabled-ripple-color: rgba(255, 255, 255, .7);--mat-tab-pagination-icon-color: white;--mat-tab-inactive-label-text-color: rgba(255, 255, 255, .7);--mat-tab-active-label-text-color: #3f51b5;--mat-tab-active-ripple-color: #3f51b5;--mat-tab-inactive-ripple-color: #3f51b5;--mat-tab-inactive-focus-label-text-color: rgba(255, 255, 255, .7);--mat-tab-inactive-hover-label-text-color: rgba(255, 255, 255, .7);--mat-tab-active-focus-label-text-color: #3f51b5;--mat-tab-active-hover-label-text-color: #3f51b5;--mat-tab-active-focus-indicator-color: #3f51b5;--mat-tab-active-hover-indicator-color: #3f51b5;--mat-tab-active-indicator-color: #3f51b5}.dark-theme .mat-mdc-tab-group.mat-accent,.dark-theme .mat-mdc-tab-nav-bar.mat-accent{--mat-tab-disabled-ripple-color: rgba(255, 255, 255, .7);--mat-tab-pagination-icon-color: white;--mat-tab-inactive-label-text-color: rgba(255, 255, 255, .7);--mat-tab-active-label-text-color: #ff4081;--mat-tab-active-ripple-color: #ff4081;--mat-tab-inactive-ripple-color: #ff4081;--mat-tab-inactive-focus-label-text-color: rgba(255, 255, 255, .7);--mat-tab-inactive-hover-label-text-color: rgba(255, 255, 255, .7);--mat-tab-active-focus-label-text-color: #ff4081;--mat-tab-active-hover-label-text-color: #ff4081;--mat-tab-active-focus-indicator-color: #ff4081;--mat-tab-active-hover-indicator-color: #ff4081;--mat-tab-active-indicator-color: #ff4081}.dark-theme .mat-mdc-tab-group.mat-warn,.dark-theme .mat-mdc-tab-nav-bar.mat-warn{--mat-tab-disabled-ripple-color: rgba(255, 255, 255, .7);--mat-tab-pagination-icon-color: white;--mat-tab-inactive-label-text-color: rgba(255, 255, 255, .7);--mat-tab-active-label-text-color: #f44336;--mat-tab-active-ripple-color: #f44336;--mat-tab-inactive-ripple-color: #f44336;--mat-tab-inactive-focus-label-text-color: rgba(255, 255, 255, .7);--mat-tab-inactive-hover-label-text-color: rgba(255, 255, 255, .7);--mat-tab-active-focus-label-text-color: #f44336;--mat-tab-active-hover-label-text-color: #f44336;--mat-tab-active-focus-indicator-color: #f44336;--mat-tab-active-hover-indicator-color: #f44336;--mat-tab-active-indicator-color: #f44336}.dark-theme .mat-mdc-tab-group.mat-background-primary,.dark-theme .mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-background-color: #3f51b5;--mat-tab-foreground-color: white}.dark-theme .mat-mdc-tab-group.mat-background-accent,.dark-theme .mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-background-color: #ff4081;--mat-tab-foreground-color: white}.dark-theme .mat-mdc-tab-group.mat-background-warn,.dark-theme .mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-background-color: #f44336;--mat-tab-foreground-color: white}.dark-theme .mat-mdc-checkbox.mat-primary{--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #3f51b5;--mat-checkbox-selected-hover-icon-color: #3f51b5;--mat-checkbox-selected-icon-color: #3f51b5;--mat-checkbox-selected-pressed-icon-color: #3f51b5;--mat-checkbox-unselected-focus-icon-color: white;--mat-checkbox-unselected-hover-icon-color: white;--mat-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-checkbox-selected-focus-state-layer-color: #3f51b5;--mat-checkbox-selected-hover-state-layer-color: #3f51b5;--mat-checkbox-selected-pressed-state-layer-color: #3f51b5;--mat-checkbox-unselected-focus-state-layer-color: white;--mat-checkbox-unselected-hover-state-layer-color: white;--mat-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-checkbox.mat-warn{--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #f44336;--mat-checkbox-selected-hover-icon-color: #f44336;--mat-checkbox-selected-icon-color: #f44336;--mat-checkbox-selected-pressed-icon-color: #f44336;--mat-checkbox-unselected-focus-icon-color: white;--mat-checkbox-unselected-hover-icon-color: white;--mat-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-checkbox-selected-focus-state-layer-color: #f44336;--mat-checkbox-selected-hover-state-layer-color: #f44336;--mat-checkbox-selected-pressed-state-layer-color: #f44336;--mat-checkbox-unselected-focus-state-layer-color: white;--mat-checkbox-unselected-hover-state-layer-color: white;--mat-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-button.mat-primary,.dark-theme .mat-mdc-unelevated-button.mat-primary,.dark-theme .mat-mdc-raised-button.mat-primary,.dark-theme .mat-mdc-outlined-button.mat-primary,.dark-theme .mat-tonal-button.mat-primary{--mat-button-filled-container-color: #3f51b5;--mat-button-filled-label-text-color: white;--mat-button-filled-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-state-layer-color: white;--mat-button-outlined-label-text-color: #3f51b5;--mat-button-outlined-outline-color: rgba(255, 255, 255, .12);--mat-button-outlined-ripple-color: color-mix(in srgb, #3f51b5 12%, transparent);--mat-button-outlined-state-layer-color: #3f51b5;--mat-button-protected-container-color: #3f51b5;--mat-button-protected-label-text-color: white;--mat-button-protected-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-state-layer-color: white;--mat-button-text-label-text-color: #3f51b5;--mat-button-text-ripple-color: color-mix(in srgb, #3f51b5 12%, transparent);--mat-button-text-state-layer-color: #3f51b5;--mat-button-tonal-container-color: #3f51b5;--mat-button-tonal-label-text-color: white;--mat-button-tonal-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-state-layer-color: white}.dark-theme .mat-mdc-button.mat-accent,.dark-theme .mat-mdc-unelevated-button.mat-accent,.dark-theme .mat-mdc-raised-button.mat-accent,.dark-theme .mat-mdc-outlined-button.mat-accent,.dark-theme .mat-tonal-button.mat-accent{--mat-button-filled-container-color: #ff4081;--mat-button-filled-label-text-color: white;--mat-button-filled-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-state-layer-color: white;--mat-button-outlined-label-text-color: #ff4081;--mat-button-outlined-outline-color: rgba(255, 255, 255, .12);--mat-button-outlined-ripple-color: color-mix(in srgb, #ff4081 12%, transparent);--mat-button-outlined-state-layer-color: #ff4081;--mat-button-protected-container-color: #ff4081;--mat-button-protected-label-text-color: white;--mat-button-protected-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-state-layer-color: white;--mat-button-text-label-text-color: #ff4081;--mat-button-text-ripple-color: color-mix(in srgb, #ff4081 12%, transparent);--mat-button-text-state-layer-color: #ff4081;--mat-button-tonal-container-color: #ff4081;--mat-button-tonal-label-text-color: white;--mat-button-tonal-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-state-layer-color: white}.dark-theme .mat-mdc-button.mat-warn,.dark-theme .mat-mdc-unelevated-button.mat-warn,.dark-theme .mat-mdc-raised-button.mat-warn,.dark-theme .mat-mdc-outlined-button.mat-warn,.dark-theme .mat-tonal-button.mat-warn{--mat-button-filled-container-color: #f44336;--mat-button-filled-label-text-color: white;--mat-button-filled-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-state-layer-color: white;--mat-button-outlined-label-text-color: #f44336;--mat-button-outlined-outline-color: rgba(255, 255, 255, .12);--mat-button-outlined-ripple-color: color-mix(in srgb, #f44336 12%, transparent);--mat-button-outlined-state-layer-color: #f44336;--mat-button-protected-container-color: #f44336;--mat-button-protected-label-text-color: white;--mat-button-protected-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-state-layer-color: white;--mat-button-text-label-text-color: #f44336;--mat-button-text-ripple-color: color-mix(in srgb, #f44336 12%, transparent);--mat-button-text-state-layer-color: #f44336;--mat-button-tonal-container-color: #f44336;--mat-button-tonal-label-text-color: white;--mat-button-tonal-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-state-layer-color: white}.dark-theme .mat-mdc-icon-button.mat-primary{--mat-icon-button-icon-color: #3f51b5;--mat-icon-button-state-layer-color: #3f51b5;--mat-icon-button-ripple-color: color-mix(in srgb, #3f51b5 12%, transparent)}.dark-theme .mat-mdc-icon-button.mat-accent{--mat-icon-button-icon-color: #ff4081;--mat-icon-button-state-layer-color: #ff4081;--mat-icon-button-ripple-color: color-mix(in srgb, #ff4081 12%, transparent)}.dark-theme .mat-mdc-icon-button.mat-warn{--mat-icon-button-icon-color: #f44336;--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: color-mix(in srgb, #f44336 12%, transparent)}.dark-theme .mat-mdc-fab.mat-primary,.dark-theme .mat-mdc-mini-fab.mat-primary{--mat-fab-container-color: #3f51b5;--mat-fab-foreground-color: white;--mat-fab-ripple-color: color-mix(in srgb, #3f51b5 12%, transparent);--mat-fab-small-container-color: #3f51b5;--mat-fab-small-foreground-color: white;--mat-fab-small-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-state-layer-color: white;--mat-fab-state-layer-color: white}.dark-theme .mat-mdc-fab.mat-accent,.dark-theme .mat-mdc-mini-fab.mat-accent{--mat-fab-container-color: #ff4081;--mat-fab-foreground-color: white;--mat-fab-ripple-color: color-mix(in srgb, #ff4081 12%, transparent);--mat-fab-small-container-color: #ff4081;--mat-fab-small-foreground-color: white;--mat-fab-small-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-state-layer-color: white;--mat-fab-state-layer-color: white}.dark-theme .mat-mdc-fab.mat-warn,.dark-theme .mat-mdc-mini-fab.mat-warn{--mat-fab-container-color: #f44336;--mat-fab-foreground-color: white;--mat-fab-ripple-color: color-mix(in srgb, #f44336 12%, transparent);--mat-fab-small-container-color: #f44336;--mat-fab-small-foreground-color: white;--mat-fab-small-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-state-layer-color: white;--mat-fab-state-layer-color: white}.dark-theme .mat-accent{--mat-progress-spinner-active-indicator-color: #ff4081}.dark-theme .mat-warn{--mat-progress-spinner-active-indicator-color: #f44336}.dark-theme .mat-badge-accent{--mat-badge-background-color: #ff4081;--mat-badge-text-color: white}.dark-theme .mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}.dark-theme .mat-datepicker-content.mat-accent,.dark-theme .mat-datepicker-toggle-active.mat-accent{--mat-datepicker-calendar-date-in-range-state-background-color: color-mix(in srgb, #ff4081 20%, transparent);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: color-mix(in srgb, #ff4081 20%, transparent);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032);--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #ff4081;--mat-datepicker-calendar-date-selected-disabled-state-background-color: color-mix(in srgb, #ff4081 38%, transparent);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: color-mix(in srgb, #ff4081 12%, transparent);--mat-datepicker-calendar-date-hover-state-background-color: color-mix(in srgb, #ff4081 4%, transparent);--mat-datepicker-toggle-active-state-icon-color: #ff4081;--mat-datepicker-toggle-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-body-label-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-period-button-text-color: white;--mat-datepicker-calendar-period-button-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-navigation-button-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-header-divider-color: rgba(255, 255, 255, .12);--mat-datepicker-calendar-header-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-outline-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-disabled-state-outline-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-date-text-color: white;--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(255, 255, 255, .7);--mat-datepicker-range-input-separator-color: white;--mat-datepicker-range-input-disabled-state-separator-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-range-input-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-container-background-color: #424242;--mat-datepicker-calendar-container-text-color: white}.dark-theme .mat-datepicker-content.mat-warn,.dark-theme .mat-datepicker-toggle-active.mat-warn{--mat-datepicker-calendar-date-in-range-state-background-color: color-mix(in srgb, #f44336 20%, transparent);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: color-mix(in srgb, #ff4081 20%, transparent);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032);--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: color-mix(in srgb, #f44336 38%, transparent);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: color-mix(in srgb, #f44336 12%, transparent);--mat-datepicker-calendar-date-hover-state-background-color: color-mix(in srgb, #f44336 4%, transparent);--mat-datepicker-toggle-active-state-icon-color: #f44336;--mat-datepicker-toggle-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-body-label-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-period-button-text-color: white;--mat-datepicker-calendar-period-button-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-navigation-button-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-header-divider-color: rgba(255, 255, 255, .12);--mat-datepicker-calendar-header-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-outline-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-disabled-state-outline-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-date-text-color: white;--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(255, 255, 255, .7);--mat-datepicker-range-input-separator-color: white;--mat-datepicker-range-input-disabled-state-separator-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-range-input-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-container-background-color: #424242;--mat-datepicker-calendar-container-text-color: white}.dark-theme .mat-icon.mat-primary{--mat-icon-color: #3f51b5}.dark-theme .mat-icon.mat-accent{--mat-icon-color: #ff4081}.dark-theme .mat-icon.mat-warn{--mat-icon-color: #f44336}.dark-theme .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #ff4081;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #ff4081;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #ff4081;--mat-stepper-header-edit-state-icon-foreground-color: white}.dark-theme .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}.dark-theme .mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #3f51b5;--mat-toolbar-container-text-color: white}.dark-theme .mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #ff4081;--mat-toolbar-container-text-color: white}.dark-theme .mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}.dark-theme html,.dark-theme body{background-color:#303030}.mat-mdc-dialog-container{--mdc-dialog-supporting-text-font: $font-family;--mdc-dialog-subhead-font: $font-family;--mdc-dialog-title-font: $font-family;--mdc-dialog-button-font: $font-family;--mdc-dialog-supporting-text-size: 1rem;--mdc-dialog-subhead-size: 1.25rem;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-color: rgba(0, 0, 0, 1)}.cc-window{opacity:1;-webkit-transition:opacity 1s ease;transition:opacity 1s ease}.cc-window.cc-invisible{opacity:0}.cc-animate.cc-revoke{-webkit-transition:transform 1s ease;-webkit-transition:-webkit-transform 1s ease;transition:-webkit-transform 1s ease;transition:transform 1s ease;transition:transform 1s ease,-webkit-transform 1s ease}.cc-animate.cc-revoke.cc-top{-webkit-transform:translateY(-2em);transform:translateY(-2em)}.cc-animate.cc-revoke.cc-bottom{-webkit-transform:translateY(2em);transform:translateY(2em)}.cc-animate.cc-revoke.cc-active.cc-top,.cc-animate.cc-revoke.cc-active.cc-bottom,.cc-revoke:hover{-webkit-transform:translateY(0);transform:translateY(0)}.cc-grower{max-height:0;overflow:hidden;-webkit-transition:max-height 1s;transition:max-height 1s}.cc-revoke,.cc-window{position:fixed;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:Helvetica,Calibri,Arial,sans-serif;font-size:16px;line-height:1.5em;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;z-index:9999}.cc-window.cc-static{position:static}.cc-window.cc-floating{padding:2em;max-width:24em;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.cc-window.cc-banner{padding:1em 1.8em;width:100%;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.cc-revoke{padding:.5em}.cc-revoke:hover{text-decoration:underline}.cc-header{font-size:18px;font-weight:700}.cc-btn,.cc-close,.cc-link,.cc-revoke{cursor:pointer}.cc-link{opacity:.8;display:inline-block;padding:.2em;text-decoration:underline}.cc-link:hover{opacity:1}.cc-link:active,.cc-link:visited{color:initial}.cc-btn{display:block;padding:.4em .8em;font-size:.9em;font-weight:700;border-width:2px;border-style:solid;text-align:center;white-space:nowrap}.cc-highlight .cc-btn:first-child{background-color:transparent;border-color:transparent}.cc-highlight .cc-btn:first-child:focus,.cc-highlight .cc-btn:first-child:hover{background-color:transparent;text-decoration:underline}.cc-close{display:block;position:absolute;top:.5em;right:.5em;font-size:1.6em;opacity:.9;line-height:.75}.cc-close:focus,.cc-close:hover{opacity:1}.cc-revoke.cc-top{top:0;left:3em;border-bottom-left-radius:.5em;border-bottom-right-radius:.5em}.cc-revoke.cc-bottom{bottom:0;left:3em;border-top-left-radius:.5em;border-top-right-radius:.5em}.cc-revoke.cc-left{left:3em;right:unset}.cc-revoke.cc-right{right:3em;left:unset}.cc-top{top:1em}.cc-left{left:1em}.cc-right{right:1em}.cc-bottom{bottom:1em}.cc-floating>.cc-link{margin-bottom:1em}.cc-floating .cc-message{display:block;margin-bottom:1em}.cc-window.cc-floating .cc-compliance{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto}.cc-window.cc-banner{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.cc-banner.cc-top{left:0;right:0;top:0}.cc-banner.cc-bottom{left:0;right:0;bottom:0}.cc-banner .cc-message{display:block;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;max-width:100%;margin-right:1em}.cc-compliance{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between}.cc-floating .cc-compliance>.cc-btn{-webkit-box-flex:1;-ms-flex:1;flex:1}.cc-btn+.cc-btn{margin-left:.5em}@media print{.cc-revoke,.cc-window{display:none}}@media screen and (max-width:900px){.cc-btn{white-space:normal}}@media screen and (max-width:414px)and (orientation:portrait),screen and (max-width:736px)and (orientation:landscape){.cc-window.cc-top{top:0}.cc-window.cc-bottom{bottom:0}.cc-window.cc-banner,.cc-window.cc-floating,.cc-window.cc-left,.cc-window.cc-right{left:0;right:0}.cc-window.cc-banner{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.cc-window.cc-banner .cc-compliance{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.cc-window.cc-floating{max-width:none}.cc-window .cc-message{margin-bottom:1em}.cc-window.cc-banner{-webkit-box-align:unset;-ms-flex-align:unset;align-items:unset}.cc-window.cc-banner .cc-message{margin-right:0}}.cc-floating.cc-theme-classic{padding:1.2em;border-radius:5px}.cc-floating.cc-type-info.cc-theme-classic .cc-compliance{text-align:center;display:inline;-webkit-box-flex:0;-ms-flex:none;flex:none}.cc-theme-classic .cc-btn{border-radius:5px}.cc-theme-classic .cc-btn:last-child{min-width:140px}.cc-floating.cc-type-info.cc-theme-classic .cc-btn{display:inline-block}.cc-theme-edgeless.cc-window{padding:0}.cc-floating.cc-theme-edgeless .cc-message{margin:2em 2em 1.5em}.cc-banner.cc-theme-edgeless .cc-btn{margin:0;padding:.8em 1.8em;height:100%}.cc-banner.cc-theme-edgeless .cc-message{margin-left:1em}.cc-floating.cc-theme-edgeless .cc-btn+.cc-btn{margin-left:0} diff --git a/server/src/uds/static/modern/translations-fakejs.js b/server/src/uds/static/modern/translations-fakejs.js index 880d3fee6..4482fb32e 100644 --- a/server/src/uds/static/modern/translations-fakejs.js +++ b/server/src/uds/static/modern/translations-fakejs.js @@ -1,9 +1,23 @@ // "Fake" javascript file for translations // Typescript -gettext("Errors found"); -gettext("Errors found"); -gettext("Warning"); -gettext("Service is in maintenance and cannot be executed"); +gettext("Launching service"); +gettext("Invalid UDS URL"); +gettext("Please wait until the service is launched."); +gettext("Service ready"); +gettext("UDS Client not launching"); +gettext("UDS Client Download"); +gettext("Service ready"); +gettext("Please wait until the service is launched."); +gettext("Your session has expired. Please, login again"); +gettext("Error"); +gettext("We use cookies to authenticate users and remember preferences."); +gettext("If you do not agree, please"); +gettext("leave this site"); +gettext("I Accept"); +gettext("Refuse and leave"); +gettext("I Accept"); +gettext("Learn more"); +gettext("Cookie Policy"); gettext("seconds"); gettext("Service is in maintenance"); gettext("This service is currently not accessible due to schedule restrictions."); @@ -20,48 +34,11 @@ gettext("Are you sure?"); gettext("Username"); gettext("Password"); gettext("Domain"); -gettext("We use cookies to authenticate users and remember preferences."); -gettext("If you do not agree, please"); -gettext("leave this site"); -gettext("I Accept"); -gettext("Refuse and leave"); -gettext("I Accept"); -gettext("Learn more"); -gettext("Cookie Policy"); -gettext("Launching service"); -gettext("Invalid UDS URL"); -gettext("Please wait until the service is launched."); -gettext("Service ready"); -gettext("UDS Client not launching"); -gettext("UDS Client Download"); -gettext("Service ready"); -gettext("Please wait until the service is launched."); -gettext("Your session has expired. Please, login again"); -gettext("Error"); +gettext("Errors found"); +gettext("Warning"); +gettext("Service is in maintenance and cannot be executed"); +gettext("Errors found"); // HTML -gettext("You can access UDS Open Source code at"); -gettext("UDS has been developed using these components:"); -gettext("If you find that we missed any component, please let us know"); -gettext("Login Verification"); -gettext("Remember me for"); -gettext("Submit"); -gettext("UDS Client"); -gettext("Download UDS client for your platform"); -gettext("Downloads"); -gettext("Always download the UDS actor matching your platform"); -gettext("Username"); -gettext("Password"); -gettext("Authenticator"); -gettext("Login"); -gettext("An error has occurred"); -gettext("Return"); -gettext("UDS Service launcher"); -gettext("The service you have requested is being launched."); -gettext("Please, note that reloading this page will not work."); -gettext("To relaunch service, you will have to do it from origin."); -gettext("If the service does not launchs automatically, probably you dont have the UDS Client installed"); -gettext("You can obtain it from the"); -gettext("UDS Client download page"); gettext("Close"); gettext("Yes"); gettext("No"); @@ -86,3 +63,26 @@ gettext("Connections"); gettext("Actions"); gettext("Filter"); gettext("Please, enter access credentials"); +gettext("You can access UDS Open Source code at"); +gettext("UDS has been developed using these components:"); +gettext("If you find that we missed any component, please let us know"); +gettext("Downloads"); +gettext("Always download the UDS actor matching your platform"); +gettext("UDS Client"); +gettext("Download UDS client for your platform"); +gettext("Username"); +gettext("Password"); +gettext("Authenticator"); +gettext("Login"); +gettext("UDS Service launcher"); +gettext("The service you have requested is being launched."); +gettext("Please, note that reloading this page will not work."); +gettext("To relaunch service, you will have to do it from origin."); +gettext("If the service does not launchs automatically, probably you dont have the UDS Client installed"); +gettext("You can obtain it from the"); +gettext("UDS Client download page"); +gettext("Login Verification"); +gettext("Remember me for"); +gettext("Submit"); +gettext("An error has occurred"); +gettext("Return"); diff --git a/server/src/uds/templates/uds/admin/index.html b/server/src/uds/templates/uds/admin/index.html index 0b42f3b9c..4655a01b3 100644 --- a/server/src/uds/templates/uds/admin/index.html +++ b/server/src/uds/templates/uds/admin/index.html @@ -90,7 +90,7 @@ - + @@ -102,6 +102,6 @@ - + diff --git a/server/src/uds/templates/uds/modern/index.html b/server/src/uds/templates/uds/modern/index.html index 25bbefeab..75f4af587 100644 --- a/server/src/uds/templates/uds/modern/index.html +++ b/server/src/uds/templates/uds/modern/index.html @@ -97,7 +97,7 @@ head.appendChild(link); --> - + @@ -109,6 +109,6 @@ - +